summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc3
-rw-r--r--meta-filesystems/conf/layer.conf2
-rw-r--r--meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest10
-rw-r--r--meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb5
-rw-r--r--meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb6
-rw-r--r--meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb2
-rw-r--r--meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb (renamed from meta-filesystems/recipes-utils/e2tools/e2tools_git.bb)5
-rw-r--r--meta-filesystems/recipes-utils/e2tools/files/0001-Disable-portability-warning-as-error.patch34
-rw-r--r--meta-gnome/conf/layer.conf2
-rw-r--r--meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_47.0.bb (renamed from meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_46.2.bb)2
-rw-r--r--meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_47.0.bb (renamed from meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb)4
-rw-r--r--meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch85
-rw-r--r--meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb21
-rw-r--r--meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb11
-rw-r--r--meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.inc4
-rw-r--r--meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server/0001-data-CMakeLists.txt-dont-create-automatic-google-log.patch39
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm_47.0.bb (renamed from meta-gnome/recipes-gnome/gdm/gdm_46.0.bb)2
-rw-r--r--meta-gnome/recipes-gnome/gnome-backgrounds/gnome-backgrounds_47.0.bb (renamed from meta-gnome/recipes-gnome/gnome-backgrounds/gnome-backgrounds_46.0.bb)2
-rw-r--r--meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_47.0.bb (renamed from meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_46.1.bb)2
-rw-r--r--meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_47.0.bb (renamed from meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_46.1.bb)2
-rw-r--r--meta-gnome/recipes-gnome/gnome-chess/gnome-chess_47.0.bb (renamed from meta-gnome/recipes-gnome/gnome-chess/gnome-chess_46.0.bb)4
-rw-r--r--meta-gnome/recipes-gnome/gnome-console/gnome-console/0001-include-locale.h-for-setlocale.patch34
-rw-r--r--meta-gnome/recipes-gnome/gnome-console/gnome-console_47.1.bb (renamed from meta-gnome/recipes-gnome/gnome-console/gnome-console_45.0.bb)4
-rw-r--r--meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch25
-rw-r--r--meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_47.1.1.bb (renamed from meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.2.bb)10
-rw-r--r--meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.1.bb (renamed from meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.0.bb)2
-rw-r--r--meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer/0001-window-Fix-function-callback-definition.patch43
-rw-r--r--meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_47.0.bb (renamed from meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_46.0.bb)3
-rw-r--r--meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.52.1.bb (renamed from meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.50.2.bb)9
-rw-r--r--meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb4
-rw-r--r--meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_47.1.bb (renamed from meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_46.0.bb)2
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_47.1.bb (renamed from meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_46.2.bb)2
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell_47.1.bb (renamed from meta-gnome/recipes-gnome/gnome-shell/gnome-shell_46.2.bb)3
-rw-r--r--meta-gnome/recipes-gnome/gnome-software/gnome-software_47.1.bb (renamed from meta-gnome/recipes-gnome/gnome-software/gnome-software_46.2.bb)2
-rw-r--r--meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_47.0.bb (renamed from meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_46.0.bb)5
-rw-r--r--meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch63
-rw-r--r--meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.54.0.bb (renamed from meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb)5
-rw-r--r--meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_47.0.bb (renamed from meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_46.3.bb)4
-rw-r--r--meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share/0001-build-Define-list-of-libc-feature-test-macros.patch41
-rw-r--r--meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share_47.0.bb (renamed from meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share_43.0.bb)3
-rw-r--r--meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb7
-rw-r--r--meta-gnome/recipes-gnome/grilo/grilo_0.3.16.bb3
-rw-r--r--meta-gnome/recipes-gnome/gvfs/gvfs_1.56.0.bb (renamed from meta-gnome/recipes-gnome/gvfs/gvfs_1.54.0.bb)2
-rw-r--r--meta-gnome/recipes-gnome/libgsf/libgsf/0001-Compilation-attempt-fixes-for-libxml-2.13.patch105
-rw-r--r--meta-gnome/recipes-gnome/libgsf/libgsf_1.14.53.bb (renamed from meta-gnome/recipes-gnome/libgsf/libgsf_1.14.52.bb)5
-rw-r--r--meta-gnome/recipes-gnome/libspelling/libspelling_0.4.2.bb (renamed from meta-gnome/recipes-gnome/libspelling/libspelling_0.2.1.bb)5
-rw-r--r--meta-gnome/recipes-gnome/mutter/mutter_47.1.bb (renamed from meta-gnome/recipes-gnome/mutter/mutter_46.4.bb)11
-rw-r--r--meta-gnome/recipes-gnome/nautilus/nautilus_47.0.bb (renamed from meta-gnome/recipes-gnome/nautilus/nautilus_46.2.bb)10
-rw-r--r--meta-gnome/recipes-gnome/tecla/tecla_47.0.bb (renamed from meta-gnome/recipes-gnome/tecla/tecla_46.0.bb)2
-rw-r--r--meta-gnome/recipes-gnome/tracker/localsearch/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch (renamed from meta-gnome/recipes-gnome/tracker/tracker-miners/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch)5
-rw-r--r--meta-gnome/recipes-gnome/tracker/localsearch/0001-fix-reproducibility.patch (renamed from meta-gnome/recipes-gnome/tracker/tracker-miners/0001-fix-reproducibility.patch)20
-rw-r--r--meta-gnome/recipes-gnome/tracker/localsearch_3.8.0.bb (renamed from meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.3.bb)6
-rw-r--r--meta-gnome/recipes-gnome/tracker/tinysparql/0001-fix-reproducibility.patch (renamed from meta-gnome/recipes-gnome/tracker/tracker/0001-fix-reproducibility.patch)49
-rw-r--r--meta-gnome/recipes-gnome/tracker/tinysparql/0001-src-libtracker-sparql-meson.build-dont-create-compat.patch32
-rw-r--r--meta-gnome/recipes-gnome/tracker/tinysparql_3.8.0.bb (renamed from meta-gnome/recipes-gnome/tracker/tracker_3.7.3.bb)28
-rw-r--r--meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_47.1.bb (renamed from meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_46.2.bb)2
-rwxr-xr-xmeta-initramfs/conf/include/non-repro-meta-initramfs.inc22
-rw-r--r--meta-initramfs/conf/layer.conf2
-rw-r--r--meta-multimedia/conf/layer.conf2
-rw-r--r--meta-multimedia/recipes-connectivity/rygel/rygel_0.44.1.bb (renamed from meta-multimedia/recipes-connectivity/rygel/rygel_0.44.0.bb)2
-rw-r--r--meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-Remove-redundant-rpaths.patch26
-rw-r--r--meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb7
-rw-r--r--meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.10.bb (renamed from meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.3.bb)5
-rw-r--r--meta-multimedia/recipes-multimedia/minidlna/minidlna.inc4
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch46
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.6.bb (renamed from meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.3.bb)3
-rwxr-xr-xmeta-networking/conf/include/non-repro-meta-networking.inc38
-rw-r--r--meta-networking/conf/layer.conf2
-rw-r--r--meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_2.2.1.bb (renamed from meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.3.2.bb)7
-rw-r--r--meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.2.bb (renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.1.bb)2
-rw-r--r--meta-networking/recipes-connectivity/mosquitto/files/1571.patch22
-rw-r--r--meta-networking/recipes-connectivity/mosquitto/files/2894.patch25
-rw-r--r--meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.19.bb (renamed from meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb)4
-rw-r--r--meta-networking/recipes-connectivity/nanomsg/nng_1.7.3.bb2
-rw-r--r--meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch7
-rw-r--r--meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.52.bb (renamed from meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.51.bb)4
-rw-r--r--meta-networking/recipes-devtools/python/python3-scapy_2.6.0.bb (renamed from meta-networking/recipes-devtools/python/python3-scapy_2.5.0.bb)4
-rw-r--r--meta-networking/recipes-filter/libnetfilter/files/0001-conntrack-fix-build-with-kernel-5.15-and-musl.patch61
-rw-r--r--meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.1.0.bb (renamed from meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.9.bb)6
-rw-r--r--meta-networking/recipes-filter/libnftnl/libnftnl_1.2.8.bb (renamed from meta-networking/recipes-filter/libnftnl/libnftnl_1.2.7.bb)2
-rw-r--r--meta-networking/recipes-filter/nftables/nftables_1.1.1.bb (renamed from meta-networking/recipes-filter/nftables/nftables_1.1.0.bb)2
-rw-r--r--meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20210914.bb2
-rw-r--r--meta-networking/recipes-protocols/mdns/mdns/0001-Fix-SIGSEGV-during-DumpStateLog.patch6
-rw-r--r--meta-networking/recipes-protocols/mdns/mdns/0001-Handle-interface-without-ifa_addr.patch8
-rw-r--r--meta-networking/recipes-protocols/mdns/mdns/0004-Add-definition-for-MAX.patch24
-rw-r--r--meta-networking/recipes-protocols/mdns/mdns/0005-Fix-missing-limit-declarations.patch49
-rw-r--r--meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch5
-rw-r--r--meta-networking/recipes-protocols/mdns/mdns_2559.1.1.bb (renamed from meta-networking/recipes-protocols/mdns/mdns_2200.140.11.bb)7
-rw-r--r--meta-networking/recipes-protocols/openl2tp/openl2tp/run-ptest7
-rw-r--r--meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb1
-rw-r--r--meta-networking/recipes-support/curlpp/curlpp/0002-fix-invalid-conversion-from-int-to-CURLoption.patch36
-rw-r--r--meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb3
-rw-r--r--meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.21.bb (renamed from meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.19.bb)14
-rw-r--r--meta-networking/recipes-support/mctp/mctp_2.0.bb (renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb)6
-rw-r--r--meta-networking/recipes-support/mdio-tools/mdio-tools_1.3.1.bb2
-rw-r--r--meta-networking/recipes-support/ndisc6/ndisc6/0001-Remove-use-of-variables-indicating-buildtime-informa.patch85
-rw-r--r--meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb1
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.5.0.bb (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.4.5.bb)4
-rw-r--r--meta-networking/recipes-support/stunnel/stunnel/fix-openssl-no-des.patch19
-rw-r--r--meta-networking/recipes-support/stunnel/stunnel_5.73.bb (renamed from meta-networking/recipes-support/stunnel/stunnel_5.72.bb)2
-rw-r--r--meta-networking/recipes-support/tcpdump/tcpslice_1.8.bb (renamed from meta-networking/recipes-support/tcpdump/tcpslice_1.7.bb)2
-rw-r--r--meta-networking/recipes-support/traceroute/traceroute_2.1.6.bb (renamed from meta-networking/recipes-support/traceroute/traceroute_2.1.5.bb)2
-rw-r--r--meta-networking/recipes-support/unbound/unbound_1.22.0.bb (renamed from meta-networking/recipes-support/unbound/unbound_1.21.0.bb)10
-rw-r--r--meta-networking/recipes-support/wireshark/wireshark_4.2.7.bb2
-rw-r--r--meta-oe/classes/fitimage.bbclass530
-rw-r--r--meta-oe/classes/panel-mipi-dbi.bbclass48
-rw-r--r--meta-oe/classes/signing.bbclass35
-rw-r--r--meta-oe/conf/include/ptest-packagelists-meta-oe.inc6
-rw-r--r--meta-oe/conf/layer.conf2
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.1.bb (renamed from meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.bb)4
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.bb (renamed from meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.8.bb)0
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.9.bb (renamed from meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.8.bb)0
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.inc2
-rw-r--r--meta-oe/recipes-benchmark/fio/fio_3.38.bb (renamed from meta-oe/recipes-benchmark/fio/fio_3.36.bb)5
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch210
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0001-skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch)19
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0001-tests-makefile-Append-CPPFLAGS-rather-then-override.patch31
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0002-libhugetlbfs-avoid-search-host-library-path-for-cros.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch)6
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0003-tests-Makefile-install-static-4G-edge-testcases.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch)22
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0004-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch)8
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-elf_i386-avoid-search-host-library-path.patch)6
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-stddef.h-for-ptrdiff_t.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch)12
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0007-Mark-glibc-specific-code-so.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch)19
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0008-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch)12
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0009-shm.c-Mark-glibc-specific-changes-so.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch)10
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch)8
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0011-include-limits.h-for-PATH_MAX.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch)14
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0001-huge_page_setup_helper-use-python3-interpreter.patch)6
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0013-elflink.c-include-libgen.h-for-basename.patch41
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb87
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb79
-rw-r--r--meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb (renamed from meta-oe/recipes-bsp/fwupd/fwupd_1.9.24.bb)2
-rw-r--r--meta-oe/recipes-connectivity/ace/ace_8.0.1.bb (renamed from meta-oe/recipes-connectivity/ace/ace_6.5.19.bb)8
-rw-r--r--meta-oe/recipes-connectivity/asyncmqtt/asyncmqtt_9.0.2.bb14
-rw-r--r--meta-oe/recipes-connectivity/iwd/iwd_3.0.bb (renamed from meta-oe/recipes-connectivity/iwd/iwd_2.20.bb)6
-rw-r--r--meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.3.1.bb (renamed from meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.3.0.bb)2
-rw-r--r--meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.1.bb (renamed from meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.0.bb)2
-rw-r--r--meta-oe/recipes-connectivity/libmtp/libmtp/0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch33
-rw-r--r--meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb3
-rw-r--r--meta-oe/recipes-connectivity/libtorrent/libtorrent_0.14.0.bb (renamed from meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb)4
-rw-r--r--meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch26
-rw-r--r--meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch48
-rw-r--r--meta-oe/recipes-connectivity/linuxptp/linuxptp_4.4.bb (renamed from meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb)12
-rw-r--r--meta-oe/recipes-connectivity/rabbitmq-c/files/CVE-2023-35789.patch131
-rw-r--r--meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.14.0.bb (renamed from meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.13.0.bb)4
-rw-r--r--meta-oe/recipes-connectivity/rtorrent/rtorrent_0.10.0.bb (renamed from meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb)4
-rw-r--r--meta-oe/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch15
-rw-r--r--meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb22
-rw-r--r--meta-oe/recipes-connectivity/thrift/thrift_0.21.0.bb (renamed from meta-oe/recipes-connectivity/thrift/thrift_0.20.0.bb)2
-rw-r--r--meta-oe/recipes-connectivity/transmission/transmission_4.0.6.bb2
-rw-r--r--meta-oe/recipes-core/dbus/dbus-broker_36.bb34
-rw-r--r--meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb4
-rw-r--r--meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb699
-rw-r--r--meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.5.bb2
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb.inc1
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/0001-Use-a-lambda-function-as-deleter-prototype-in-unique.patch26
-rw-r--r--meta-oe/recipes-dbs/mysql/mysql-python/0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch34
-rw-r--r--meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb26
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0001-tcl.m4-Recognize-tclsh9.patch26
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql.inc6
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql_16.4.bb1
-rw-r--r--meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb2
-rw-r--r--meta-oe/recipes-dbs/rocksdb/files/0001-CMakeLists.txt-Make-the-test-discovery-occur-on-targ.patch42
-rw-r--r--meta-oe/recipes-dbs/rocksdb/files/run-ptest12
-rw-r--r--meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb21
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch7
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-Remove-maes-option-from-cross-compilation.patch17
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0003-Remove-neon-option-from-cross-compilation.patch18
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch82
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-abseil-ppc-fixes.patch (renamed from meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/abseil-ppc-fixes.patch)44
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch30
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240722.0.bb (renamed from meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.2.bb)8
-rw-r--r--meta-oe/recipes-devtools/capnproto/capnproto_1.0.2.bb2
-rw-r--r--meta-oe/recipes-devtools/ctags/ctags_6.1.20241006.0.bb (renamed from meta-oe/recipes-devtools/ctags/ctags_6.1.20240908.0.bb)2
-rw-r--r--meta-oe/recipes-devtools/doxygen/doxygen/0001-build-don-t-look-for-Iconv.patch37
-rw-r--r--meta-oe/recipes-devtools/doxygen/doxygen/doxygen-native-only-check-python3.patch232
-rw-r--r--meta-oe/recipes-devtools/doxygen/doxygen_1.12.0.bb (renamed from meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb)16
-rw-r--r--meta-oe/recipes-devtools/fastfloat/fastfloat_5.2.0.bb15
-rw-r--r--meta-oe/recipes-devtools/libtoml11/files/0001-fix-add-missing-zero-initialization-to-region.patch35
-rwxr-xr-xmeta-oe/recipes-devtools/libtoml11/files/run-ptest12
-rw-r--r--meta-oe/recipes-devtools/libtoml11/libtoml11_4.2.0.bb39
-rw-r--r--meta-oe/recipes-devtools/mpich/mpich_4.2.3.bb (renamed from meta-oe/recipes-devtools/mpich/mpich_4.2.2.bb)2
-rwxr-xr-xmeta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.11/oe-npm-cache (renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.17/oe-npm-cache)0
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.11.bb (renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.17.bb)0
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch15
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch55
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-custom-env.patch18
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch52
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch63
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch38
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-positional-args.patch19
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch11
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/182d9c05e78.patch182
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch2
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/system-c-ares.patch12
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs_22.11.0.bb (renamed from meta-oe/recipes-devtools/nodejs/nodejs_20.17.0.bb)12
-rw-r--r--meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch (renamed from meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch)1
-rw-r--r--meta-oe/recipes-devtools/pahole/pahole_1.27.bb (renamed from meta-oe/recipes-devtools/pahole/pahole_1.25.bb)7
-rw-r--r--meta-oe/recipes-devtools/perfetto/files/0001-Add-missing-header-cstdint-for-uintXX_t-types.patch58
-rw-r--r--meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch40
-rw-r--r--meta-oe/recipes-devtools/perfetto/libperfetto.bb2
-rw-r--r--meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch (renamed from meta-oe/recipes-devtools/perfetto/files/0001-meson-add-pc-file-for-lib_perfetto.patch)20
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto.bb30
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto.inc9
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch (renamed from meta-oe/recipes-devtools/perfetto/files/0001-Remove-check_build_deps-build-steps.patch)18
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch28
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb (renamed from meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb)4
-rw-r--r--meta-oe/recipes-devtools/python/python3-pefile/run-ptest3
-rw-r--r--meta-oe/recipes-devtools/python/python3-pefile_2024.8.26.bb28
-rw-r--r--meta-oe/recipes-devtools/python/python3-psycopg_3.2.3.bb (renamed from meta-oe/recipes-devtools/python/python3-psycopg_3.2.1.bb)2
-rw-r--r--meta-oe/recipes-devtools/sip/sip_6.8.6.bb (renamed from meta-oe/recipes-devtools/sip/sip_6.8.3.bb)8
-rw-r--r--meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.2.bb (renamed from meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.1.bb)2
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/confsearch.diff3
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff4
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff4
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk_8.6.15.bb (renamed from meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb)38
-rwxr-xr-xmeta-oe/recipes-devtools/tomlplusplus/files/run-ptest12
-rw-r--r--meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb25
-rw-r--r--meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch109
-rw-r--r--meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0002-fix-formatting-issues.patch34
-rw-r--r--meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.60.03.bb (renamed from meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb)6
-rw-r--r--meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb2
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0001-CMakeLists.txt-Do-not-use-private-makefile-target.patch64
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0001-Use-posix-strerror_r-with-musl.patch34
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch106
-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-mbedtls-Remove-unused-variable.patch40
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch41
-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)3
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0004-wasm-avoid-cmake-try_run-when-cross-compiling.patch42
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0005-Use-posix-strerror_r-with-musl.patch28
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0005-stackdriver-Fix-return-type-mismatch.patch33
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0006-monkey-Fix-TLS-detection-testcase.patch36
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0007-cmake-Do-not-check-for-upstart-on-build-host.patch46
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit_1.9.9.bb97
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit_3.1.9.bb134
-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)3
-rw-r--r--meta-oe/recipes-extended/highway/highway/0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch71
-rw-r--r--meta-oe/recipes-extended/highway/highway_1.2.0.bb2
-rw-r--r--meta-oe/recipes-extended/jansson/jansson/0001-add-back-JSON_INTEGER_IS_LONG_LONG-for-cmake.patch51
-rw-r--r--meta-oe/recipes-extended/jansson/jansson_2.14.bb1
-rw-r--r--meta-oe/recipes-extended/libblockdev/files/0001-libext2fs-unused-parameters-fix.patch92
-rw-r--r--meta-oe/recipes-extended/libblockdev/libblockdev_3.2.0.bb (renamed from meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb)13
-rw-r--r--meta-oe/recipes-extended/libcec/libcec_6.0.2.bb2
-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.patch17
-rw-r--r--meta-oe/recipes-extended/libidn/libidn_1.42.bb (renamed from meta-oe/recipes-extended/libidn/libidn_1.41.bb)12
-rw-r--r--meta-oe/recipes-extended/libzip/libzip_1.11.1.bb (renamed from meta-oe/recipes-extended/libzip/libzip_1.10.1.bb)2
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb5
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-115_115.16.1.bb (renamed from meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb)2
-rw-r--r--meta-oe/recipes-extended/mraa/mraa_git.bb6
-rw-r--r--meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb28
-rw-r--r--meta-oe/recipes-extended/ostree/ostree_2024.8.bb (renamed from meta-oe/recipes-extended/ostree/ostree_2024.7.bb)4
-rw-r--r--meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb (renamed from meta-oe/recipes-extended/pegtl/pegtl_3.2.7.bb)2
-rw-r--r--meta-oe/recipes-extended/polkit/files/meson-build-Support-openembedded-OS-for-PAM-config.patch2
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.6/0001-hiredis-use-default-CC-if-it-is-set.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/hiredis-use-default-CC-if-it-is-set.patch)7
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.6/0002-lua-update-Makefile-to-use-environment-build-setting.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/lua-update-Makefile-to-use-environment-build-setting.patch)6
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.6/0003-hack-to-force-use-of-libc-malloc.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/oe-use-libc-malloc.patch)7
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.6/0004-src-Do-not-reset-FINAL_LIBS.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/0001-src-Do-not-reset-FINAL_LIBS.patch)4
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.6/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch29
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.6/0006-Define-correct-gregs-for-RISCV32.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/0006-Define-correct-gregs-for-RISCV32.patch)4
-rw-r--r--[-rwxr-xr-x]meta-oe/recipes-extended/redis/redis-7.2.6/init-redis-server (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/init-redis-server)0
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.6/redis.conf (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/redis.conf)0
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.6/redis.service (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/redis.service)0
-rw-r--r--meta-oe/recipes-extended/redis/redis/0001-hiredis-use-default-CC-if-it-is-set.patch (renamed from meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-set.patch)14
-rw-r--r--meta-oe/recipes-extended/redis/redis/0002-lua-update-Makefile-to-use-environment-build-setting.patch (renamed from meta-oe/recipes-extended/redis/redis/lua-update-Makefile-to-use-environment-build-setting.patch)10
-rw-r--r--meta-oe/recipes-extended/redis/redis/0003-hack-to-force-use-of-libc-malloc.patch (renamed from meta-oe/recipes-extended/redis/redis/oe-use-libc-malloc.patch)9
-rw-r--r--meta-oe/recipes-extended/redis/redis/0004-src-Do-not-reset-FINAL_LIBS.patch (renamed from meta-oe/recipes-extended/redis/redis/0001-src-Do-not-reset-FINAL_LIBS.patch)8
-rw-r--r--meta-oe/recipes-extended/redis/redis/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch (renamed from meta-oe/recipes-extended/redis/redis/GNU_SOURCE.patch)6
-rw-r--r--meta-oe/recipes-extended/redis/redis/0006-Define-correct-gregs-for-RISCV32.patch12
-rw-r--r--[-rwxr-xr-x]meta-oe/recipes-extended/redis/redis/init-redis-server0
-rw-r--r--meta-oe/recipes-extended/redis/redis_6.2.16.bb (renamed from meta-oe/recipes-extended/redis/redis_6.2.14.bb)17
-rw-r--r--meta-oe/recipes-extended/redis/redis_7.2.6.bb (renamed from meta-oe/recipes-extended/redis/redis_7.2.5.bb)17
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb11
-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/tmux/tmux_3.5.bb (renamed from meta-oe/recipes-extended/tmux/tmux_3.4.bb)2
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/0001-src-Do-not-reset-FINAL_LIBS.patch33
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/GNU_SOURCE-7.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/GNU_SOURCE-7.patch)10
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/hiredis-use-default-CC-if-it-is-set.patch41
-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.patch78
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/oe-use-libc-malloc.patch39
-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.0.1.bb74
-rw-r--r--meta-oe/recipes-extended/vlock/vlock_2.2.3.bb2
-rw-r--r--meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb1
-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)17
-rw-r--r--meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.5.bb (renamed from meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.3.bb)2
-rw-r--r--meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc24
-rw-r--r--meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch6
-rw-r--r--meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.2.bb (renamed from meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.0.bb)4
-rw-r--r--meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb13
-rw-r--r--meta-oe/recipes-graphics/glad/glad_2.0.8.bb12
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch58
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch33
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz_12.1.2.bb (renamed from meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb)8
-rw-r--r--meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb (renamed from meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.120.bb)9
-rw-r--r--meta-oe/recipes-graphics/jasper/jasper_4.2.4.bb (renamed from meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb)7
-rw-r--r--meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb28
-rw-r--r--meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch (renamed from meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch)14
-rw-r--r--meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch (renamed from meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch)10
-rw-r--r--meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch (renamed from meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch)16
-rw-r--r--meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.0.bb (renamed from meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb)31
-rw-r--r--meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.7.bb (renamed from meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.6.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xmag_1.0.8.bb (renamed from meta-oe/recipes-graphics/xorg-app/xmag_1.0.7.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xwud_1.0.7.bb (renamed from meta-oe/recipes-graphics/xorg-app/xwud_1.0.6.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.1.0.bb (renamed from meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.0.1.bb)2
-rw-r--r--meta-oe/recipes-kernel/cpupower/cpupower.bb2
-rw-r--r--meta-oe/recipes-kernel/drgn/python3-drgn_0.0.29.bb (renamed from meta-oe/recipes-kernel/drgn/python3-drgn_0.0.27.bb)2
-rw-r--r--meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb2
-rw-r--r--meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb3
-rw-r--r--meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb26
-rw-r--r--meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch139
-rw-r--r--meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.5.bb62
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph/0001-Makefile-fix-multilib-build-failure.patch105
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch42
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch51
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch39
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph_5.13.bb (renamed from meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb)13
-rw-r--r--meta-oe/recipes-kernel/spidev-test/spidev-test.bb2
-rw-r--r--meta-oe/recipes-multimedia/mplayer/libplacebo_7.349.0.bb28
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mpv/0001-file2string-Avoid-emitting-absolute-filepaths-into-g.patch33
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mpv/a7efb3e62bbd0af86737f5ecb72d3a8e2a8c3b54.patch87
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mpv_0.39.0.bb (renamed from meta-oe/recipes-multimedia/mplayer/mpv_0.38.0.bb)45
-rw-r--r--meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb2
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb3
-rw-r--r--meta-oe/recipes-security/audit/audit_4.0.2.bb8
-rw-r--r--meta-oe/recipes-security/nmap/files/0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch165
-rw-r--r--meta-oe/recipes-security/nmap/nmap_7.95.bb1
-rw-r--r--meta-oe/recipes-security/softhsm/files/0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch672
-rw-r--r--meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb1
-rw-r--r--meta-oe/recipes-support/asio/asio/0001-tests-Remove-blocking_adaptation.cpp.patch37
-rw-r--r--meta-oe/recipes-support/asio/asio/run-ptest19
-rw-r--r--meta-oe/recipes-support/asio/asio_1.30.2.bb19
-rw-r--r--meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch38
-rw-r--r--meta-oe/recipes-support/bcu/bcu_1.1.100.bb23
-rw-r--r--meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb (renamed from meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb)2
-rw-r--r--meta-oe/recipes-support/btop/btop_1.4.0.bb (renamed from meta-oe/recipes-support/btop/btop_1.3.2.bb)2
-rw-r--r--meta-oe/recipes-support/colord/colord-native.bb2
-rw-r--r--meta-oe/recipes-support/colord/colord/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch (renamed from meta-oe/recipes-support/colord/colord-native/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch)0
-rw-r--r--meta-oe/recipes-support/colord/colord/Makefile (renamed from meta-oe/recipes-support/colord/colord-native/Makefile)0
-rw-r--r--meta-oe/recipes-support/dool/dool_1.3.3.bb (renamed from meta-oe/recipes-support/dool/dool_1.3.2.bb)2
-rw-r--r--meta-oe/recipes-support/fuse/fuse3_3.16.2.bb3
-rw-r--r--meta-oe/recipes-support/glog/glog/0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch33
-rw-r--r--meta-oe/recipes-support/glog/glog/libexecinfo.patch40
-rw-r--r--meta-oe/recipes-support/glog/glog_0.7.1.bb (renamed from meta-oe/recipes-support/glog/glog_0.6.0.bb)7
-rw-r--r--meta-oe/recipes-support/gnulib/gnulib_202401.bb1
-rw-r--r--meta-oe/recipes-support/hwdata/hwdata_0.388.bb (renamed from meta-oe/recipes-support/hwdata/hwdata_0.387.bb)2
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-Migrate-C-tests-to-use-Catch2-v3.patch530
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod-2.x/gpio-manager.init76
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest43
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb2
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_2.1.3.bb33
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb101
-rw-r--r--meta-oe/recipes-support/libmanette/libmanette_0.2.9.bb (renamed from meta-oe/recipes-support/libmanette/libmanette_0.2.7.bb)2
-rw-r--r--meta-oe/recipes-support/libp11/files/0001-detect-correct-openssl-3.x.patch28
-rw-r--r--meta-oe/recipes-support/libp11/libp11_0.4.12.bb5
-rw-r--r--meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch53
-rw-r--r--meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch44
-rw-r--r--meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch101
-rw-r--r--meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch26
-rw-r--r--meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch119
-rw-r--r--meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch89
-rw-r--r--meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch30
-rw-r--r--meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch26
-rw-r--r--meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch100
-rw-r--r--meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch160
-rw-r--r--meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch42
-rw-r--r--meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch52
-rw-r--r--meta-oe/recipes-support/libtar/libtar_1.2.20.bb12
-rw-r--r--meta-oe/recipes-support/lio-utils/lio-utils/0001-Makefiles-Respect-environment-variables-and-add-LDFL.patch63
-rw-r--r--meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb75
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.bb16
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc4
-rw-r--r--meta-oe/recipes-support/monit/monit_5.34.2.bb (renamed from meta-oe/recipes-support/monit/monit_5.34.0.bb)2
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch29
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0001-libmultipath-always-use-glibc-basename.patch42
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch10
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch16
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch29
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch8
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch8
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch12
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch8
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch6
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0010-Always-use-devmapper.patch (renamed from meta-oe/recipes-support/multipath-tools/files/0010-Subject-PATCH-Always-use-devmapper.patch)6
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch8
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch8
-rw-r--r--[-rwxr-xr-x]meta-oe/recipes-support/multipath-tools/files/multipathd.oe0
-rw-r--r--meta-oe/recipes-support/multipath-tools/multipath-tools_0.10.0.bb (renamed from meta-oe/recipes-support/multipath-tools/multipath-tools_0.9.8.bb)6
-rw-r--r--meta-oe/recipes-support/opencv/opencv_4.10.0.bb (renamed from meta-oe/recipes-support/opencv/opencv_4.9.0.bb)4
-rw-r--r--meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.17.0.bb (renamed from meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.16.1.bb)2
-rw-r--r--meta-oe/recipes-support/remmina/remmina_1.4.36.bb (renamed from meta-oe/recipes-support/remmina/remmina_1.4.35.bb)2
-rw-r--r--meta-oe/recipes-support/snapper/snapper/0001-Include-linux-types.h-for-__u16-__u32-__u64-type.patch30
-rw-r--r--meta-oe/recipes-support/snapper/snapper/0002-Use-statvfs-instead-of-statvfs64.patch37
-rw-r--r--meta-oe/recipes-support/snapper/snapper_0.11.2.bb41
-rw-r--r--meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch40
-rw-r--r--meta-oe/recipes-support/syslog-ng/syslog-ng_4.7.0.bb (renamed from meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb)5
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch33
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb6
-rw-r--r--meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.5.bb2
-rw-r--r--meta-oe/recipes-test/catch2/catch2_3.7.1.bb (renamed from meta-oe/recipes-test/catch2/catch2_3.7.0.bb)3
-rw-r--r--meta-perl/conf/layer.conf2
-rw-r--r--meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb3
-rw-r--r--meta-perl/recipes-perl/adduser/adduser_3.118.bb1
-rw-r--r--meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb3
-rw-r--r--meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb5
-rw-r--r--meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.1700.bb (renamed from meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb)7
-rw-r--r--meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb3
-rw-r--r--meta-perl/recipes-perl/libcgi/libcgi-perl_4.66.bb4
-rw-r--r--meta-perl/recipes-perl/libconfig-tiny/libconfig-tiny-perl_2.30.bb4
-rw-r--r--meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.319.bb3
-rw-r--r--meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb3
-rw-r--r--meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.17.bb3
-rw-r--r--meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.33.bb3
-rw-r--r--meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb3
-rw-r--r--meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb5
-rw-r--r--meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.14.bb1
-rw-r--r--meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.05.bb (renamed from meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb)9
-rw-r--r--meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb5
-rw-r--r--meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb5
-rw-r--r--meta-perl/recipes-perl/liberror/liberror-perl_0.17029.bb3
-rw-r--r--meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb3
-rw-r--r--meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.27.bb2
-rw-r--r--meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.028.bb2
-rw-r--r--meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb3
-rw-r--r--meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb3
-rw-r--r--meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.19.bb4
-rw-r--r--meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb2
-rw-r--r--meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb5
-rw-r--r--meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb1
-rw-r--r--meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb10
-rw-r--r--meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb3
-rw-r--r--meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.089.bb2
-rw-r--r--meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb1
-rw-r--r--meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb5
-rw-r--r--meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb3
-rw-r--r--meta-perl/recipes-perl/libmime/libmime-charset-perl_1.013.1.bb2
-rw-r--r--meta-perl/recipes-perl/libmime/libmime-types-perl_2.26.bb4
-rw-r--r--meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb9
-rw-r--r--meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb1
-rw-r--r--meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.016.bb3
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-dns-perl_1.47.bb (renamed from meta-perl/recipes-perl/libnet/libnet-dns-perl_1.46.bb)6
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb3
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb1
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb5
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb5
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb5
-rw-r--r--meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb5
-rw-r--r--meta-perl/recipes-perl/librole/librole-tiny-perl_2.002004.bb1
-rw-r--r--meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb1
-rw-r--r--meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb1
-rw-r--r--meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001013.bb1
-rw-r--r--meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb1
-rw-r--r--meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb3
-rw-r--r--meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb3
-rw-r--r--meta-perl/recipes-perl/libtest/libtest-warn-perl_0.37.bb2
-rw-r--r--meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb3
-rw-r--r--meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb3
-rw-r--r--meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb4
-rw-r--r--meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb3
-rw-r--r--meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb1
-rw-r--r--meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb5
-rw-r--r--meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb4
-rw-r--r--meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.57.bb5
-rw-r--r--meta-python/conf/include/ptest-packagelists-meta-python.inc10
-rw-r--r--meta-python/conf/layer.conf2
-rw-r--r--meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb1
-rw-r--r--meta-python/recipes-connectivity/python-hpack/python3-hpack_4.0.0.bb1
-rw-r--r--meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb1
-rw-r--r--meta-python/recipes-connectivity/python-thrift/python3-thrift_0.21.0.bb (renamed from meta-python/recipes-connectivity/python-thrift/python3-thrift_0.20.0.bb)2
-rw-r--r--meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb1
-rw-r--r--meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb3
-rw-r--r--meta-python/recipes-devtools/python/pyrtm_0.4.2.bb1
-rw-r--r--meta-python/recipes-devtools/python/python-django-south.inc17
-rw-r--r--meta-python/recipes-devtools/python/python-flask-bootstrap.inc14
-rw-r--r--meta-python/recipes-devtools/python/python-flask-sijax.inc12
-rw-r--r--meta-python/recipes-devtools/python/python-flask-xstatic.inc16
-rw-r--r--meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest2
-rw-r--r--meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-aiohappyeyeballs_2.4.3.bb (renamed from meta-python/recipes-devtools/python/python3-aiohappyeyeballs_2.4.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-aiohttp_3.10.10.bb (renamed from meta-python/recipes-devtools/python/python3-aiohttp_3.10.5.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-aioresponses_0.7.6.bb25
-rw-r--r--meta-python/recipes-devtools/python/python3-alembic_1.13.3.bb (renamed from meta-python/recipes-devtools/python/python3-alembic_1.13.2.bb)6
-rw-r--r--meta-python/recipes-devtools/python/python3-anyio_4.6.0.bb (renamed from meta-python/recipes-devtools/python/python3-anyio_4.4.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-apiflask_2.2.1.bb (renamed from meta-python/recipes-devtools/python/python3-apiflask_2.1.1.bb)10
-rw-r--r--meta-python/recipes-devtools/python/python3-apispec_6.7.0.bb (renamed from meta-python/recipes-devtools/python/python3-apispec_6.6.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-argcomplete_3.5.1.bb (renamed from meta-python/recipes-devtools/python/python3-argcomplete_3.5.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-argexec_1.0.3.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_3.3.5.bb (renamed from meta-python/recipes-devtools/python/python3-astroid_3.3.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-asyncinotify_4.2.0.bb (renamed from meta-python/recipes-devtools/python/python3-asyncinotify_4.0.9.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-backcall_0.2.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-bandit_1.7.10.bb (renamed from meta-python/recipes-devtools/python/python3-bandit_1.7.9.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-betamax_0.9.0.bb9
-rw-r--r--meta-python/recipes-devtools/python/python3-bitarray_2.9.3.bb (renamed from meta-python/recipes-devtools/python/python3-bitarray_2.9.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb (renamed from meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-cantools_39.4.9.bb (renamed from meta-python/recipes-devtools/python/python3-cantools_39.4.5.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb (renamed from meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb1
-rwxr-xr-x[-rw-r--r--]meta-python/recipes-devtools/python/python3-configobj/run-ptest (renamed from meta-python/recipes-devtools/python/python3-whoosh/run-ptest)0
-rw-r--r--meta-python/recipes-devtools/python/python3-configobj_5.0.8.bb14
-rw-r--r--meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb27
-rw-r--r--meta-python/recipes-devtools/python/python3-coverage_7.6.2.bb (renamed from meta-python/recipes-devtools/python/python3-coverage_7.6.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb (renamed from meta-python/recipes-devtools/python/python3-cytoolz_0.12.3.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-dbus-fast_2.24.3.bb (renamed from meta-python/recipes-devtools/python/python3-dbus-fast_2.24.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-dill_0.3.9.bb (renamed from meta-python/recipes-devtools/python/python3-dill_0.3.8.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-distlib_0.3.9.bb (renamed from meta-python/recipes-devtools/python/python3-distlib_0.3.8.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb18
-rw-r--r--meta-python/recipes-devtools/python/python3-django.inc (renamed from meta-python/recipes-devtools/python/python-django.inc)0
-rw-r--r--meta-python/recipes-devtools/python/python3-django_4.2.16.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-django_5.0.9.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-dnspython_2.7.0.bb (renamed from meta-python/recipes-devtools/python/python3-dnspython_2.6.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-docopt_0.6.2.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-dominate/58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch40
-rw-r--r--meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-editor_1.0.4.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-elementpath_4.5.0.bb (renamed from meta-python/recipes-devtools/python/python3-elementpath_4.4.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb20
-rw-r--r--meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch27
-rw-r--r--meta-python/recipes-devtools/python/python3-eventlet_0.37.0.bb (renamed from meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb)3
-rw-r--r--meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-filelock_3.16.1.bb (renamed from meta-python/recipes-devtools/python/python3-filelock_3.16.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb15
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb17
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-xstatic/remove-pip-requires.patch (renamed from meta-python/recipes-devtools/python/python-flask-xstatic/remove-pip-requires.patch)0
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb16
-rw-r--r--meta-python/recipes-devtools/python/python3-freezegun/1777174bb97c0b514033a09b820078b0d117f4a8.patch37
-rw-r--r--meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-fsspec_2024.9.0.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-gcovr_8.2.bb (renamed from meta-python/recipes-devtools/python/python3-gcovr_7.2.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-geojson/py3.13.patch38
-rw-r--r--meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch263
-rw-r--r--meta-python/recipes-devtools/python/python3-gmpy2_2.2.1.bb (renamed from meta-python/recipes-devtools/python/python3-gmpy2_2.1.5.bb)6
-rw-r--r--meta-python/recipes-devtools/python/python3-gnupg_0.5.3.bb (renamed from meta-python/recipes-devtools/python/python3-gnupg_0.5.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-google-auth_2.35.0.bb (renamed from meta-python/recipes-devtools/python/python3-google-auth_2.30.0.bb)8
-rw-r--r--meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-greenlet_3.1.1.bb (renamed from meta-python/recipes-devtools/python/python3-greenlet_3.0.3.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio-channelz_1.66.2.bb (renamed from meta-python/recipes-devtools/python/python3-grpcio-channelz_1.62.2.bb)3
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio-reflection_1.66.2.bb (renamed from meta-python/recipes-devtools/python/python3-grpcio-reflection_1.62.2.bb)3
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio-tools_1.66.2.bb (renamed from meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch3
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch5
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch11
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch7
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch2
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch2
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio_1.66.2.bb (renamed from meta-python/recipes-devtools/python/python3-grpcio_1.66.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch7
-rw-r--r--meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb (renamed from meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb4
-rw-r--r--meta-python/recipes-devtools/python/python3-html5lib_1.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-httpcore_1.0.6.bb (renamed from meta-python/recipes-devtools/python/python3-httpcore_1.0.5.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-httptools_0.6.2.bb (renamed from meta-python/recipes-devtools/python/python3-httptools_0.6.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-huey_2.5.2.bb (renamed from meta-python/recipes-devtools/python/python3-huey_2.5.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-humanize_4.11.0.bb (renamed from meta-python/recipes-devtools/python/python3-humanize_4.10.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb4
-rw-r--r--meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-ipy_1.01.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-ipython_8.28.0.bb (renamed from meta-python/recipes-devtools/python/python3-ipython_8.27.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-libconf_2.0.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-libevdev_0.11.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-lorem_0.1.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-address-openssl-3.x-build-issue.patch28
-rw-r--r--meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch33
-rw-r--r--meta-python/recipes-devtools/python/python3-m2crypto/avoid-host-contamination.patch23
-rw-r--r--meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch33
-rw-r--r--meta-python/recipes-devtools/python/python3-m2crypto_0.42.0.bb (renamed from meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb)12
-rw-r--r--meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-msm_0.8.8.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb (renamed from meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-nmap_1.9.1.bb (renamed from meta-python/recipes-devtools/python/python3-nmap_1.6.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-outcome/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb34
-rw-r--r--meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-padatious_0.4.8.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-paramiko_3.5.0.bb (renamed from meta-python/recipes-devtools/python/python3-paramiko_3.4.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-passlib_1.7.4.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb17
-rw-r--r--meta-python/recipes-devtools/python/python3-pdm-backend_2.4.2.bb (renamed from meta-python/recipes-devtools/python/python3-pdm-backend_2.3.3.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb13
-rw-r--r--meta-python/recipes-devtools/python/python3-pdm_2.19.2.bb (renamed from meta-python/recipes-devtools/python/python3-pdm_2.16.1.bb)3
-rw-r--r--meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-petact_0.1.2.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pickleshare_0.7.5.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pid_3.0.4.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pint/0001-dataclass-frozen-True-for-Python-3.13-compatibility.patch116
-rw-r--r--meta-python/recipes-devtools/python/python3-pint/run-ptest2
-rw-r--r--meta-python/recipes-devtools/python/python3-pint_0.24.3.bb (renamed from meta-python/recipes-devtools/python/python3-pint_0.24.1.bb)22
-rw-r--r--meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb (renamed from meta-python/recipes-devtools/python/python3-platformdirs_4.3.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-portion/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-portion_2.4.2.bb16
-rw-r--r--meta-python/recipes-devtools/python/python3-portion_2.5.0.bb32
-rw-r--r--meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.48.bb (renamed from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.47.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-propcache/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb28
-rw-r--r--meta-python/recipes-devtools/python/python3-ptyprocess/a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch35
-rw-r--r--meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pyasn1-modules/0001-Stop-using-pyasn1.compat.octets.patch171
-rw-r--r--meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb (renamed from meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb)3
-rw-r--r--meta-python/recipes-devtools/python/python3-pybluez_0.23.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch4
-rw-r--r--meta-python/recipes-devtools/python/python3-pychromecast_14.0.4.bb (renamed from meta-python/recipes-devtools/python/python3-pychromecast_14.0.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc56
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic-core/0001-dont-embed-RUSTFLAGS-in-final-binary-1396.patch58
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic-core_2.25.0.bb (renamed from meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb)3
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic_2.9.2.bb (renamed from meta-python/recipes-devtools/python/python3-pydantic_2.8.2.bb)7
-rw-r--r--meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch54
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint_3.3.1.bb (renamed from meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb)12
-rw-r--r--meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pymisp_2.5.0.bb (renamed from meta-python/recipes-devtools/python/python3-pymisp_2.4.197.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pymodbus_3.7.3.bb (renamed from meta-python/recipes-devtools/python/python3-pymodbus_3.7.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pymongo_4.10.1.bb (renamed from meta-python/recipes-devtools/python/python3-pymongo_4.8.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pyperf_2.8.0.bb (renamed from meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pyproj/rpath.patch2
-rw-r--r--meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb (renamed from meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-pyproject-api_1.7.2.bb (renamed from meta-python/recipes-devtools/python/python3-pyproject-api_1.7.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pyroute2_0.7.12.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.0.5.bb11
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-codspeed_2.2.1.bb12
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch38
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest4
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb19
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-python-multipart/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb24
-rw-r--r--meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pyunormalize_16.0.0.bb (renamed from meta-python/recipes-devtools/python/python3-pyunormalize_15.1.0.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb (renamed from meta-python/recipes-devtools/python/python3-pyyaml-include_2.1.bb)3
-rw-r--r--meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb (renamed from meta-python/recipes-devtools/python/python3-pyzstd_0.16.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-raven_6.10.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-redis_5.1.1.bb (renamed from meta-python/recipes-devtools/python/python3-redis_5.0.8.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-regex_2024.9.11.bb (renamed from meta-python/recipes-devtools/python/python3-regex_2024.7.24.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch (renamed from meta-python/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch)0
-rw-r--r--meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb3
-rw-r--r--meta-python/recipes-devtools/python/python3-robotframework_7.1.bb (renamed from meta-python/recipes-devtools/python/python3-robotframework_7.0.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb (renamed from meta-python/recipes-devtools/python/python3-scrypt_0.8.24.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-setproctitle/run-ptest4
-rw-r--r--meta-python/recipes-devtools/python/python3-setproctitle_1.3.3.bb34
-rw-r--r--meta-python/recipes-devtools/python/python3-sh_2.1.0.bb (renamed from meta-python/recipes-devtools/python/python3-sh_2.0.7.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb (renamed from meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-speaklater_1.3.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-spidev_3.6.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb (renamed from meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.32.bb)7
-rw-r--r--meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-starlette/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb41
-rw-r--r--meta-python/recipes-devtools/python/python3-stevedore_5.3.0.bb (renamed from meta-python/recipes-devtools/python/python3-stevedore_5.2.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-sympy_1.13.3.bb (renamed from meta-python/recipes-devtools/python/python3-sympy_1.13.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-telnetlib3_2.0.4.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-termcolor_2.5.0.bb (renamed from meta-python/recipes-devtools/python/python3-termcolor_2.4.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-tinyrecord_0.2.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-tomli_2.0.2.bb (renamed from meta-python/recipes-devtools/python/python3-tomli_2.0.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-toolz_1.0.0.bb (renamed from meta-python/recipes-devtools/python/python3-toolz_0.12.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-trio_0.27.0.bb18
-rw-r--r--meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb (renamed from meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb)5
-rw-r--r--meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb (renamed from meta-python/recipes-devtools/python/python3-twisted_24.7.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-typer/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-types-psutil_6.0.0.20241011.bb (renamed from meta-python/recipes-devtools/python/python3-types-psutil_6.0.0.20240901.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20241003.bb (renamed from meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20240906.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb (renamed from meta-python/recipes-devtools/python/python3-tzdata_2024.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-uefi-firmware_1.12.bb (renamed from meta-python/recipes-devtools/python/python3-uefi-firmware_1.11.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-ujson/run-ptest2
-rw-r--r--meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb3
-rw-r--r--meta-python/recipes-devtools/python/python3-validators_0.34.0.bb4
-rw-r--r--meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-virtualenv_20.26.5.bb (renamed from meta-python/recipes-devtools/python/python3-virtualenv_20.26.4.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-watchdog_5.0.3.bb (renamed from meta-python/recipes-devtools/python/python3-watchdog_5.0.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-web3_7.3.0.bb (renamed from meta-python/recipes-devtools/python/python3-web3_6.20.1.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-webargs_8.6.0.bb (renamed from meta-python/recipes-devtools/python/python3-webargs_8.4.0.bb)6
-rw-r--r--meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch29
-rw-r--r--meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb43
-rw-r--r--meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-wrapt_1.17.0rc1.bb (renamed from meta-python/recipes-devtools/python/python3-wrapt_1.16.0.bb)7
-rw-r--r--meta-python/recipes-devtools/python/python3-xmlschema_3.4.2.bb (renamed from meta-python/recipes-devtools/python/python3-xmlschema_3.3.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-yappi/py3.13.patch43
-rw-r--r--meta-python/recipes-devtools/python/python3-yappi_1.6.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb (renamed from meta-python/recipes-devtools/python/python3-yarl_1.10.0.bb)5
-rw-r--r--meta-python/recipes-devtools/python/python3-zeroconf_0.135.0.bb (renamed from meta-python/recipes-devtools/python/python3-zeroconf_0.134.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb (renamed from meta-python/recipes-devtools/python/python3-zopeinterface_6.3.bb)5
-rw-r--r--meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.3.bb (renamed from meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb2
-rw-r--r--meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch6
-rw-r--r--meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Fix-build-with-gcc-14.patch31
-rw-r--r--meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/add-back-option-build-base.patch9
-rw-r--r--meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/not-overwrite-cflags-cxxflags.patch10
-rw-r--r--meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/wxgtk-fixup-build-scripts.patch15
-rw-r--r--meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.2.bb (renamed from meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.1.bb)7
-rw-r--r--meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb23
-rw-r--r--meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb19
-rw-r--r--meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.6.bb (renamed from meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.5.bb)2
-rw-r--r--meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb1
-rw-r--r--meta-python/recipes-extended/python-rich/python3-rich_13.9.3.bb (renamed from meta-python/recipes-extended/python-rich/python3-rich_13.8.0.bb)2
-rw-r--r--meta-webserver/conf/layer.conf2
-rw-r--r--meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb1
-rw-r--r--meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.17.14.bb22
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2_2.4.62.bb2
-rw-r--r--meta-webserver/recipes-httpd/cherokee/cherokee/0001-common-internal.h-Define-LLONG_MAX-if-undefined.patch47
-rw-r--r--meta-webserver/recipes-httpd/cherokee/cherokee/0001-configure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch31
-rw-r--r--meta-webserver/recipes-httpd/cherokee/cherokee/0001-make-Do-not-build-po-files.patch28
-rw-r--r--meta-webserver/recipes-httpd/cherokee/cherokee/cherokee-install-configured.py-once.patch40
-rw-r--r--meta-webserver/recipes-httpd/cherokee/cherokee/cherokee.init32
-rw-r--r--meta-webserver/recipes-httpd/cherokee/cherokee/cherokee.service10
-rw-r--r--meta-webserver/recipes-httpd/cherokee/cherokee_git.bb79
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata/0001-cmake-Add-check-for-64bit-builtin-atomics.patch51
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata/0002-Do-not-hardcode-systemd-unit-directories.patch38
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata/go.d.conf2
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata/netdata.conf5673
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata/netdata.service15
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata_1.47.1.bb93
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata_1.47.5.bb155
-rw-r--r--meta-xfce/conf/layer.conf2
-rw-r--r--meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb1
-rw-r--r--meta-xfce/recipes-art/rodent-icon-theme/rodent-icon-theme_5.0.bb1
-rw-r--r--meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb1
-rw-r--r--meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb1
-rw-r--r--meta-xfce/recipes-bindings/vala/xfce4-vala_4.10.3.bb1
-rw-r--r--meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.5.bb (renamed from meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.3.bb)2
760 files changed, 10006 insertions, 12225 deletions
diff --git a/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc b/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc
index f57bbab93..875a2f139 100644
--- a/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc
+++ b/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc
@@ -8,11 +8,10 @@
8 8
9PTESTS_FAST_META_FILESYSTEMS = "\ 9PTESTS_FAST_META_FILESYSTEMS = "\
10 e2tools \ 10 e2tools \
11 fuse3 \
12" 11"
13 12
14PTESTS_SLOW_META_FILESYSTEMS = "\ 13PTESTS_SLOW_META_FILESYSTEMS = "\
14 sshfs-fuse \
15" 15"
16PTESTS_PROBLEMS_META_FILESYSTEMS = "\ 16PTESTS_PROBLEMS_META_FILESYSTEMS = "\
17 sshfs-fuse \
18" 17"
diff --git a/meta-filesystems/conf/layer.conf b/meta-filesystems/conf/layer.conf
index 52ca5a4c0..8a0c831e2 100644
--- a/meta-filesystems/conf/layer.conf
+++ b/meta-filesystems/conf/layer.conf
@@ -15,4 +15,4 @@ LAYERVERSION_filesystems-layer = "1"
15 15
16LAYERDEPENDS_filesystems-layer = "core openembedded-layer networking-layer" 16LAYERDEPENDS_filesystems-layer = "core openembedded-layer networking-layer"
17 17
18LAYERSERIES_COMPAT_filesystems-layer = "styhead" 18LAYERSERIES_COMPAT_filesystems-layer = "styhead walnascar"
diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest
index b63c4de0d..5aab54d5b 100644
--- a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest
+++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest
@@ -1,3 +1,11 @@
1#!/bin/sh 1#!/bin/sh
2mkdir -p ~/.ssh
3cat > ~/.ssh/config << EOF
4Host *
5 CheckHostIP no
6 StrictHostKeyChecking no
7 UserKnownHostsFile=/dev/null
8EOF
9pytest --automake
2 10
3pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' 11rm -rf ~/.ssh/config
diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb
index 5a926dac0..569c7f690 100644
--- a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb
+++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb
@@ -17,9 +17,11 @@ inherit meson pkgconfig ptest
17SRC_URI += " \ 17SRC_URI += " \
18 file://run-ptest \ 18 file://run-ptest \
19" 19"
20 20#python3-compile for filecmp module
21RDEPENDS:${PN}-ptest += " \ 21RDEPENDS:${PN}-ptest += " \
22 python3-compile \
22 python3-pytest \ 23 python3-pytest \
24 python3-unittest-automake-output \
23 bash \ 25 bash \
24 fuse \ 26 fuse \
25" 27"
@@ -27,4 +29,5 @@ RDEPENDS:${PN}-ptest += " \
27do_install_ptest() { 29do_install_ptest() {
28 install -d ${D}${PTEST_PATH}/test 30 install -d ${D}${PTEST_PATH}/test
29 cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ 31 cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
32 ln -sf ${bindir}/sshfs ${D}${PTEST_PATH}/sshfs
30} 33}
diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb
index 504fe2892..1b41deb09 100644
--- a/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb
+++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb
@@ -38,6 +38,12 @@ EXTRA_OECONF:append = " \
38 --without-dracutdir --enable-linux-builtin \ 38 --without-dracutdir --enable-linux-builtin \
39" 39"
40 40
41# Reproducibility: Force target distribution ("vendor") to Debian to match
42# default values for things like: NFS server service name, bash completion
43# path, configuration files, ...
44# The Debian values do match the OpenEmbedded ones.
45EXTRA_OECONF:append = " --with-vendor=debian"
46
41EXTRA_OEMAKE:append = " \ 47EXTRA_OEMAKE:append = " \
42 INSTALL_MOD_PATH=${D}${root_prefix} \ 48 INSTALL_MOD_PATH=${D}${root_prefix} \
43" 49"
diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb b/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb
index 6f613e9cd..fca7d42b3 100644
--- a/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb
+++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb
@@ -23,7 +23,7 @@ SRC_URI[sha256sum] = "d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7
23UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases" 23UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases"
24UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>2(\.\d+)+).tar.gz" 24UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>2(\.\d+)+).tar.gz"
25 25
26CVE_PRODUCT = "fuse_project:fuse" 26CVE_PRODUCT = "fuse_project:fuse fuse:fuse"
27 27
28inherit autotools pkgconfig update-rc.d systemd 28inherit autotools pkgconfig update-rc.d systemd
29 29
diff --git a/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
index 459c7058e..d7e654bab 100644
--- a/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb
+++ b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
@@ -11,15 +11,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
11 11
12DEPENDS += "coreutils e2fsprogs" 12DEPENDS += "coreutils e2fsprogs"
13 13
14PV = "0.1.0+git"
15
16SRC_URI = " \ 14SRC_URI = " \
17 git://github.com/e2tools/e2tools;protocol=https;branch=master \ 15 git://github.com/e2tools/e2tools;protocol=https;branch=master \
18 file://0001-Disable-portability-warning-as-error.patch \
19 file://run-ptest \ 16 file://run-ptest \
20" 17"
21 18
22SRCREV = "fd092754a6b65c3a769f74f888668c066f09c36d" 19SRCREV = "46da6c398e70635a296245851fcedbc56c35e824"
23 20
24S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
25 22
diff --git a/meta-filesystems/recipes-utils/e2tools/files/0001-Disable-portability-warning-as-error.patch b/meta-filesystems/recipes-utils/e2tools/files/0001-Disable-portability-warning-as-error.patch
deleted file mode 100644
index dec793f37..000000000
--- a/meta-filesystems/recipes-utils/e2tools/files/0001-Disable-portability-warning-as-error.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From e0aaedea30483bf5b9bb085e12fff79144fa1174 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 29 Aug 2024 11:12:57 -0700
4Subject: [PATCH] Disable portability warning as error
5
6With latest automake 1.17 its warning about escape hash
7mark [1] and since configure.ac uses -werror to call automake
8this becomes an error and reconfigure fails.
9
10escape hash mark is non-portable as discussed here [2]
11
12Fow now let it be a warning, it should be fixed in a portable way
13
14[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=7610
15[2] https://lists.gnu.org/archive/html/automake/2011-08/msg00023.html
16
17Upstream-Status: Submitted [https://github.com/e2tools/e2tools/pull/31]
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 configure.ac | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/configure.ac b/configure.ac
24index dd32c4d..9f37591 100644
25--- a/configure.ac
26+++ b/configure.ac
27@@ -14,6 +14,7 @@ AC_CONFIG_MACRO_DIR([m4])
28 AM_INIT_AUTOMAKE([
29 -Wall
30 -Werror
31+-Wno-portability
32 1.9.6
33 foreign
34 subdir-objects
diff --git a/meta-gnome/conf/layer.conf b/meta-gnome/conf/layer.conf
index f831de78c..6adf7a405 100644
--- a/meta-gnome/conf/layer.conf
+++ b/meta-gnome/conf/layer.conf
@@ -17,7 +17,7 @@ LAYERVERSION_gnome-layer = "1"
17 17
18LAYERDEPENDS_gnome-layer = "core openembedded-layer networking-layer meta-python" 18LAYERDEPENDS_gnome-layer = "core openembedded-layer networking-layer meta-python"
19 19
20LAYERSERIES_COMPAT_gnome-layer = "styhead" 20LAYERSERIES_COMPAT_gnome-layer = "styhead walnascar"
21 21
22SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\ 22SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\
23 faenza-icon-theme->gdk-pixbuf \ 23 faenza-icon-theme->gdk-pixbuf \
diff --git a/meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_46.2.bb b/meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_47.0.bb
index a16a02aa7..38a8cc01a 100644
--- a/meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_46.2.bb
+++ b/meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_47.0.bb
@@ -8,7 +8,7 @@ inherit gnomebase gettext gsettings features_check
8 8
9REQUIRED_DISTRO_FEATURES = "opengl polkit" 9REQUIRED_DISTRO_FEATURES = "opengl polkit"
10 10
11SRC_URI[archive.sha256sum] = "97443eaffe4b1a69626886a41d25cbeb2c148d3fed43d92115c1b7d20d5238ab" 11SRC_URI[archive.sha256sum] = "8aa55775757b299debe417e169e6e28fecbf18ce611ed176fa0d650ab5344776"
12 12
13DEPENDS = " \ 13DEPENDS = " \
14 asciidoc-native \ 14 asciidoc-native \
diff --git a/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb b/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_47.0.bb
index 6272065de..fca055d39 100644
--- a/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb
+++ b/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_47.0.bb
@@ -20,7 +20,7 @@ DEPENDS = " \
20 libvirt-glib \ 20 libvirt-glib \
21 mtools \ 21 mtools \
22 spice-gtk \ 22 spice-gtk \
23 tracker \ 23 tinysparql \
24 webkitgtk3 \ 24 webkitgtk3 \
25 appstream-glib-native \ 25 appstream-glib-native \
26 spice-protocol \ 26 spice-protocol \
@@ -31,7 +31,7 @@ RDEPENDS:${PN} = "glib-2.0-dev libvirt-virsh qemu-common qemu-system-x86-64 geni
31 31
32inherit gnomebase gsettings pkgconfig mime-xdg gtk-icon-cache gobject-introspection vala features_check 32inherit gnomebase gsettings pkgconfig mime-xdg gtk-icon-cache gobject-introspection vala features_check
33 33
34SRC_URI[archive.sha256sum] = "900c177f6762640370a6634cf9e7d3cd8207e498367a8a667a6b731b04116036" 34SRC_URI[archive.sha256sum] = "65bf6c2de1bf4d51695c9192c5b1e6285cb32c98a18aa948a376ea32038bc78f"
35 35
36GIR_MESON_OPTION = "" 36GIR_MESON_OPTION = ""
37VALA_MESON_OPTION = "" 37VALA_MESON_OPTION = ""
diff --git a/meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch b/meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch
new file mode 100644
index 000000000..b04a16cec
--- /dev/null
+++ b/meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch
@@ -0,0 +1,85 @@
1From 7e5b986cb7797a6535fe2471b9a5fb7c00821f51 Mon Sep 17 00:00:00 2001
2From: Yoann Congal <yoann.congal@smile.fr>
3Date: Sun, 13 Oct 2024 01:00:10 +0200
4Subject: [PATCH] gimptool: allow default CC override
5
6From: Yoann Congal <yoann.congal@smile.fr>
7
8In OE, CC contains sysroot path. Storing CC in binary then leads to
9non-reproducibility.
10
11This commit add a new configure option "--with-default-cc='cmd'" for
12force the CC stored in gimptool to a reproducible value.
13
14Upstream-Status: Inappropriate [does not apply on master (upstream has moved to meson)]
15Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
16---
17 app-tools/Makefile.am | 2 +-
18 configure.ac | 13 +++++++++++++
19 tools/Makefile.am | 2 +-
20 tools/gimptool.c | 2 +-
21 4 files changed, 16 insertions(+), 3 deletions(-)
22
23diff --git a/app-tools/Makefile.am b/app-tools/Makefile.am
24index a7cd4ce..81a3a00 100644
25--- a/app-tools/Makefile.am
26+++ b/app-tools/Makefile.am
27@@ -67,7 +67,7 @@ AM_CPPFLAGS = \
28 -DMANDIR=\""$(mandir)"\" \
29 -DGIMPPLUGINDIR=\""$(gimpplugindir)"\" \
30 -DGIMPDATADIR=\""$(gimpdatadir)"\" \
31- -DCC=\""$(CC)"\" \
32+ -DDEFAULT_CC=\""@DEFAULT_CC@"\" \
33 -DGIMPDIR=\""$(gimpdir)"\" \
34 -DGIMP_PLUGIN_VERSION=\""$(GIMP_PLUGIN_VERSION)"\" \
35 -I$(top_srcdir) \
36diff --git a/configure.ac b/configure.ac
37index a88b7cc..d90b6db 100644
38--- a/configure.ac
39+++ b/configure.ac
40@@ -2457,6 +2457,19 @@ fi
41 AM_CONDITIONAL(DESKTOP_DATADIR, test "x$with_desktop_dir" != xno)
42 AC_SUBST(DESKTOP_DATADIR)
43
44+######################
45+# Determine default CC
46+######################
47+
48+AC_ARG_WITH(default-cc, [ --with-default-cc="cmd" default CC to print in gimptool (default=CC)])
49+
50+if test "x$with_default_cc" != x; then
51+ DEFAULT_CC=$with_default_cc
52+else
53+ DEFAULT_CC=CC
54+fi
55+
56+AC_SUBST(DEFAULT_CC)
57
58 #####################
59 # Check for XML tools
60diff --git a/tools/Makefile.am b/tools/Makefile.am
61index 420b9b1..ccabde8 100644
62--- a/tools/Makefile.am
63+++ b/tools/Makefile.am
64@@ -87,7 +87,7 @@ AM_CPPFLAGS = \
65 -DMANDIR=\""$(mandir)"\" \
66 -DGIMPPLUGINDIR=\""$(gimpplugindir)"\" \
67 -DGIMPDATADIR=\""$(gimpdatadir)"\" \
68- -DCC=\""$(CC)"\" \
69+ -DDEFAULT_CC=\""@DEFAULT_CC@"\" \
70 -DGIMPDIR=\""$(gimpdir)"\" \
71 -DGIMP_PLUGIN_VERSION=\""$(GIMP_PLUGIN_VERSION)"\" \
72 -I$(top_srcdir) \
73diff --git a/tools/gimptool.c b/tools/gimptool.c
74index 21fc043..bbf3fa5 100644
75--- a/tools/gimptool.c
76+++ b/tools/gimptool.c
77@@ -280,7 +280,7 @@ find_out_env_flags (void)
78 else if (msvc_syntax)
79 env_cc = "cl -MD";
80 else
81- env_cc = CC;
82+ env_cc = DEFAULT_CC;
83
84 if (g_ascii_strncasecmp (env_cc, "cl", 2) == 0 &&
85 g_ascii_strncasecmp (env_cc, "clang", 5) != 0)
diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb
index a17e03b10..0272e05e9 100644
--- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb
+++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb
@@ -49,6 +49,7 @@ SRC_URI = "https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2 \
49 file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch \ 49 file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch \
50 file://0001-file-tiff-load-fix-mismatching-variable-type.patch \ 50 file://0001-file-tiff-load-fix-mismatching-variable-type.patch \
51 file://0001-metadata-shut-up-a-weird-warning.patch \ 51 file://0001-metadata-shut-up-a-weird-warning.patch \
52 file://0001-gimptool-allow-default-CC-override.patch \
52 " 53 "
53SRC_URI[sha256sum] = "50a845eec11c8831fe8661707950f5b8446e35f30edfb9acf98f85c1133f856e" 54SRC_URI[sha256sum] = "50a845eec11c8831fe8661707950f5b8446e35f30edfb9acf98f85c1133f856e"
54 55
@@ -74,6 +75,26 @@ FILES:${PN} += "${datadir}/metainfo"
74 75
75RDEPENDS:${PN} += "mypaint-brushes-1.0" 76RDEPENDS:${PN} += "mypaint-brushes-1.0"
76 77
78
79# gimptool
80
81# gimptool needs a CC definition, use current CC without sysroot
82python __anonymous() {
83 import shlex
84 CC_WITHOUT_SYSROOT = shlex.join(filter(lambda x: not x.startswith("--sysroot="), shlex.split(d.getVar("CC"))))
85 d.setVar("CC_WITHOUT_SYSROOT", CC_WITHOUT_SYSROOT)
86}
87EXTRA_OECONF += "--with-default-cc='${CC_WITHOUT_SYSROOT}'"
88
89# Split gimptool in its own package
90PACKAGE_BEFORE_PN += "${PN}-gimptool"
91FILES:${PN}-gimptool += "${bindir}/gimptool-2.0"
92
93# gimptool depends on gimp .pc file being installed and tools to build the plugin.
94RDEPENDS:${PN}-gimptool += "${PN}-dev packagegroup-core-buildessential"
95INSANE_SKIP:${PN}-gimptool += "dev-deps"
96
97
77CVE_STATUS[CVE-2007-3741] = "not-applicable-platform: This only applies for Mandriva Linux" 98CVE_STATUS[CVE-2007-3741] = "not-applicable-platform: This only applies for Mandriva Linux"
78CVE_STATUS[CVE-2009-0581] = "cpe-incorrect: The current version (2.10.38) is not affected." 99CVE_STATUS[CVE-2009-0581] = "cpe-incorrect: The current version (2.10.38) is not affected."
79CVE_STATUS[CVE-2009-0723] = "cpe-incorrect: The current version (2.10.38) is not affected." 100CVE_STATUS[CVE-2009-0723] = "cpe-incorrect: The current version (2.10.38) is not affected."
diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
index fc1925314..384484e0d 100644
--- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
+++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
@@ -1,12 +1,12 @@
1require ${BPN}.inc 1require ${BPN}.inc
2 2
3DEPENDS = " \ 3DEPENDS = " \
4 ${BPN}-native gperf-native \ 4 ${BPN}-native cairo gperf-native \
5 glib-2.0 json-glib gtk4 libxml2 icu \ 5 glib-2.0 json-glib gtk+3 gtk4 libxml2 icu \
6 dbus db virtual/libiconv zlib libsoup-3.0 libical nss libsecret \ 6 dbus db virtual/libiconv zlib libsoup nspr libical nss libsecret \
7" 7"
8 8
9inherit pkgconfig gsettings gobject-introspection features_check gtk-doc gettext perlnative vala 9inherit pkgconfig gsettings gobject-introspection mime-xdg features_check gtk-doc gettext perlnative vala
10 10
11ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 11ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
12REQUIRED_DISTRO_FEATURES = "opengl" 12REQUIRED_DISTRO_FEATURES = "opengl"
@@ -17,6 +17,7 @@ SRC_URI += " \
17 file://0002-CMakeLists.txt-remove-CHECK_C_SOURCE_RUNS-check.patch \ 17 file://0002-CMakeLists.txt-remove-CHECK_C_SOURCE_RUNS-check.patch \
18 file://0003-contact-Replace-the-Novell-sample-contact-with-somet.patch \ 18 file://0003-contact-Replace-the-Novell-sample-contact-with-somet.patch \
19 file://0004-call-native-helpers.patch \ 19 file://0004-call-native-helpers.patch \
20 file://0001-data-CMakeLists.txt-dont-create-automatic-google-log.patch \
20 file://iconv-detect.h \ 21 file://iconv-detect.h \
21" 22"
22 23
@@ -42,7 +43,7 @@ EXTRA_OECMAKE:append:class-target = " -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scan
42PACKAGECONFIG ?= "goa oauth" 43PACKAGECONFIG ?= "goa oauth"
43 44
44PACKAGECONFIG[canberra] = "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra" 45PACKAGECONFIG[canberra] = "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra"
45PACKAGECONFIG[oauth] = "-DENABLE_OAUTH2_WEBKITGTK4=ON -DENABLE_OAUTH2_WEBKITGTK=OFF,-DENABLE_OAUTH2_WEBKITGTK4=OFF -DENABLE_OAUTH2_WEBKITGTK=OFF,webkitgtk json-glib" 46PACKAGECONFIG[oauth] = "-DENABLE_OAUTH2_WEBKITGTK4=ON -DENABLE_OAUTH2_WEBKITGTK=ON,-DENABLE_OAUTH2_WEBKITGTK4=OFF -DENABLE_OAUTH2_WEBKITGTK=OFF,webkitgtk json-glib"
46PACKAGECONFIG[goa] = "-DENABLE_GOA=ON,-DENABLE_GOA=OFF,gnome-online-accounts" 47PACKAGECONFIG[goa] = "-DENABLE_GOA=ON,-DENABLE_GOA=OFF,gnome-online-accounts"
47PACKAGECONFIG[kerberos] = "-DWITH_KRB5=ON,-DWITH_KRB5=OFF,krb5" 48PACKAGECONFIG[kerberos] = "-DWITH_KRB5=ON,-DWITH_KRB5=OFF,krb5"
48# BROKEN: due missing pkg-config in openldap eds' cmake finds host-libs when 49# BROKEN: due missing pkg-config in openldap eds' cmake finds host-libs when
diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.inc b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.inc
index 33190c461..340c63998 100644
--- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.inc
+++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.inc
@@ -10,5 +10,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6a6e689d19255cf0557f3fe7d7068212 \
10GNOMEBASEBUILDCLASS = "cmake" 10GNOMEBASEBUILDCLASS = "cmake"
11inherit gnomebase upstream-version-is-even 11inherit gnomebase upstream-version-is-even
12 12
13SRC_URI[archive.sha256sum] = "91f4ffc38a1b8d2fe8939834449ac541c0bff4a39b444edc2a9529344a28e98a" 13SRC_URI[archive.sha256sum] = "a54b47b977a97030f738a412f4f5d5b2efbef5e0ebe8929b7cce00ac54681084"
14PV = "3.50.1" 14PV = "3.54.0"
diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server/0001-data-CMakeLists.txt-dont-create-automatic-google-log.patch b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server/0001-data-CMakeLists.txt-dont-create-automatic-google-log.patch
new file mode 100644
index 000000000..d23eb8b6e
--- /dev/null
+++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server/0001-data-CMakeLists.txt-dont-create-automatic-google-log.patch
@@ -0,0 +1,39 @@
1From 9b949bd47ed9e5596a9d37c60aa947def9c41db9 Mon Sep 17 00:00:00 2001
2From: Markus Volk <f_l_k@t-online.de>
3Date: Sun, 15 Sep 2024 22:31:49 +0200
4Subject: [PATCH] data/CMakeLists.txt: dont create automatic google login
5
6Inappropriate for cross-compiling
7
8Upstream-Status: Inappropriate [oe-specific]
9
10Signed-off-by: Markus Volk <f_l_k@t-online.de>
11---
12 data/CMakeLists.txt | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
16index 8fa642909..bb1b0c4da 100644
17--- a/data/CMakeLists.txt
18+++ b/data/CMakeLists.txt
19@@ -29,7 +29,7 @@ add_icon_cache_files("${SHARE_INSTALL_PREFIX}" alarm_notify_icon)
20 # ********************************
21
22 set(OAUTH2_SCHEMES "x-scheme-handler/eds-oauth2;")
23-if(NOT WITH_GOOGLE_CLIENT_ID STREQUAL "")
24+if(0)
25 set(CMAKE_REQUIRED_DEFINITIONS ${DATA_SERVER_CFLAGS})
26 set(CMAKE_REQUIRED_INCLUDES ${CMAKE_BINARY_DIR} ${DATA_SERVER_INCLUDE_DIRS})
27 set(CMAKE_REQUIRED_LIBRARIES ${DATA_SERVER_LDFLAGS})
28@@ -50,7 +50,7 @@ if(NOT WITH_GOOGLE_CLIENT_ID STREQUAL "")
29 set(OAUTH2_SCHEMES "x-scheme-handler/${_google_oauth2_scheme};${OAUTH2_SCHEMES}")
30 endif(NOT _google_oauth2_scheme STREQUAL "")
31 unset(_google_oauth2_scheme)
32-endif(NOT WITH_GOOGLE_CLIENT_ID STREQUAL "")
33+endif(0)
34
35 configure_file(org.gnome.evolution-data-server.OAuth2-handler.desktop.in
36 org.gnome.evolution-data-server.OAuth2-handler.desktop.in
37--
382.46.0
39
diff --git a/meta-gnome/recipes-gnome/gdm/gdm_46.0.bb b/meta-gnome/recipes-gnome/gdm/gdm_47.0.bb
index ec1d6ad39..94836cdbc 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_46.0.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_47.0.bb
@@ -21,7 +21,7 @@ GIR_MESON_OPTION = ""
21 21
22inherit gnomebase gsettings pkgconfig gobject-introspection gettext systemd useradd itstool gnome-help features_check 22inherit gnomebase gsettings pkgconfig gobject-introspection gettext systemd useradd itstool gnome-help features_check
23 23
24SRC_URI[archive.sha256sum] = "8d6cb52176eca48b6bbf1cfe2fdae08d9677b5a0f2bca600dee4604de0dd1efc" 24SRC_URI[archive.sha256sum] = "c5858326bfbcc8ace581352e2be44622dc0e9e5c2801c8690fd2eed502607f84"
25 25
26EXTRA_OEMESON = " \ 26EXTRA_OEMESON = " \
27 -Dplymouth=disabled \ 27 -Dplymouth=disabled \
diff --git a/meta-gnome/recipes-gnome/gnome-backgrounds/gnome-backgrounds_46.0.bb b/meta-gnome/recipes-gnome/gnome-backgrounds/gnome-backgrounds_47.0.bb
index d938ae94c..8774750e9 100644
--- a/meta-gnome/recipes-gnome/gnome-backgrounds/gnome-backgrounds_46.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-backgrounds/gnome-backgrounds_47.0.bb
@@ -6,7 +6,7 @@ SECTION = "x11/gnome"
6 6
7inherit gnomebase gettext allarch 7inherit gnomebase gettext allarch
8 8
9SRC_URI[archive.sha256sum] = "4ddd3ac439a4a067876805921bb75f4d3c8b85a218d47c276dddde8928443c2e" 9SRC_URI[archive.sha256sum] = "874a4a39c4261736f6a854722833400b612441c4681aa5982d90b15abc9c91fd"
10 10
11FILES:${PN} += " \ 11FILES:${PN} += " \
12 ${datadir}/backgrounds \ 12 ${datadir}/backgrounds \
diff --git a/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_46.1.bb b/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_47.0.bb
index f1a93ea83..c24e45df3 100644
--- a/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_46.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_47.0.bb
@@ -29,7 +29,7 @@ def gnome_verdir(v):
29 29
30REQUIRED_DISTRO_FEATURES = "x11 opengl" 30REQUIRED_DISTRO_FEATURES = "x11 opengl"
31 31
32SRC_URI[archive.sha256sum] = "2d36750a73890086122cf3f0c83e68517891585615165306fa1596a918668247" 32SRC_URI[archive.sha256sum] = "decdb23283b5dbeef40951b69eaf7d4b80c0c3880ddb01863f9f0f1554f8998b"
33 33
34FILES:${PN} += " \ 34FILES:${PN} += " \
35 ${datadir}/dbus-1 \ 35 ${datadir}/dbus-1 \
diff --git a/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_46.1.bb b/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_47.0.bb
index eac768c8f..fa9df54fb 100644
--- a/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_46.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_47.0.bb
@@ -22,7 +22,7 @@ inherit gnomebase gsettings gtk-icon-cache gettext features_check upstream-versi
22 22
23REQUIRED_DISTRO_FEATURES = "x11 opengl" 23REQUIRED_DISTRO_FEATURES = "x11 opengl"
24 24
25SRC_URI[archive.sha256sum] = "9861ff7b8abd5b7b20690ba55eb7542c7ec534b566269e29b5b1e858c1610897" 25SRC_URI[archive.sha256sum] = "3b03313f1c4d12dc821e07e209d1596d53eafa255d492d2ce5abf92ed1b51e76"
26 26
27do_install:prepend() { 27do_install:prepend() {
28 sed -i -e 's|${S}/src|${TARGET_DBGSRC_DIR}/src|g' ${B}/src/gcal-enum-types.h 28 sed -i -e 's|${S}/src|${TARGET_DBGSRC_DIR}/src|g' ${B}/src/gcal-enum-types.h
diff --git a/meta-gnome/recipes-gnome/gnome-chess/gnome-chess_46.0.bb b/meta-gnome/recipes-gnome/gnome-chess/gnome-chess_47.0.bb
index bb53b58df..e3365f618 100644
--- a/meta-gnome/recipes-gnome/gnome-chess/gnome-chess_46.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-chess/gnome-chess_47.0.bb
@@ -22,13 +22,13 @@ DEPENDS = " \
22 22
23RRECOMMENDS:${PN} = "gnuchess" 23RRECOMMENDS:${PN} = "gnuchess"
24 24
25SRC_URI = "git://github.com/GNOME/gnome-chess.git;protocol=https;branch=master" 25SRC_URI = "git://github.com/GNOME/gnome-chess.git;protocol=https;branch=main"
26 26
27inherit meson pkgconfig gobject-introspection gtk-icon-cache vala features_check mime-xdg gsettings 27inherit meson pkgconfig gobject-introspection gtk-icon-cache vala features_check mime-xdg gsettings
28 28
29GIR_MESON_OPTION = "" 29GIR_MESON_OPTION = ""
30 30
31S = "${WORKDIR}/git" 31S = "${WORKDIR}/git"
32SRCREV = "c3625ee59ab3acfd7566ef04300b15ddbadaaac3" 32SRCREV = "91476257c2404945bfa30238c38391343bf4737b"
33 33
34FILES:${PN} += "${datadir}" 34FILES:${PN} += "${datadir}"
diff --git a/meta-gnome/recipes-gnome/gnome-console/gnome-console/0001-include-locale.h-for-setlocale.patch b/meta-gnome/recipes-gnome/gnome-console/gnome-console/0001-include-locale.h-for-setlocale.patch
new file mode 100644
index 000000000..28f26476c
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-console/gnome-console/0001-include-locale.h-for-setlocale.patch
@@ -0,0 +1,34 @@
1From e72f6da3d509561b75e223667a0380772e7bd48a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 23 Sep 2024 20:38:09 -0700
4Subject: [PATCH] include locale.h for setlocale()
5
6This issue is surfaced on systems+clang
7
8Fixes
9../gnome-console-47.0/src/main.c:29:3: error: call to undeclared function 'setlocale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
10 29 | setlocale (LC_ALL, "");
11 | ^
12../gnome-console-47.0/src/main.c:29:14: error: use of undeclared identifier 'LC_ALL'
13 29 | setlocale (LC_ALL, "");
14 | ^
15
16Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/console/-/merge_requests/171]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 src/main.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/src/main.c b/src/main.c
23index af9c5a5..5d16160 100644
24--- a/src/main.c
25+++ b/src/main.c
26@@ -17,7 +17,7 @@
27 */
28
29 #include <glib/gi18n.h>
30-
31+#include <locale.h>
32 #include <kgx.h>
33
34 int
diff --git a/meta-gnome/recipes-gnome/gnome-console/gnome-console_45.0.bb b/meta-gnome/recipes-gnome/gnome-console/gnome-console_47.1.bb
index d03b5fe04..fd1e98a99 100644
--- a/meta-gnome/recipes-gnome/gnome-console/gnome-console_45.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-console/gnome-console_47.1.bb
@@ -17,8 +17,8 @@ DEPENDS = " \
17 pcre2 \ 17 pcre2 \
18 vte \ 18 vte \
19" 19"
20 20SRC_URI += "file://0001-include-locale.h-for-setlocale.patch"
21SRC_URI[archive.sha256sum] = "e7462128d2df2324a1d748062c40429cd0504af09e407067b33f3a9d0c59c8e1" 21SRC_URI[archive.sha256sum] = "d3f600b45b51716691aee92870332e9c9a8ca89d553565f3131d9e28074725d0"
22 22
23PACKAGECONFIG ?= "" 23PACKAGECONFIG ?= ""
24PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" 24PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
index c1bd34d14..851537563 100644
--- a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
+++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
@@ -13,7 +13,7 @@ Upstream-Status: Inappropriate [OE specific]
13 3 files changed, 3 insertions(+), 2 deletions(-) 13 3 files changed, 3 insertions(+), 2 deletions(-)
14 14
15diff --git a/meson_options.txt b/meson_options.txt 15diff --git a/meson_options.txt b/meson_options.txt
16index b2302bf..5b9baf5 100644 16index 9aeeed313..6097263a6 100644
17--- a/meson_options.txt 17--- a/meson_options.txt
18+++ b/meson_options.txt 18+++ b/meson_options.txt
19@@ -1,3 +1,4 @@ 19@@ -1,3 +1,4 @@
@@ -22,28 +22,29 @@ index b2302bf..5b9baf5 100644
22 option('documentation', type: 'boolean', value: false, description: 'build documentation') 22 option('documentation', type: 'boolean', value: false, description: 'build documentation')
23 option('location-services', type: 'feature', value: 'enabled', description: 'build with location services') 23 option('location-services', type: 'feature', value: 'enabled', description: 'build with location services')
24diff --git a/panels/background/meson.build b/panels/background/meson.build 24diff --git a/panels/background/meson.build b/panels/background/meson.build
25index 6ced050..df1f808 100644 25index 8f9cbecdf..17f17d395 100644
26--- a/panels/background/meson.build 26--- a/panels/background/meson.build
27+++ b/panels/background/meson.build 27+++ b/panels/background/meson.build
28@@ -24,7 +24,7 @@ common_sources += gnome.mkenums_simple( 28@@ -23,7 +23,7 @@ common_sources += gnome.mkenums_simple(
29 )
29 30
30 enums = 'gdesktop-enums-types' 31 gdesktop_enums_header = files(
31 enums_header = files(
32- gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h' 32- gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h'
33+ get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h' 33+ get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
34 ) 34 )
35 35
36 common_sources += gnome.mkenums( 36 common_sources += gnome.mkenums_simple(
37diff --git a/panels/system/meson.build b/panels/system/meson.build 37diff --git a/panels/system/meson.build b/panels/system/meson.build
38index 4fee822..979332a 100644 38index bbe004837..92e809fbe 100644
39--- a/panels/system/meson.build 39--- a/panels/system/meson.build
40+++ b/panels/system/meson.build 40+++ b/panels/system/meson.build
41@@ -73,7 +73,7 @@ sources += gnome.compile_resources( 41@@ -68,7 +68,7 @@ sources += gnome.compile_resources(
42 ) 42 )
43 43
44 enums_header = files( 44 gdesktop_enums_header = files(
45- gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h', 45- gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h'
46+ get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h', 46+ get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
47 'datetime/cc-datetime-page.h'
48 ) 47 )
49 48
49 sources += gnome.mkenums_simple(
50
diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.2.bb b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_47.1.1.bb
index ae96caf94..dce7711b8 100644
--- a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_47.1.1.bb
@@ -31,14 +31,17 @@ DEPENDS = " \
31 tecla \ 31 tecla \
32 udisks2 \ 32 udisks2 \
33 upower \ 33 upower \
34 ${@' libxslt-native docbook-xsl-stylesheets-native' if d.getVar('GIDOCGEN_ENABLED') == 'True' else ''} \
34" 35"
35 36
36inherit gtk-icon-cache pkgconfig gnomebase gsettings gettext upstream-version-is-even bash-completion features_check 37inherit gtk-icon-cache pkgconfig gnomebase gsettings gettext gi-docgen upstream-version-is-even bash-completion features_check
37 38
38REQUIRED_DISTRO_FEATURES += "opengl polkit pulseaudio systemd x11" 39REQUIRED_DISTRO_FEATURES += "opengl polkit pulseaudio systemd x11"
40SRC_URI = "gitsm://gitlab.gnome.org/GNOME/gnome-control-center.git;protocol=https;nobranch=1"
39 41
42S = "${WORKDIR}/git"
40SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch" 43SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch"
41SRC_URI[archive.sha256sum] = "6335c6cb8164e574db521fff61cfa3dfaa55f1db66ae3bca02750a193e1c4f3d" 44SRCREV = "7985fc671ad43f5925b9012e6c51231ad73a628d"
42 45
43PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" 46PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
44PACKAGECONFIG[cups] = ",,cups,cups system-config-printer cups-pk-helper" 47PACKAGECONFIG[cups] = ",,cups,cups system-config-printer cups-pk-helper"
@@ -49,11 +52,10 @@ PACKAGECONFIG[media-share] = ",,,rygel-meta tumbler"
49PACKAGECONFIG[malcontent] = "-Dmalcontent=true,-Dmalcontent=false,malcontent,malcontent-ui" 52PACKAGECONFIG[malcontent] = "-Dmalcontent=true,-Dmalcontent=false,malcontent,malcontent-ui"
50 53
51EXTRA_OEMESON += "-Doe_sysroot=${STAGING_DIR_HOST}" 54EXTRA_OEMESON += "-Doe_sysroot=${STAGING_DIR_HOST}"
55GIDOCGEN_MESON_OPTION = 'documentation'
52 56
53export XDG_DATA_DIRS = "${STAGING_DATADIR}" 57export XDG_DATA_DIRS = "${STAGING_DATADIR}"
54 58
55PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
56
57FILES:${PN} += " \ 59FILES:${PN} += " \
58 ${datadir}/dbus-1 \ 60 ${datadir}/dbus-1 \
59 ${datadir}/gnome-shell \ 61 ${datadir}/gnome-shell \
diff --git a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.0.bb b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.1.bb
index 19bae74ce..63847fe3e 100644
--- a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.1.bb
@@ -15,7 +15,7 @@ GIR_MESON_OPTION = ""
15 15
16SRC_URI += "file://gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch \ 16SRC_URI += "file://gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch \
17 file://0001-meson-Add-riscv32-to-seccomp-unsupported-list.patch" 17 file://0001-meson-Add-riscv32-to-seccomp-unsupported-list.patch"
18SRC_URI[archive.sha256sum] = "42c773745d84ba14bc1cf1c4c6f4606148803a5cd337941c63964795f3c59d42" 18SRC_URI[archive.sha256sum] = "ae7ca55dc9e08914999741523a17d29ce223915626bd2462a120bf96f47a79ab"
19 19
20DEPENDS += " \ 20DEPENDS += " \
21 fontconfig \ 21 fontconfig \
diff --git a/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer/0001-window-Fix-function-callback-definition.patch b/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer/0001-window-Fix-function-callback-definition.patch
deleted file mode 100644
index be4c002fc..000000000
--- a/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer/0001-window-Fix-function-callback-definition.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From ac4a07e7ef3d9d046a4ca2a803c5b649b6f7ddf4 Mon Sep 17 00:00:00 2001
2From: Matt Turner <mattst88@gmail.com>
3Date: Sat, 8 Jul 2023 00:01:07 -0400
4Subject: [PATCH] window: Fix function callback definition
5
6Without this, the build fails with clang with
7CFLAGS=-Werror=incompatible-function-pointer-types
8
9```
10../src/font-view-window.c:864:77: error: incompatible function pointer types passing 'void (FontViewWindow *)' (aka 'void (struct _FontViewWindow *)') to parameter of type 'GtkWidgetActionActivateFunc' (aka 'void (*)(struct _GtkWidget *, const char *, struct _GVariant *)') [-Wincompatible-function-pointer-types]
11 gtk_widget_class_install_action (widget_class, "win.toggle-search", NULL, action_toggle_search_cb);
12 ^~~~~~~~~~~~~~~~~~~~~~~
13/usr/include/gtk-4.0/gtk/gtkwidget.h:956:87: note: passing argument to parameter 'activate' here
14 GtkWidgetActionActivateFunc activate);
15 ^
16```
17
18Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/merge_requests/54]
19Signed-off-by: Khem Raj <raj.khem@gmail.com>
20---
21 src/font-view-window.c | 5 ++++-
22 1 file changed, 4 insertions(+), 1 deletion(-)
23
24diff --git a/src/font-view-window.c b/src/font-view-window.c
25index 639ac33..24461f7 100644
26--- a/src/font-view-window.c
27+++ b/src/font-view-window.c
28@@ -758,8 +758,11 @@ font_view_window_show_overview (FontViewWindow *self)
29 }
30
31 static void
32-action_toggle_search_cb (FontViewWindow *self)
33+action_toggle_search_cb (GtkWidget *widget,
34+ const char *action_name,
35+ GVariant *parameter)
36 {
37+ FontViewWindow *self = FONT_VIEW_WINDOW (widget);
38
39 gtk_toggle_button_set_active (self->search_button,
40 !gtk_toggle_button_get_active (self->search_button));
41--
422.45.1
43
diff --git a/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_46.0.bb b/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_47.0.bb
index ccf8262dc..4763d1717 100644
--- a/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_46.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_47.0.bb
@@ -15,8 +15,7 @@ inherit gnomebase gtk-icon-cache gettext features_check mime-xdg
15 15
16REQUIRED_DISTRO_FEATURES = "x11 opengl" 16REQUIRED_DISTRO_FEATURES = "x11 opengl"
17 17
18SRC_URI += "file://0001-window-Fix-function-callback-definition.patch" 18SRC_URI[archive.sha256sum] = "b8e5a042e0b241b0c7cae43f74da0d5f88e6423017a91feb86e7617edb4080ed"
19SRC_URI[archive.sha256sum] = "592f401e485d02cc044d487bb5c8e04c961da6856216768a59f1ff98bd2d537c"
20 19
21FILES:${PN} += " \ 20FILES:${PN} += " \
22 ${datadir}/dbus-1 \ 21 ${datadir}/dbus-1 \
diff --git a/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.50.2.bb b/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.52.1.bb
index adce70770..9c01095f2 100644
--- a/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.50.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.52.1.bb
@@ -3,12 +3,12 @@ LICENSE = "LGPL-2.0-or-later"
3LIC_FILES_CHKSUM = "file://COPYING;md5=34c88b124db5fb2762c1676be7dadd36" 3LIC_FILES_CHKSUM = "file://COPYING;md5=34c88b124db5fb2762c1676be7dadd36"
4 4
5GTKIC_VERSION = "4" 5GTKIC_VERSION = "4"
6inherit gnomebase gsettings gobject-introspection gtk-icon-cache mime-xdg vala features_check 6inherit gnomebase gsettings gobject-introspection gi-docgen gtk-icon-cache mime-xdg vala features_check
7REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'goabackend', 'opengl', '', d)}" 7REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'goabackend', 'opengl', '', d)}"
8 8
9DEPENDS += "gdk-pixbuf dbus glib-2.0 gcr" 9DEPENDS += "gdk-pixbuf dbus glib-2.0 gcr keyutils"
10 10
11SRC_URI[archive.sha256sum] = "df16ad975d139c6bfc4ebb2ec8bb8327297a791ef2bf0b977c78076af5faa98e" 11SRC_URI[archive.sha256sum] = "37c7522ff9454f8371b5a8725bba76ed7430c95b1f9efc7feba6268f052d1eb7"
12 12
13PACKAGECONFIG ?= "goabackend kerberos owncloud google windows_live" 13PACKAGECONFIG ?= "goabackend kerberos owncloud google windows_live"
14 14
@@ -18,11 +18,14 @@ PACKAGECONFIG[exchange] = "-Dexchange=true, -Dexchange=false"
18PACKAGECONFIG[google] = "-Dgoogle=true, -Dgoogle=false" 18PACKAGECONFIG[google] = "-Dgoogle=true, -Dgoogle=false"
19PACKAGECONFIG[owncloud] = "-Downcloud=true, -Downcloud=false" 19PACKAGECONFIG[owncloud] = "-Downcloud=true, -Downcloud=false"
20PACKAGECONFIG[windows_live] = "-Dwindows_live=true, -Dwindows_live=false" 20PACKAGECONFIG[windows_live] = "-Dwindows_live=true, -Dwindows_live=false"
21PACKAGECONFIG[man] = "-Dman=true, -Dman=false,libxslt-native docbook-xsl-stylesheets-native"
21 22
22FILES:${PN} += " \ 23FILES:${PN} += " \
23 ${datadir}/dbus-1 \ 24 ${datadir}/dbus-1 \
24 ${libdir}/goa-1.0/web-extensions/*.so \ 25 ${libdir}/goa-1.0/web-extensions/*.so \
25" 26"
26 27
28GIDOCGEN_MESON_OPTION = 'documentation'
29
27# looked into pkg-config file: it is not a bug - they mean it 30# looked into pkg-config file: it is not a bug - they mean it
28FILES:${PN}-dev += "${libdir}/goa-1.0/include" 31FILES:${PN}-dev += "${libdir}/goa-1.0/include"
diff --git a/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb b/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb
index 4b05e52ca..883f192db 100644
--- a/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb
@@ -17,12 +17,12 @@ DEPENDS = " \
17 gnome-online-accounts \ 17 gnome-online-accounts \
18 gsettings-desktop-schemas \ 18 gsettings-desktop-schemas \
19 libdazzle \ 19 libdazzle \
20 tracker \ 20 tinysparql \
21 libhandy \ 21 libhandy \
22 libportal \ 22 libportal \
23" 23"
24 24
25RDEPENDS:${PN} = "tracker-miners" 25RDEPENDS:${PN} = "localsearch"
26 26
27 27
28inherit gnomebase gettext gnome-help features_check 28inherit gnomebase gettext gnome-help features_check
diff --git a/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_46.0.bb b/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_47.1.bb
index d409e77ea..bc279dff4 100644
--- a/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_46.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_47.1.bb
@@ -24,7 +24,7 @@ DEPENDS = " \
24REQUIRED_DISTRO_FEATURES = "x11 polkit pulseaudio systemd gobject-introspection-data" 24REQUIRED_DISTRO_FEATURES = "x11 polkit pulseaudio systemd gobject-introspection-data"
25GIR_MESON_OPTION = "" 25GIR_MESON_OPTION = ""
26 26
27SRC_URI[archive.sha256sum] = "0b9a0f64fa18a8e7e09b4c95a3f754fa033c2cdbd2dc35701f0618572c1cb3d7" 27SRC_URI[archive.sha256sum] = "f2aacbe55fa38e8708583eec0a6651049e537eb505a3ed2ce0baa4e9b64246d1"
28 28
29PACKAGECONFIG ??= " \ 29PACKAGECONFIG ??= " \
30 cups nm \ 30 cups nm \
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_46.2.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_47.1.bb
index 5c2ae0593..a47548fbb 100644
--- a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_46.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_47.1.bb
@@ -6,7 +6,7 @@ inherit gnomebase gettext gsettings features_check
6 6
7REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data" 7REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data"
8 8
9SRC_URI[archive.sha256sum] = "d442e9d26925125ff215a5c134290495655380741daafbb37a3a99d6f0c7d86f" 9SRC_URI[archive.sha256sum] = "e9438cc5d39f9875dfd04ea0abb51e5962eaad5c20274123243b1612098b3a85"
10 10
11EXTRA_OEMESON += " \ 11EXTRA_OEMESON += " \
12 -Dextension_set=all \ 12 -Dextension_set=all \
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_46.2.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_47.1.bb
index 0a52de7a3..042b3935a 100644
--- a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_46.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_47.1.bb
@@ -13,6 +13,7 @@ DEPENDS = " \
13 gjs \ 13 gjs \
14 gnome-autoar \ 14 gnome-autoar \
15 gnome-desktop \ 15 gnome-desktop \
16 gnome-control-center \
16 polkit \ 17 polkit \
17 pipewire \ 18 pipewire \
18 libsoup-3.0 \ 19 libsoup-3.0 \
@@ -32,7 +33,7 @@ GIR_MESON_OPTION = ""
32# gobject-introspection is mandatory and cannot be configured 33# gobject-introspection is mandatory and cannot be configured
33REQUIRED_DISTRO_FEATURES += "gobject-introspection-data" 34REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
34 35
35SRC_URI[archive.sha256sum] = "6b587101c04bfb364ab09cd38b5d93ebeeb4254754c807cf712fbc8ee3fde238" 36SRC_URI[archive.sha256sum] = "b467575f8c159d20557258517f0dd68dfd0147d11b48d97ab8e1f709bc522a63"
36SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch" 37SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch"
37 38
38PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 39PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
diff --git a/meta-gnome/recipes-gnome/gnome-software/gnome-software_46.2.bb b/meta-gnome/recipes-gnome/gnome-software/gnome-software_47.1.bb
index 244941786..a18d6db66 100644
--- a/meta-gnome/recipes-gnome/gnome-software/gnome-software_46.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-software/gnome-software_47.1.bb
@@ -28,7 +28,7 @@ RDEPENDS:${PN} = "iso-codes"
28 28
29EXTRA_OEMESON += "-Dtests=false -Dsoup2=false" 29EXTRA_OEMESON += "-Dtests=false -Dsoup2=false"
30 30
31SRC_URI[archive.sha256sum] = "e700cba287764f5e2255514e312e160550fdbf7a5d3fe16358bb6f7b6732b974" 31SRC_URI[archive.sha256sum] = "93ca500366316745594ef05fcad1c05cf43f02ef8f66080c17f7ebb8ca3f34bf"
32 32
33PACKAGECONFIG ?= "flatpak" 33PACKAGECONFIG ?= "flatpak"
34PACKAGECONFIG[flatpak] = "-Dflatpak=true,-Dflatpak=false,flatpak ostree" 34PACKAGECONFIG[flatpak] = "-Dflatpak=true,-Dflatpak=false,flatpak ostree"
diff --git a/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_46.0.bb b/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_47.0.bb
index eaeaa2cb0..721ae5a94 100644
--- a/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_46.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_47.0.bb
@@ -22,10 +22,7 @@ inherit gnomebase gsettings gnome-help itstool gtk-icon-cache features_check get
22ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 22ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
23REQUIRED_DISTRO_FEATURES = "polkit" 23REQUIRED_DISTRO_FEATURES = "polkit"
24 24
25def gnome_verdir(v): 25SRC_URI[archive.sha256sum] = "ede7b925eb714d8b3c2bfbf7405a1b714494fe47e02f0af08f5837b3e256547f"
26 return oe.utils.trim_version(v, 1)
27
28SRC_URI[archive.sha256sum] = "5376248158c686c308255472e8c2a9e4c17255642c149fc7198c6d034e547599"
29 26
30PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
31PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd" 28PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"
diff --git a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
deleted file mode 100644
index 9f8475bdd..000000000
--- a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From 61668e1eb86a316d4ad9a6b9cacf8c8cc74a0c33 Mon Sep 17 00:00:00 2001
2From: Markus Volk <f_l_k@t-online.de>
3Date: Sun, 7 Jan 2024 10:40:31 +0100
4Subject: [PATCH] meson: add an option to set dbus_interface_dir
5
6Add an option that allows to set the dbus_interface_dir path manually.
7This will help to cross-compile gnome-terminal on host systems that
8don't have gnome-shell installed.
9
10Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/8046]
11
12Signed-off-by: Markus Volk <f_l_k@t-online.de>
13---
14 meson_options.txt | 7 +++++++
15 src/meson.build | 7 ++++++-
16 2 files changed, 13 insertions(+), 1 deletion(-)
17
18diff --git a/meson_options.txt b/meson_options.txt
19index b555ab66..8fece058 100644
20--- a/meson_options.txt
21+++ b/meson_options.txt
22@@ -13,6 +13,13 @@
23 # You should have received a copy of the GNU General Public License
24 # along with this programme. If not, see <https://www.gnu.org/licenses/>.
25
26+option(
27+ 'dbus_interface_dir',
28+ type: 'string',
29+ value: '',
30+ description: 'directory for D-Bus session interface files [$datadir/dbus-1/interfaces]',
31+)
32+
33 option(
34 'dbg',
35 type: 'boolean',
36diff --git a/src/meson.build b/src/meson.build
37index 27ecd893..420ad45c 100644
38--- a/src/meson.build
39+++ b/src/meson.build
40@@ -185,6 +185,11 @@ server_sources = app_sources + client_util_sources + debug_sources + dbus_source
41
42 if get_option('search_provider')
43
44+ dbus_interface_dir = get_option('dbus_interface_dir')
45+ if dbus_interface_dir == ''
46+ dbus_interface_dir = gt_prefix / gt_dbusinterfacedir
47+ endif
48+
49 server_sources += files(
50 'terminal-search-provider.cc',
51 'terminal-search-provider.hh',
52@@ -192,7 +197,7 @@ if get_option('search_provider')
53
54 server_sources += gnome.gdbus_codegen(
55 'terminal-search-provider-gdbus-generated',
56- gt_prefix / gt_dbusinterfacedir / 'org.gnome.ShellSearchProvider2.xml',
57+ dbus_interface_dir / 'org.gnome.ShellSearchProvider2.xml',
58 autocleanup: 'none',
59 install_header: false,
60 interface_prefix: 'org.gnome.Shell',
61--
622.43.0
63
diff --git a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.54.0.bb
index 3bbfe9ece..cfbde967f 100644
--- a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.54.0.bb
@@ -22,14 +22,13 @@ DEPENDS = " \
22SRC_URI = " \ 22SRC_URI = " \
23 git://gitlab.gnome.org/GNOME/gnome-terminal.git;protocol=https;nobranch=1 \ 23 git://gitlab.gnome.org/GNOME/gnome-terminal.git;protocol=https;nobranch=1 \
24 file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \ 24 file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \
25 file://0001-meson-add-option-to-set-dbus_interfacedir.patch \
26" 25"
27SRCREV = "5ac3b8e4bd6fa02651b3c23cedb0a7e1cd769655" 26SRCREV = "965cb9307713c618253918633416fcad86bcc5d2"
28S = "${WORKDIR}/git" 27S = "${WORKDIR}/git"
29 28
30PACKAGECONFIG ?= "" 29PACKAGECONFIG ?= ""
31PACKAGECONFIG[nautilus] = "-Dnautilus_extension=true,-Dnautilus_extension=false,nautilus,nautilus" 30PACKAGECONFIG[nautilus] = "-Dnautilus_extension=true,-Dnautilus_extension=false,nautilus,nautilus"
32PACKAGECONFIG[search_provider] = "-Dsearch_provider=true -Ddbus_interface_dir=${STAGING_DATADIR}/dbus-1/interfaces,-Dsearch_provider=false,gnome-shell" 31PACKAGECONFIG[search_provider] = "-Dsearch_provider=true,-Dsearch_provider=false,gnome-shell"
33 32
34PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" 33PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
35 34
diff --git a/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_46.3.bb b/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_47.0.bb
index 1e3268238..71d0f2c12 100644
--- a/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_46.3.bb
+++ b/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_47.0.bb
@@ -9,7 +9,7 @@ DEPENDS = " \
9 gtk4 \ 9 gtk4 \
10 gtksourceview5 \ 10 gtksourceview5 \
11 editorconfig-core-c \ 11 editorconfig-core-c \
12 enchant2 \ 12 libspelling \
13" 13"
14 14
15GTKIC_VERSION = "4" 15GTKIC_VERSION = "4"
@@ -18,7 +18,7 @@ inherit gnomebase gtk-icon-cache itstool gnome-help mime-xdg features_check
18 18
19REQUIRED_DISTRO_FEATURES = "opengl" 19REQUIRED_DISTRO_FEATURES = "opengl"
20 20
21SRC_URI[archive.sha256sum] = "005b48104a909be66ae07448d2bc5706c7d113781057a24ff6da55bdf324c73d" 21SRC_URI[archive.sha256sum] = "0304961974bdacc7e6e8d146dadc949527df99b2823582c8d1ba8b33d25d4217"
22 22
23FILES:${PN} += " \ 23FILES:${PN} += " \
24 ${datadir}/metainfo \ 24 ${datadir}/metainfo \
diff --git a/meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share/0001-build-Define-list-of-libc-feature-test-macros.patch b/meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share/0001-build-Define-list-of-libc-feature-test-macros.patch
new file mode 100644
index 000000000..fbbda824e
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share/0001-build-Define-list-of-libc-feature-test-macros.patch
@@ -0,0 +1,41 @@
1From 5f2e3fb82055ee1346eaa20fcca640fc802ae1c5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 24 Sep 2024 03:19:24 +0000
4Subject: [PATCH] build: Define list of libc feature test macros
5
6_POSIX_C_SOURCE is needed since it uses kill() API
7and as per [1] it need it, without this the build fails
8particularly on musl systems with clang compiler
9
10./git/src/http.c:394:3: error: call to undeclared function 'kill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
11
12[1] https://man7.org/linux/man-pages/man2/kill.2.html
13
14Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gnome-user-share/-/merge_requests/27]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 meson.build | 11 +++++++++++
18 1 file changed, 11 insertions(+)
19
20diff --git a/meson.build b/meson.build
21index ea2892e..72f3851 100644
22--- a/meson.build
23+++ b/meson.build
24@@ -39,6 +39,17 @@ config_h.set_quoted('GNOMELOCALEDIR', user_share_prefix / user_share_localedir)
25
26 config_h.set_quoted('HTTPD_CONFIG_TEMPLATE', user_share_prefix / user_share_pkgdatadir / 'dav_user_%s.conf')
27
28+#
29+# OS/Compiler feature detection
30+#
31+feature_defines = [
32+ ['_XOPEN_SOURCE', '700'], # POSIX.1–2001 (IEEE Std 1003.1-2001)
33+]
34+
35+foreach f: feature_defines
36+ config_h.set(f[0], f[1])
37+endforeach
38+
39 # compiler flags
40 common_flags = []
41 if get_option('buildtype').contains('debug')
diff --git a/meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share_43.0.bb b/meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share_47.0.bb
index 6fc78dd29..8e4b238b8 100644
--- a/meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share_43.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share_47.0.bb
@@ -14,7 +14,8 @@ inherit gnomebase gsettings features_check
14REQUIRED_DISTRO_FEATURES = "systemd" 14REQUIRED_DISTRO_FEATURES = "systemd"
15 15
16SRC_URI = "git://gitlab.gnome.org/GNOME/gnome-user-share.git;protocol=https;branch=master" 16SRC_URI = "git://gitlab.gnome.org/GNOME/gnome-user-share.git;protocol=https;branch=master"
17SRCREV = "a0e790aa9494db9d1b1f48b4fc0d2f78e112044d" 17SRC_URI += "file://0001-build-Define-list-of-libc-feature-test-macros.patch"
18SRCREV = "77ecbaddab0ed2121859926acbfccc9cecdee0db"
18S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
19 20
20PACKAGECONFIG ??= "modules" 21PACKAGECONFIG ??= "modules"
diff --git a/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb b/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb
index 40603993f..b0516be3d 100644
--- a/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb
+++ b/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb
@@ -7,17 +7,16 @@ DEPENDS = " \
7 gperf-native \ 7 gperf-native \
8 itstool-native \ 8 itstool-native \
9 grilo \ 9 grilo \
10 lua \
11 liboauth \ 10 liboauth \
12" 11"
13 12
14
15inherit gnomebase gnome-help vala 13inherit gnomebase gnome-help vala
16 14
17SRC_URI += "file://0001-Avoid-running-trackertestutils.patch" 15SRC_URI += "file://0001-Avoid-running-trackertestutils.patch"
18SRC_URI[archive.sha256sum] = "fe6f4dbe586c6b8ba2406394e202f22d009d642a96eb3a54f32f6a21d084cdcb" 16SRC_URI[archive.sha256sum] = "fe6f4dbe586c6b8ba2406394e202f22d009d642a96eb3a54f32f6a21d084cdcb"
19 17
20PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'tracker', '', d)}" 18PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'tracker', '', d)} lua-factory"
21PACKAGECONFIG[tracker] = "-Denable-tracker3=yes,-Denable-tracker3=no,tracker" 19PACKAGECONFIG[tracker] = "-Denable-tracker3=yes,-Denable-tracker3=no,tinysparql,localsearch"
20PACKAGECONFIG[lua-factory] = "-Denable-lua-factory=yes,-Denable-lua-factory=no,lua libarchive json-glib gnome-online-accounts"
22 21
23FILES:${PN} += "${libdir}/grilo-0.3" 22FILES:${PN} += "${libdir}/grilo-0.3"
diff --git a/meta-gnome/recipes-gnome/grilo/grilo_0.3.16.bb b/meta-gnome/recipes-gnome/grilo/grilo_0.3.16.bb
index b6ac75dd8..f6ea21eb5 100644
--- a/meta-gnome/recipes-gnome/grilo/grilo_0.3.16.bb
+++ b/meta-gnome/recipes-gnome/grilo/grilo_0.3.16.bb
@@ -7,7 +7,6 @@ DEPENDS = " \
7 glib-2.0 \ 7 glib-2.0 \
8" 8"
9 9
10
11inherit gnomebase gobject-introspection gtk-doc gettext vala 10inherit gnomebase gobject-introspection gtk-doc gettext vala
12 11
13SRC_URI[archive.sha256sum] = "884580e8c5ece280df23aa63ff5234b7d48988a404df7d6bfccd1e77b473bd96" 12SRC_URI[archive.sha256sum] = "884580e8c5ece280df23aa63ff5234b7d48988a404df7d6bfccd1e77b473bd96"
@@ -37,3 +36,5 @@ do_compile:append() {
37 ${B}/src/grl-type-builtins.c 36 ${B}/src/grl-type-builtins.c
38 done 37 done
39} 38}
39
40FILES:${PN} += "${libdir}/girepository-1.0"
diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.54.0.bb b/meta-gnome/recipes-gnome/gvfs/gvfs_1.56.0.bb
index 6549b1900..a7a869eb5 100644
--- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.54.0.bb
+++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.56.0.bb
@@ -19,7 +19,7 @@ RDEPENDS:${PN} += "gsettings-desktop-schemas"
19 19
20SRC_URI = "https://download.gnome.org/sources/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.xz;name=archive" 20SRC_URI = "https://download.gnome.org/sources/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.xz;name=archive"
21 21
22SRC_URI[archive.sha256sum] = "f53d81df86c2e86cdd25182c2d8a669a22371e83623ded1b9d5416dcfc6de366" 22SRC_URI[archive.sha256sum] = "441d2356c72616364cdb420af96199113a13ed9e146f2175fe373989adada39e"
23 23
24ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 24ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
25 25
diff --git a/meta-gnome/recipes-gnome/libgsf/libgsf/0001-Compilation-attempt-fixes-for-libxml-2.13.patch b/meta-gnome/recipes-gnome/libgsf/libgsf/0001-Compilation-attempt-fixes-for-libxml-2.13.patch
deleted file mode 100644
index 08ff51205..000000000
--- a/meta-gnome/recipes-gnome/libgsf/libgsf/0001-Compilation-attempt-fixes-for-libxml-2.13.patch
+++ /dev/null
@@ -1,105 +0,0 @@
1From 4a84e9857d83f684bf53d616942a393ce558a328 Mon Sep 17 00:00:00 2001
2From: Morten Welinder <terra@gnome.org>
3Date: Wed, 3 Jul 2024 19:18:15 -0400
4Subject: [PATCH] Compilation: attempt fixes for libxml 2.13
5
6Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libgsf/-/commit/5d4bb55095d3d6ef793c1908a88504183e28644c]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 configure.ac | 1 +
10 gsf/gsf-input-http.c | 19 +++++++++++++++++++
11 2 files changed, 20 insertions(+)
12
13diff --git a/configure.ac b/configure.ac
14index fceb776..7c2f946 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -238,6 +238,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <glib/gstdio.h>]], [[(void)g_chown("/
18 AC_MSG_RESULT(yes)],
19 [AC_MSG_RESULT(no)])
20 AC_CHECK_FUNCS(g_date_time_new_from_iso8601 g_date_time_format_iso8601)
21+AC_CHECK_FUNCS(xmlNanoHTTPOpen xmlNanoHTTPClose)
22 CFLAGS=$SAVE_CFLAGS
23 LIBS=$SAVE_LIBS
24
25diff --git a/gsf/gsf-input-http.c b/gsf/gsf-input-http.c
26index bdde3c8..03f4045 100644
27--- a/gsf/gsf-input-http.c
28+++ b/gsf/gsf-input-http.c
29@@ -23,7 +23,10 @@
30 #include <gsf/gsf-input-http.h>
31 #include <gsf/gsf.h>
32
33+#ifdef HAVE_XMLNANOHTTPOPEN
34+// It's going away, so make it conditional
35 #include <libxml/nanohttp.h>
36+#endif
37
38 struct _GsfInputHTTP {
39 GsfInput input;
40@@ -74,7 +77,9 @@ gsf_input_http_finalize (GObject *obj_input)
41 input->content_type = NULL;
42
43 if (input->ctx) {
44+#ifdef HAVE_XMLNANOHTTPCLOSE
45 xmlNanoHTTPClose ((gpointer) input->ctx);
46+#endif
47 input->ctx = NULL;
48 }
49
50@@ -215,6 +220,7 @@ gsf_input_http_get_content_type (GsfInputHTTP *input)
51 return content_type;
52 }
53
54+#ifdef HAVE_XMLNANOHTTPOPEN
55 static GsfInput *
56 make_local_copy (gpointer *ctx)
57 {
58@@ -254,6 +260,7 @@ make_local_copy (gpointer *ctx)
59
60 return copy;
61 }
62+#endif
63
64 /**
65 * gsf_input_http_new:
66@@ -265,6 +272,7 @@ make_local_copy (gpointer *ctx)
67 GsfInput *
68 gsf_input_http_new (gchar const * url, GError **error G_GNUC_UNUSED)
69 {
70+#ifdef HAVE_XMLNANOHTTPOPEN
71 GObject *obj;
72 GsfInput *input;
73 gpointer ctx;
74@@ -293,6 +301,10 @@ gsf_input_http_new (gchar const * url, GError **error G_GNUC_UNUSED)
75 GSF_INPUT_HTTP (obj)->ctx = ctx;
76
77 return GSF_INPUT (obj);
78+#else
79+ g_return_val_if_fail(url != NULL, NULL);
80+ return NULL;
81+#endif
82 }
83
84 static GsfInput *
85@@ -304,6 +316,7 @@ gsf_input_http_dup (GsfInput *src, GError **err)
86 static guint8 const *
87 gsf_input_http_read (GsfInput *input, size_t num_bytes, guint8 *buffer)
88 {
89+#ifdef HAVE_XMLNANOHTTPOPEN
90 int nread;
91 size_t total_read;
92 gpointer ctx = GSF_INPUT_HTTP (input)->ctx;
93@@ -324,6 +337,12 @@ gsf_input_http_read (GsfInput *input, size_t num_bytes, guint8 *buffer)
94 return NULL;
95 }
96 return buffer;
97+#else
98+ (void)input;
99+ (void)num_bytes;
100+ (void)buffer;
101+ return NULL;
102+#endif
103 }
104
105 static gboolean
diff --git a/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.52.bb b/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.53.bb
index 97cbbe450..ffa24e812 100644
--- a/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.52.bb
+++ b/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.53.bb
@@ -9,9 +9,8 @@ DEPENDS= "libxml2 bzip2 glib-2.0 zlib"
9GNOMEBASEBUILDCLASS = "autotools" 9GNOMEBASEBUILDCLASS = "autotools"
10inherit gnomebase gobject-introspection gettext gtk-doc 10inherit gnomebase gobject-introspection gettext gtk-doc
11 11
12SRC_URI[archive.sha256sum] = "9181c914b9fac0e05d6bcaa34c7b552fe5fc0961d3c9f8c01ccc381fb084bcf0" 12SRC_URI[archive.sha256sum] = "0eb59a86e0c50f97ac9cfe4d8cc1969f623f2ae8c5296f2414571ff0a9e8bcba"
13SRC_URI += "file://0001-configure.ac-drop-a-copy-paste-of-introspection.m4-m.patch \ 13SRC_URI += " file://0001-configure.ac-drop-a-copy-paste-of-introspection.m4-m.patch"
14 file://0001-Compilation-attempt-fixes-for-libxml-2.13.patch"
15 14
16PACKAGECONFIG ??= "" 15PACKAGECONFIG ??= ""
17PACKAGECONFIG[gdk-pixbuf] = "--with-gdk-pixbuf,--without-gdk-pixbuf,gdk-pixbuf" 16PACKAGECONFIG[gdk-pixbuf] = "--with-gdk-pixbuf,--without-gdk-pixbuf,gdk-pixbuf"
diff --git a/meta-gnome/recipes-gnome/libspelling/libspelling_0.2.1.bb b/meta-gnome/recipes-gnome/libspelling/libspelling_0.4.2.bb
index f5f8a3321..833fe65c3 100644
--- a/meta-gnome/recipes-gnome/libspelling/libspelling_0.2.1.bb
+++ b/meta-gnome/recipes-gnome/libspelling/libspelling_0.4.2.bb
@@ -10,4 +10,7 @@ inherit gnomebase pkgconfig gettext gi-docgen vala gobject-introspection
10GIR_MESON_OPTION = '' 10GIR_MESON_OPTION = ''
11GIDOCGEN_MESON_OPTION = 'docs' 11GIDOCGEN_MESON_OPTION = 'docs'
12 12
13SRC_URI[archive.sha256sum] = "7a787b467bd493f6baffb44138dbc4bef78aaab60efb76a7db88b243bf0f6343" 13PACKAGECONFIG ?= ""
14PACKAGECONFIG[sysprof] = "-Dsysprof=true,-Dsysprof=false,sysprof"
15
16SRC_URI[archive.sha256sum] = "b3e609b1a247e71bc097e262564f33f51fd7db566eeb0cd74ae5021536b878b5"
diff --git a/meta-gnome/recipes-gnome/mutter/mutter_46.4.bb b/meta-gnome/recipes-gnome/mutter/mutter_47.1.bb
index c91744cf6..1b49fa619 100644
--- a/meta-gnome/recipes-gnome/mutter/mutter_46.4.bb
+++ b/meta-gnome/recipes-gnome/mutter/mutter_47.1.bb
@@ -24,7 +24,7 @@ DEPENDS = " \
24 24
25inherit gnomebase gsettings gobject-introspection gettext features_check 25inherit gnomebase gsettings gobject-introspection gettext features_check
26 26
27SRC_URI[archive.sha256sum] = "611bd9cf982adb56597ce2b34224272fda619bb3bb912a684d75c6f2c37502e4" 27SRC_URI[archive.sha256sum] = "905474a32cd99b34342cd69e74bb01971b387e2fa22361b6d99add109409ddc9"
28 28
29# x11 is still manadatory - see meson.build 29# x11 is still manadatory - see meson.build
30REQUIRED_DISTRO_FEATURES = "wayland x11 polkit" 30REQUIRED_DISTRO_FEATURES = "wayland x11 polkit"
@@ -44,16 +44,15 @@ PACKAGECONFIG ??= " \
44" 44"
45 45
46EXTRA_OEMESON += " \ 46EXTRA_OEMESON += " \
47 -Dtests=false \ 47 -Dtests=disabled \
48 -Dnative_tests=false \
49 -Dxwayland_path=${bindir}/Xwayland \ 48 -Dxwayland_path=${bindir}/Xwayland \
50" 49"
51 50
52# combi-config - see meson_options.txt for more details 51# combi-config - see meson_options.txt for more details
53PACKAGECONFIG[native-backend] = "-Dnative_backend=true -Dudev=true, -Dnative_backend=false -Dudev=false, libdrm virtual/libgbm libinput ${LOGIND} virtual/egl virtual/libgles2 udev" 52PACKAGECONFIG[native-backend] = "-Dnative_backend=true -Dudev=true, -Dnative_backend=false -Dudev=false, libdrm virtual/libgbm libinput ${LOGIND} virtual/egl virtual/libgles2 udev"
54PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=true, virtual/libgl" 53PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false, virtual/libgl"
55PACKAGECONFIG[glx] = "-Dglx=true, -Dglx=false" 54PACKAGECONFIG[glx] = "-Dglx=true, -Dglx=false"
56PACKAGECONFIG[libdisplay-info] = "-Dlibdisplay_info=true, -Dlibdisplay_info=false, libdisplay-info" 55PACKAGECONFIG[libdisplay-info] = "-Dlibdisplay_info=enabled, -Dlibdisplay_info=disabled, libdisplay-info"
57PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom" 56PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom"
58# Remove depending on pipewire-0.2 when mutter is upgraded to 3.36+ 57# Remove depending on pipewire-0.2 when mutter is upgraded to 3.36+
59PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire" 58PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire"
@@ -63,7 +62,7 @@ PACKAGECONFIG[sound-player] = "-Dsound_player=true, -Dsound_player=false, libcan
63PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof" 62PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof"
64PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification" 63PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification"
65 64
66MUTTER_API_NAME = "mutter-14" 65MUTTER_API_NAME = "mutter-15"
67 66
68do_install:prepend() { 67do_install:prepend() {
69 sed -i -e 's|${B}/||g' ${B}/cogl/cogl/cogl-enum-types.c 68 sed -i -e 's|${B}/||g' ${B}/cogl/cogl/cogl-enum-types.c
diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus_46.2.bb b/meta-gnome/recipes-gnome/nautilus/nautilus_47.0.bb
index 30e0681ae..b8df8419b 100644
--- a/meta-gnome/recipes-gnome/nautilus/nautilus_46.2.bb
+++ b/meta-gnome/recipes-gnome/nautilus/nautilus_47.0.bb
@@ -17,12 +17,14 @@ DEPENDS = " \
17 libhandy \ 17 libhandy \
18 libportal \ 18 libportal \
19 libxml2 \ 19 libxml2 \
20 tracker \ 20 tinysparql \
21 wayland \
22 wayland-native \
21" 23"
22 24
23inherit gnomebase gsettings gobject-introspection gi-docgen gettext features_check mime-xdg gtk-icon-cache 25inherit gnomebase gsettings gobject-introspection gi-docgen gettext features_check mime-xdg gtk-icon-cache
24 26
25SRC_URI[archive.sha256sum] = "6ee8c99019b9e3447f6918d68232a20deca89e5525c05805432b7d8840ca71fa" 27SRC_URI[archive.sha256sum] = "334264cdd9edbfd95ee7bcaafe442ebed31acca3f2d9b90f3eda30eacfd0387a"
26 28
27REQUIRED_DISTRO_FEATURES = "x11 opengl gobject-introspection-data" 29REQUIRED_DISTRO_FEATURES = "x11 opengl gobject-introspection-data"
28 30
@@ -46,9 +48,9 @@ FILES:${PN} += " \
46 ${datadir}/dbus-1 \ 48 ${datadir}/dbus-1 \
47 ${datadir}/metainfo \ 49 ${datadir}/metainfo \
48 ${datadir}/gnome-shell \ 50 ${datadir}/gnome-shell \
49 ${datadir}/tracker3 \ 51 ${datadir}/localsearch3 \
50" 52"
51 53
52# mandatory - not checked during configuration: 54# mandatory - not checked during configuration:
53# | (org.gnome.Nautilus:863): GLib-GIO-ERROR **: 21:03:52.326: Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed 55# | (org.gnome.Nautilus:863): GLib-GIO-ERROR **: 21:03:52.326: Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed
54RDEPENDS:${PN} += "tracker-miners bubblewrap" 56RDEPENDS:${PN} += "localsearch bubblewrap"
diff --git a/meta-gnome/recipes-gnome/tecla/tecla_46.0.bb b/meta-gnome/recipes-gnome/tecla/tecla_47.0.bb
index 62b3aa3e3..e430b167d 100644
--- a/meta-gnome/recipes-gnome/tecla/tecla_46.0.bb
+++ b/meta-gnome/recipes-gnome/tecla/tecla_47.0.bb
@@ -13,4 +13,4 @@ REQUIRED_DISTRO_FEATURES = "wayland"
13 13
14inherit gnomebase pkgconfig features_check 14inherit gnomebase pkgconfig features_check
15 15
16SRC_URI[archive.sha256sum] = "4a081eab867a5a8b09758991cad7645920f323aabca954408290fb6f44591b0f" 16SRC_URI[archive.sha256sum] = "0790b99ec29137a54b546c510661a99aa6f039c8d75f10c08e928682c0804fe5"
diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch b/meta-gnome/recipes-gnome/tracker/localsearch/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch
index 36dd4a588..606a3e9aa 100644
--- a/meta-gnome/recipes-gnome/tracker/tracker-miners/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch
+++ b/meta-gnome/recipes-gnome/tracker/localsearch/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch
@@ -1,4 +1,4 @@
1From 6f6d7e3995c370b8121206a7f9cc0d234553bbfe Mon Sep 17 00:00:00 2001 1From bad93f7aec96b1819f4027dbc06b337d2e2227f2 Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@fujitsu.com> 2From: Lei Maohui <leimaohui@fujitsu.com>
3Date: Thu, 15 Sep 2022 16:35:39 +0900 3Date: Thu, 15 Sep 2022 16:35:39 +0900
4Subject: [PATCH] Set header file to a fixed path instead of a host path. 4Subject: [PATCH] Set header file to a fixed path instead of a host path.
@@ -23,6 +23,3 @@ index 4db7ef1..7c44c13 100644
23 /*** END file-production ***/ 23 /*** END file-production ***/
24 24
25 25
26--
272.34.1
28
diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners/0001-fix-reproducibility.patch b/meta-gnome/recipes-gnome/tracker/localsearch/0001-fix-reproducibility.patch
index 0812e88a9..8f9dcdc3e 100644
--- a/meta-gnome/recipes-gnome/tracker/tracker-miners/0001-fix-reproducibility.patch
+++ b/meta-gnome/recipes-gnome/tracker/localsearch/0001-fix-reproducibility.patch
@@ -1,4 +1,4 @@
1From 1b7a34b7de9eb2ae776f7cf4dc6221f49b2395ee Mon Sep 17 00:00:00 2001 1From db5149a0c9297d1053c2d0c01ed116cdcf5d14f0 Mon Sep 17 00:00:00 2001
2From: Markus Volk <f_l_k@t-online.de> 2From: Markus Volk <f_l_k@t-online.de>
3Date: Tue, 12 Sep 2023 17:00:41 +0200 3Date: Tue, 12 Sep 2023 17:00:41 +0200
4Subject: [PATCH] meson: fix reproducibility 4Subject: [PATCH] meson: fix reproducibility
@@ -20,10 +20,10 @@ Signed-off-by: Markus Volk <f_l_k@t-online.de>
20 5 files changed, 10 insertions(+), 10 deletions(-) 20 5 files changed, 10 insertions(+), 10 deletions(-)
21 21
22diff --git a/meson.build b/meson.build 22diff --git a/meson.build b/meson.build
23index 37f5148..18f4bfa 100644 23index 4a2994a..31b1798 100644
24--- a/meson.build 24--- a/meson.build
25+++ b/meson.build 25+++ b/meson.build
26@@ -393,7 +393,7 @@ conf.set('PACKAGE_VERSION', '"@0@"'.format(meson.project_version())) 26@@ -371,7 +371,7 @@ conf.set('PACKAGE_VERSION', '"@0@"'.format(meson.project_version()))
27 conf.set('TRACKER_VERSION', '"@0@"'.format(meson.project_version())) 27 conf.set('TRACKER_VERSION', '"@0@"'.format(meson.project_version()))
28 28
29 # Config that goes in some other generated files (.desktop, .pc, etc) 29 # Config that goes in some other generated files (.desktop, .pc, etc)
@@ -32,7 +32,7 @@ index 37f5148..18f4bfa 100644
32 conf.set('exec_prefix', get_option('prefix')) 32 conf.set('exec_prefix', get_option('prefix'))
33 conf.set('bindir', join_paths(get_option('prefix'), get_option('bindir'))) 33 conf.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))
34 conf.set('datadir', datadir) 34 conf.set('datadir', datadir)
35@@ -422,7 +422,7 @@ tracker_c_args = [ 35@@ -400,7 +400,7 @@ tracker_c_args = [
36 configinc = include_directories('./') 36 configinc = include_directories('./')
37 srcinc = include_directories('src/') 37 srcinc = include_directories('src/')
38 38
@@ -41,7 +41,7 @@ index 37f5148..18f4bfa 100644
41 41
42 # We use tracker-miners-3.0 rather than tracker3-miners inside the lib64 42 # We use tracker-miners-3.0 rather than tracker3-miners inside the lib64
43 # directory, following the existing convention in that directory. 43 # directory, following the existing convention in that directory.
44@@ -451,8 +451,8 @@ subdir('data') 44@@ -430,8 +430,8 @@ subdir('data')
45 subdir('docs') 45 subdir('docs')
46 46
47 test_c_args = tracker_c_args + [ 47 test_c_args = tracker_c_args + [
@@ -53,7 +53,7 @@ index 37f5148..18f4bfa 100644
53 53
54 if get_option('tests_tap_protocol') 54 if get_option('tests_tap_protocol')
55diff --git a/src/libtracker-miners-common/tracker-landlock.c b/src/libtracker-miners-common/tracker-landlock.c 55diff --git a/src/libtracker-miners-common/tracker-landlock.c b/src/libtracker-miners-common/tracker-landlock.c
56index 6d4510b..189d2fb 100644 56index 0aca8ed..e6c28b6 100644
57--- a/src/libtracker-miners-common/tracker-landlock.c 57--- a/src/libtracker-miners-common/tracker-landlock.c
58+++ b/src/libtracker-miners-common/tracker-landlock.c 58+++ b/src/libtracker-miners-common/tracker-landlock.c
59@@ -282,7 +282,7 @@ tracker_landlock_init (const gchar * const *indexed_folders) 59@@ -282,7 +282,7 @@ tracker_landlock_init (const gchar * const *indexed_folders)
@@ -75,10 +75,10 @@ index 6d4510b..189d2fb 100644
75 #ifdef MINER_FS_CACHE_LOCATION 75 #ifdef MINER_FS_CACHE_LOCATION
76 add_rule (landlock_fd, MINER_FS_CACHE_LOCATION, 76 add_rule (landlock_fd, MINER_FS_CACHE_LOCATION,
77diff --git a/src/miners/fs/meson.build b/src/miners/fs/meson.build 77diff --git a/src/miners/fs/meson.build b/src/miners/fs/meson.build
78index 6e58832..04750f8 100644 78index 42c4573..73577c3 100644
79--- a/src/miners/fs/meson.build 79--- a/src/miners/fs/meson.build
80+++ b/src/miners/fs/meson.build 80+++ b/src/miners/fs/meson.build
81@@ -67,8 +67,8 @@ executable('tracker-miner-fs-@0@'.format(tracker_api_major), 81@@ -68,8 +68,8 @@ executable('localsearch-@0@'.format(tracker_api_major),
82 dependencies: tracker_miner_fs_deps, 82 dependencies: tracker_miner_fs_deps,
83 c_args: [ 83 c_args: [
84 tracker_c_args, 84 tracker_c_args,
@@ -90,11 +90,11 @@ index 6e58832..04750f8 100644
90 ], 90 ],
91 install: true, 91 install: true,
92diff --git a/src/tracker-extract/meson.build b/src/tracker-extract/meson.build 92diff --git a/src/tracker-extract/meson.build b/src/tracker-extract/meson.build
93index 2e4f61d..b47581c 100644 93index 2584881..31411f2 100644
94--- a/src/tracker-extract/meson.build 94--- a/src/tracker-extract/meson.build
95+++ b/src/tracker-extract/meson.build 95+++ b/src/tracker-extract/meson.build
96@@ -158,7 +158,7 @@ endif 96@@ -158,7 +158,7 @@ endif
97 executable('tracker-extract-@0@'.format(tracker_api_major), 97 executable('localsearch-extractor-@0@'.format(tracker_api_major),
98 tracker_extract_sources, 98 tracker_extract_sources,
99 # Manually add the root dir to work around https://github.com/mesonbuild/meson/issues/1387 99 # Manually add the root dir to work around https://github.com/mesonbuild/meson/issues/1387
100- c_args: tracker_c_args + ['-I' + meson.build_root()], 100- c_args: tracker_c_args + ['-I' + meson.build_root()],
diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.3.bb b/meta-gnome/recipes-gnome/tracker/localsearch_3.8.0.bb
index 2b2dc7c4b..916e48961 100644
--- a/meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.3.bb
+++ b/meta-gnome/recipes-gnome/tracker/localsearch_3.8.0.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
7 7
8DEPENDS = " \ 8DEPENDS = " \
9 intltool-native \ 9 intltool-native \
10 tracker \ 10 tinysparql \
11 zlib \ 11 zlib \
12" 12"
13 13
@@ -18,7 +18,7 @@ SRC_URI:append = " \
18 file://0001-fix-reproducibility.patch \ 18 file://0001-fix-reproducibility.patch \
19 file://0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch \ 19 file://0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch \
20" 20"
21SRC_URI[archive.sha256sum] = "e74388154b5c197b4b7ee42f0dce8c5fbbddd4d361093ef88d4fb303e33da5fe" 21SRC_URI[archive.sha256sum] = "e4e83a1daebb5263915b45b719731e3f7041d959cbd637ea29afbe910c92bbf9"
22 22
23# gobject-introspection is mandatory and cannot be configured 23# gobject-introspection is mandatory and cannot be configured
24REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" 24REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
@@ -81,6 +81,6 @@ EXTRA_OEMESON += " \
81 81
82FILES:${PN} += " \ 82FILES:${PN} += " \
83 ${datadir} \ 83 ${datadir} \
84 ${libdir}/tracker-miners-3.0 \ 84 ${libdir}/localsearch-3.0 \
85 ${systemd_user_unitdir} \ 85 ${systemd_user_unitdir} \
86" 86"
diff --git a/meta-gnome/recipes-gnome/tracker/tracker/0001-fix-reproducibility.patch b/meta-gnome/recipes-gnome/tracker/tinysparql/0001-fix-reproducibility.patch
index 4527f9efa..23da5bb97 100644
--- a/meta-gnome/recipes-gnome/tracker/tracker/0001-fix-reproducibility.patch
+++ b/meta-gnome/recipes-gnome/tracker/tinysparql/0001-fix-reproducibility.patch
@@ -1,4 +1,4 @@
1From ae34fb111e1f2498f37b21c0c32ace6c9928ad66 Mon Sep 17 00:00:00 2001 1From 1eec06fc1ef26e4954507001c1c2f981eab8d77d Mon Sep 17 00:00:00 2001
2From: Markus Volk <f_l_k@t-online.de> 2From: Markus Volk <f_l_k@t-online.de>
3Date: Mon, 18 Sep 2023 02:47:55 +0200 3Date: Mon, 18 Sep 2023 02:47:55 +0200
4Subject: [PATCH] tracker: fix reproducibility issue 4Subject: [PATCH] tracker: fix reproducibility issue
@@ -12,16 +12,18 @@ Upstream-Status: Inappropriate [oe-specific]
12 12
13Signed-off-by: Markus Volk <f_l_k@t-online.de> 13Signed-off-by: Markus Volk <f_l_k@t-online.de>
14--- 14---
15 meson.build | 6 +++--- 15 meson.build | 6 +++---
16 src/libtracker-common/meson.build | 4 ++-- 16 src/libtracker-common/meson.build | 4 ++--
17 src/libtracker-sparql/meson.build | 4 ++-- 17 src/libtracker-http/meson.build | 8 ++++----
18 3 files changed, 7 insertions(+), 7 deletions(-) 18 src/libtracker-http/tracker-http.c | 4 ++--
19 src/libtracker-sparql/meson.build | 4 ++--
20 5 files changed, 13 insertions(+), 13 deletions(-)
19 21
20diff --git a/meson.build b/meson.build 22diff --git a/meson.build b/meson.build
21index bc9f93a..6c86e5a 100644 23index 41c00fafc..6e7282cb7 100644
22--- a/meson.build 24--- a/meson.build
23+++ b/meson.build 25+++ b/meson.build
24@@ -357,7 +357,7 @@ have_rtld_noload = cc.has_header_symbol('dlfcn.h', 'RTLD_NOLOAD') 26@@ -333,7 +333,7 @@ have_rtld_noload = cc.has_header_symbol('dlfcn.h', 'RTLD_NOLOAD')
25 conf.set('HAVE_RTLD_NOLOAD', have_rtld_noload) 27 conf.set('HAVE_RTLD_NOLOAD', have_rtld_noload)
26 28
27 # Config that goes in some other generated files (.desktop, .service, etc) 29 # Config that goes in some other generated files (.desktop, .service, etc)
@@ -30,7 +32,7 @@ index bc9f93a..6c86e5a 100644
30 conf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir'))) 32 conf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir')))
31 33
32 configure_file(input: 'config.h.meson.in', 34 configure_file(input: 'config.h.meson.in',
33@@ -396,8 +396,8 @@ subdir('docs') 35@@ -372,8 +372,8 @@ subdir('docs')
34 subdir('utils') 36 subdir('utils')
35 37
36 test_c_args = tracker_c_args + [ 38 test_c_args = tracker_c_args + [
@@ -42,7 +44,7 @@ index bc9f93a..6c86e5a 100644
42 44
43 tracker_uninstalled_cli_dir = join_paths(meson.current_build_dir(), 'src', 'tracker') 45 tracker_uninstalled_cli_dir = join_paths(meson.current_build_dir(), 'src', 'tracker')
44diff --git a/src/libtracker-common/meson.build b/src/libtracker-common/meson.build 46diff --git a/src/libtracker-common/meson.build b/src/libtracker-common/meson.build
45index 9355d1c..cdbc05f 100644 47index 72c2ae073..12218c870 100644
46--- a/src/libtracker-common/meson.build 48--- a/src/libtracker-common/meson.build
47+++ b/src/libtracker-common/meson.build 49+++ b/src/libtracker-common/meson.build
48@@ -51,10 +51,10 @@ libtracker_common = static_library('tracker-common', 50@@ -51,10 +51,10 @@ libtracker_common = static_library('tracker-common',
@@ -58,11 +60,31 @@ index 9355d1c..cdbc05f 100644
58 ] + tracker_c_args, 60 ] + tracker_c_args,
59 include_directories: [configinc, srcinc], 61 include_directories: [configinc, srcinc],
60 gnu_symbol_visibility: 'hidden', 62 gnu_symbol_visibility: 'hidden',
63diff --git a/src/libtracker-http/tracker-http.c b/src/libtracker-http/tracker-http.c
64index dd82e9928..3cc68b240 100644
65--- a/src/libtracker-http/tracker-http.c
66+++ b/src/libtracker-http/tracker-http.c
67@@ -53,13 +53,13 @@ ensure_types (void)
68
69 current_dir = g_get_current_dir ();
70
71- if (g_strcmp0 (current_dir, BUILDROOT) == 0) {
72+ if (0) {
73 /* Detect in-build runtime of this code, this may happen
74 * building introspection information or running tests.
75 * We want the in-tree modules to be loaded then.
76 */
77 module_path = g_strdup_printf (BUILD_LIBDIR "/%s", modules[i]);
78- } else {
79+ } else {
80 module_path = g_strdup_printf (PRIVATE_LIBDIR "/%s", modules[i]);
81 }
82
61diff --git a/src/libtracker-sparql/meson.build b/src/libtracker-sparql/meson.build 83diff --git a/src/libtracker-sparql/meson.build b/src/libtracker-sparql/meson.build
62index 4143eac..b73f1c9 100644 84index 5eccb92fc..161f6ea21 100644
63--- a/src/libtracker-sparql/meson.build 85--- a/src/libtracker-sparql/meson.build
64+++ b/src/libtracker-sparql/meson.build 86+++ b/src/libtracker-sparql/meson.build
65@@ -98,10 +98,10 @@ libtracker_sparql_private = static_library('tracker-sparql-private', 87@@ -102,10 +102,10 @@ libtracker_sparql_private = static_library('tracker-sparql-private',
66 c_args: [ 88 c_args: [
67 '-include', 'libtracker-sparql/tracker-private.h', 89 '-include', 'libtracker-sparql/tracker-private.h',
68 '-DPRIVATE_LIBDIR="@0@"'.format(tracker_internal_libs_dir), 90 '-DPRIVATE_LIBDIR="@0@"'.format(tracker_internal_libs_dir),
@@ -74,4 +96,7 @@ index 4143eac..b73f1c9 100644
74+ '-DBUILDROOT="@0@"'.format('/usr/src/debug/tracker'), 96+ '-DBUILDROOT="@0@"'.format('/usr/src/debug/tracker'),
75 ] + tracker_c_args, 97 ] + tracker_c_args,
76 98
77 dependencies: [libtracker_sparql_dependencies, gvdb_dep], 99 dependencies: [libtracker_sparql_dependencies],
100--
1012.46.0
102
diff --git a/meta-gnome/recipes-gnome/tracker/tinysparql/0001-src-libtracker-sparql-meson.build-dont-create-compat.patch b/meta-gnome/recipes-gnome/tracker/tinysparql/0001-src-libtracker-sparql-meson.build-dont-create-compat.patch
new file mode 100644
index 000000000..d6cc4f45d
--- /dev/null
+++ b/meta-gnome/recipes-gnome/tracker/tinysparql/0001-src-libtracker-sparql-meson.build-dont-create-compat.patch
@@ -0,0 +1,32 @@
1From 0dfdbeef174c18e846b98af816a9675c12a42845 Mon Sep 17 00:00:00 2001
2From: Markus Volk <f_l_k@t-online.de>
3Date: Fri, 20 Sep 2024 16:43:44 +0200
4Subject: [PATCH] src/libtracker-sparql/meson.build: dont create compatibility
5 symlinks
6
7Using the sh script will cause package_qa error:
8Exception: Exception: KeyError: 'getpwuid(): uid not found: 1000'
9Path /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/tinysparql/3.8.0/sstate-build-package/package/usr/lib/libtracker-sparql-3.0.so is owned by uid 1000, gid 100, which doesn't match any user/group on target. This may be due to host contamination.
10
11Upstream-Status: Inappropriate [oe-specific]
12
13Signed-off-by: Markus Volk <f_l_k@t-online.de>
14---
15 src/libtracker-sparql/meson.build | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/src/libtracker-sparql/meson.build b/src/libtracker-sparql/meson.build
19index 5eccb92fc..6ed7c2b1f 100644
20--- a/src/libtracker-sparql/meson.build
21+++ b/src/libtracker-sparql/meson.build
22@@ -247,6 +247,6 @@ endif
23
24 tracker_sparql_uninstalled_dir = meson.current_build_dir()
25
26-meson.add_install_script('symlink-libtracker-sparql.sh', get_option('libdir'), meson.current_build_dir())
27+#meson.add_install_script('symlink-libtracker-sparql.sh', get_option('libdir'), meson.current_build_dir())
28
29 meson.override_dependency('tinysparql-3.0', tracker_sparql_dep)
30--
312.46.0
32
diff --git a/meta-gnome/recipes-gnome/tracker/tracker_3.7.3.bb b/meta-gnome/recipes-gnome/tracker/tinysparql_3.8.0.bb
index 885f3515d..628384464 100644
--- a/meta-gnome/recipes-gnome/tracker/tracker_3.7.3.bb
+++ b/meta-gnome/recipes-gnome/tracker/tinysparql_3.8.0.bb
@@ -7,22 +7,20 @@ LIC_FILES_CHKSUM = " \
7 7
8DEPENDS = " \ 8DEPENDS = " \
9 dbus-native \ 9 dbus-native \
10 python3-pygobject-native \
11 glib-2.0 \ 10 glib-2.0 \
12 sqlite3 \ 11 sqlite3 \
13 libarchive \
14 dbus \ 12 dbus \
15 icu \ 13 icu \
16 json-glib \ 14 json-glib \
17 libsoup-3.0 \ 15 libsoup \
18 libstemmer \ 16 libstemmer \
19" 17"
20 18
21 19inherit gettext gnomebase gobject-introspection vala gtk-doc bash-completion
22inherit gettext gnomebase gobject-introspection vala gtk-doc bash-completion python3native
23 20
24SRC_URI += "file://0001-fix-reproducibility.patch" 21SRC_URI += "file://0001-fix-reproducibility.patch"
25SRC_URI[archive.sha256sum] = "ab3d4a50937e04c5ed7846f6dbb999e2909819402f389ca592ee6b77dd28d1f9" 22SRC_URI += "file://0001-src-libtracker-sparql-meson.build-dont-create-compat.patch"
23SRC_URI[archive.sha256sum] = "c0fcda77520f531548b2395137dcd193ee9cde5e222d3c9d273f030d1762a504"
26 24
27# text search is not an option anymore and requires sqlite3 build with 25# text search is not an option anymore and requires sqlite3 build with
28# PACKAGECONFIG[fts5] set (default) 26# PACKAGECONFIG[fts5] set (default)
@@ -39,21 +37,23 @@ EXTRA_OEMESON = " \
39 -Dman=false \ 37 -Dman=false \
40 -Dsystemd_user_services=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} \ 38 -Dsystemd_user_services=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} \
41 -Dsystemd_user_services_dir=${systemd_user_unitdir} \ 39 -Dsystemd_user_services_dir=${systemd_user_unitdir} \
42 -Dsoup=soup3 \ 40 -Dtests=false \
43 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=enabled', '-Dvapi=disabled', d)} \ 41 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=enabled', '-Dvapi=disabled', d)} \
44" 42"
45 43
46do_install:prepend() {
47 sed -i -e 's|${B}/../${PN}-${PV}|${TARGET_DBGSRC_DIR}|g' ${B}/src/libtracker-sparql/tracker-sparql-enum-types.c
48 sed -i -e 's|${B}/../${PN}-${PV}|${TARGET_DBGSRC_DIR}|g' ${B}/src/libtracker-sparql/core/tracker-data-enum-types.c
49}
50
51GIR_MESON_ENABLE_FLAG = 'enabled' 44GIR_MESON_ENABLE_FLAG = 'enabled'
52GIR_MESON_DISABLE_FLAG = 'disabled' 45GIR_MESON_DISABLE_FLAG = 'disabled'
53 46
47PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "zeroconf", "avahi", "", d)}"
48PACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi,"
49
50do_install:prepend() {
51 sed -i -e 's|${B}|${TARGET_DBGSRC_DIR}|g' ${B}/src/libtracker-sparql/tracker-sparql-enum-types.c
52 sed -i -e 's|${B}|${TARGET_DBGSRC_DIR}|g' ${B}/src/libtracker-sparql/core/tracker-data-enum-types.c
53}
54
54FILES:${PN} += " \ 55FILES:${PN} += " \
55 ${datadir}/dbus-1 \ 56 ${datadir}/dbus-1 \
56 ${datadir}/tracker3 \ 57 ${libdir}/tinysparql-3.0 \
57 ${libdir}/tracker-3.0 \
58 ${systemd_user_unitdir} \ 58 ${systemd_user_unitdir} \
59" 59"
diff --git a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_46.2.bb b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_47.1.bb
index e1dd8afae..3e1213d7c 100644
--- a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_46.2.bb
+++ b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_47.1.bb
@@ -21,7 +21,7 @@ inherit gnomebase pkgconfig gsettings features_check
21 21
22REQUIRED_DISTRO_FEATURES = "polkit" 22REQUIRED_DISTRO_FEATURES = "polkit"
23 23
24SRC_URI[archive.sha256sum] = "b5c65ea25e8483502d033a613be6dc6b71883ac07f1a3e474ad18049c47d16d6" 24SRC_URI[archive.sha256sum] = "d420ff72173b04dc9491d3d7dd8cc96204f7f3f27c4cbea6024361ea9839f769"
25 25
26PACKAGECONFIG ?= "screenshot screencast ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" 26PACKAGECONFIG ?= "screenshot screencast ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
27PACKAGECONFIG[wayland] = ",,wayland-native" 27PACKAGECONFIG[wayland] = ",,wayland-native"
diff --git a/meta-initramfs/conf/include/non-repro-meta-initramfs.inc b/meta-initramfs/conf/include/non-repro-meta-initramfs.inc
index 8f01f5624..c05f59d1a 100755
--- a/meta-initramfs/conf/include/non-repro-meta-initramfs.inc
+++ b/meta-initramfs/conf/include/non-repro-meta-initramfs.inc
@@ -1,23 +1,3 @@
1# List of known non-reproducible package of the meta-initramfs layer 1# List of known non-reproducible package of the meta-initramfs layer
2# Please keep this list sorted 2# Please keep this list sorted
3KNOWN_NON_REPRO_META_INITRAMFS = " \ 3KNOWN_NON_REPRO_META_INITRAMFS = ""
4 kexecboot-klibc \
5 kexecboot-klibc-dbg \
6 kexec-klibc \
7 kexec-tools-klibc-dbg \
8 mtdinfo-klibc \
9 ubiattach-klibc \
10 ubiblock-klibc \
11 ubicrc32-klibc \
12 ubidetach-klibc \
13 ubiformat-klibc \
14 ubimkvol-klibc \
15 ubinfo-klibc \
16 ubinize-klibc \
17 ubirename-klibc \
18 ubirmvol-klibc \
19 ubirsvol-klibc \
20 ubiupdatevol-klibc \
21 ubi-utils-klibc-dbg \
22 vmcore-dmesg-klibc \
23"
diff --git a/meta-initramfs/conf/layer.conf b/meta-initramfs/conf/layer.conf
index c844085b0..e8527495a 100644
--- a/meta-initramfs/conf/layer.conf
+++ b/meta-initramfs/conf/layer.conf
@@ -16,7 +16,7 @@ BBFILE_PATTERN_meta-initramfs := "^${LAYERDIR}/"
16BBFILE_PRIORITY_meta-initramfs = "5" 16BBFILE_PRIORITY_meta-initramfs = "5"
17LAYERDEPENDS_meta-initramfs = "core" 17LAYERDEPENDS_meta-initramfs = "core"
18 18
19LAYERSERIES_COMPAT_meta-initramfs = "styhead" 19LAYERSERIES_COMPAT_meta-initramfs = "styhead walnascar"
20 20
21SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ 21SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
22 dracut->virtual/kernel \ 22 dracut->virtual/kernel \
diff --git a/meta-multimedia/conf/layer.conf b/meta-multimedia/conf/layer.conf
index 0442a57a9..25e8b044a 100644
--- a/meta-multimedia/conf/layer.conf
+++ b/meta-multimedia/conf/layer.conf
@@ -31,4 +31,4 @@ LAYERVERSION_multimedia-layer = "1"
31 31
32LAYERDEPENDS_multimedia-layer = "core openembedded-layer meta-python" 32LAYERDEPENDS_multimedia-layer = "core openembedded-layer meta-python"
33 33
34LAYERSERIES_COMPAT_multimedia-layer = "styhead" 34LAYERSERIES_COMPAT_multimedia-layer = "styhead walnascar"
diff --git a/meta-multimedia/recipes-connectivity/rygel/rygel_0.44.0.bb b/meta-multimedia/recipes-connectivity/rygel/rygel_0.44.1.bb
index 8a506af44..b5329a9a3 100644
--- a/meta-multimedia/recipes-connectivity/rygel/rygel_0.44.0.bb
+++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.44.1.bb
@@ -20,7 +20,7 @@ inherit gnomebase features_check vala gobject-introspection gettext systemd
20# gobject-introspection is mandatory for libmediaart-2.0 and cannot be configured 20# gobject-introspection is mandatory for libmediaart-2.0 and cannot be configured
21REQUIRED_DISTRO_FEATURES = "gobject-introspection-data x11" 21REQUIRED_DISTRO_FEATURES = "gobject-introspection-data x11"
22 22
23SRC_URI[archive.sha256sum] = "5e1a76507209290530e6ce0141fc76946009edfb0fac3ed9432130821e5e4e72" 23SRC_URI[archive.sha256sum] = "7b2c631b842408da27a54242f8082aba49bd1ca02041e79e1eefba0c7009a87b"
24 24
25GIR_MESON_ENABLE_FLAG = 'enabled' 25GIR_MESON_ENABLE_FLAG = 'enabled'
26GIR_MESON_DISABLE_FLAG = 'disabled' 26GIR_MESON_DISABLE_FLAG = 'disabled'
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-Remove-redundant-rpaths.patch b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-Remove-redundant-rpaths.patch
new file mode 100644
index 000000000..b1e1e897b
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-Remove-redundant-rpaths.patch
@@ -0,0 +1,26 @@
1From c183aae97728e25e0822b14f5093f60cb4331207 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 12 Oct 2024 10:48:01 -0700
4Subject: [PATCH] gstd: Remove redundant rpaths
5
6This emits /usr/lib into binaries which are redundant
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 gstd/meson.build | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/gstd/meson.build b/gstd/meson.build
15index b6aa588..8cdf810 100644
16--- a/gstd/meson.build
17+++ b/gstd/meson.build
18@@ -18,7 +18,7 @@ executable(exe_name,
19 include_directories : [configinc, libgstd_inc_dir],
20 dependencies : [gstd_deps, lib_gstd_dep],
21 c_args: gst_c_args,
22- install_rpath: get_option('prefix') + '/' + get_option('libdir'),
23+ #install_rpath: get_option('prefix') + '/' + get_option('libdir'),
24 )
25 lib_gstd_dir = meson.current_build_dir()
26
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb
index 87792491a..3b0d3ded1 100644
--- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb
+++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb
@@ -8,12 +8,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c71b653a0f608a58cdc5693ae57126bc"
8DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon libsoup-2.4 jansson" 8DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon libsoup-2.4 jansson"
9 9
10SRCBRANCH ?= "master" 10SRCBRANCH ?= "master"
11SRCREV = "a011affa67f240cbc7aaff5b00fdfd6124bdaece" 11SRCREV = "dac03d5e4102080a8f3ef274a6a6583455962095"
12SRC_URI = "git://git@github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH}" 12SRC_URI = "git://git@github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH} \
13 file://0001-gstd-Remove-redundant-rpaths.patch"
13S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
14 15
15# Remove the +really when upstream version is > 1.0 16# Remove the +really when upstream version is > 1.0
16PV = "1.0+really0.15.0" 17PV = "1.0+really0.15.2"
17 18
18GTKDOC_MESON_OPTION = "enable-gtk-doc" 19GTKDOC_MESON_OPTION = "enable-gtk-doc"
19 20
diff --git a/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.3.bb b/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.10.bb
index 8bb49b2f1..fea15f04e 100644
--- a/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.3.bb
+++ b/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.10.bb
@@ -7,15 +7,14 @@ HOMEPAGE = "https://lib.openmpt.org/libopenmpt/"
7SECTION = "libs" 7SECTION = "libs"
8 8
9LICENSE = "BSD-3-Clause" 9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=59f6e21f42e49919617267ff13a0b232" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=829270a66f67187a1d08640df673249a"
11 11
12DEPENDS = "virtual/libiconv" 12DEPENDS = "virtual/libiconv"
13 13
14SRC_URI = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${PV}+release.autotools.tar.gz \ 14SRC_URI = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${PV}+release.autotools.tar.gz \
15 file://run-ptest \ 15 file://run-ptest \
16 " 16 "
17 17SRC_URI[sha256sum] = "093713c1c1024f4f10c4779a66ceb2af51fb7c908a9e99feb892d04019220ba1"
18SRC_URI[sha256sum] = "2cf8369b7916b09264f3f14b9fb6cef35a6e9bee0328dec4f49d98211ccfd722"
19 18
20S = "${WORKDIR}/libopenmpt-${PV}+release.autotools" 19S = "${WORKDIR}/libopenmpt-${PV}+release.autotools"
21 20
diff --git a/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc b/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc
index 8c9ead148..170e676b2 100644
--- a/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc
+++ b/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc
@@ -21,6 +21,10 @@ S = "${WORKDIR}/git"
21# configure.ac:30: error: required file './ABOUT-NLS' not found 21# configure.ac:30: error: required file './ABOUT-NLS' not found
22EXTRA_AUTORECONF = "" 22EXTRA_AUTORECONF = ""
23 23
24# Reproducibility: force os-name and os-version to constants to avoid host
25# related build differences
26EXTRA_OECONF = "--with-os-name='${DISTRO_NAME}' --with-os-version=''"
27
24do_install:append(){ 28do_install:append(){
25 install -d ${D}${sysconfdir} 29 install -d ${D}${sysconfdir}
26 install -m 0755 minidlna.conf ${D}${sysconfdir} 30 install -m 0755 minidlna.conf ${D}${sysconfdir}
diff --git a/meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch b/meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch
new file mode 100644
index 000000000..9b05e9e4c
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch
@@ -0,0 +1,46 @@
1From 0ca64277b317b4836beccaa3248ab9055526811c Mon Sep 17 00:00:00 2001
2From: Wim Taymans <wtaymans@redhat.com>
3Date: Mon, 30 Sep 2024 10:06:30 +0200
4Subject: [PATCH] spa: initialize all fields explicitly
5
6Patch by Petar Popovic
7
8Fixes #4325
9
10Upstream-Status: Backport [https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/0ca64277b317b4836beccaa3248ab9055526811c]
11
12Signed-off-by: Markus Volk <f_l_k@t-online.de>
13---
14 spa/include/spa/pod/builder.h | 2 +-
15 spa/include/spa/pod/parser.h | 2 +-
16 2 files changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/spa/include/spa/pod/builder.h b/spa/include/spa/pod/builder.h
19index 0564d94ea2..6d3e9d54af 100644
20--- a/spa/include/spa/pod/builder.h
21+++ b/spa/include/spa/pod/builder.h
22@@ -49,7 +49,7 @@ struct spa_pod_builder {
23 struct spa_callbacks callbacks;
24 };
25
26-#define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0}, {0} })
27+#define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}})
28
29 static inline void
30 spa_pod_builder_get_state(struct spa_pod_builder *builder, struct spa_pod_builder_state *state)
31diff --git a/spa/include/spa/pod/parser.h b/spa/include/spa/pod/parser.h
32index 083f911713..4c1e72acce 100644
33--- a/spa/include/spa/pod/parser.h
34+++ b/spa/include/spa/pod/parser.h
35@@ -33,7 +33,7 @@ struct spa_pod_parser {
36 struct spa_pod_parser_state state;
37 };
38
39-#define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0} })
40+#define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}})
41
42 static inline void spa_pod_parser_init(struct spa_pod_parser *parser,
43 const void *data, uint32_t size)
44--
45GitLab
46
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.3.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.6.bb
index 0a2088a3c..4ce047a2a 100644
--- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.3.bb
+++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.6.bb
@@ -12,8 +12,9 @@ LIC_FILES_CHKSUM = " \
12 12
13DEPENDS = "dbus ncurses" 13DEPENDS = "dbus ncurses"
14 14
15SRCREV = "e2a76824e2b112b15ae4a1a3d444696d5526f8d8" 15SRCREV = "79eebcb72490484e25208971ca15b9e0ea25bd95"
16SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=1.2;protocol=https" 16SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=1.2;protocol=https"
17SRC_URI += "file://0ca64277b317b4836beccaa3248ab9055526811c.patch"
17 18
18S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
19 20
diff --git a/meta-networking/conf/include/non-repro-meta-networking.inc b/meta-networking/conf/include/non-repro-meta-networking.inc
index 0564e1ced..7497ed4b0 100755
--- a/meta-networking/conf/include/non-repro-meta-networking.inc
+++ b/meta-networking/conf/include/non-repro-meta-networking.inc
@@ -1,34 +1,21 @@
1# List of known non-reproducible package of the meta-networking layer 1# List of known non-reproducible package of the meta-networking layer
2# Please keep this list sorted 2# Please keep this list sorted
3KNOWN_NON_REPRO_META_NETWORKING = " \ 3KNOWN_NON_REPRO_META_NETWORKING = " \
4 blueman \ 4 babeld \
5 blueman-dbg \ 5 babeld-dbg \
6 blueman-src \
7 civetweb-dev \
8 dhcp-relay-staticdev \ 6 dhcp-relay-staticdev \
9 ettercap-src \ 7 ettercap-src \
10 fetchmail \
11 fetchmail-dbg \
12 freediameter \ 8 freediameter \
13 freediameter-src \
14 freeradius \ 9 freeradius \
15 htpdate-doc \ 10 htpdate-doc \
16 keepalived \
17 keepalived-dbg \
18 libbearssl-staticdev \ 11 libbearssl-staticdev \
19 libfko3 \
20 libfko-client \
21 libfko-daemon \
22 libfko-dbg \
23 libmosquitto1 \ 12 libmosquitto1 \
24 libowfat-staticdev \ 13 libowfat-staticdev \
25 libruli-staticdev \ 14 libruli-staticdev \
26 libsamba-util0 \
27 mosquitto \ 15 mosquitto \
28 mosquitto-dbg \
29 ncftp \ 16 ncftp \
30 ncftp-dbg \ 17 ncp \
31 ncftp-src \ 18 ncp-dbg \
32 ndisc6-dbg \ 19 ndisc6-dbg \
33 ndisc6-misc \ 20 ndisc6-misc \
34 ndisc6-ndisc6 \ 21 ndisc6-ndisc6 \
@@ -36,25 +23,14 @@ KNOWN_NON_REPRO_META_NETWORKING = " \
36 ndisc6-rdnssd \ 23 ndisc6-rdnssd \
37 ndisc6-rltraceroute6 \ 24 ndisc6-rltraceroute6 \
38 netsniff-ng-doc \ 25 netsniff-ng-doc \
26 ntopng \
27 ntopng-dbg \
39 ntpsec-src \ 28 ntpsec-src \
40 openl2tp \ 29 openl2tp \
41 openl2tp-dbg \ 30 opensaf \
42 ot-br-posix \
43 ot-br-posix-dbg \
44 postfix-cfg \ 31 postfix-cfg \
45 proftpd \
46 proftpd-dbg \
47 proftpd-dev \
48 rdist \
49 rdist-dbg \
50 rp-pppoe \ 32 rp-pppoe \
51 samba-dbg \
52 tayga \
53 tayga-dbg \
54 udpcast-doc \ 33 udpcast-doc \
55 unbound-doc \ 34 unbound-doc \
56 wolfssl \
57 wolfssl-dbg \
58 znc \ 35 znc \
59 znc-doc \
60" 36"
diff --git a/meta-networking/conf/layer.conf b/meta-networking/conf/layer.conf
index a9ba4abad..19ce3fe90 100644
--- a/meta-networking/conf/layer.conf
+++ b/meta-networking/conf/layer.conf
@@ -15,7 +15,7 @@ LAYERVERSION_networking-layer = "1"
15 15
16LAYERDEPENDS_networking-layer = "core meta-python openembedded-layer" 16LAYERDEPENDS_networking-layer = "core meta-python openembedded-layer"
17 17
18LAYERSERIES_COMPAT_networking-layer = "styhead" 18LAYERSERIES_COMPAT_networking-layer = "styhead walnascar"
19 19
20LICENSE_PATH += "${LAYERDIR}/licenses" 20LICENSE_PATH += "${LAYERDIR}/licenses"
21 21
diff --git a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.3.2.bb b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_2.2.1.bb
index 12cc6645b..0c670a2ca 100644
--- a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.3.2.bb
+++ b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_2.2.1.bb
@@ -10,7 +10,7 @@ SRC_URI = "\
10 file://firewalld.init \ 10 file://firewalld.init \
11 file://run-ptest \ 11 file://run-ptest \
12" 12"
13SRC_URI[sha256sum] = "aba0d8ce9617b906ea4866bf0bdfb2c2d5312f53b8e9e8e9e4d49bf330da5b5e" 13SRC_URI[sha256sum] = "5215ba30236ee1e3df2c2292465a9ff605b9c445dcab2e37da4961cb27c7f36e"
14 14
15# glib-2.0-native is needed for GSETTINGS_RULES autoconf macro from gsettings.m4 15# glib-2.0-native is needed for GSETTINGS_RULES autoconf macro from gsettings.m4
16DEPENDS = "intltool-native glib-2.0-native nftables" 16DEPENDS = "intltool-native glib-2.0-native nftables"
@@ -159,10 +159,10 @@ do_install:append() {
159 # This hack is also in distutils.bbclass, but firewalld doesn't use distutils/setuptools. 159 # This hack is also in distutils.bbclass, but firewalld doesn't use distutils/setuptools.
160 if [ ${PN} != "${BPN}-native" ]; then 160 if [ ${PN} != "${BPN}-native" ]; then
161 sed -i -e s:${STAGING_BINDIR_NATIVE}/python3-native/python3:${bindir}/python3:g \ 161 sed -i -e s:${STAGING_BINDIR_NATIVE}/python3-native/python3:${bindir}/python3:g \
162 ${D}${bindir}/* ${D}${sbindir}/* ${D}${sysconfdir}/firewalld/*.xml 162 ${D}${bindir}/* ${D}${sbindir}/*
163 fi 163 fi
164 sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g \ 164 sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g \
165 ${D}${bindir}/* ${D}${sbindir}/* ${D}${sysconfdir}/firewalld/*.xml 165 ${D}${bindir}/* ${D}${sbindir}/*
166 166
167 # This file contains Red Hat-isms. Modules get loaded without it. 167 # This file contains Red Hat-isms. Modules get loaded without it.
168 rm -f ${D}${sysconfdir}/modprobe.d/firewalld-sysctls.conf 168 rm -f ${D}${sysconfdir}/modprobe.d/firewalld-sysctls.conf
@@ -274,6 +274,7 @@ FILES:${PN} += "\
274 ${datadir}/glib-2.0/schemas/org.fedoraproject.FirewallConfig.gschema.xml \ 274 ${datadir}/glib-2.0/schemas/org.fedoraproject.FirewallConfig.gschema.xml \
275" 275"
276RDEPENDS:${PN} += "\ 276RDEPENDS:${PN} += "\
277 bash \
277 python3-firewall \ 278 python3-firewall \
278 iptables \ 279 iptables \
279 python3-core \ 280 python3-core \
diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.1.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.2.bb
index 62c3add2a..168ee1b5d 100644
--- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.1.bb
+++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.2.bb
@@ -27,7 +27,7 @@ SRC_URI = "git://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls-3
27 git://github.com/Mbed-TLS/mbedtls-framework.git;protocol=https;branch=main;destsuffix=git/framework;name=framework \ 27 git://github.com/Mbed-TLS/mbedtls-framework.git;protocol=https;branch=main;destsuffix=git/framework;name=framework \
28 file://run-ptest" 28 file://run-ptest"
29 29
30SRCREV = "71c569d44bf3a8bd53d874c81ee8ac644dd6e9e3" 30SRCREV = "107ea89daaefb9867ea9121002fbbdf926780e98"
31SRCREV_framework = "94599c0e3b5036e086446a51a3f79640f70f22f6" 31SRCREV_framework = "94599c0e3b5036e086446a51a3f79640f70f22f6"
32SRCREV_FORMAT .= "_framework" 32SRCREV_FORMAT .= "_framework"
33 33
diff --git a/meta-networking/recipes-connectivity/mosquitto/files/1571.patch b/meta-networking/recipes-connectivity/mosquitto/files/1571.patch
deleted file mode 100644
index 627638ec8..000000000
--- a/meta-networking/recipes-connectivity/mosquitto/files/1571.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Upstream-Status: Submitted [https://github.com/eclipse/mosquitto/pull/1571]
2From 3fe5468f1bdca1bff1d18cf43c9e338f41aa9e32 Mon Sep 17 00:00:00 2001
3From: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
4Date: Wed, 22 Jan 2020 12:39:49 +0100
5Subject: [PATCH] Add dynamic symbols linking with cmake too
6
7Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
8---
9 lib/CMakeLists.txt | 2 ++
10 1 file changed, 2 insertions(+)
11
12--- a/lib/CMakeLists.txt
13+++ b/lib/CMakeLists.txt
14@@ -94,6 +94,8 @@
15 OUTPUT_NAME mosquitto
16 VERSION ${VERSION}
17 SOVERSION 1
18+ LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/linker.version
19+ LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/linker.version"
20 )
21
22 install(TARGETS libmosquitto
diff --git a/meta-networking/recipes-connectivity/mosquitto/files/2894.patch b/meta-networking/recipes-connectivity/mosquitto/files/2894.patch
deleted file mode 100644
index 7374cbd26..000000000
--- a/meta-networking/recipes-connectivity/mosquitto/files/2894.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From: Joachim Zobel <jz-2017@heute-morgen.de>
2Date: Wed, 13 Sep 2023 09:55:34 +0200
3Subject: [PATCH] Link correctly with shared websockets library if needed see:
4 https://github.com/eclipse/mosquitto/pull/2751
5
6Patch contributed by Joachim Zobel <jz-2017@heute-morgen.de> and Daniel Engberg <daniel.engberg.lists@pyret.net>
7---
8Upstream-Status: Pending
9
10 src/CMakeLists.txt | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
14index 9380a04..dce8313 100644
15--- a/src/CMakeLists.txt
16+++ b/src/CMakeLists.txt
17@@ -200,7 +200,7 @@ if (WITH_WEBSOCKETS)
18 link_directories(${mosquitto_SOURCE_DIR})
19 endif (WIN32)
20 else (STATIC_WEBSOCKETS)
21- set (MOSQ_LIBS ${MOSQ_LIBS} websockets)
22+ set (MOSQ_LIBS ${MOSQ_LIBS} websockets_shared)
23 endif (STATIC_WEBSOCKETS)
24 endif (WITH_WEBSOCKETS)
25
diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.19.bb
index 4ef065410..3d4c6dce9 100644
--- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb
+++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.19.bb
@@ -16,12 +16,10 @@ DEPENDS = "uthash cjson"
16 16
17SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \ 17SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \
18 file://mosquitto.init \ 18 file://mosquitto.init \
19 file://1571.patch \
20 file://2894.patch \
21 file://2895.patch \ 19 file://2895.patch \
22" 20"
23 21
24SRC_URI[sha256sum] = "d665fe7d0032881b1371a47f34169ee4edab67903b2cd2b4c083822823f4448a" 22SRC_URI[sha256sum] = "33af3637f119a61c509c01d2f8f6cc3d8be76f49e850132f2860af142abf82a9"
25 23
26inherit systemd update-rc.d useradd cmake pkgconfig 24inherit systemd update-rc.d useradd cmake pkgconfig
27 25
diff --git a/meta-networking/recipes-connectivity/nanomsg/nng_1.7.3.bb b/meta-networking/recipes-connectivity/nanomsg/nng_1.7.3.bb
index a6556249b..9ae3b8937 100644
--- a/meta-networking/recipes-connectivity/nanomsg/nng_1.7.3.bb
+++ b/meta-networking/recipes-connectivity/nanomsg/nng_1.7.3.bb
@@ -5,7 +5,7 @@ SECTION = "libs/networking"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a41e579bb4326c21c774f8e51e41d8a3" 6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a41e579bb4326c21c774f8e51e41d8a3"
7 7
8SRC_URI = "git://github.com/nanomsg/nng.git;branch=master;protocol=https" 8SRC_URI = "git://github.com/nanomsg/nng.git;branch=main;protocol=https"
9SRCREV = "85fbe7f9e4642b554d0d97f2e3ff2aa12978691a" 9SRCREV = "85fbe7f9e4642b554d0d97f2e3ff2aa12978691a"
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
diff --git a/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch b/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch
index 32d714f6f..90244cf09 100644
--- a/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch
+++ b/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch
@@ -1,4 +1,4 @@
1From 79fd22c0def26eba130db98e312bb00fec32ac0a Mon Sep 17 00:00:00 2001 1From ed60c2ad3a7ed9762fcb6a304c7f60544606baef Mon Sep 17 00:00:00 2001
2From: Tudor Florea <tudor.florea@enea.com> 2From: Tudor Florea <tudor.florea@enea.com>
3Date: Tue, 4 Aug 2015 03:07:01 +0200 3Date: Tue, 4 Aug 2015 03:07:01 +0200
4Subject: [PATCH] Don't mess with CFLAGS and LDFLAGS when --with-minimal is 4Subject: [PATCH] Don't mess with CFLAGS and LDFLAGS when --with-minimal is
@@ -10,16 +10,15 @@ Upstream-Status: Inappropriate [config]
10 10
11Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> 11Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12Signed-off-by: Tudor Florea <tudor.florea@enea.com> 12Signed-off-by: Tudor Florea <tudor.florea@enea.com>
13
14--- 13---
15 configure.ac | 2 -- 14 configure.ac | 2 --
16 1 file changed, 2 deletions(-) 15 1 file changed, 2 deletions(-)
17 16
18diff --git a/configure.ac b/configure.ac 17diff --git a/configure.ac b/configure.ac
19index 695ce68..0f28b55 100644 18index e578b2b..3874124 100644
20--- a/configure.ac 19--- a/configure.ac
21+++ b/configure.ac 20+++ b/configure.ac
22@@ -414,8 +414,6 @@ AC_ARG_WITH(minimal, 21@@ -415,8 +415,6 @@ AC_ARG_WITH(minimal,
23 AC_DEFINE(NO_FTP_USERS) 22 AC_DEFINE(NO_FTP_USERS)
24 AC_DEFINE(WITHOUT_ASCII) 23 AC_DEFINE(WITHOUT_ASCII)
25 AC_DEFINE(BORING_MODE) 24 AC_DEFINE(BORING_MODE)
diff --git a/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.51.bb b/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.52.bb
index 6f03f73db..1ce3c468b 100644
--- a/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.51.bb
+++ b/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.52.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Pure-FTPd is a free (BSD license), secure, production-quality and
3HOMEPAGE = "http://www.pureftpd.org/project/pure-ftpd" 3HOMEPAGE = "http://www.pureftpd.org/project/pure-ftpd"
4SECTION = "net" 4SECTION = "net"
5LICENSE = "0BSD" 5LICENSE = "0BSD"
6LIC_FILES_CHKSUM = "file://COPYING;md5=194bc994ad6bbd4ff5a021082fe52156" 6LIC_FILES_CHKSUM = "file://COPYING;md5=5138d4a8a877b32de6a78cf7e9e99c25"
7 7
8DEPENDS = "libcap virtual/crypt" 8DEPENDS = "libcap virtual/crypt"
9 9
@@ -11,7 +11,7 @@ SRC_URI = "http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${PV}.t
11 file://0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch \ 11 file://0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch \
12 file://nostrip.patch \ 12 file://nostrip.patch \
13" 13"
14SRC_URI[sha256sum] = "4160f66b76615eea2397eac4ea3f0a146b7928207b79bc4cc2f99ad7b7bd9513" 14SRC_URI[sha256sum] = "1126f3a95856d08889ff89703cb1aa9ec9924d939d154e96904c920f05dc3c74"
15 15
16inherit autotools 16inherit autotools
17 17
diff --git a/meta-networking/recipes-devtools/python/python3-scapy_2.5.0.bb b/meta-networking/recipes-devtools/python/python3-scapy_2.6.0.bb
index d57cb977e..ba21c4605 100644
--- a/meta-networking/recipes-devtools/python/python3-scapy_2.5.0.bb
+++ b/meta-networking/recipes-devtools/python/python3-scapy_2.6.0.bb
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
16# If you want ptest support, use the git repo 16# If you want ptest support, use the git repo
17# UTscapy does not exist in the pypi pkg 17# UTscapy does not exist in the pypi pkg
18# 18#
19SRCREV = "0474c37bf1d147c969173d52ab3ac76d2404d981" 19SRCREV = "f7a64114b35fd8ee63ce07290f8a2dffd52b215f"
20SRC_URI = "git://github.com/secdev/scapy.git;branch=master;protocol=https \ 20SRC_URI = "git://github.com/secdev/scapy.git;branch=master;protocol=https \
21 file://run-ptest" 21 file://run-ptest"
22 22
@@ -24,7 +24,7 @@ S = "${WORKDIR}/git"
24 24
25UPSTREAM_CHECK_COMMITS = "1" 25UPSTREAM_CHECK_COMMITS = "1"
26 26
27inherit setuptools3 ptest 27inherit python_setuptools_build_meta ptest
28 28
29do_install:append() { 29do_install:append() {
30 mv ${D}${bindir}/scapy ${D}${bindir}/scapy3 30 mv ${D}${bindir}/scapy ${D}${bindir}/scapy3
diff --git a/meta-networking/recipes-filter/libnetfilter/files/0001-conntrack-fix-build-with-kernel-5.15-and-musl.patch b/meta-networking/recipes-filter/libnetfilter/files/0001-conntrack-fix-build-with-kernel-5.15-and-musl.patch
deleted file mode 100644
index a02940af3..000000000
--- a/meta-networking/recipes-filter/libnetfilter/files/0001-conntrack-fix-build-with-kernel-5.15-and-musl.patch
+++ /dev/null
@@ -1,61 +0,0 @@
1From 21ee35dde73aec5eba35290587d479218c6dd824 Mon Sep 17 00:00:00 2001
2From: Robert Marko <robimarko@gmail.com>
3Date: Thu, 24 Feb 2022 15:01:11 +0100
4Subject: [PATCH] conntrack: fix build with kernel 5.15 and musl
5
6Currently, with kernel 5.15 headers and musl building is failing with
7redefinition errors due to a conflict between the kernel and musl headers.
8
9Musl is able to suppres the conflicting kernel header definitions if they
10are included after the standard libc ones, however since ICMP definitions
11were moved into a separate internal header to avoid duplication this has
12stopped working and is breaking the builds.
13
14It seems that the issue is that <netinet/in.h> which contains the UAPI
15suppression defines is included in the internal.h header and not in the
16proto.h which actually includes the kernel ICMP headers and thus UAPI
17supression defines are not present.
18
19Solve this by moving the <netinet/in.h> include before the ICMP kernel
20includes in the proto.h
21
22Fixes: bc1cb4b11403 ("conntrack: Move icmp request>reply type mapping to common file")
23Signed-off-by: Robert Marko <robimarko@gmail.com>
24Signed-off-by: Florian Westphal <fw@strlen.de>
25
26Upstream-Status: Backport
27[https://git.netfilter.org/libnetfilter_conntrack/commit/?id=21ee35dde73aec5eba35290587d479218c6dd824]
28
29Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
30---
31 include/internal/internal.h | 1 -
32 include/internal/proto.h | 1 +
33 2 files changed, 1 insertion(+), 1 deletion(-)
34
35diff --git a/include/internal/internal.h b/include/internal/internal.h
36index 2ef8a90..7cd7c44 100644
37--- a/include/internal/internal.h
38+++ b/include/internal/internal.h
39@@ -14,7 +14,6 @@
40 #include <arpa/inet.h>
41 #include <time.h>
42 #include <errno.h>
43-#include <netinet/in.h>
44
45 #include <libnfnetlink/libnfnetlink.h>
46 #include <libnetfilter_conntrack/libnetfilter_conntrack.h>
47diff --git a/include/internal/proto.h b/include/internal/proto.h
48index 40e7bfe..60a5f4e 100644
49--- a/include/internal/proto.h
50+++ b/include/internal/proto.h
51@@ -2,6 +2,7 @@
52 #define _NFCT_PROTO_H_
53
54 #include <stdint.h>
55+#include <netinet/in.h>
56 #include <linux/icmp.h>
57 #include <linux/icmpv6.h>
58
59--
602.25.1
61
diff --git a/meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.9.bb b/meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.1.0.bb
index abec84b25..83533832d 100644
--- a/meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.9.bb
+++ b/meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.1.0.bb
@@ -6,12 +6,10 @@ LICENSE = "GPL-2.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" 6LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
7DEPENDS = "libnfnetlink libmnl" 7DEPENDS = "libnfnetlink libmnl"
8 8
9SRC_URI = "https://www.netfilter.org/projects/libnetfilter_conntrack/files/libnetfilter_conntrack-${PV}.tar.bz2 \ 9SRC_URI = "https://www.netfilter.org/projects/libnetfilter_conntrack/files/libnetfilter_conntrack-${PV}.tar.xz \
10 file://0001-conntrack-fix-build-with-kernel-5.15-and-musl.patch \
11 " 10 "
12 11
13SRC_URI[md5sum] = "596c722733cdf30f24d4418f34f999d9" 12SRC_URI[sha256sum] = "67edcb4eb826c2f8dc98af08dabff68f3b3d0fe6fb7d9d0ac1ee7ecce0fe694e"
14SRC_URI[sha256sum] = "67bd9df49fe34e8b82144f6dfb93b320f384a8ea59727e92ff8d18b5f4b579a8"
15 13
16S = "${WORKDIR}/libnetfilter_conntrack-${PV}" 14S = "${WORKDIR}/libnetfilter_conntrack-${PV}"
17 15
diff --git a/meta-networking/recipes-filter/libnftnl/libnftnl_1.2.7.bb b/meta-networking/recipes-filter/libnftnl/libnftnl_1.2.8.bb
index b46520938..0af64fe03 100644
--- a/meta-networking/recipes-filter/libnftnl/libnftnl_1.2.7.bb
+++ b/meta-networking/recipes-filter/libnftnl/libnftnl_1.2.8.bb
@@ -7,7 +7,7 @@ SRC_URI = "git://git.netfilter.org/libnftnl;branch=master \
7 file://0001-configure.ac-Add-serial-tests.patch \ 7 file://0001-configure.ac-Add-serial-tests.patch \
8 file://run-ptest \ 8 file://run-ptest \
9 " 9 "
10SRCREV = "116e95aa7b6358c917de8c69f6f173874030b46b" 10SRCREV = "06e2cbec41c7cd7f2b1e660ce5e5f949912e32eb"
11 11
12S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13 13
diff --git a/meta-networking/recipes-filter/nftables/nftables_1.1.0.bb b/meta-networking/recipes-filter/nftables/nftables_1.1.1.bb
index 98e7a85a4..17709016b 100644
--- a/meta-networking/recipes-filter/nftables/nftables_1.1.0.bb
+++ b/meta-networking/recipes-filter/nftables/nftables_1.1.1.bb
@@ -14,7 +14,7 @@ DEPENDS = "libmnl libnftnl bison-native \
14SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.xz \ 14SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.xz \
15 file://run-ptest \ 15 file://run-ptest \
16 " 16 "
17SRC_URI[sha256sum] = "ef3373294886c5b607ee7be82c56a25bc04e75f802f8e8adcd55aac91eb0aa24" 17SRC_URI[sha256sum] = "6358830f3a64f31e39b0ad421d7dadcd240b72343ded48d8ef13b8faf204865a"
18 18
19inherit autotools manpages pkgconfig ptest 19inherit autotools manpages pkgconfig ptest
20 20
diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20210914.bb b/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20210914.bb
index 8def54ece..c12b8abd5 100644
--- a/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20210914.bb
+++ b/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20210914.bb
@@ -1,7 +1,7 @@
1require wireguard.inc 1require wireguard.inc
2 2
3SRCREV = "3ba6527130c502144e7388b900138bca6260f4e8" 3SRCREV = "3ba6527130c502144e7388b900138bca6260f4e8"
4SRC_URI = "git://git.zx2c4.com/wireguard-tools;branch=master" 4SRC_URI = "git://github.com/WireGuard/wireguard-tools.git;branch=master;protocol=https"
5 5
6inherit bash-completion systemd pkgconfig 6inherit bash-completion systemd pkgconfig
7 7
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0001-Fix-SIGSEGV-during-DumpStateLog.patch b/meta-networking/recipes-protocols/mdns/mdns/0001-Fix-SIGSEGV-during-DumpStateLog.patch
index abf82b1e0..d74c031ab 100644
--- a/meta-networking/recipes-protocols/mdns/mdns/0001-Fix-SIGSEGV-during-DumpStateLog.patch
+++ b/meta-networking/recipes-protocols/mdns/mdns/0001-Fix-SIGSEGV-during-DumpStateLog.patch
@@ -1,4 +1,4 @@
1From 2db1f5bc941e4b4cd1721e361a47cfe288b07a76 Mon Sep 17 00:00:00 2001 1From 3138d70ce8f521d03120e7789e93ebe290ece101 Mon Sep 17 00:00:00 2001
2From: Alex Kiernan <alex.kiernan@gmail.com> 2From: Alex Kiernan <alex.kiernan@gmail.com>
3Date: Thu, 1 Feb 2024 14:07:03 +0000 3Date: Thu, 1 Feb 2024 14:07:03 +0000
4Subject: [PATCH] Fix SIGSEGV during DumpStateLog() 4Subject: [PATCH] Fix SIGSEGV during DumpStateLog()
@@ -13,10 +13,10 @@ Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/mDNSShared/mDNSDebug.c b/mDNSShared/mDNSDebug.c 15diff --git a/mDNSShared/mDNSDebug.c b/mDNSShared/mDNSDebug.c
16index 7a4ca19eff6d..d449dde320f6 100644 16index b531fcea2bb9..1e8d9b10afbc 100644
17--- a/mDNSShared/mDNSDebug.c 17--- a/mDNSShared/mDNSDebug.c
18+++ b/mDNSShared/mDNSDebug.c 18+++ b/mDNSShared/mDNSDebug.c
19@@ -71,7 +71,7 @@ mDNSlocal void LogMsgWithLevelv(os_log_t category, os_log_type_t level, const ch 19@@ -72,7 +72,7 @@ mDNSlocal void LogMsgWithLevelv(os_log_t category, os_log_type_t level, const ch
20 mDNSlocal void LogMsgWithLevelv(const char *category, mDNSLogLevel_t level, const char *format, va_list args) 20 mDNSlocal void LogMsgWithLevelv(const char *category, mDNSLogLevel_t level, const char *format, va_list args)
21 { 21 {
22 // Do not print the logs if the log category is MDNS_LOG_CATEGORY_DISABLED. 22 // Do not print the logs if the log category is MDNS_LOG_CATEGORY_DISABLED.
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0001-Handle-interface-without-ifa_addr.patch b/meta-networking/recipes-protocols/mdns/mdns/0001-Handle-interface-without-ifa_addr.patch
index 7ec599601..a531884af 100644
--- a/meta-networking/recipes-protocols/mdns/mdns/0001-Handle-interface-without-ifa_addr.patch
+++ b/meta-networking/recipes-protocols/mdns/mdns/0001-Handle-interface-without-ifa_addr.patch
@@ -1,4 +1,4 @@
1From c67102307f25c5f4d238c736e90519e56a76ae79 Mon Sep 17 00:00:00 2001 1From 199b376e585d5362a1f51ea20e45dcc3bdb7d6aa Mon Sep 17 00:00:00 2001
2From: Stefan Agner <stefan@agner.ch> 2From: Stefan Agner <stefan@agner.ch>
3Date: Fri, 23 Jun 2023 10:10:00 +0200 3Date: Fri, 23 Jun 2023 10:10:00 +0200
4Subject: [PATCH] Handle interface without `ifa_addr` 4Subject: [PATCH] Handle interface without `ifa_addr`
@@ -15,10 +15,10 @@ Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
15 1 file changed, 3 insertions(+), 1 deletion(-) 15 1 file changed, 3 insertions(+), 1 deletion(-)
16 16
17diff --git a/mDNSPosix/mDNSPosix.c b/mDNSPosix/mDNSPosix.c 17diff --git a/mDNSPosix/mDNSPosix.c b/mDNSPosix/mDNSPosix.c
18index 0c9dd2582660..c3ead26799e6 100644 18index 4c835a8c253c..e1e27b1de3b2 100644
19--- a/mDNSPosix/mDNSPosix.c 19--- a/mDNSPosix/mDNSPosix.c
20+++ b/mDNSPosix/mDNSPosix.c 20+++ b/mDNSPosix/mDNSPosix.c
21@@ -1895,6 +1895,7 @@ mDNSlocal void InterfaceChangeCallback(int fd, void *context) 21@@ -1927,6 +1927,7 @@ mDNSlocal void InterfaceChangeCallback(int fd, void *context)
22 continue; 22 continue;
23 23
24 if ((ifa_loop4 == NULL) && 24 if ((ifa_loop4 == NULL) &&
@@ -26,7 +26,7 @@ index 0c9dd2582660..c3ead26799e6 100644
26 ((*ifi)->ifa_addr->sa_family == AF_INET) && 26 ((*ifi)->ifa_addr->sa_family == AF_INET) &&
27 ((*ifi)->ifa_flags & IFF_UP) && 27 ((*ifi)->ifa_flags & IFF_UP) &&
28 ((*ifi)->ifa_flags & IFF_LOOPBACK)) 28 ((*ifi)->ifa_flags & IFF_LOOPBACK))
29@@ -1903,7 +1904,8 @@ mDNSlocal void InterfaceChangeCallback(int fd, void *context) 29@@ -1935,7 +1936,8 @@ mDNSlocal void InterfaceChangeCallback(int fd, void *context)
30 continue; 30 continue;
31 } 31 }
32 32
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0004-Add-definition-for-MAX.patch b/meta-networking/recipes-protocols/mdns/mdns/0004-Add-definition-for-MAX.patch
new file mode 100644
index 000000000..82d7ceca3
--- /dev/null
+++ b/meta-networking/recipes-protocols/mdns/mdns/0004-Add-definition-for-MAX.patch
@@ -0,0 +1,24 @@
1From f0adca77472c9c1df6db14f2b03e66d78a577649 Mon Sep 17 00:00:00 2001
2From: Alex Kiernan <alex.kiernan@gmail.com>
3Date: Sat, 26 Oct 2024 13:24:45 +0000
4Subject: [PATCH] Add definition for MAX()
5
6Upstream-Status: Inactive-Upstream [Upstream does not take patches]
7Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
8---
9 mDNSShared/uds_daemon.c | 2 ++
10 1 file changed, 2 insertions(+)
11
12diff --git a/mDNSShared/uds_daemon.c b/mDNSShared/uds_daemon.c
13index e73bc1181b73..1d590a6a3580 100644
14--- a/mDNSShared/uds_daemon.c
15+++ b/mDNSShared/uds_daemon.c
16@@ -89,6 +89,8 @@
17
18 #include "mdns_strict.h"
19
20+#define MAX(A, B) (((A) > (B)) ? (A) : (B))
21+
22 // User IDs 0-500 are system-wide processes, not actual users in the usual sense
23 // User IDs for real user accounts start at 501 and count up from there
24 #define SystemUID(X) ((X) <= 500)
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0005-Fix-missing-limit-declarations.patch b/meta-networking/recipes-protocols/mdns/mdns/0005-Fix-missing-limit-declarations.patch
new file mode 100644
index 000000000..4d4a8cf9b
--- /dev/null
+++ b/meta-networking/recipes-protocols/mdns/mdns/0005-Fix-missing-limit-declarations.patch
@@ -0,0 +1,49 @@
1From cf216a6872139e435d5712787359b03022b51d2b Mon Sep 17 00:00:00 2001
2From: Alex Kiernan <alexk@zuma.ai>
3Date: Sat, 26 Oct 2024 13:26:09 +0000
4Subject: [PATCH] Fix missing `limit` declarations
5
6`put_attribute_tlvs` needs a limit setting which is missing, add it in.
7
8Upstream-Status: Inactive-Upstream [Upstream does not take patches]
9Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
10---
11 mDNSShared/dnssd_clientstub.c | 4 ++++
12 1 file changed, 4 insertions(+)
13
14diff --git a/mDNSShared/dnssd_clientstub.c b/mDNSShared/dnssd_clientstub.c
15index fc93d162446a..a6cf45fa9856 100644
16--- a/mDNSShared/dnssd_clientstub.c
17+++ b/mDNSShared/dnssd_clientstub.c
18@@ -2022,6 +2022,7 @@ DNSServiceErrorType DNSServiceRegisterInternal
19 ipc_msg_hdr *hdr;
20 DNSServiceErrorType err;
21 union { uint16_t s; u_char b[2]; } port = { portInNetworkByteOrder };
22+ const uint8_t *limit;
23 (void)attr;
24
25 if (!sdRef || !regtype) return kDNSServiceErr_BadParam;
26@@ -2054,6 +2055,7 @@ DNSServiceErrorType DNSServiceRegisterInternal
27 if (!hdr) { DNSServiceRefDeallocate(*sdRef); *sdRef = NULL; return kDNSServiceErr_NoMemory; }
28 if (!callBack) hdr->ipc_flags |= IPC_FLAGS_NOREPLY;
29
30+ limit = ptr + len;
31 put_flags(flags, &ptr);
32 put_uint32(interfaceIndex, &ptr);
33 put_string(name, &ptr);
34@@ -2334,6 +2336,7 @@ DNSServiceErrorType DNSServiceRegisterRecordInternal
35 ipc_msg_hdr *hdr = NULL;
36 DNSRecordRef rref = NULL;
37 DNSRecord **p;
38+ const uint8_t *limit;
39 (void)attr;
40
41 // Verify that only one of the following flags is set.
42@@ -2389,6 +2392,7 @@ DNSServiceErrorType DNSServiceRegisterRecordInternal
43 hdr = create_hdr(reg_record_request, &len, &ptr, !(flags & kDNSServiceFlagsQueueRequest), sdRef);
44 if (!hdr) return kDNSServiceErr_NoMemory;
45
46+ limit = ptr + len;
47 put_flags(flags, &ptr);
48 put_uint32(interfaceIndex, &ptr);
49 put_string(fullname, &ptr);
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch b/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch
index 818017037..3784e3be8 100644
--- a/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch
+++ b/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch
@@ -1,4 +1,4 @@
1From 05cb409ce213f35798c02faf2032d4846a84b48e Mon Sep 17 00:00:00 2001 1From d15ee692af42163846be7517372f3ee098cdaf18 Mon Sep 17 00:00:00 2001
2From: Beniamin Sandu <beniaminsandu@gmail.com> 2From: Beniamin Sandu <beniaminsandu@gmail.com>
3Date: Thu, 15 Jun 2023 17:02:58 +0000 3Date: Thu, 15 Jun 2023 17:02:58 +0000
4Subject: [PATCH] remove unneeded headers 4Subject: [PATCH] remove unneeded headers
@@ -7,8 +7,7 @@ From a quick look, these seem to not be needed and having them
7breaks the build with mbedtls 3.x. Without them it builds fine 7breaks the build with mbedtls 3.x. Without them it builds fine
8on both 2.x and 3.x versions. 8on both 2.x and 3.x versions.
9 9
10Upstream-Status: Pending 10Upstream-Status: Inactive-Upstream [Upstream does not take patches]
11
12Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com> 11Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
13--- 12---
14 mDNSPosix/mbedtls.c | 2 -- 13 mDNSPosix/mbedtls.c | 2 --
diff --git a/meta-networking/recipes-protocols/mdns/mdns_2200.140.11.bb b/meta-networking/recipes-protocols/mdns/mdns_2559.1.1.bb
index e6ea70719..212fd0eab 100644
--- a/meta-networking/recipes-protocols/mdns/mdns_2200.140.11.bb
+++ b/meta-networking/recipes-protocols/mdns/mdns_2559.1.1.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=31c50371921e0fb731003bbc665f29bf"
6 6
7DEPENDS:append:libc-musl = " musl-nscd" 7DEPENDS:append:libc-musl = " musl-nscd"
8 8
9SRC_URI = "git://github.com/apple-oss-distributions/mDNSResponder;protocol=https;branch=rel/mDNSResponder-2200 \ 9SRC_URI = "git://github.com/apple-oss-distributions/mDNSResponder;protocol=https;branch=${BRANCH} \
10 file://0001-dns-sd-Include-missing-headers.patch \ 10 file://0001-dns-sd-Include-missing-headers.patch \
11 file://0002-make-Set-libdns_sd.so-soname-correctly.patch \ 11 file://0002-make-Set-libdns_sd.so-soname-correctly.patch \
12 file://0004-make-Separate-TLS-targets-from-libraries.patch \ 12 file://0004-make-Separate-TLS-targets-from-libraries.patch \
@@ -24,8 +24,11 @@ SRC_URI = "git://github.com/apple-oss-distributions/mDNSResponder;protocol=https
24 file://mdns.service \ 24 file://mdns.service \
25 file://0001-Handle-interface-without-ifa_addr.patch \ 25 file://0001-Handle-interface-without-ifa_addr.patch \
26 file://0001-Fix-SIGSEGV-during-DumpStateLog.patch \ 26 file://0001-Fix-SIGSEGV-during-DumpStateLog.patch \
27 file://0005-Fix-missing-limit-declarations.patch \
28 file://0004-Add-definition-for-MAX.patch \
27 " 29 "
28SRCREV = "12e84b9089e577e0c0a9f48c4b922d7349fcc5a4" 30BRANCH = "main"
31SRCREV = "71e6611203d57c78b26fd505d98cb57a33d00880"
29 32
30# We install a stub Makefile in the top directory so that the various checks 33# We install a stub Makefile in the top directory so that the various checks
31# in base.bbclass pass their tests for a Makefile, this ensures (that amongst 34# in base.bbclass pass their tests for a Makefile, this ensures (that amongst
diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp/run-ptest b/meta-networking/recipes-protocols/openl2tp/openl2tp/run-ptest
index 01c9c7b44..b8fb08b75 100644
--- a/meta-networking/recipes-protocols/openl2tp/openl2tp/run-ptest
+++ b/meta-networking/recipes-protocols/openl2tp/openl2tp/run-ptest
@@ -30,9 +30,7 @@ else
30fi 30fi
31 31
32#read -p "Please input the network interface you use to test(such as eth0, em1 etc):" ETH_TEST 32#read -p "Please input the network interface you use to test(such as eth0, em1 etc):" ETH_TEST
33echo "Please input the network interface you use to test(such as eth0, em1 etc):" 33ETH_TEST=`ip route get 8.8.8.8 | awk -- '{print $5}'`
34read ETH_TEST > /dev/null
35
36if [ x"$ETH_TEST" = x ]; then 34if [ x"$ETH_TEST" = x ]; then
37 exit_cus "The network interface cannot be null" 1 35 exit_cus "The network interface cannot be null" 1
38fi 36fi
@@ -73,7 +71,7 @@ lsmod | grep l2tp_ppp > /dev/null || exit_cus "FAIL: Load module l2tp_ppp" 2
73 71
74# start openl2tpd 72# start openl2tpd
75ps aux | grep openl2tpd | grep -v grep > /dev/null && killall openl2tpd > /dev/null 73ps aux | grep openl2tpd | grep -v grep > /dev/null && killall openl2tpd > /dev/null
76ppp_path=`rpm -ql openl2tp | grep ppp_null.so` 74ppp_path=`find / -name ppp_null.so`
77echo "test it here" 75echo "test it here"
78/usr/sbin/openl2tpd -d all -D -f -p ${ppp_path} & > /dev/null 76/usr/sbin/openl2tpd -d all -D -f -p ${ppp_path} & > /dev/null
79 77
@@ -95,3 +93,4 @@ else
95fi 93fi
96 94
97restore_file 95restore_file
96ps aux | grep openl2tpd | grep -v grep > /dev/null && killall openl2tpd > /dev/null
diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
index f64c7340d..f3b74d1e6 100644
--- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
+++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
@@ -94,3 +94,4 @@ do_install_ptest () {
94} 94}
95 95
96RDEPENDS:${PN} = "ppp ppp-l2tp bash" 96RDEPENDS:${PN} = "ppp ppp-l2tp bash"
97RDEPENDS:${PN}-ptest += "rpcbind kernel-module-l2tp-ppp procps-ps tcl"
diff --git a/meta-networking/recipes-support/curlpp/curlpp/0002-fix-invalid-conversion-from-int-to-CURLoption.patch b/meta-networking/recipes-support/curlpp/curlpp/0002-fix-invalid-conversion-from-int-to-CURLoption.patch
new file mode 100644
index 000000000..1712a5346
--- /dev/null
+++ b/meta-networking/recipes-support/curlpp/curlpp/0002-fix-invalid-conversion-from-int-to-CURLoption.patch
@@ -0,0 +1,36 @@
1From ebe9144fdfdc8154661b93322cec4a1c43aa75ff Mon Sep 17 00:00:00 2001
2From: alperak <alperyasinak1@gmail.com>
3Date: Tue, 1 Oct 2024 19:45:38 +0300
4Subject: [PATCH] Fix invalid conversion from int to CURLoption
5
6Options.hpp:281:74: error: invalid conversion from 'int' to 'CURLoption' [-fpermissive]
7 281 | typedef curlpp::OptionTrait<curl_closepolicy, CURLOPT_CLOSEPOLICY> ClosePolicy;
8 | ^
9 | |
10 | int
11
12Fix invalid conversion by adding explicit cast to CURLoption
13
14Upstream-Status: Pending
15
16Signed-off-by: alperak <alperyasinak1@gmail.com>
17---
18 include/curlpp/Options.hpp | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/include/curlpp/Options.hpp b/include/curlpp/Options.hpp
22index c705c9d..7c9a501 100644
23--- a/include/curlpp/Options.hpp
24+++ b/include/curlpp/Options.hpp
25@@ -278,7 +278,7 @@ namespace options
26 typedef curlpp::OptionTrait<long, CURLOPT_LOW_SPEED_LIMIT> LowSpeedLimit;
27 typedef curlpp::OptionTrait<long, CURLOPT_LOW_SPEED_TIME> LowSpeedTime;
28 typedef curlpp::OptionTrait<long, CURLOPT_MAXCONNECTS> MaxConnects;
29- typedef curlpp::OptionTrait<curl_closepolicy, CURLOPT_CLOSEPOLICY> ClosePolicy;
30+ typedef curlpp::OptionTrait<curl_closepolicy, (CURLoption)CURLOPT_CLOSEPOLICY> ClosePolicy;
31 typedef curlpp::OptionTrait<bool, CURLOPT_FRESH_CONNECT> FreshConnect;
32 typedef curlpp::OptionTrait<bool, CURLOPT_FORBID_REUSE> ForbidReuse;
33 typedef curlpp::OptionTrait<long, CURLOPT_CONNECTTIMEOUT> ConnectTimeout;
34--
352.25.1
36
diff --git a/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb b/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb
index 131f1873a..cacdc9773 100644
--- a/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb
+++ b/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb
@@ -8,7 +8,8 @@ DEPENDS = "curl"
8DEPENDS:class-native = "curl-native" 8DEPENDS:class-native = "curl-native"
9 9
10SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https \ 10SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https \
11 file://0001-curlpp-config.in-Remove-references-to-absolute-build.patch" 11 file://0001-curlpp-config.in-Remove-references-to-absolute-build.patch \
12 file://0002-fix-invalid-conversion-from-int-to-CURLoption.patch"
12 13
13SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f" 14SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f"
14 15
diff --git a/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.19.bb b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.21.bb
index 0243f2a1d..1300fc658 100644
--- a/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.19.bb
+++ b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.21.bb
@@ -8,10 +8,7 @@ LIC_FILES_CHKSUM = " \
8 file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e \ 8 file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e \
9" 9"
10 10
11SRCREV = "05b50d379ff0037de4957bb2a1befcce88b70225" 11SRCREV = "37d5f1225573b91d706a5e547d081f79963a9deb"
12
13PV .= "+git"
14LK_REL = "1.0.19"
15 12
16SRC_URI = " \ 13SRC_URI = " \
17 git://github.com/sctp/lksctp-tools.git;branch=master;protocol=https \ 14 git://github.com/sctp/lksctp-tools.git;branch=master;protocol=https \
@@ -34,19 +31,14 @@ do_install_ptest () {
34 done 31 done
35} 32}
36 33
37SOLIBVERSION="${LK_REL}"
38SOLIBMAJORVERSION="1"
39
40PACKAGES =+ "${PN}-withsctp ${PN}-utils" 34PACKAGES =+ "${PN}-withsctp ${PN}-utils"
41 35
42FILES:${PN} = " \ 36FILES:${PN} = " \
43 ${libdir}/libsctp.so.${SOLIBVERSION} \ 37 ${libdir}/libsctp.so.* \
44 ${libdir}/libsctp.so.${SOLIBMAJORVERSION} \
45" 38"
46 39
47FILES:${PN}-withsctp = " \ 40FILES:${PN}-withsctp = " \
48 ${libdir}/lksctp-tools/libwithsctp.so.${SOLIBVERSION} \ 41 ${libdir}/lksctp-tools/libwithsctp.so.* \
49 ${libdir}/lksctp-tools/libwithsctp.so.${SOLIBMAJORVERSION} \
50" 42"
51 43
52FILES:${PN}-dev += " \ 44FILES:${PN}-dev += " \
diff --git a/meta-networking/recipes-support/mctp/mctp_1.1.bb b/meta-networking/recipes-support/mctp/mctp_2.0.bb
index bf3961be4..24f974774 100644
--- a/meta-networking/recipes-support/mctp/mctp_1.1.bb
+++ b/meta-networking/recipes-support/mctp/mctp_2.0.bb
@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only"
5 5
6LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"
7 7
8SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" 8SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
9 9
10SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https" 10SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"
11 11
@@ -13,6 +13,10 @@ S = "${WORKDIR}/git"
13 13
14inherit meson pkgconfig systemd 14inherit meson pkgconfig systemd
15 15
16EXTRA_OEMESON = " \
17 -Dtests=false \
18"
19
16PACKAGECONFIG ??= " \ 20PACKAGECONFIG ??= " \
17 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ 21 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
18" 22"
diff --git a/meta-networking/recipes-support/mdio-tools/mdio-tools_1.3.1.bb b/meta-networking/recipes-support/mdio-tools/mdio-tools_1.3.1.bb
index 0c64889bc..457064c01 100644
--- a/meta-networking/recipes-support/mdio-tools/mdio-tools_1.3.1.bb
+++ b/meta-networking/recipes-support/mdio-tools/mdio-tools_1.3.1.bb
@@ -6,4 +6,4 @@ S = "${WORKDIR}/git"
6 6
7inherit pkgconfig autotools 7inherit pkgconfig autotools
8 8
9RDEPENDS:${PN} = "kernel-module-mdio-netlink" 9RRECOMMENDS:${PN} = "kernel-module-mdio-netlink"
diff --git a/meta-networking/recipes-support/ndisc6/ndisc6/0001-Remove-use-of-variables-indicating-buildtime-informa.patch b/meta-networking/recipes-support/ndisc6/ndisc6/0001-Remove-use-of-variables-indicating-buildtime-informa.patch
new file mode 100644
index 000000000..7bfb17bf0
--- /dev/null
+++ b/meta-networking/recipes-support/ndisc6/ndisc6/0001-Remove-use-of-variables-indicating-buildtime-informa.patch
@@ -0,0 +1,85 @@
1From 7b3e78cf0348ea737609a2ace07c7c55aae36bcb Mon Sep 17 00:00:00 2001
2From: Santiago Vila <sanvila@debian.org>
3Date: Wed, 9 Oct 2024 22:05:09 -0700
4Subject: [PATCH] Remove use of variables indicating buildtime information
5
6We should not really care about the build date or the build host
7
8Sourced From: https://salsa.debian.org/debian/ndisc6/-/blob/master/debian/patches/reproducible-build.patch?ref_type=heads
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 rdnss/rdnssd.c | 2 --
14 src/addrinfo.c | 2 --
15 src/ndisc.c | 2 --
16 src/tcpspray.c | 2 --
17 src/traceroute.c | 2 --
18 5 files changed, 10 deletions(-)
19
20diff --git a/rdnss/rdnssd.c b/rdnss/rdnssd.c
21index b87edb2..7201525 100644
22--- a/rdnss/rdnssd.c
23+++ b/rdnss/rdnssd.c
24@@ -741,8 +741,6 @@ version (void)
25 {
26 printf (_("rdnssd: IPv6 Recursive DNS Server discovery Daemon %s (%s)\n"),
27 VERSION, "$Rev$");
28- printf (_(" built %s on %s\n"), __DATE__, PACKAGE_BUILD_HOSTNAME);
29- printf (_("Configured with: %s\n"), PACKAGE_CONFIGURE_INVOCATION);
30 puts (_("Written by Pierre Ynard and Remi Denis-Courmont\n"));
31
32 printf (_("Copyright (C) %u-%u Pierre Ynard, Remi Denis-Courmont\n"),
33diff --git a/src/addrinfo.c b/src/addrinfo.c
34index cd73722..6316abd 100644
35--- a/src/addrinfo.c
36+++ b/src/addrinfo.c
37@@ -148,8 +148,6 @@ static int quick_usage (const char *path)
38 static int version (void)
39 {
40 printf (_("addrinfo %s (%s)\n"), VERSION, "$Rev$");
41- printf (_(" built %s on %s\n"), __DATE__, PACKAGE_BUILD_HOSTNAME);
42- printf (_("Configured with: %s\n"), PACKAGE_CONFIGURE_INVOCATION);
43 puts (_("Written by Remi Denis-Courmont\n"));
44
45 printf (_("Copyright (C) %u-%u Remi Denis-Courmont\n"), 2002, 2007);
46diff --git a/src/ndisc.c b/src/ndisc.c
47index b190b18..6e222a0 100644
48--- a/src/ndisc.c
49+++ b/src/ndisc.c
50@@ -920,9 +920,7 @@ version (void)
51 {
52 printf (_(
53 "ndisc6: IPv6 Neighbor/Router Discovery userland tool %s (%s)\n"), VERSION, "$Rev$");
54- printf (_(" built %s on %s\n"), __DATE__, PACKAGE_BUILD_HOSTNAME);
55
56- printf (_("Configured with: %s\n"), PACKAGE_CONFIGURE_INVOCATION);
57 puts (_("Written by Remi Denis-Courmont\n"));
58
59 printf (_("Copyright (C) %u-%u Remi Denis-Courmont\n"), 2004, 2007);
60diff --git a/src/tcpspray.c b/src/tcpspray.c
61index 39d8939..6347795 100644
62--- a/src/tcpspray.c
63+++ b/src/tcpspray.c
64@@ -302,8 +302,6 @@ version (void)
65 {
66 printf (_(
67 "tcpspray6: TCP/IP bandwidth tester %s (%s)\n"), VERSION, "$Rev$");
68- printf (_(" built %s on %s\n"), __DATE__, PACKAGE_BUILD_HOSTNAME);
69- printf (_("Configured with: %s\n"), PACKAGE_CONFIGURE_INVOCATION);
70 puts (_("Written by Remi Denis-Courmont\n"));
71
72 printf (_("Copyright (C) %u-%u Remi Denis-Courmont\n"), 2005, 2007);
73diff --git a/src/traceroute.c b/src/traceroute.c
74index 489bc55..604b6af 100644
75--- a/src/traceroute.c
76+++ b/src/traceroute.c
77@@ -1251,8 +1251,6 @@ version (void)
78 {
79 printf (_(
80 "traceroute6: TCP & UDP IPv6 traceroute tool %s (%s)\n"), VERSION, "$Rev$");
81- printf (_(" built %s on %s\n"), __DATE__, PACKAGE_BUILD_HOSTNAME);
82- printf (_("Configured with: %s\n"), PACKAGE_CONFIGURE_INVOCATION);
83 puts (_("Written by Remi Denis-Courmont\n"));
84
85 printf (_("Copyright (C) %u-%u Remi Denis-Courmont\n"), 2005, 2007);
diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb
index fb00b8351..21579d64c 100644
--- a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb
+++ b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
8SRCREV = "92e5d1cf6547fe40316b2a6ca2f7b8195ae0cbe5" 8SRCREV = "92e5d1cf6547fe40316b2a6ca2f7b8195ae0cbe5"
9SRC_URI = "git://git.remlab.net/git/ndisc6.git;protocol=http;branch=master \ 9SRC_URI = "git://git.remlab.net/git/ndisc6.git;protocol=http;branch=master \
10 file://0001-autogen-Do-not-symlink-gettext.h-from-build-host.patch \ 10 file://0001-autogen-Do-not-symlink-gettext.h-from-build-host.patch \
11 file://0001-Remove-use-of-variables-indicating-buildtime-informa.patch \
11 " 12 "
12 13
13S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.4.5.bb b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.5.0.bb
index 217829193..d44709a64 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.4.5.bb
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.5.0.bb
@@ -25,7 +25,7 @@ LICENSE:modules/freebsd/vmxnet = "GPL-2.0-only"
25LICENSE:modules/linux = "GPL-2.0-only" 25LICENSE:modules/linux = "GPL-2.0-only"
26LICENSE:modules/solaris = "CDDL-1.0" 26LICENSE:modules/solaris = "CDDL-1.0"
27 27
28SRC_URI = "git://github.com/vmware/open-vm-tools.git;protocol=https;branch=stable-12.4.x \ 28SRC_URI = "git://github.com/vmware/open-vm-tools.git;protocol=https;branch=stable-12.5.x \
29 file://tools.conf \ 29 file://tools.conf \
30 file://vmtoolsd.service \ 30 file://vmtoolsd.service \
31 file://vmtoolsd.init \ 31 file://vmtoolsd.init \
@@ -50,7 +50,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "stable-(?P<pver>\d+(\.\d+)+)"
50SRC_URI:append:libc-musl = " file://0001-Add-resolv_compat.h-for-musl-builds.patch;patchdir=.. \ 50SRC_URI:append:libc-musl = " file://0001-Add-resolv_compat.h-for-musl-builds.patch;patchdir=.. \
51" 51"
52 52
53SRCREV = "9b94132f54fbed0b86dce04ff4402d1d8fd059c3" 53SRCREV = "f2ca37ef3510543172657b82493d1eceefa9a134"
54 54
55S = "${WORKDIR}/git/open-vm-tools" 55S = "${WORKDIR}/git/open-vm-tools"
56 56
diff --git a/meta-networking/recipes-support/stunnel/stunnel/fix-openssl-no-des.patch b/meta-networking/recipes-support/stunnel/stunnel/fix-openssl-no-des.patch
index 82d355101..8c4ca55fb 100644
--- a/meta-networking/recipes-support/stunnel/stunnel/fix-openssl-no-des.patch
+++ b/meta-networking/recipes-support/stunnel/stunnel/fix-openssl-no-des.patch
@@ -1,4 +1,4 @@
1From 7ff4eba20b5c4fc7365e5ee0dfb775ed29bdd5ce Mon Sep 17 00:00:00 2001 1From c815368a3e41dd3f639eb8fd82d21bc0bab55d1e Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com> 2From: Kai Kang <kai.kang@windriver.com>
3Date: Wed, 1 Nov 2017 09:23:41 -0400 3Date: Wed, 1 Nov 2017 09:23:41 -0400
4Subject: [PATCH] stunnel: fix compile error when openssl disable des support 4Subject: [PATCH] stunnel: fix compile error when openssl disable des support
@@ -17,10 +17,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
17 2 files changed, 5 insertions(+), 3 deletions(-) 17 2 files changed, 5 insertions(+), 3 deletions(-)
18 18
19diff --git a/src/common.h b/src/common.h 19diff --git a/src/common.h b/src/common.h
20index 2b4869f..180d31a 100644 20index f112cf9..8d4be01 100644
21--- a/src/common.h 21--- a/src/common.h
22+++ b/src/common.h 22+++ b/src/common.h
23@@ -492,7 +492,9 @@ extern char *sys_errlist[]; 23@@ -496,7 +496,9 @@ extern char *sys_errlist[];
24 #ifndef OPENSSL_NO_MD4 24 #ifndef OPENSSL_NO_MD4
25 #include <openssl/md4.h> 25 #include <openssl/md4.h>
26 #endif /* !defined(OPENSSL_NO_MD4) */ 26 #endif /* !defined(OPENSSL_NO_MD4) */
@@ -31,19 +31,19 @@ index 2b4869f..180d31a 100644
31 #include <openssl/dh.h> 31 #include <openssl/dh.h>
32 #if OPENSSL_VERSION_NUMBER<0x10100000L 32 #if OPENSSL_VERSION_NUMBER<0x10100000L
33diff --git a/src/protocol.c b/src/protocol.c 33diff --git a/src/protocol.c b/src/protocol.c
34index cfe6d3b..3936aea 100644 34index c8c65ea..b071b06 100644
35--- a/src/protocol.c 35--- a/src/protocol.c
36+++ b/src/protocol.c 36+++ b/src/protocol.c
37@@ -81,7 +81,7 @@ NOEXPORT void ldap_client_middle(CLI *); 37@@ -82,7 +82,7 @@ NOEXPORT void ldap_client_middle(CLI *);
38
39 NOEXPORT void connect_server_early(CLI *); 38 NOEXPORT void connect_server_early(CLI *);
39 NOEXPORT const char *connect_client_init(SERVICE_OPTIONS *);
40 NOEXPORT void connect_client_middle(CLI *); 40 NOEXPORT void connect_client_middle(CLI *);
41-#ifndef OPENSSL_NO_MD4 41-#ifndef OPENSSL_NO_MD4
42+#if !defined(OPENSSL_NO_MD4) && !defined(OPENSSL_NO_DES) 42+#if !defined(OPENSSL_NO_MD4) && !defined(OPENSSL_NO_DES)
43 NOEXPORT void ntlm(CLI *); 43 NOEXPORT void ntlm(CLI *);
44 NOEXPORT char *ntlm1(void); 44 NOEXPORT char *ntlm1(void);
45 NOEXPORT char *ntlm3(char *, char *, char *, char *); 45 NOEXPORT char *ntlm3(char *, char *, char *, char *);
46@@ -1331,7 +1331,7 @@ NOEXPORT void connect_client_middle(CLI *c) { 46@@ -1334,7 +1334,7 @@ NOEXPORT void connect_client_middle(CLI *c) {
47 fd_printf(c, c->remote_fd.fd, "Host: %s", c->opt->protocol_host); 47 fd_printf(c, c->remote_fd.fd, "Host: %s", c->opt->protocol_host);
48 if(c->opt->protocol_username && c->opt->protocol_password) { 48 if(c->opt->protocol_username && c->opt->protocol_password) {
49 if(!strcasecmp(c->opt->protocol_authentication, "ntlm")) { 49 if(!strcasecmp(c->opt->protocol_authentication, "ntlm")) {
@@ -52,7 +52,7 @@ index cfe6d3b..3936aea 100644
52 ntlm(c); 52 ntlm(c);
53 #else 53 #else
54 s_log(LOG_ERR, "NTLM authentication is not available"); 54 s_log(LOG_ERR, "NTLM authentication is not available");
55@@ -1374,7 +1374,7 @@ NOEXPORT void connect_client_middle(CLI *c) { 55@@ -1377,7 +1377,7 @@ NOEXPORT void connect_client_middle(CLI *c) {
56 str_free(line); 56 str_free(line);
57 } 57 }
58 58
@@ -61,6 +61,3 @@ index cfe6d3b..3936aea 100644
61 61
62 /* 62 /*
63 * NTLM code is based on the following documentation: 63 * NTLM code is based on the following documentation:
64--
652.34.1
66
diff --git a/meta-networking/recipes-support/stunnel/stunnel_5.72.bb b/meta-networking/recipes-support/stunnel/stunnel_5.73.bb
index 6d21027a1..e13b7871c 100644
--- a/meta-networking/recipes-support/stunnel/stunnel_5.72.bb
+++ b/meta-networking/recipes-support/stunnel/stunnel_5.73.bb
@@ -11,7 +11,7 @@ SRC_URI = "https://stunnel.org/archive/5.x/${BP}.tar.gz \
11 file://fix-openssl-no-des.patch \ 11 file://fix-openssl-no-des.patch \
12" 12"
13 13
14SRC_URI[sha256sum] = "3d532941281ae353319735144e4adb9ae489a10b7e309c58a48157f08f42e949" 14SRC_URI[sha256sum] = "bc917c3bcd943a4d632360c067977a31e85e385f5f4845f69749bce88183cb38"
15 15
16inherit autotools bash-completion pkgconfig 16inherit autotools bash-completion pkgconfig
17 17
diff --git a/meta-networking/recipes-support/tcpdump/tcpslice_1.7.bb b/meta-networking/recipes-support/tcpdump/tcpslice_1.8.bb
index 93197dc3b..3d61160bb 100644
--- a/meta-networking/recipes-support/tcpdump/tcpslice_1.7.bb
+++ b/meta-networking/recipes-support/tcpdump/tcpslice_1.8.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://tcpslice.c;endline=20;md5=99519e2e5234d1662a4ce16baa6
8 8
9SRC_URI = "http://www.tcpdump.org/release/${BP}.tar.gz \ 9SRC_URI = "http://www.tcpdump.org/release/${BP}.tar.gz \
10 " 10 "
11SRC_URI[sha256sum] = "e513f0710c4ab45ec627e5df6f7b80d12e488146e1bd500c92247e20ca608903" 11SRC_URI[sha256sum] = "082967d6bf793499d3d655cea2149e07c0da97287f1877a6eab88d17cb703d0d"
12 12
13UPSTREAM_CHECK_REGEX = "tcpslice-(?P<pver>\d+(\.\d+)+)\.tar" 13UPSTREAM_CHECK_REGEX = "tcpslice-(?P<pver>\d+(\.\d+)+)\.tar"
14 14
diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.1.5.bb b/meta-networking/recipes-support/traceroute/traceroute_2.1.6.bb
index 862cba91e..b72c37540 100644
--- a/meta-networking/recipes-support/traceroute/traceroute_2.1.5.bb
+++ b/meta-networking/recipes-support/traceroute/traceroute_2.1.6.bb
@@ -17,7 +17,7 @@ UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/traceroute/files/tracerou
17 17
18SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/${BP}/${BP}.tar.gz \ 18SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/${BP}/${BP}.tar.gz \
19" 19"
20SRC_URI[sha256sum] = "9c6c260d96eaab51e3ce461b0a84fe87123ebc6dd6c9a59fab803f95b35a859e" 20SRC_URI[sha256sum] = "9ccef9cdb9d7a98ff7fbf93f79ebd0e48881664b525c4b232a0fcec7dcb9db5e"
21 21
22EXTRA_OEMAKE = "VPATH=${STAGING_LIBDIR}" 22EXTRA_OEMAKE = "VPATH=${STAGING_LIBDIR}"
23LTOEXTRA += "-flto-partition=none" 23LTOEXTRA += "-flto-partition=none"
diff --git a/meta-networking/recipes-support/unbound/unbound_1.21.0.bb b/meta-networking/recipes-support/unbound/unbound_1.22.0.bb
index 8c042dc5f..2f0c92dd9 100644
--- a/meta-networking/recipes-support/unbound/unbound_1.21.0.bb
+++ b/meta-networking/recipes-support/unbound/unbound_1.22.0.bb
@@ -12,7 +12,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5308494bc0590c0cb036afd781d78f06"
12SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=https;branch=master \ 12SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=https;branch=master \
13 file://run-ptest \ 13 file://run-ptest \
14 " 14 "
15SRCREV = "79e4c578518886a32475cfbb0de383ff3a905033" 15
16# 17 commits after 1.22.0 tag:
17# https://github.com/NLnetLabs/unbound/compare/release-1.22.0...7985d17b57d25be262de56c29a43ae4b61c1b896
18# to include fix for occasional build failure:
19# https://github.com/NLnetLabs/unbound/commit/46cfbf313d812a6e50614a691e162b171dc91d7b
20PV .= "+git"
21SRCREV = "7985d17b57d25be262de56c29a43ae4b61c1b896"
16 22
17inherit autotools pkgconfig systemd update-rc.d ptest 23inherit autotools pkgconfig systemd update-rc.d ptest
18 24
@@ -22,7 +28,7 @@ RDEPENDS:${PN} = "bash openssl-bin daemonize"
22S = "${WORKDIR}/git" 28S = "${WORKDIR}/git"
23 29
24EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \ 30EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \
25 --with-ssl=${STAGING_EXECPREFIXDIR} \ 31 --disable-rpath --with-ssl=${STAGING_EXECPREFIXDIR} \
26 --enable-largefile" 32 --enable-largefile"
27 33
28PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 34PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
diff --git a/meta-networking/recipes-support/wireshark/wireshark_4.2.7.bb b/meta-networking/recipes-support/wireshark/wireshark_4.2.7.bb
index b80710683..3fa293d0c 100644
--- a/meta-networking/recipes-support/wireshark/wireshark_4.2.7.bb
+++ b/meta-networking/recipes-support/wireshark/wireshark_4.2.7.bb
@@ -42,7 +42,7 @@ PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF"
42PACKAGECONFIG[sbc] = "-DENABLE_SBC=ON,-DENABLE_SBC=OFF, sbc" 42PACKAGECONFIG[sbc] = "-DENABLE_SBC=ON,-DENABLE_SBC=OFF, sbc"
43PACKAGECONFIG[libssh] = "-DENABLE_LIBSSH=ON,-DENABLE_LIBSSH=OFF, libssh2" 43PACKAGECONFIG[libssh] = "-DENABLE_LIBSSH=ON,-DENABLE_LIBSSH=OFF, libssh2"
44PACKAGECONFIG[lz4] = "-DENABLE_LZ4=ON,-DENABLE_LZ4=OFF, lz4" 44PACKAGECONFIG[lz4] = "-DENABLE_LZ4=ON,-DENABLE_LZ4=OFF, lz4"
45PACKAGECONFIG[zstd] = "-DENABLE_STTD=ON,-DENABLE_ZSTD=OFF, zstd" 45PACKAGECONFIG[zstd] = "-DENABLE_ZSTD=ON,-DENABLE_ZSTD=OFF, zstd"
46PACKAGECONFIG[nghttp2] = "-DENABLE_NGHTTP2=ON,-DENABLE_NGHTTP2=OFF, nghttp2" 46PACKAGECONFIG[nghttp2] = "-DENABLE_NGHTTP2=ON,-DENABLE_NGHTTP2=OFF, nghttp2"
47 47
48# these next two options require addional layers 48# these next two options require addional layers
diff --git a/meta-oe/classes/fitimage.bbclass b/meta-oe/classes/fitimage.bbclass
new file mode 100644
index 000000000..ebd034883
--- /dev/null
+++ b/meta-oe/classes/fitimage.bbclass
@@ -0,0 +1,530 @@
1# SPDX-License-Identifier: MIT
2#
3# Copyright PHYTEC Messtechnik GmbH
4# Copyright (C) 2024 Pengutronix, <yocto@pengutronix.de>
5#
6# Class for creating (signed) FIT images
7# Description:
8#
9# You have to define the 'images' to put in the FIT image in your recipe file
10# following this example:
11#
12# FITIMAGE_IMAGES ?= "kernel fdt fdto setup ramdisk bootscript"
13#
14# FITIMAGE_IMAGE_kernel ?= "virtual/kernel"
15# FITIMAGE_IMAGE_kernel[type] ?= "kernel"
16#
17# FITIMAGE_IMAGE_fdt ?= "virtual/dtb" # or "virtual/kernel"
18# FITIMAGE_IMAGE_fdt[type] ?= "fdt"
19# #FITIMAGE_IMAGE_fdt[file] ?= "hw-name.dtb"
20#
21# FITIMAGE_IMAGE_fdto ?= "virtual/kernel"
22# FITIMAGE_IMAGE_fdto[type] ?= "fdto"
23# FITIMAGE_IMAGE_fdto[file] ?= <list of all dtbo files from KERNEL_DEVICETREE>
24#
25# Add a devicetree created on-thy-fly of a base dtb and serveral dtbo's
26# FITIMAGE_IMAGE_fdtapply ?= "virtual/kernel"
27# FITIMAGE_IMAGE_fdtapply[type] ?= "fdtapply"
28# FITIMAGE_IMAGE_fdtapply[file] ?= "base.dtb overlay-1.dtbo overlay-2.dtbo"
29# FITIMAGE_IMAGE_fdtapply[name] ?= "<name for new generated fdt>"
30#
31# FITIMAGE_IMAGE_ramdisk ?= "core-image-minimal"
32# FITIMAGE_IMAGE_ramdisk[type] ?= "ramdisk"
33# FITIMAGE_IMAGE_ramdisk[fstype] ?= "cpio.gz"
34#
35# FITIMAGE_IMAGE_bootscript ?= "bootscript"
36# FITIMAGE_IMAGE_bootscript[type] ?= "bootscript"
37# FITIMAGE_IMAGE_bootscript[file] ?= "boot.scr"
38#
39# Valid options for the [type] varflag are: "kernel", "fdt", "fdto", "fdtapply", "ramdisk", "bootscript".
40#
41# To enable signing, set
42#
43# FITIMAGE_SIGN = "1"
44#
45# and configure FITIMAGE_SIGN_KEYDIR (and FITIMAGE_SIGN_KEYNAME) according to
46# your needs.
47#
48# For signing via PKCS#11 URIs provided by the meta-oe signing.bbclass, add:
49#
50# inherit signing
51#
52# FITIMAGE_SIGNING_KEY_ROLE = "fit"
53#
54# do_fitimage:prepend() {
55# signing_prepare
56# signing_use_role "${FITIMAGE_SIGNING_KEY_ROLE}"
57# }
58#
59# FITIMAGE_SIGN = "1"
60# FITIMAGE_MKIMAGE_EXTRA_ARGS = "--engine pkcs11"
61# FITIMAGE_SIGN_KEYDIR = "${PKCS11_URI}"
62
63
64LICENSE ?= "MIT"
65
66inherit deploy kernel-artifact-names image-artifact-names kernel-arch nopackages
67
68do_patch[noexec] = "1"
69do_compile[noexec] = "1"
70do_install[noexec] = "1"
71deltask do_populate_sysroot
72
73INHIBIT_DEFAULT_DEPS = "1"
74
75DEPENDS = "u-boot-mkimage-native dtc-native"
76
77FITIMAGE_SIGN ?= "0"
78FITIMAGE_SIGN[doc] = "Enable FIT image signing"
79FITIMAGE_SIGN_KEYDIR ?= ""
80FITIMAGE_SIGN_KEYDIR[doc] = "Key directory or pkcs#11 URI to use for signing configuration"
81FITIMAGE_MKIMAGE_EXTRA_ARGS[doc] = "Extra arguemnts to pass to uboot-mkimage call"
82FITIMAGE_HASH_ALGO ?= "sha256"
83FITIMAGE_HASH_ALGO[doc] = "Hash algorithm to use"
84FITIMAGE_ENCRYPT_ALGO ?= "rsa2048"
85FITIMAGE_ENCRYPT_ALGO[doc] = "Signature algorithm to use"
86FITIMAGE_CONFIG_PREFIX ?= "conf-"
87FITIMAGE_CONFIG_PREFIX[doc] = "Prefix to use for FIT configuration node name"
88
89FITIMAGE_LOADADDRESS ??= ""
90FITIMAGE_ENTRYPOINT ??= ""
91FITIMAGE_DTB_LOADADDRESS ??= ""
92FITIMAGE_DTB_OVERLAY_LOADADDRESS ??= ""
93FITIMAGE_RD_LOADADDRESS ??= ""
94FITIMAGE_RD_ENTRYPOINT ??= ""
95
96PACKAGE_ARCH = "${MACHINE_ARCH}"
97
98# Create dependency list from images
99python __anonymous() {
100 for image in (d.getVar('FITIMAGE_IMAGES') or "").split():
101 imageflags = d.getVarFlags('FITIMAGE_IMAGE_%s' % image, expand=['type', 'depends']) or {}
102 imgtype = imageflags.get('type')
103 if not imgtype:
104 bb.debug(1, "No [type] given for image '%s', defaulting to 'kernel'" % image)
105 imgtype = 'kernel'
106 recipe = d.getVar('FITIMAGE_IMAGE_%s' % image)
107
108 if not recipe:
109 bb.error("No recipe set for image '%s'. Specify via 'FITIMAGE_IMAGE_%s = \"<recipe-name>\"'" % (recipe, image))
110 return
111
112 d.appendVarFlag('do_unpack', 'vardeps', ' FITIMAGE_IMAGE_%s' % image)
113 depends = imageflags.get('depends')
114 if depends:
115 d.appendVarFlag('do_unpack', 'depends', ' ' + depends)
116 continue
117
118 if imgtype == 'ramdisk':
119 d.appendVarFlag('do_unpack', 'depends', ' ' + recipe + ':do_image_complete')
120 elif 'fdt' in imgtype:
121 d.appendVarFlag('do_unpack', 'depends', ' ' + recipe + ':do_populate_sysroot')
122 d.appendVarFlag('do_unpack', 'depends', ' ' + recipe + ':do_deploy')
123 else:
124 d.appendVarFlag('do_unpack', 'depends', ' ' + recipe + ':do_deploy')
125
126 if 'fdt' in imgtype and d.getVar('PREFERRED_PROVIDER_virtual/dtb'):
127 d.setVar('EXTERNAL_KERNEL_DEVICETREE', '${RECIPE_SYSROOT}/boot/devicetree')
128}
129
130S = "${WORKDIR}/sources"
131UNPACKDIR = "${S}"
132B = "${WORKDIR}/build"
133
134#
135# Emit the fitImage ITS header
136#
137def fitimage_emit_fit_header(d, fd):
138 fd.write('/dts-v1/;\n\n/ {\n')
139 fd.write(d.expand('\tdescription = "fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}";\n'))
140 fd.write('\t#address-cells = <1>;\n')
141
142#
143# Emit the fitImage ITS footer
144#
145def fitimage_emit_fit_footer(d, fd):
146 fd.write('};\n')
147
148#
149# Emit the fitImage section
150#
151def fitimage_emit_section_start(d, fd, section):
152 fd.write(f'\t{section} {{\n')
153
154#
155# Emit the fitImage section end
156#
157def fitimage_emit_section_end(d, fd):
158 fd.write('\t};\n')
159
160def fitimage_emit_section_kernel(d, fd, imgpath, imgsource, imgcomp):
161 kernelcount = 1
162 kernel_csum = d.getVar("FITIMAGE_HASH_ALGO")
163 arch = d.getVar("ARCH")
164 loadaddr = d.getVar("FITIMAGE_LOADADDRESS")
165 entryaddr = d.getVar("FITIMAGE_ENTRYPOINT")
166
167 bb.note(f"Adding kernel-{kernelcount} section to ITS file")
168
169 fd.write(f'\t\tkernel-{kernelcount} {{\n')
170 fd.write('\t\t\tdescription = "Linux kernel";\n')
171 fd.write(f'\t\t\tdata = /incbin/("{imgpath}/{imgsource}");\n')
172 fd.write('\t\t\ttype = "kernel";\n')
173 fd.write(f'\t\t\tarch = "{arch}";\n')
174 fd.write('\t\t\tos = "linux";\n')
175 fd.write(f'\t\t\tcompression = "{imgcomp}";\n')
176 if (loadaddr):
177 fd.write(f'\t\t\tload = <{loadaddr}>;\n')
178 if (entryaddr):
179 fd.write(f'\t\t\tentry = <{entryaddr}>;\n')
180 fd.write('\t\t\thash-1 {\n')
181 fd.write(f'\t\t\t\talgo = "{kernel_csum}";\n')
182 fd.write('\t\t\t};\n')
183 fd.write('\t\t};\n')
184
185#
186# Emit the fitImage ITS DTB section
187#
188def _fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path, loadaddr, desc):
189 dtb_csum = d.getVar("FITIMAGE_HASH_ALGO")
190 arch = d.getVar("ARCH")
191
192 bb.note(f"Adding fdt-{dtb_file} section to ITS file")
193
194 fd.write(f'\t\tfdt-{dtb_file} {{\n')
195 fd.write(f'\t\t\tdescription = "{desc}";\n')
196 fd.write(f'\t\t\tdata = /incbin/("{dtb_path}/{dtb_file}");\n')
197 fd.write('\t\t\ttype = "flat_dt";\n')
198 fd.write(f'\t\t\tarch = "{arch}";\n')
199 fd.write('\t\t\tcompression = "none";\n')
200 if loadaddr:
201 fd.write(f'\t\t\tload = <{loadaddr}>;\n')
202 fd.write('\t\t\thash-1 {\n')
203 fd.write(f'\t\t\t\talgo = "{dtb_csum}";\n')
204 fd.write('\t\t\t};\n')
205 fd.write('\t\t};\n')
206
207
208def fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path):
209 loadaddr = d.getVar("FITIMAGE_DTB_LOADADDRESS")
210
211 _fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path, loadaddr, "Flattened Device Tree blob")
212
213#
214# Emit the fitImage ITS DTB overlay section
215#
216def fitimage_emit_section_dtb_overlay(d, fd, dtb_file, dtb_path):
217 loadaddr = d.getVar("FITIMAGE_DTB_OVERLAY_LOADADDRESS")
218
219 _fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path, loadaddr, "Flattened Device Tree Overlay blob")
220
221
222#
223# Emit the fitImage ITS ramdisk section
224#
225def fitimage_emit_section_ramdisk(d, fd, img_file, img_path):
226 ramdisk_count = "1"
227 ramdisk_csum = d.getVar("FITIMAGE_HASH_ALGO")
228 arch = d.getVar("ARCH")
229 loadaddr = d.getVar("FITIMAGE_RD_LOADADDRESS")
230 entryaddr = d.getVar("FITIMAGE_RD_ENTRYPOINT")
231
232 bb.note(f"Adding ramdisk-{ramdisk_count} section to ITS file")
233
234 fd.write(f'\t\tramdisk-{ramdisk_count} {{\n')
235 fd.write(f'\t\t\tdescription = "{img_file}";\n')
236 fd.write(f'\t\t\tdata = /incbin/("{img_path}/{img_file}");\n')
237 fd.write('\t\t\ttype = "ramdisk";\n')
238 fd.write(f'\t\t\tarch = "{arch}";\n')
239 fd.write('\t\t\tos = "linux";\n')
240 fd.write('\t\t\tcompression = "none";\n')
241 if (loadaddr):
242 fd.write(f'\t\t\tload = <{loadaddr}>;\n')
243 if (entryaddr):
244 fd.write(f'\t\t\tentry = <{entryaddr}>;\n')
245 fd.write('\t\t\thash-1 {\n')
246 fd.write(f'\t\t\t\talgo = "{ramdisk_csum}";\n')
247 fd.write('\t\t\t};\n')
248 fd.write('\t\t};\n')
249
250def fitimage_emit_section_bootscript(d, fd, imgpath, imgsource):
251 hash_algo = d.getVar("FITIMAGE_HASH_ALGO")
252 arch = d.getVar("ARCH")
253
254 bb.note(f"Adding bootscr-{imgsource} section to ITS file")
255
256 fd.write(f'\t\tbootscr-{imgsource} {{\n')
257 fd.write('\t\t\tdescription = "U-boot script";\n')
258 fd.write(f'\t\t\tdata = /incbin/("{imgpath}/{imgsource}");\n')
259 fd.write('\t\t\ttype = "script";\n')
260 fd.write(f'\t\t\tarch = "{arch}";\n')
261 fd.write('\t\t\tos = "linux";\n')
262 fd.write('\t\t\tcompression = "none";\n')
263 fd.write('\t\t\thash-1 {\n')
264 fd.write(f'\t\t\t\talgo = "{hash_algo}";\n')
265 fd.write('\t\t\t};\n')
266 fd.write('\t\t};\n')
267
268def fitimage_emit_subsection_signature(d, fd, sign_images_list):
269 hash_algo = d.getVar("FITIMAGE_HASH_ALGO")
270 encrypt_algo = d.getVar("FITIMAGE_ENCRYPT_ALGO") or ""
271 conf_sign_keyname = d.getVar("FITIMAGE_SIGN_KEYNAME")
272 signer_name = d.getVar("FITIMAGE_SIGNER")
273 signer_version = d.getVar("FITIMAGE_SIGNER_VERSION")
274 sign_images = ", ".join(f'"{s}"' for s in sign_images_list)
275
276 fd.write('\t\t\tsignature-1 {\n')
277 fd.write(f'\t\t\t\talgo = "{hash_algo},{encrypt_algo}";\n')
278 if conf_sign_keyname:
279 fd.write(f'\t\t\t\tkey-name-hint = {conf_sign_keyname}";\n')
280 fd.write(f'\t\t\t\tsign-images = {sign_images};\n')
281 fd.write(f'\t\t\t\tsigner-name = "{signer_name}";\n')
282 fd.write(f'\t\t\t\tsigner-version = "{signer_version}";\n')
283 fd.write('\t\t\t};\n')
284
285#
286# Emit the fitImage ITS configuration section
287#
288def fitimage_emit_section_config(d, fd, dtb, kernelcount, ramdiskcount, setupcount, bootscriptid, compatible, dtbcount):
289 sign = d.getVar("FITIMAGE_SIGN")
290 conf_default = None
291 conf_prefix = d.getVar('FITIMAGE_CONFIG_PREFIX', True) or ""
292
293 bb.note(f"Adding {dtb} section to ITS file")
294
295 conf_desc="Linux kernel"
296 if dtb:
297 conf_desc += ", FDT blob"
298 if ramdiskcount:
299 conf_desc += ", ramdisk"
300 if setupcount:
301 conf_desc += ", setup"
302 if bootscriptid:
303 conf_desc += ", u-boot script"
304 if dtbcount == 1:
305 conf_default = d.getVar('FITIMAGE_DEFAULT_CONFIG', True) or f'{conf_prefix}{dtb}'
306
307 if conf_default:
308 fd.write(f'\t\tdefault = "{conf_default}";\n')
309 fd.write(f'\t\t{conf_prefix}{dtb} {{\n')
310 fd.write(f'\t\t\tdescription = "{dtbcount} {conf_desc}";\n')
311 if kernelcount:
312 fd.write('\t\t\tkernel = "kernel-1";\n')
313 fd.write(f'\t\t\tfdt = "fdt-{dtb}";\n')
314 if ramdiskcount:
315 fd.write(f'\t\t\tramdisk = "ramdisk-{ramdiskcount}";\n')
316 if bootscriptid:
317 fd.write(f'\t\t\tbootscr = "bootscr-{bootscriptid}";\n')
318 if compatible:
319 fd.write(f'\t\t\tcompatible = "{compatible}";\n')
320
321 if sign == "1":
322 sign_images = ["kernel"]
323 if dtb:
324 sign_images.append("fdt")
325 if ramdiskcount:
326 sign_images.append("ramdisk")
327 if setupcount:
328 sign_images.append("setup")
329 if bootscriptid:
330 sign_images.append("bootscr")
331 fitimage_emit_subsection_signature(d, fd, sign_images)
332
333 fd.write('\t\t' + '};\n')
334
335#
336# Emits a device tree overlay config section
337#
338def fitimage_emit_section_config_fdto(d, fd, dtb, compatible):
339 sign = d.getVar("FITIMAGE_SIGN")
340 bb.note("Adding overlay config section to ITS file")
341
342 fd.write(f'\t\t{dtb} {{\n')
343 fd.write(f'\t\t\tdescription = "Device Tree Overlay";\n')
344 fd.write(f'\t\t\tfdt = "fdt-{dtb}";')
345 if compatible:
346 fd.write(f'\t\t\tcompatible = "{compatible}";')
347
348 if sign == "1":
349 sign_images = ["fdt"]
350 fitimage_emit_subsection_signature(d, fd, sign_images)
351
352 fd.write('\t\t' + '};\n')
353
354python write_manifest() {
355 machine = d.getVar('MACHINE')
356 kernelcount=1
357 DTBS = ""
358 DTBOS = ""
359 ramdiskcount = ""
360 setupcount = ""
361 bootscriptid = ""
362 compatible = ""
363
364 def get_dtbs(d, dtb_suffix):
365 sysroot = d.getVar('RECIPE_SYSROOT')
366 deploydir = d.getVar('DEPLOY_DIR_IMAGE')
367
368 dtbs = (d.getVar('KERNEL_DEVICETREE') or '').split()
369 dtbs = [os.path.basename(x) for x in dtbs if x.endswith(dtb_suffix)]
370 ext_dtbs = os.listdir(d.getVar('EXTERNAL_KERNEL_DEVICETREE')) if d.getVar('EXTERNAL_KERNEL_DEVICETREE') else []
371 ext_dtbs = [x for x in ext_dtbs if x.endswith(dtb_suffix)]
372
373 result = []
374 # Prefer BSP dts if BSP and kernel provide the same dts
375 for d in sorted(set(dtbs + ext_dtbs)):
376 dtbpath = f'{sysroot}/boot/devicetree/{d}' if d in ext_dtbs else f'{deploydir}/{d}'
377 result.append(dtbpath)
378
379 return " ".join(result)
380
381 with open('%s/manifest.its' % d.getVar('B'), 'w') as fd:
382 images = d.getVar('FITIMAGE_IMAGES')
383 if not images:
384 bb.warn("No images specified in FITIMAGE_IMAGES. Generated FIT image will be empty")
385
386 fitimage_emit_fit_header(d, fd)
387 fitimage_emit_section_start(d, fd, 'images')
388
389 for image in (images or "").split():
390 imageflags = d.getVarFlags('FITIMAGE_IMAGE_%s' % image, expand=['file', 'fstype', 'type', 'comp']) or {}
391 imgtype = imageflags.get('type', '')
392 if imgtype == 'kernel':
393 default = "%s-%s%s" % (d.getVar('KERNEL_IMAGETYPE'), machine, d.getVar('KERNEL_IMAGE_BIN_EXT'))
394 imgsource = imageflags.get('file', default)
395 imgcomp = imageflags.get('comp', 'none')
396 imgpath = d.getVar("DEPLOY_DIR_IMAGE")
397 fitimage_emit_section_kernel(d, fd, imgpath, imgsource, imgcomp)
398 elif imgtype == 'fdt':
399 default = get_dtbs(d, "dtb")
400 dtbfiles = imageflags.get('file', default)
401 if not dtbfiles:
402 bb.fatal(f"No dtb file found for image '{image}'. Set KERNEL_DEVICETREE, [file] varflag, or reference devicetree.bbclass-based recipe.")
403 for dtb in dtbfiles.split():
404 dtb_path, dtb_file = os.path.split(dtb)
405 DTBS += f" {dtb}"
406 fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path)
407 elif imgtype == 'fdto':
408 default = get_dtbs(d, "dtbo")
409 dtbofiles = imageflags.get('file', default)
410 if not dtbofiles:
411 bb.fatal(f"No dtbo file found for image '{image}'. Set KERNEL_DEVICETREE, [file] varflag, or reference devicetree.bbclass-based recipe.")
412 for dtb in dtbofiles.split():
413 dtb_path, dtb_file = os.path.split(dtb)
414 DTBOS = DTBOS + " " + dtb
415 fitimage_emit_section_dtb_overlay(d, fd, dtb_file, dtb_path)
416 elif imgtype == 'fdtapply':
417 import subprocess
418 dtbofiles = imageflags.get('file', None)
419 if not dtbofiles:
420 bb.fatal(f"No dtbo file found for image '{image}'. Set via [file] varflag.")
421 dtboutname = imageflags.get('name', None)
422 if not dtboutname:
423 bb.fatal(f"No dtb output name found for image '{image}'. Set via [name] varflag.")
424 dtbresult = "%s/%s" % (d.getVar('B'), dtboutname)
425 dtbcommand = ""
426 for dtb in dtbofiles.split():
427 dtb_path, dtb_file = os.path.split(dtb)
428 if not dtb_path:
429 dtb_path = d.getVar("DEPLOY_DIR_IMAGE")
430 if not dtbcommand:
431 if not dtb_file.endswith('.dtb'):
432 bb.fatal(f"fdtapply failed: Expected (non-overlay) .dtb file as first element, but got {dtb_file}")
433 dtbcommand = f"fdtoverlay -i {dtb_path}/{dtb_file} -o {dtbresult}"
434 else:
435 if not dtb_file.endswith('.dtbo'):
436 bb.fatal(f"fdtapply failed: Expected .dtbo file, but got {dtb_file}")
437 dtbcommand += f" {dtb_path}/{dtb_file}"
438 result = subprocess.run(dtbcommand, stderr=subprocess.PIPE, shell=True, text=True)
439 if result.returncode != 0:
440 bb.fatal(f"Running {dtbcommand} failed: {result.stderr}")
441 dtb_path, dtb_file = os.path.split(dtbresult)
442 DTBS += f" {dtbresult}"
443 fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path)
444 elif imgtype == 'ramdisk':
445 ramdiskcount = "1"
446 default_imgfstype = d.getVar('INITRAMFS_FSTYPES' or "").split()[0]
447 img_fstype = imageflags.get('fstype', default_imgfstype)
448 img_file = "%s%s.%s" % (d.getVar('FITIMAGE_IMAGE_%s' % image), d.getVar('IMAGE_MACHINE_SUFFIX'), img_fstype)
449 img_path = d.getVar("DEPLOY_DIR_IMAGE")
450 fitimage_emit_section_ramdisk(d, fd, img_file, img_path)
451 elif imgtype == 'bootscript':
452 if bootscriptid:
453 bb.fatal("Only a single boot script is supported (already set to: %s)" % bootscriptid)
454 imgsource = imageflags.get('file', None)
455 imgpath = d.getVar("DEPLOY_DIR_IMAGE")
456 bootscriptid = imgsource
457 fitimage_emit_section_bootscript(d, fd, imgpath, imgsource)
458 fitimage_emit_section_end(d, fd)
459 #
460 # Step 5: Prepare a configurations section
461 #
462 fitimage_emit_section_start(d, fd, 'configurations')
463 dtbcount = 1
464 for dtb in (DTBS or "").split():
465 import subprocess
466 try:
467 cmd = "fdtget -t s {} / compatible".format(dtb)
468 compatible = subprocess.check_output(cmd, shell=True, text=True).split()[0]
469 except subprocess.CalledProcessError:
470 bb.fatal("Failed to find root-node compatible string in (%s)" % dtb)
471
472 dtb_path, dtb_file = os.path.split(dtb)
473 fitimage_emit_section_config(d, fd, dtb_file, kernelcount, ramdiskcount, setupcount, bootscriptid, compatible, dtbcount)
474 dtbcount += 1
475 for dtb in (DTBOS or "").split():
476 import subprocess
477 try:
478 cmd = "fdtget -t s {} / compatible".format(dtb)
479 compatible = subprocess.check_output(cmd, shell=True, text=True).split()[0]
480 except subprocess.CalledProcessError:
481 bb.note("Failed to find root-node compatible string in (%s)" % dtb)
482 compatible = None
483
484 dtb_path, dtb_file = os.path.split(dtb)
485 fitimage_emit_section_config_fdto(d, fd, dtb_file, compatible)
486
487 fitimage_emit_section_end(d, fd)
488 fitimage_emit_fit_footer(d, fd)
489}
490
491do_configure[postfuncs] += "write_manifest"
492
493do_fitimage () {
494 if [ "${FITIMAGE_SIGN}" = "1" ]; then
495 uboot-mkimage ${FITIMAGE_MKIMAGE_EXTRA_ARGS} \
496 -k ${FITIMAGE_SIGN_KEYDIR} -r \
497 -f "${B}/manifest.its" \
498 "${B}/fitImage"
499 else
500 uboot-mkimage ${FITIMAGE_MKIMAGE_EXTRA_ARGS} \
501 -f "${B}/manifest.its" \
502 "${B}/fitImage"
503 fi
504}
505addtask fitimage after do_configure
506
507ITS_NAME ?= "${PN}-${KERNEL_ARTIFACT_NAME}"
508ITS_LINK_NAME ?= "${PN}-${KERNEL_ARTIFACT_LINK_NAME}"
509FITIMAGE_IMAGE_NAME ?= "fitImage-${PN}-${KERNEL_FIT_NAME}${KERNEL_FIT_BIN_EXT}"
510FITIMAGE_IMAGE_LINK_NAME ?= "fitImage-${PN}-${KERNEL_FIT_LINK_NAME}"
511
512SSTATE_SKIP_CREATION:task-deploy = '1'
513
514do_deploy() {
515 bbnote 'Copying fit-image.its source file...'
516 install -m 0644 ${B}/manifest.its ${DEPLOYDIR}/${ITS_NAME}.its
517
518 bbnote 'Copying all created fdt from type fdtapply'
519 for DTB_FILE in `find ${B} -maxdepth 1 -name *.dtb`; do
520 install -m 0644 ${DTB_FILE} ${DEPLOYDIR}/
521 done
522
523 bbnote 'Copying fitImage file...'
524 install -m 0644 ${B}/fitImage ${DEPLOYDIR}/${FITIMAGE_IMAGE_NAME}
525
526 cd ${DEPLOYDIR}
527 ln -sf ${ITS_NAME}.its ${ITS_LINK_NAME}.its
528 ln -sf ${FITIMAGE_IMAGE_NAME} ${FITIMAGE_IMAGE_LINK_NAME}
529}
530addtask deploy after do_fitimage before do_build
diff --git a/meta-oe/classes/panel-mipi-dbi.bbclass b/meta-oe/classes/panel-mipi-dbi.bbclass
new file mode 100644
index 000000000..7ceebc72e
--- /dev/null
+++ b/meta-oe/classes/panel-mipi-dbi.bbclass
@@ -0,0 +1,48 @@
1# SPDX-License-Identifier: MIT
2#
3# Copyright Pengutronix <yocto@pengutronix.de>
4#
5# Class to generate firmware files for use with the `panel-mipi-dbi` Linux
6# driver.
7#
8# The firmware source file contains a list of commands to send to the display
9# controller in order to initialize it:
10#
11# $ cat shineworld,lh133k.txt
12# command 0x11 # exit sleep mode
13# delay 120
14#
15# # Enable color inversion
16# command 0x21 # INVON
17# ...
18#
19# A recipe to compile such a command list into a firmware blob for use with
20# the `panel-mipi-dbi` driver looks something like this:
21#
22# $ cat panel-shineworld-lh133k.bb
23# inherit panel-mipi-dbi
24#
25# SRC_URI = "file://${PANEL_FIRMWARE}"
26#
27# PANEL_FIRMWARE = "shineworld,lh133k.txt"
28# ...
29
30DEPENDS = "panel-mipi-dbi-native"
31
32PANEL_FIRMWARE_BIN ?= "${@d.getVar('PANEL_FIRMWARE').removesuffix('.txt')}.bin"
33
34do_configure[noexec] = "1"
35
36do_compile () {
37 mipi-dbi-cmd \
38 "${B}/${PANEL_FIRMWARE_BIN}" \
39 "${UNPACKDIR}/${PANEL_FIRMWARE}"
40}
41
42do_install () {
43 install -m 0644 -D \
44 "${B}/${PANEL_FIRMWARE_BIN}" \
45 "${D}${nonarch_base_libdir}/firmware/${PANEL_FIRMWARE_BIN}"
46}
47
48FILES:${PN} = "${nonarch_base_libdir}/firmware/"
diff --git a/meta-oe/classes/signing.bbclass b/meta-oe/classes/signing.bbclass
index f52d861b7..8af7bbf8e 100644
--- a/meta-oe/classes/signing.bbclass
+++ b/meta-oe/classes/signing.bbclass
@@ -92,6 +92,11 @@ signing_pkcs11_tool() {
92} 92}
93 93
94signing_import_prepare() { 94signing_import_prepare() {
95 # the $PN is used as 'label' in the softhsm, which is a "CK_UTF8CHAR
96 # paddedLabel[32]" in softhsm2-util.cpp, so it must not be longer.
97 LEN=$(echo -n ${PN} | wc -c)
98 test $LEN -le 32 || bbfatal "PN must not have a length greater than 32 chars."
99
95 export _SIGNING_ENV_FILE_="${B}/meta-signing.env" 100 export _SIGNING_ENV_FILE_="${B}/meta-signing.env"
96 rm -f "$_SIGNING_ENV_FILE_" 101 rm -f "$_SIGNING_ENV_FILE_"
97 102
@@ -129,6 +134,36 @@ signing_import_cert_from_der() {
129 signing_pkcs11_tool --type cert --write-object "${der}" --label "${role}" 134 signing_pkcs11_tool --type cert --write-object "${der}" --label "${role}"
130} 135}
131 136
137# signing_import_cert_chain_from_pem <role> <pem>
138#
139
140# Import a certificate *chain* from a PEM file to a role.
141# (e.g. multiple ones concatenated in one file)
142#
143# Due to limitations in the toolchain:
144# signing class -> softhsm -> 'extract-cert'
145# the input certificate is split into a sequentially numbered list of roles,
146# starting at <role>_1
147#
148# (The limitations are the conversion step from x509 to a plain .der, and
149# extract-cert expecting a x509 and then producing only plain .der again)
150signing_import_cert_chain_from_pem() {
151 local role="${1}"
152 local pem="${2}"
153 local i=1
154
155 cat "${pem}" | \
156 while openssl x509 -inform pem -outform der -out ${B}/temp_${i}.der; do
157 signing_import_define_role "${role}_${i}"
158 signing_pkcs11_tool --type cert \
159 --write-object ${B}/temp_${i}.der \
160 --label "${role}_${i}"
161 rm ${B}/temp_${i}.der
162 echo "imported ${pem} under role: ${role}_${i}"
163 i=$(awk "BEGIN {print $i+1}")
164 done
165}
166
132# signing_import_cert_from_pem <role> <pem> 167# signing_import_cert_from_pem <role> <pem>
133# 168#
134# Import a certificate from PEM file to a role. To be used 169# Import a certificate from PEM file to a role. To be used
diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
index 0ea43f597..7cb15b49c 100644
--- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
+++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
@@ -7,9 +7,11 @@
7# 7#
8# ptests which take less than ~30s each 8# ptests which take less than ~30s each
9PTESTS_FAST_META_OE = "\ 9PTESTS_FAST_META_OE = "\
10 asio \
10 cmocka \ 11 cmocka \
11 cunit \ 12 cunit \
12 duktape \ 13 duktape \
14 fuse3 \
13 function2 \ 15 function2 \
14 fwupd \ 16 fwupd \
15 gcab \ 17 gcab \
@@ -23,6 +25,7 @@ PTESTS_FAST_META_OE = "\
23 librelp \ 25 librelp \
24 libssh \ 26 libssh \
25 libtinyxml2 \ 27 libtinyxml2 \
28 libtoml11 \
26 libxml++-5.0 \ 29 libxml++-5.0 \
27 libyang \ 30 libyang \
28 lmdb \ 31 lmdb \
@@ -36,8 +39,8 @@ PTESTS_FAST_META_OE = "\
36 pegtl \ 39 pegtl \
37 protobuf \ 40 protobuf \
38 pv \ 41 pv \
39 python3-pefile \
40 sdbus-c++ \ 42 sdbus-c++ \
43 tomlplusplus \
41 uthash \ 44 uthash \
42 xmlsec1 \ 45 xmlsec1 \
43 zeromq \ 46 zeromq \
@@ -55,6 +58,7 @@ PTESTS_SLOW_META_OE = "\
55 fftw \ 58 fftw \
56 libusb-compat \ 59 libusb-compat \
57 rsyslog \ 60 rsyslog \
61 rocksdb \
58 mariadb \ 62 mariadb \
59 poco \ 63 poco \
60 re2 \ 64 re2 \
diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
index a254990ec..d05f26588 100644
--- a/meta-oe/conf/layer.conf
+++ b/meta-oe/conf/layer.conf
@@ -44,7 +44,7 @@ LAYERVERSION_openembedded-layer = "1"
44 44
45LAYERDEPENDS_openembedded-layer = "core" 45LAYERDEPENDS_openembedded-layer = "core"
46 46
47LAYERSERIES_COMPAT_openembedded-layer = "styhead" 47LAYERSERIES_COMPAT_openembedded-layer = "styhead walnascar"
48 48
49LICENSE_PATH += "${LAYERDIR}/licenses" 49LICENSE_PATH += "${LAYERDIR}/licenses"
50 50
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.1.bb
index 40d72caa0..96a3cdbfd 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.1.bb
@@ -14,13 +14,13 @@ inherit meson pkgconfig systemd python3targetconfig features_check
14 14
15REQUIRED_DISTRO_FEATURES = "systemd" 15REQUIRED_DISTRO_FEATURES = "systemd"
16 16
17SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=main;protocol=https \ 17SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=stable/1.1;protocol=https \
18 file://0001-meson.build-do-not-use-Werror.patch \ 18 file://0001-meson.build-do-not-use-Werror.patch \
19 " 19 "
20 20
21SRC_URI:append:libc-musl = " file://0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch" 21SRC_URI:append:libc-musl = " file://0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch"
22 22
23SRCREV = "d27f32305f7f06de449b32239a89969e6ff2be31" 23SRCREV = "731d3c9e7e88d3f27ed6cf77edba7a2f5890a778"
24 24
25S = "${WORKDIR}/git" 25S = "${WORKDIR}/git"
26 26
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.8.bb b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.bb
index c86750f8b..c86750f8b 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.8.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.bb
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.8.bb b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.9.bb
index e43931a4e..e43931a4e 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.8.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.9.bb
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.inc b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.inc
index 87dbc73e6..7c2e553c7 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.inc
+++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.inc
@@ -3,7 +3,7 @@ LICENSE="Zlib"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f" 3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f"
4 4
5SRC_URI = "git://github.com/nanopb/nanopb.git;branch=master;protocol=https" 5SRC_URI = "git://github.com/nanopb/nanopb.git;branch=master;protocol=https"
6SRCREV = "6cfe48d6f1593f8fa5c0f90437f5e6522587745e" 6SRCREV = "98bf4db69897b53434f3d0ba72e0a3ab1a902824"
7 7
8S = "${WORKDIR}/git" 8S = "${WORKDIR}/git"
9 9
diff --git a/meta-oe/recipes-benchmark/fio/fio_3.36.bb b/meta-oe/recipes-benchmark/fio/fio_3.38.bb
index a871ed8fe..1d1db92f4 100644
--- a/meta-oe/recipes-benchmark/fio/fio_3.36.bb
+++ b/meta-oe/recipes-benchmark/fio/fio_3.38.bb
@@ -22,10 +22,11 @@ PACKAGECONFIG_NUMA:armeb = ""
22PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}" 22PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}"
23PACKAGECONFIG[numa] = ",--disable-numa,numactl" 23PACKAGECONFIG[numa] = ",--disable-numa,numactl"
24 24
25PV .= "+git" 25SRCREV = "5af800ca20ea18193d2262a8191ae32e14d623f8"
26SRCREV = "b2403d413ee734e8835539319d8bc3429a0777ac"
27SRC_URI = "git://git.kernel.dk/fio.git;branch=master" 26SRC_URI = "git://git.kernel.dk/fio.git;branch=master"
28 27
28UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)"
29
29S = "${WORKDIR}/git" 30S = "${WORKDIR}/git"
30 31
31# avoids build breaks when using no-static-libs.inc 32# avoids build breaks when using no-static-libs.inc
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch
deleted file mode 100644
index 0787ef27d..000000000
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch
+++ /dev/null
@@ -1,210 +0,0 @@
1From 0a163f60b4a316c4b6f1726a71c84755f3bd85e7 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@lge.com>
3Date: Wed, 16 Sep 2020 04:36:04 -0700
4Subject: [PATCH] Revert "ld.hugetlbfs: fix -Ttext-segment argument on AArch64"
5
6This reverts commit 852dcc963ce44861ed7c4e225aa92ff2b5b43579.
7
8* works around
9 ERROR: libhugetlbfs-1_2.23-r0 do_populate_sysroot: Fatal errors occurred in subprocesses:
10 Command '['arm-oe-linux-gnueabi-strip', '--remove-section=.comment', '--remove-section=.note', 'libhugetlbfs/1_2.23-r0/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw']' returned non-zero exit status 1.
11 Subprocess output:arm-oe-linux-gnueabi-strip:
12 libhugetlbfs/1_2.23-r0/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/stmuFa58: error: PHDR segment not covered by LOAD segment
13 arm-oe-linux-gnueabi-strip: libhugetlbfs/1_2.23-r0/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/stmuFa58[.interp]: file format not recognized
14
15I don't see anything suspicious in the build (the same cmdline as in 2.22
16version), but it uses
17
18libhugetlbfs/1_2.22-r0-old/temp/log.do_compile:arm-oe-linux-gnueabi-gcc
19 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1
20-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
21-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
22-Werror=format-security -Werror=return-type
23--sysroot=/jenkins/mjansa/build/ros/oe-melodic-gatesgarth/libhugetlbfs/1_2.22-r0/recipe-sysroot
24-I.. -O2 -Wall -g -o obj32/linkhuge_rw.o -c linkhuge_rw.c
25libhugetlbfs/1_2.22-r0-old/temp/log.do_compile:arm-oe-linux-gnueabi-gcc
26 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1
27-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
28-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
29-Werror=format-security -Werror=return-type
30--sysroot=/jenkins/mjansa/build/ros/oe-melodic-gatesgarth/libhugetlbfs/1_2.22-r0/recipe-sysroot
31-B./obj32 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
32-ldl -L../obj32 -o obj32/linkhuge_rw -Wl,--no-as-needed -lpthread -ldl
33-lhugetlbfs_privutils -Wl,--hugetlbfs-align obj32/linkhuge_rw.o
34obj32/testutils.o
35libhugetlbfs/1_2.23-r0-new/temp/log.do_compile:arm-oe-linux-gnueabi-gcc
36 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1
37-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
38-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
39-Werror=format-security -Werror=return-type
40--sysroot=/jenkins/mjansa/build/ros/oe-melodic-gatesgarth/libhugetlbfs/1_2.23-r0/recipe-sysroot
41-I.. -O2 -Wall -g -o obj32/linkhuge_rw.o -c linkhuge_rw.c
42libhugetlbfs/1_2.23-r0-new/temp/log.do_compile:arm-oe-linux-gnueabi-gcc
43 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1
44-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
45-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
46-Werror=format-security -Werror=return-type
47--sysroot=/jenkins/mjansa/build/ros/oe-melodic-gatesgarth/libhugetlbfs/1_2.23-r0/recipe-sysroot
48-B./obj32 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
49-ldl -L../obj32 -o obj32/linkhuge_rw -Wl,--no-as-needed -lpthread -ldl
50-lhugetlbfs_privutils -Wl,--hugetlbfs-align obj32/linkhuge_rw.o
51obj32/testutils.o
52
53And the git log between 2.22 and 2.23 is also very short and looks
54reasonable.
55https://github.com/libhugetlbfs/libhugetlbfs/compare/2.22...2.23
56
57When checking with readelf -l it also shows the error about PHDR segment:
58arm-oe-linux-gnueabi-readelf -l
59./1_2.22-r0-old/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw
60
61Elf file type is DYN (Shared object file)
62Entry point 0x201105
63There are 10 program headers, starting at offset 52
64
65Program Headers:
66 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
67 PHDR 0x000034 0x00200034 0x00200034 0x00140 0x00140 R 0x4
68 INTERP 0x000174 0x00200174 0x00200174 0x0001d 0x0001d R 0x1
69 [Requesting program interpreter: /usr/lib/ld-linux-armhf.so.3]
70 LOAD 0x000000 0x00200000 0x00200000 0x1222c 0x1222c R E 0x200000
71 LOAD 0x1ffdf0 0x005ffdf0 0x005ffdf0 0x102e0 0x202ec RW 0x200000
72 DYNAMIC 0x1ffdf8 0x005ffdf8 0x005ffdf8 0x00128 0x00128 RW 0x4
73 NOTE 0x000194 0x00200194 0x00200194 0x00044 0x00044 R 0x4
74 GNU_EH_FRAME 0x012224 0x00212224 0x00212224 0x00008 0x00008 R 0x4
75 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10
76 EXIDX 0x001c5c 0x00201c5c 0x00201c5c 0x00008 0x00008 R 0x4
77 GNU_RELRO 0x1ffdf0 0x005ffdf0 0x005ffdf0 0x00210 0x00210 RW 0x4
78
79 Section to Segment mapping:
80 Segment Sections...
81 00
82 01 .interp
83 02 .interp .note.ABI-tag .note.gnu.build-id .dynsym .dynstr
84.gnu.hash .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text
85.fini .ARM.extab .ARM.exidx .rodata .eh_frame .eh_frame_hdr
86 03 .fini_array .init_array .dynamic .got .data .bss
87 04 .dynamic
88 05 .note.ABI-tag .note.gnu.build-id
89 06 .eh_frame_hdr
90 07
91 08 .ARM.extab .ARM.exidx
92 09 .fini_array .init_array .dynamic .got
93
94arm-oe-linux-gnueabi-readelf -l
95./1_2.23-r0-new/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw
96
97Elf file type is DYN (Shared object file)
98Entry point 0x31cd1
99There are 10 program headers, starting at offset 52
100
101Program Headers:
102 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
103 PHDR 0x000000 0x00000000 0x00000000 0x00000 0x00000 R 0
104readelf: Error: the PHDR segment is not covered by a LOAD segment
105 INTERP 0x030d40 0x00030d40 0x00030d40 0x0001d 0x0001d R 0x1
106 [Requesting program interpreter: /usr/lib/ld-linux-armhf.so.3]
107 LOAD 0x030d40 0x00030d40 0x00030d40 0x120b8 0x120b8 R E 0x200000
108 LOAD 0x1ffdf0 0x003ffdf0 0x003ffdf0 0x102e0 0x202ec RW 0x200000
109 DYNAMIC 0x1ffdf8 0x003ffdf8 0x003ffdf8 0x00128 0x00128 RW 0x4
110 NOTE 0x030d60 0x00030d60 0x00030d60 0x00044 0x00044 R 0x4
111 GNU_EH_FRAME 0x042df0 0x00042df0 0x00042df0 0x00008 0x00008 R 0x4
112 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10
113 EXIDX 0x032828 0x00032828 0x00032828 0x00008 0x00008 R 0x4
114 GNU_RELRO 0x1ffdf0 0x003ffdf0 0x003ffdf0 0x00210 0x00210 RW 0x4
115
116 Section to Segment mapping:
117 Segment Sections...
118 00
119 01 .interp
120 02 .interp .note.ABI-tag .note.gnu.build-id .dynsym .dynstr
121.gnu.hash .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text
122.fini .ARM.extab .ARM.exidx .rodata .eh_frame .eh_frame_hdr
123 03 .fini_array .init_array .dynamic .got .data .bss
124 04 .dynamic
125 05 .note.ABI-tag .note.gnu.build-id
126 06 .eh_frame_hdr
127 07
128 08 .ARM.extab .ARM.exidx
129 09 .fini_array .init_array .dynamic .got
130
131And the diff between these 2:
132
1331_2.22-r0-old/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw.readelf
1341_2.23-r0-new/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw.readelf
135 Elf file type is DYN (Shared object file)
136-Entry point 0x201105
137+Entry point 0x31cd1
138 There are 10 program headers, starting at offset 52
139
140 Program Headers:
141 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
142- PHDR 0x000034 0x00200034 0x00200034 0x00140 0x00140 R 0x4
143- INTERP 0x000174 0x00200174 0x00200174 0x0001d 0x0001d R 0x1
144+ PHDR 0x000000 0x00000000 0x00000000 0x00000 0x00000 R 0
145+readelf: Error: the PHDR segment is not covered by a LOAD segment
146+ INTERP 0x030d40 0x00030d40 0x00030d40 0x0001d 0x0001d R 0x1
147 [Requesting program interpreter: /usr/lib/ld-linux-armhf.so.3]
148- LOAD 0x000000 0x00200000 0x00200000 0x1222c 0x1222c R E 0x200000
149- LOAD 0x1ffdf0 0x005ffdf0 0x005ffdf0 0x102e0 0x202ec RW 0x200000
150- DYNAMIC 0x1ffdf8 0x005ffdf8 0x005ffdf8 0x00128 0x00128 RW 0x4
151- NOTE 0x000194 0x00200194 0x00200194 0x00044 0x00044 R 0x4
152- GNU_EH_FRAME 0x012224 0x00212224 0x00212224 0x00008 0x00008 R 0x4
153+ LOAD 0x030d40 0x00030d40 0x00030d40 0x120b8 0x120b8 R E 0x200000
154+ LOAD 0x1ffdf0 0x003ffdf0 0x003ffdf0 0x102e0 0x202ec RW 0x200000
155+ DYNAMIC 0x1ffdf8 0x003ffdf8 0x003ffdf8 0x00128 0x00128 RW 0x4
156+ NOTE 0x030d60 0x00030d60 0x00030d60 0x00044 0x00044 R 0x4
157+ GNU_EH_FRAME 0x042df0 0x00042df0 0x00042df0 0x00008 0x00008 R 0x4
158 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10
159- EXIDX 0x001c5c 0x00201c5c 0x00201c5c 0x00008 0x00008 R 0x4
160- GNU_RELRO 0x1ffdf0 0x005ffdf0 0x005ffdf0 0x00210 0x00210 RW 0x4
161+ EXIDX 0x032828 0x00032828 0x00032828 0x00008 0x00008 R 0x4
162+ GNU_RELRO 0x1ffdf0 0x003ffdf0 0x003ffdf0 0x00210 0x00210 RW 0x4
163
164 Section to Segment mapping:
165
166Revert fixes this build issue, but I still don't see why it fails this way.
167
168Upstream-Status: Pending
169
170Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
171
172# Please enter the commit message for your changes. Lines starting
173# with '#' will be ignored, and an empty message aborts the commit.
174#
175# Date: Wed Sep 16 13:43:09 2020 +0200
176#
177# On branch jansa/master
178# Changes to be committed:
179# new file: meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch
180# modified: meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
181#
182# Untracked files:
183# counts.txt
184# diff
185# log.svn
186# log.svn2
187# wip/
188#
189---
190 ld.hugetlbfs | 4 +---
191 1 file changed, 1 insertion(+), 3 deletions(-)
192
193diff --git a/ld.hugetlbfs b/ld.hugetlbfs
194index 5e4e497..6ee8238 100755
195--- a/ld.hugetlbfs
196+++ b/ld.hugetlbfs
197@@ -130,9 +130,7 @@ if [ "$HTLB_ALIGN" == "slice" ]; then
198 # targeting the ARM platform one needs to explicitly set the text segment offset
199 # otherwise it will be NULL.
200 case "$EMU" in
201- armelf*_linux_eabi|aarch64elf*|aarch64linux*)
202- printf -v TEXTADDR "%x" "$SLICE_SIZE"
203- HTLBOPTS="$HTLBOPTS -Ttext-segment=$TEXTADDR" ;;
204+ armelf*_linux_eabi|aarch64elf*|aarch64linux*) HTLBOPTS="$HTLBOPTS -Ttext-segment=$SLICE_SIZE" ;;
205 elf_i386) HTLBOPTS="$HTLBOPTS -Ttext-segment=0x08000000" ;;
206 elf64ppc|elf64lppc)
207 if [ "$MMU_TYPE" == "Hash" ] ; then
208--
2092.17.1
210
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch
index a13c5389f..3dbc34d08 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch
@@ -1,20 +1,20 @@
1From 183a4dafe141197de5840f2e48c266ef209307aa Mon Sep 17 00:00:00 2001 1From b448672f1bc08dcef2ae07727ae6f124a3032a35 Mon Sep 17 00:00:00 2001
2From: Ting Liu <b28495@freescale.com> 2From: Ting Liu <b28495@freescale.com>
3Date: Mon, 18 Jun 2012 16:37:05 +0800 3Date: Mon, 18 Jun 2012 16:37:05 +0800
4Subject: [PATCH] skip checking LIB32 and LIB64 if they point to the same place 4Subject: [PATCH] skip checking LIB32 and LIB64 if they point to the same place
5 5
6Upstream-Status: Inappropriate [oe-core specific] 6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Ting Liu <b28495@freescale.com>
8 7
8Signed-off-by: Ting Liu <b28495@freescale.com>
9--- 9---
10 Makefile | 1 - 10 Makefile.in | 1 -
11 1 file changed, 1 deletion(-) 11 1 file changed, 1 deletion(-)
12 12
13diff --git a/Makefile b/Makefile 13diff --git a/Makefile.in b/Makefile.in
14index 51e41f0..373df3c 100644 14index 65ae5a4..25be577 100644
15--- a/Makefile 15--- a/Makefile.in
16+++ b/Makefile 16+++ b/Makefile.in
17@@ -177,7 +177,6 @@ REALLIB32 = $(realpath $(PREFIX)/$(LIB32)) 17@@ -196,7 +196,6 @@ REALLIB32 = $(realpath $(PREFIX)/$(LIB32))
18 REALLIB64 = $(realpath $(PREFIX)/$(LIB64)) 18 REALLIB64 = $(realpath $(PREFIX)/$(LIB64))
19 ifneq ($(realpath $(PREFIX)),) 19 ifneq ($(realpath $(PREFIX)),)
20 ifeq ($(REALLIB32),$(REALLIB64)) 20 ifeq ($(REALLIB32),$(REALLIB64))
@@ -22,3 +22,6 @@ index 51e41f0..373df3c 100644
22 endif 22 endif
23 endif 23 endif
24 24
25--
262.25.1
27
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-tests-makefile-Append-CPPFLAGS-rather-then-override.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-tests-makefile-Append-CPPFLAGS-rather-then-override.patch
deleted file mode 100644
index 78a4cb0fc..000000000
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-tests-makefile-Append-CPPFLAGS-rather-then-override.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From b6dba773491bbb7b4664dacdd87a12af860f1bd8 Mon Sep 17 00:00:00 2001
2From: Oleksiy Obitotskyy <oobitots@cisco.com>
3Date: Thu, 28 Jan 2021 05:43:33 -0800
4Subject: [PATCH] tests/makefile: Append CPPFLAGS rather then override
5
6CPPFLAGS overrided and we could miss some options needed.
7
8Upstream-Status: Submitted
9Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
10---
11 tests/Makefile | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/tests/Makefile b/tests/Makefile
15index 0ca3716..d262932 100644
16--- a/tests/Makefile
17+++ b/tests/Makefile
18@@ -33,8 +33,8 @@ HELPERS = get_hugetlbfs_path compare_kvers
19 HELPER_LIBS = libheapshrink.so
20 BADTOOLCHAIN = bad-toolchain.sh
21
22-CFLAGS = -O2 -Wall -g
23-CPPFLAGS = -I..
24+CFLAGS += -O2 -Wall -g
25+CPPFLAGS += -I..
26 STATIC_LIBHUGE = -Wl,--whole-archive -lhugetlbfs -Wl,--no-whole-archive
27 STATIC_LDLIBS = -Wl,--no-as-needed -lpthread
28 LDLIBS = $(STATIC_LDLIBS) -ldl -lhugetlbfs_privutils
29--
302.26.2.Cisco
31
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-libhugetlbfs-avoid-search-host-library-path-for-cros.patch
index f95e9e85a..1b99c007f 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-libhugetlbfs-avoid-search-host-library-path-for-cros.patch
@@ -1,4 +1,4 @@
1From 82a4f60ab24dff121f5f9d3bbcd9a8a28bb7caef Mon Sep 17 00:00:00 2001 1From d3903cbe348c6ecb2f38b37f20dafa6b0ca3b114 Mon Sep 17 00:00:00 2001
2From: Chunrong Guo <B40290@freescale.com> 2From: Chunrong Guo <B40290@freescale.com>
3Date: Sun, 8 Sep 2013 23:21:49 -0500 3Date: Sun, 8 Sep 2013 23:21:49 -0500
4Subject: [PATCH] libhugetlbfs: avoid search host library path for cross 4Subject: [PATCH] libhugetlbfs: avoid search host library path for cross
@@ -7,7 +7,6 @@ Subject: [PATCH] libhugetlbfs: avoid search host library path for cross
7Upstream-Status: Inappropriate [oe-core specific] 7Upstream-Status: Inappropriate [oe-core specific]
8 8
9Signed-off-by: Chunrong Guo <B40290@freescale.com> 9Signed-off-by: Chunrong Guo <B40290@freescale.com>
10
11--- 10---
12 ldscripts/elf32ppclinux.xB | 2 +- 11 ldscripts/elf32ppclinux.xB | 2 +-
13 ldscripts/elf32ppclinux.xBDT | 2 +- 12 ldscripts/elf32ppclinux.xBDT | 2 +-
@@ -95,3 +94,6 @@ index 1855202..c62d245 100644
95 INPUT(-lhugetlbfs); 94 INPUT(-lhugetlbfs);
96 /* Do we need any of these for elf? 95 /* Do we need any of these for elf?
97 __DYNAMIC = 0; */ 96 __DYNAMIC = 0; */
97--
982.25.1
99
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-tests-Makefile-install-static-4G-edge-testcases.patch
index b8b2f8e6f..98cdf2f51 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-tests-Makefile-install-static-4G-edge-testcases.patch
@@ -1,22 +1,21 @@
1From f1ad8ff887f16daee8d06eca3df0f2541bfdaac0 Mon Sep 17 00:00:00 2001 1From 3e54866a0ea3c9e933e91213cbe6e55b7ff67b87 Mon Sep 17 00:00:00 2001
2From: Ting Liu <b28495@freescale.com> 2From: Ting Liu <b28495@freescale.com>
3Date: Mon, 23 Sep 2013 08:00:55 +0000 3Date: Mon, 23 Sep 2013 08:00:55 +0000
4Subject: [PATCH] libhugetlbfs: add recipe 4Subject: [PATCH] tests/Makefile: install static 4G edge testcases
5
6Upstream-Status: Submitted
7 5
8TESTS_64 is empty, install will fail due to missing file operand 6TESTS_64 is empty, install will fail due to missing file operand
9 7
10Signed-off-by: Ting Liu <b28495@freescale.com> 8Upstream-Status: Submitted
11 9
10Signed-off-by: Ting Liu <b28495@freescale.com>
12--- 11---
13 tests/Makefile | 2 +- 12 tests/Makefile.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
15 14
16diff --git a/tests/Makefile b/tests/Makefile 15diff --git a/tests/Makefile.in b/tests/Makefile.in
17index 073df96..0ca3716 100644 16index d33a228..d262932 100644
18--- a/tests/Makefile 17--- a/tests/Makefile.in
19+++ b/tests/Makefile 18+++ b/tests/Makefile.in
20@@ -295,7 +295,7 @@ obj64/install: 19@@ -295,7 +295,7 @@ obj64/install:
21 $(INSTALL) -m 755 wrapper-utils.sh $(DESTDIR)$(INST_TESTSDIR64)/obj64 20 $(INSTALL) -m 755 wrapper-utils.sh $(DESTDIR)$(INST_TESTSDIR64)/obj64
22 $(INSTALL) -m 755 $(HELPERS:%=obj64/%) $(DESTDIR)$(INST_TESTSDIR64)/obj64 21 $(INSTALL) -m 755 $(HELPERS:%=obj64/%) $(DESTDIR)$(INST_TESTSDIR64)/obj64
@@ -26,3 +25,6 @@ index 073df96..0ca3716 100644
26 $(INSTALL) -m 755 run_tests.py $(DESTDIR)$(INST_TESTSDIR64) 25 $(INSTALL) -m 755 run_tests.py $(DESTDIR)$(INST_TESTSDIR64)
27 26
28 install: $(OBJDIRS:%=%/install) 27 install: $(OBJDIRS:%=%/install)
28--
292.25.1
30
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch
index 83934abef..6b010365a 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch
@@ -1,4 +1,4 @@
1From 0077532b07e268347cb8557be6d70148d5f0e840 Mon Sep 17 00:00:00 2001 1From 86d3ebfc4da5ccbc82fdee4abaf2cbf758d82403 Mon Sep 17 00:00:00 2001
2From: Ting Liu <b28495@freescale.com> 2From: Ting Liu <b28495@freescale.com>
3Date: Wed, 21 Aug 2013 15:44:57 +0800 3Date: Wed, 21 Aug 2013 15:44:57 +0800
4Subject: [PATCH] run_test.py: not use hard coded path ../obj/hugeadm 4Subject: [PATCH] run_test.py: not use hard coded path ../obj/hugeadm
@@ -20,10 +20,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
20 1 file changed, 11 insertions(+), 1 deletion(-) 20 1 file changed, 11 insertions(+), 1 deletion(-)
21 21
22diff --git a/tests/run_tests.py b/tests/run_tests.py 22diff --git a/tests/run_tests.py b/tests/run_tests.py
23index 018264d..0aabcd1 100755 23index 4793262..6cd0241 100755
24--- a/tests/run_tests.py 24--- a/tests/run_tests.py
25+++ b/tests/run_tests.py 25+++ b/tests/run_tests.py
26@@ -245,9 +245,19 @@ def get_pagesizes(): 26@@ -250,9 +250,19 @@ def get_pagesizes():
27 Use libhugetlbfs' hugeadm utility to get a list of page sizes that have 27 Use libhugetlbfs' hugeadm utility to get a list of page sizes that have
28 active mount points and at least one huge page allocated to the pool. 28 active mount points and at least one huge page allocated to the pool.
29 """ 29 """
@@ -45,5 +45,5 @@ index 018264d..0aabcd1 100755
45 return sizes 45 return sizes
46 46
47-- 47--
482.7.4 482.25.1
49 49
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-elf_i386-avoid-search-host-library-path.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch
index 7cc180a4b..fc8776af6 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-elf_i386-avoid-search-host-library-path.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch
@@ -1,4 +1,4 @@
1From b5887693d90c430291b644c2f5713b5fdd1777ce Mon Sep 17 00:00:00 2001 1From 8c7a379876e3c7a32bef8620f94a85d20b7b186f Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com> 2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Tue, 4 Nov 2014 00:49:11 -0800 3Date: Tue, 4 Nov 2014 00:49:11 -0800
4Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for 4Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for
@@ -7,7 +7,6 @@ Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for
7Upstream-Status: Inappropriate [cross compile specific] 7Upstream-Status: Inappropriate [cross compile specific]
8 8
9Signed-off-by: Jackie Huang <jackie.huang@windriver.com> 9Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
10
11--- 10---
12 ldscripts/elf_i386.xB | 1 - 11 ldscripts/elf_i386.xB | 1 -
13 ldscripts/elf_i386.xBDT | 1 - 12 ldscripts/elf_i386.xBDT | 1 -
@@ -37,3 +36,6 @@ index d72aebe..3bac1b1 100644
37 INPUT(-lhugetlbfs); 36 INPUT(-lhugetlbfs);
38 /* Do we need any of these for elf? 37 /* Do we need any of these for elf?
39 __DYNAMIC = 0; */ 38 __DYNAMIC = 0; */
39--
402.25.1
41
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-stddef.h-for-ptrdiff_t.patch
index 914b0514f..33a4efb1f 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-stddef.h-for-ptrdiff_t.patch
@@ -1,18 +1,17 @@
1From 351d1de09dd80049b7a2cb02c5750635d0389873 Mon Sep 17 00:00:00 2001 1From 5fe5dae674e259bcdd57b9c6a0004111ab0700ce Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:25:57 -0700 3Date: Thu, 21 Jun 2018 19:25:57 -0700
4Subject: [PATCH] include stddef.h for ptrdiff_t 4Subject: [PATCH] include stddef.h for ptrdiff_t
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8---
9Upstream-Status: Pending 6Upstream-Status: Pending
10 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
11 morecore.c | 1 + 10 morecore.c | 1 +
12 1 file changed, 1 insertion(+) 11 1 file changed, 1 insertion(+)
13 12
14diff --git a/morecore.c b/morecore.c 13diff --git a/morecore.c b/morecore.c
15index 6563bbd..0eef782 100644 14index 405c566..0edccd2 100644
16--- a/morecore.c 15--- a/morecore.c
17+++ b/morecore.c 16+++ b/morecore.c
18@@ -19,6 +19,7 @@ 17@@ -19,6 +19,7 @@
@@ -23,3 +22,6 @@ index 6563bbd..0eef782 100644
23 #include <stdio.h> 22 #include <stdio.h>
24 #include <stdlib.h> 23 #include <stdlib.h>
25 #include <malloc.h> 24 #include <malloc.h>
25--
262.25.1
27
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0007-Mark-glibc-specific-code-so.patch
index 7ad6c43eb..5b2c91b8a 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0007-Mark-glibc-specific-code-so.patch
@@ -1,21 +1,20 @@
1From 0f548286848c70aa325c6748d80e8651389b4938 Mon Sep 17 00:00:00 2001 1From c98e64c56d0118a2d5f950eaceaed0e85eaa2543 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:32:59 -0700 3Date: Thu, 21 Jun 2018 19:32:59 -0700
4Subject: [PATCH] Mark glibc specific code so 4Subject: [PATCH] Mark glibc specific code so
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8---
9Upstream-Status: Pending 6Upstream-Status: Pending
10 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
11 morecore.c | 3 ++- 10 morecore.c | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-) 11 1 file changed, 2 insertions(+), 1 deletion(-)
13 12
14diff --git a/morecore.c b/morecore.c 13diff --git a/morecore.c b/morecore.c
15index 0eef782..d48509c 100644 14index 0edccd2..db22216 100644
16--- a/morecore.c 15--- a/morecore.c
17+++ b/morecore.c 16+++ b/morecore.c
18@@ -364,6 +364,7 @@ void hugetlbfs_setup_morecore(void) 17@@ -371,6 +371,7 @@ void hugetlbfs_setup_morecore(void)
19 18
20 INFO("setup_morecore(): heapaddr = 0x%lx\n", heapaddr); 19 INFO("setup_morecore(): heapaddr = 0x%lx\n", heapaddr);
21 20
@@ -23,7 +22,7 @@ index 0eef782..d48509c 100644
23 heaptop = heapbase = (void *)heapaddr; 22 heaptop = heapbase = (void *)heapaddr;
24 if (__hugetlb_opts.thp_morecore) 23 if (__hugetlb_opts.thp_morecore)
25 __morecore = &thp_morecore; 24 __morecore = &thp_morecore;
26@@ -371,7 +372,6 @@ void hugetlbfs_setup_morecore(void) 25@@ -378,7 +379,6 @@ void hugetlbfs_setup_morecore(void)
27 __morecore = &hugetlbfs_morecore; 26 __morecore = &hugetlbfs_morecore;
28 27
29 /* Set some allocator options more appropriate for hugepages */ 28 /* Set some allocator options more appropriate for hugepages */
@@ -31,9 +30,13 @@ index 0eef782..d48509c 100644
31 if (__hugetlb_opts.shrink_ok) 30 if (__hugetlb_opts.shrink_ok)
32 mallopt(M_TRIM_THRESHOLD, hpage_size + hpage_size / 2); 31 mallopt(M_TRIM_THRESHOLD, hpage_size + hpage_size / 2);
33 else 32 else
34@@ -381,4 +381,5 @@ void hugetlbfs_setup_morecore(void) 33@@ -388,5 +388,6 @@ void hugetlbfs_setup_morecore(void)
35 * This doesn't appear to prohibit malloc() from falling back 34 * This doesn't appear to prohibit malloc() from falling back
36 * to mmap() if we run out of hugepages. */ 35 * to mmap() if we run out of hugepages. */
37 mallopt(M_MMAP_MAX, 0); 36 mallopt(M_MMAP_MAX, 0);
38+#endif 37+#endif
39 } 38 }
39 #endif /* HAS_MORECORE */
40--
412.25.1
42
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0008-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch
index 858a8e511..73844b71f 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0008-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch
@@ -1,20 +1,19 @@
1From 9ff04d7acc700387e3837f8ab11a41efea5ee8b0 Mon Sep 17 00:00:00 2001 1From 4f69eb130dc2c67a90f2460cedb78f6db11dd6d2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:44:26 -0700 3Date: Thu, 21 Jun 2018 19:44:26 -0700
4Subject: [PATCH] alloc.c: Avoid sysconf(_SC_LEVEL2_CACHE_LINESIZE) on linux 4Subject: [PATCH] alloc.c: Avoid sysconf(_SC_LEVEL2_CACHE_LINESIZE) on linux
5 5
6musl does not have it 6musl does not have it
7 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
10---
11Upstream-Status: Pending 8Upstream-Status: Pending
12 9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
13 alloc.c | 15 ++++++++++++++- 12 alloc.c | 15 ++++++++++++++-
14 1 file changed, 14 insertions(+), 1 deletion(-) 13 1 file changed, 14 insertions(+), 1 deletion(-)
15 14
16diff --git a/alloc.c b/alloc.c 15diff --git a/alloc.c b/alloc.c
17index bce9464..cf7eb40 100644 16index b8ed663..a58c43d 100644
18--- a/alloc.c 17--- a/alloc.c
19+++ b/alloc.c 18+++ b/alloc.c
20@@ -245,6 +245,19 @@ void free_huge_pages(void *ptr) 19@@ -245,6 +245,19 @@ void free_huge_pages(void *ptr)
@@ -46,3 +45,6 @@ index bce9464..cf7eb40 100644
46 linemod = time(NULL); 45 linemod = time(NULL);
47 } 46 }
48 47
48--
492.25.1
50
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0009-shm.c-Mark-glibc-specific-changes-so.patch
index c3f7b3e47..4fbf30e24 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0009-shm.c-Mark-glibc-specific-changes-so.patch
@@ -1,13 +1,12 @@
1From 9ce323432a7f4d99f617970c7e35b607b9bbf843 Mon Sep 17 00:00:00 2001 1From 37239dd5f14a34b05e77b3ca6e34f96161f1339a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:48:04 -0700 3Date: Thu, 21 Jun 2018 19:48:04 -0700
4Subject: [PATCH] shm.c: Mark glibc specific changes so 4Subject: [PATCH] shm.c: Mark glibc specific changes so
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8---
9Upstream-Status: Pending 6Upstream-Status: Pending
10 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
11 shm.c | 3 ++- 10 shm.c | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-) 11 1 file changed, 2 insertions(+), 1 deletion(-)
13 12
@@ -28,3 +27,6 @@ index 1f82cab..9447b63 100644
28 27
29 /* call syscall shmget through the generic syscall mechanism */ 28 /* call syscall shmget through the generic syscall mechanism */
30 static int syscall_shmget(key_t key, size_t size, int shmflg) 29 static int syscall_shmget(key_t key, size_t size, int shmflg)
30--
312.25.1
32
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch
index 8bd163339..a530a5267 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch
@@ -1,4 +1,4 @@
1From bb8c370aaaf25b1fe1fbf984e73177018026cb91 Mon Sep 17 00:00:00 2001 1From ec9163c0436d1c77cecc941aca2e524b26001b15 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:51:02 -0700 3Date: Thu, 21 Jun 2018 19:51:02 -0700
4Subject: [PATCH] Include dirent.h for ino_t 4Subject: [PATCH] Include dirent.h for ino_t
@@ -6,13 +6,13 @@ Subject: [PATCH] Include dirent.h for ino_t
6Fixes 6Fixes
7error: unknown type name 'ino_t'; did you mean 'int'? 7error: unknown type name 'ino_t'; did you mean 'int'?
8 8
9Upstream-Status: Pending
10
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 12
11Update for 2.22. 13Update for 2.22.
12Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> 14Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
13--- 15---
14Upstream-Status: Pending
15
16 tests/hugetests.h | 1 + 16 tests/hugetests.h | 1 +
17 1 file changed, 1 insertion(+) 17 1 file changed, 1 insertion(+)
18 18
@@ -29,5 +29,5 @@ index bc4e16a..fbe4dc0 100644
29 29
30 #include "libhugetlbfs_privutils.h" 30 #include "libhugetlbfs_privutils.h"
31-- 31--
322.7.4 322.25.1
33 33
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0011-include-limits.h-for-PATH_MAX.patch
index e4f803096..08de396d9 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0011-include-limits.h-for-PATH_MAX.patch
@@ -1,4 +1,4 @@
1From 5f64aa8c47c2d3a155a97e262f89cc47394a69eb Mon Sep 17 00:00:00 2001 1From 79b76433f4b6f2f14914817b7e8ac0db1df39250 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:58:53 -0700 3Date: Thu, 21 Jun 2018 19:58:53 -0700
4Subject: [PATCH] include limits.h for PATH_MAX 4Subject: [PATCH] include limits.h for PATH_MAX
@@ -7,17 +7,16 @@ Fixes
7 7
8error: 'PATH_MAX' undeclared 8error: 'PATH_MAX' undeclared
9 9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12---
13Upstream-Status: Pending 10Upstream-Status: Pending
14 11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
15 hugeadm.c | 1 + 14 hugeadm.c | 1 +
16 tests/gethugepagesizes.c | 1 + 15 tests/gethugepagesizes.c | 1 +
17 2 files changed, 2 insertions(+) 16 2 files changed, 2 insertions(+)
18 17
19diff --git a/hugeadm.c b/hugeadm.c 18diff --git a/hugeadm.c b/hugeadm.c
20index fe4211d..8db274c 100644 19index 79a4867..65d5136 100644
21--- a/hugeadm.c 20--- a/hugeadm.c
22+++ b/hugeadm.c 21+++ b/hugeadm.c
23@@ -33,6 +33,7 @@ 22@@ -33,6 +33,7 @@
@@ -29,7 +28,7 @@ index fe4211d..8db274c 100644
29 #include <sys/stat.h> 28 #include <sys/stat.h>
30 #include <sys/types.h> 29 #include <sys/types.h>
31diff --git a/tests/gethugepagesizes.c b/tests/gethugepagesizes.c 30diff --git a/tests/gethugepagesizes.c b/tests/gethugepagesizes.c
32index 9551b38..2645e3f 100644 31index 5777265..990db69 100644
33--- a/tests/gethugepagesizes.c 32--- a/tests/gethugepagesizes.c
34+++ b/tests/gethugepagesizes.c 33+++ b/tests/gethugepagesizes.c
35@@ -29,6 +29,7 @@ 34@@ -29,6 +29,7 @@
@@ -40,3 +39,6 @@ index 9551b38..2645e3f 100644
40 39
41 #include "hugetests.h" 40 #include "hugetests.h"
42 41
42--
432.25.1
44
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-huge_page_setup_helper-use-python3-interpreter.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch
index e45f283b3..0583df95a 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-huge_page_setup_helper-use-python3-interpreter.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch
@@ -1,4 +1,4 @@
1From b77c61de4d88d2c6e5d31f4f5a5877cc4c61272e Mon Sep 17 00:00:00 2001 1From e5580e392b8764e1e6509c5a4ed13fb2ce7566b9 Mon Sep 17 00:00:00 2001
2From: Andrey Zhizhikin <andrey.z@gmail.com> 2From: Andrey Zhizhikin <andrey.z@gmail.com>
3Date: Mon, 27 Jan 2020 17:27:55 +0000 3Date: Mon, 27 Jan 2020 17:27:55 +0000
4Subject: [PATCH] huge_page_setup_helper: use python3 interpreter 4Subject: [PATCH] huge_page_setup_helper: use python3 interpreter
@@ -15,7 +15,7 @@ Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
15 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 1 insertion(+), 1 deletion(-)
16 16
17diff --git a/huge_page_setup_helper.py b/huge_page_setup_helper.py 17diff --git a/huge_page_setup_helper.py b/huge_page_setup_helper.py
18index a9ba2bf..7ba0c92 100755 18index 01fc8dc..79a88ca 100755
19--- a/huge_page_setup_helper.py 19--- a/huge_page_setup_helper.py
20+++ b/huge_page_setup_helper.py 20+++ b/huge_page_setup_helper.py
21@@ -1,4 +1,4 @@ 21@@ -1,4 +1,4 @@
@@ -25,5 +25,5 @@ index a9ba2bf..7ba0c92 100755
25 # 25 #
26 # Tool to set up Linux large page support with minimal effort 26 # Tool to set up Linux large page support with minimal effort
27-- 27--
282.17.1 282.25.1
29 29
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0013-elflink.c-include-libgen.h-for-basename.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0013-elflink.c-include-libgen.h-for-basename.patch
new file mode 100644
index 000000000..264a535cc
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0013-elflink.c-include-libgen.h-for-basename.patch
@@ -0,0 +1,41 @@
1From 825444522d698991be04bbfa683a7cf785c6f72c Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 2 Oct 2024 00:06:34 +0800
4Subject: [PATCH] elflink.c: include libgen.h for basename
5
6Basename prototype has been removed from string.h from latest musl[1].
7Compilers e.g. clang-18 flags the absense of prototype as error.
8Therefore include libgen.h for providing it.
9
10elflink.c: In function 'get_shared_file_name':
11elflink.c:363:19: error: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
12 363 | binary2 = basename(binary);
13 | ^~~~~~~~
14elflink.c:363:17: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
15 363 | binary2 = basename(binary);
16 | ^
17
18[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
19
20Upstream-Status: Pending
21
22Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
23---
24 elflink.c | 1 +
25 1 file changed, 1 insertion(+)
26
27diff --git a/elflink.c b/elflink.c
28index 278d338..0e78d61 100644
29--- a/elflink.c
30+++ b/elflink.c
31@@ -38,6 +38,7 @@
32 #include <limits.h>
33 #include <elf.h>
34 #include <dlfcn.h>
35+#include <libgen.h>
36
37 #include "version.h"
38 #include "hugetlbfs.h"
39--
402.25.1
41
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb
new file mode 100644
index 000000000..d82e03e81
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb
@@ -0,0 +1,87 @@
1SUMMARY = "A library which provides easy access to huge pages of memory"
2HOMEPAGE = "https://github.com/libhugetlbfs/libhugetlbfs"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LGPL-2.1;md5=2d5025d4aa3495befef8f17206a5b0a1"
5
6DEPENDS = "sysfsutils"
7RDEPENDS:${PN} += "bash python3-core"
8RDEPENDS:${PN}-tests += "bash python3-core python3-resource"
9
10PE = "1"
11
12SRCREV = "1322884fb0d55dc55f53563c1aa6328d118997e7"
13SRC_URI = " \
14 git://github.com/libhugetlbfs/libhugetlbfs.git;protocol=https;branch=master \
15 file://0001-skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch \
16 file://0002-libhugetlbfs-avoid-search-host-library-path-for-cros.patch \
17 file://0003-tests-Makefile-install-static-4G-edge-testcases.patch \
18 file://0004-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch \
19 file://0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch \
20 file://0006-include-stddef.h-for-ptrdiff_t.patch \
21 file://0007-Mark-glibc-specific-code-so.patch \
22 file://0008-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch \
23 file://0009-shm.c-Mark-glibc-specific-changes-so.patch \
24 file://0010-Include-dirent.h-for-ino_t.patch \
25 file://0011-include-limits.h-for-PATH_MAX.patch \
26 file://0012-huge_page_setup_helper-use-python3-interpreter.patch \
27 file://0013-elflink.c-include-libgen.h-for-basename.patch \
28"
29
30UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
31
32S = "${WORKDIR}/git"
33
34COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
35
36LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
37LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
38LIBHUGETLBFS_ARCH:powerpc = "ppc"
39LIBHUGETLBFS_ARCH:powerpc64 = "ppc64"
40LIBHUGETLBFS_ARCH:powerpc64le = "ppc64le"
41EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} BUILDTYPE=NATIVEONLY V=2"
42PARALLEL_MAKE = ""
43CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
44
45export HUGETLB_LDSCRIPT_PATH="${S}/ldscripts"
46
47TARGET_CC_ARCH += "${LDFLAGS}"
48
49LDFLAGS += "-B${S}"
50
51inherit autotools-brokensep cpan-base
52
53#The CUSTOM_LDSCRIPTS doesn't work with the gold linker
54do_configure:prepend() {
55 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'ld-is-gold', d)}" ]; then
56 sed -i 's/CUSTOM_LDSCRIPTS = yes/CUSTOM_LDSCRIPTS = no/' Makefile.in
57 fi
58
59 ln -sf ld.hugetlbfs ${S}/ld
60 ln -sf ld.hugetlbfs ${S}/ld.bfd
61 ln -sf ld.hugetlbfs ${S}/ld.gold
62 ln -sf ld.hugetlbfs ${S}/ld.lld
63}
64
65do_install() {
66 oe_runmake PREFIX=${prefix} DESTDIR=${D} \
67 INST_TESTSDIR32=${libdir}/libhugetlbfs/tests \
68 INST_TESTSDIR64=${libdir}/libhugetlbfs/tests \
69 install-tests
70
71 sed -i \
72 -e 's|${RECIPE_SYSROOT_NATIVE}||g' \
73 -e 's|${RECIPE_SYSROOT}||g' \
74 -e 's|${S}||g' \
75 `find ${D}${libdir}/libhugetlbfs/tests -name dummy.ldscript`
76}
77
78PACKAGES =+ "${PN}-tests "
79FILES:${PN} += "${libdir}/*.so"
80FILES:${PN}-dev = "${includedir}"
81FILES:${PN}-dbg += "${libdir}/libhugetlbfs/tests/obj32/.debug ${libdir}/libhugetlbfs/tests/obj64/.debug"
82FILES:${PN}-tests += "${libdir}/libhugetlbfs/tests"
83
84INSANE_SKIP:${PN} = "dev-so"
85
86INHIBIT_PACKAGE_STRIP = "1"
87INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
deleted file mode 100644
index 80af9873b..000000000
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ /dev/null
@@ -1,79 +0,0 @@
1SUMMARY = "A library which provides easy access to huge pages of memory"
2HOMEPAGE = "https://github.com/libhugetlbfs/libhugetlbfs"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LGPL-2.1;md5=2d5025d4aa3495befef8f17206a5b0a1"
5
6DEPENDS = "sysfsutils"
7RDEPENDS:${PN} += "bash python3-core"
8RDEPENDS:${PN}-tests += "bash python3-core"
9
10PV = "2.23"
11PE = "1"
12
13SRCREV = "6b126a4d7da9490fa40fe7e1b962edcb939feddc"
14SRC_URI = " \
15 git://github.com/libhugetlbfs/libhugetlbfs.git;protocol=https;branch=master \
16 file://skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch \
17 file://libhugetlbfs-avoid-search-host-library-path-for-cros.patch \
18 file://tests-Makefile-install-static-4G-edge-testcases.patch \
19 file://0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch \
20 file://libhugetlbfs-elf_i386-avoid-search-host-library-path.patch \
21 file://0001-include-stddef.h-for-ptrdiff_t.patch \
22 file://0002-Mark-glibc-specific-code-so.patch \
23 file://0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch \
24 file://0004-shm.c-Mark-glibc-specific-changes-so.patch \
25 file://0005-Include-dirent.h-for-ino_t.patch \
26 file://0006-include-limits.h-for-PATH_MAX.patch \
27 file://0001-huge_page_setup_helper-use-python3-interpreter.patch \
28 file://0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch \
29 file://0001-tests-makefile-Append-CPPFLAGS-rather-then-override.patch \
30"
31
32UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
33
34S = "${WORKDIR}/git"
35
36COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
37
38LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
39LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
40LIBHUGETLBFS_ARCH:powerpc = "ppc"
41LIBHUGETLBFS_ARCH:powerpc64 = "ppc64"
42LIBHUGETLBFS_ARCH:powerpc64le = "ppc64le"
43EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} BUILDTYPE=NATIVEONLY V=2"
44PARALLEL_MAKE = ""
45CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
46
47export HUGETLB_LDSCRIPT_PATH="${S}/ldscripts"
48
49TARGET_CC_ARCH += "${LDFLAGS}"
50
51#The CUSTOM_LDSCRIPTS doesn't work with the gold linker
52inherit cpan-base
53do_configure() {
54 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'ld-is-gold', d)}" ]; then
55 sed -i 's/CUSTOM_LDSCRIPTS = yes/CUSTOM_LDSCRIPTS = no/' Makefile
56 fi
57}
58
59do_install() {
60 oe_runmake PREFIX=${prefix} DESTDIR=${D} \
61 INST_TESTSDIR32=${libdir}/libhugetlbfs/tests \
62 INST_TESTSDIR64=${libdir}/libhugetlbfs/tests \
63 install-tests
64}
65
66
67PACKAGES =+ "${PN}-tests "
68FILES:${PN} += "${libdir}/*.so"
69FILES:${PN}-dev = "${includedir}"
70FILES:${PN}-dbg += "${libdir}/libhugetlbfs/tests/obj32/.debug ${libdir}/libhugetlbfs/tests/obj64/.debug"
71FILES:${PN}-tests += "${libdir}/libhugetlbfs/tests"
72
73INSANE_SKIP:${PN} = "dev-so"
74
75INHIBIT_PACKAGE_STRIP = "1"
76INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
77
78# see https://github.com/libhugetlbfs/libhugetlbfs/issues/52
79SKIP_RECIPE[libhugetlbfs] ?= "Needs porting to glibc 2.34+"
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.24.bb b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
index 15cde9f10..a098bf8ee 100644
--- a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.24.bb
+++ b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
@@ -6,7 +6,7 @@ DEPENDS = "glib-2.0 libxmlb json-glib libjcat gcab vala-native python3-jinja2-na
6 6
7SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \ 7SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
8 file://run-ptest" 8 file://run-ptest"
9SRC_URI[sha256sum] = "12f560b35dbed981fde8cf774c6d1f2e658a157d3a63d6c439bf418dbcc44b4c" 9SRC_URI[sha256sum] = "a1d484778ae87c69b38f417659b33fe3d689373ce0831d1f95617b8aa76e8c37"
10 10
11UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 11UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
12UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 12UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
diff --git a/meta-oe/recipes-connectivity/ace/ace_6.5.19.bb b/meta-oe/recipes-connectivity/ace/ace_8.0.1.bb
index a9bdbc916..c79fba323 100644
--- a/meta-oe/recipes-connectivity/ace/ace_6.5.19.bb
+++ b/meta-oe/recipes-connectivity/ace/ace_8.0.1.bb
@@ -7,11 +7,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d2c090e9c730fd91677782d8e2091d77"
7 7
8DEPENDS += "openssl gperf-native" 8DEPENDS += "openssl gperf-native"
9 9
10SRC_URI = "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-6_5_19/ACE-${PV}.tar.bz2 \ 10SRC_URI = "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-8_0_1/ACE-${PV}.tar.bz2 \
11 file://ace_config.patch \ 11 file://ace_config.patch \
12 file://no_sysctl.patch \ 12 file://no_sysctl.patch \
13 " 13 "
14SRC_URI[sha256sum] = "739be290a38229aaa5b5150e6ea55ce427e80970f0ace4c5040ac46644526f41" 14SRC_URI[sha256sum] = "8d379f37d56db33f3ae447725b632d48b1c13e887593547ac3568e3b428c28f0"
15 15
16UPSTREAM_CHECK_URI = "https://github.com/DOCGroup/ACE_TAO/releases" 16UPSTREAM_CHECK_URI = "https://github.com/DOCGroup/ACE_TAO/releases"
17UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 17UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
@@ -25,8 +25,8 @@ export ACE_ROOT="${WORKDIR}/ACE_wrappers"
25inherit pkgconfig 25inherit pkgconfig
26 26
27CXXFLAGS:append = " -fpermissive -Wnodeprecated-declarations" 27CXXFLAGS:append = " -fpermissive -Wnodeprecated-declarations"
28CXX:append = " -std=gnu++14 -ffile-prefix-map=${WORKDIR}= -fdebug-prefix-map=${WORKDIR}= " 28CXX:append = " -ffile-prefix-map=${WORKDIR}= -fdebug-prefix-map=${WORKDIR}= "
29EXTRA_OEMAKE += "INSTALL_LIB=${baselib}" 29EXTRA_OEMAKE += "INSTALL_LIB=${baselib} install_rpath=0"
30 30
31do_install() { 31do_install() {
32 export D="${D}" 32 export D="${D}"
diff --git a/meta-oe/recipes-connectivity/asyncmqtt/asyncmqtt_9.0.2.bb b/meta-oe/recipes-connectivity/asyncmqtt/asyncmqtt_9.0.2.bb
new file mode 100644
index 000000000..dac83065c
--- /dev/null
+++ b/meta-oe/recipes-connectivity/asyncmqtt/asyncmqtt_9.0.2.bb
@@ -0,0 +1,14 @@
1SUMMARY = "MQTT communication C++ library using Boost.Asio"
2HOMEPAGE = "https://github.com/redboltz/async_mqtt"
3LICENSE = "BSL-1.0"
4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e4224ccaecb14d942c71d31bef20d78c"
6
7SRC_URI = "git://github.com/redboltz/async_mqtt;protocol=http;branch=main;protocol=https"
8SRCREV = "51a97adfd022cf5205c3bb31f38ace1f7fbd21a1"
9
10DEPENDS = "openssl boost"
11
12S = "${WORKDIR}/git"
13
14inherit cmake
diff --git a/meta-oe/recipes-connectivity/iwd/iwd_2.20.bb b/meta-oe/recipes-connectivity/iwd/iwd_3.0.bb
index ffdab0260..a1293d6dc 100644
--- a/meta-oe/recipes-connectivity/iwd/iwd_2.20.bb
+++ b/meta-oe/recipes-connectivity/iwd/iwd_3.0.bb
@@ -3,12 +3,12 @@ HOMEPAGE = "https://iwd.wiki.kernel.org/"
3LICENSE = "LGPL-2.1-only" 3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09" 4LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
5 5
6DEPENDS = "ell" 6DEPENDS = "dbus"
7 7
8SRC_URI = "https://www.kernel.org/pub/linux/network/wireless/${BP}.tar.xz \ 8SRC_URI = "https://www.kernel.org/pub/linux/network/wireless/${BP}.tar.xz \
9 file://0001-build-Use-abs_top_srcdir-instead-of-abs_srcdir-for-e.patch \ 9 file://0001-build-Use-abs_top_srcdir-instead-of-abs_srcdir-for-e.patch \
10 " 10 "
11SRC_URI[sha256sum] = "86827b97cb5b19ddecce36568c59378da2fae8cf37a0e2b9eacd1269f24c6f8e" 11SRC_URI[sha256sum] = "bd167ab368b6ba302b6c948a4f41f02d233a12e20d5094b1c0393325309f8a60"
12 12
13inherit autotools manpages pkgconfig python3native systemd 13inherit autotools manpages pkgconfig python3native systemd
14 14
@@ -24,8 +24,6 @@ PACKAGECONFIG[wired] = "--enable-wired,--disable-wired"
24PACKAGECONFIG[ofono] = "--enable-ofono,--disable-ofono" 24PACKAGECONFIG[ofono] = "--enable-ofono,--disable-ofono"
25PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd" 25PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd"
26 26
27EXTRA_OECONF = "--enable-external-ell"
28
29SYSTEMD_SERVICE:${PN} = " \ 27SYSTEMD_SERVICE:${PN} = " \
30 iwd.service \ 28 iwd.service \
31 ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)} \ 29 ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)} \
diff --git a/meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.3.0.bb b/meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.3.1.bb
index 8bd555d96..2f58738c3 100644
--- a/meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.3.0.bb
+++ b/meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.3.1.bb
@@ -8,7 +8,7 @@ HOMEPAGE = "http://www.libimobiledevice.org/"
8 8
9DEPENDS = "libplist" 9DEPENDS = "libplist"
10 10
11SRCREV = "362f7848ac89b74d9dd113b38b51ecb601f76094" 11SRCREV = "a4ec1cf9cc7084cbe5571e31640ef773701e5f51"
12SRC_URI = "git://github.com/libimobiledevice/libimobiledevice-glue;protocol=https;branch=master" 12SRC_URI = "git://github.com/libimobiledevice/libimobiledevice-glue;protocol=https;branch=master"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.0.bb b/meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.1.bb
index 29f67d39d..818033243 100644
--- a/meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.0.bb
+++ b/meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.1.bb
@@ -8,7 +8,7 @@ HOMEPAGE = "http://www.libimobiledevice.org/"
8 8
9DEPENDS = "libimobiledevice-glue libusb1 readline" 9DEPENDS = "libimobiledevice-glue libusb1 readline"
10 10
11SRCREV = "2254dab893ec439f9a73235ea07194afa77399db" 11SRCREV = "2fb767d784c01269a0ded5bacd5539aee3768c35"
12SRC_URI = "git://github.com/libimobiledevice/libirecovery;protocol=https;branch=master" 12SRC_URI = "git://github.com/libimobiledevice/libirecovery;protocol=https;branch=master"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-connectivity/libmtp/libmtp/0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch b/meta-oe/recipes-connectivity/libmtp/libmtp/0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch
new file mode 100644
index 000000000..9cd4b2fbd
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libmtp/libmtp/0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch
@@ -0,0 +1,33 @@
1From 0644188a537a06bc6d04483b21e23b80987eb497 Mon Sep 17 00:00:00 2001
2From: Hieu Van Nguyen <hieu2.nguyen@lge.com>
3Date: Fri, 11 Oct 2024 04:21:21 +0000
4Subject: [PATCH] util/mtp-hotplug.c: Enable stack memory protection
5
6Use "return 0" instead of "exit(0)" at the end of main()
7function to enable checking for Stack Overflow at Runtime.
8
9Use "return 0" to let the program exit normally by returning from
10the main function. This allows the compiler to perform necessary
11cleanup operations, including stack canary checks.
12
13__stack_chk_fail function isn't being invoked when using exit(0) at
14the end of the main function
15$ objdump -T ./util/.libs/mtp-hotplug | grep __stack_chk_fail
16This return empty.
17---
18Upstream-Status: Backport [https://github.com/libmtp/libmtp/commit/e89dbb6ecf244936acc9a52aa4af9635bda5926a]
19
20 util/mtp-hotplug.c | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/util/mtp-hotplug.c b/util/mtp-hotplug.c
24index b5bc6da40f..db75cb38a1 100644
25--- a/util/mtp-hotplug.c
26+++ b/util/mtp-hotplug.c
27@@ -301,5 +301,5 @@ int main (int argc, char **argv)
28 printf("\n");
29 }
30
31- exit (0);
32+ return 0;
33 }
diff --git a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb
index 16f82c6ba..69dff50cd 100644
--- a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb
+++ b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb
@@ -18,7 +18,8 @@ DEPENDS = "libusb1 gettext-native"
18DEPENDS:append:class-target = " ${BPN}-native" 18DEPENDS:append:class-target = " ${BPN}-native"
19 19
20SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz" 20SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz"
21SRC_URI:append:class-target = " file://0001-Use-native-mtp-hotplug.patch" 21SRC_URI:append:class-target = " file://0001-Use-native-mtp-hotplug.patch \
22 file://0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch"
22SRC_URI[sha256sum] = "f4c1ceb3df020a6cb851110f620c14fe399518c494ed252039cbfb4e34335135" 23SRC_URI[sha256sum] = "f4c1ceb3df020a6cb851110f620c14fe399518c494ed252039cbfb4e34335135"
23 24
24UPSTREAM_CHECK_URI = "https://github.com/libmtp/libmtp/releases" 25UPSTREAM_CHECK_URI = "https://github.com/libmtp/libmtp/releases"
diff --git a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb b/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.14.0.bb
index c7a0562db..912b00261 100644
--- a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb
+++ b/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.14.0.bb
@@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
6 6
7DEPENDS = "zlib libsigc++-2.0 openssl cppunit" 7DEPENDS = "zlib libsigc++-2.0 openssl cppunit"
8 8
9PV = "0.13.8+git"
10
11SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https" 9SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https"
12SRCREV = "e60f222241319aaae482789517ad00ae9344bd13" 10SRCREV = "08fb6635ba249665cb08a4de1b955288d25c21e1"
13 11
14UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 12UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
15 13
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch b/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch
deleted file mode 100644
index b117dcf67..000000000
--- a/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 6120cee594c543d17ae015bc601012debcf57177 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 23 Oct 2023 10:43:42 +0100
4Subject: [PATCH] include string.h for strncpy()
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7Upstream-Status: Backport [master: 6120cee594c543d17ae015bc601012debcf57177]
8---
9 interface.c | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/interface.c b/interface.c
13index 29229ad6f53d..9a83c36933e7 100644
14--- a/interface.c
15+++ b/interface.c
16@@ -5,6 +5,7 @@
17 * @note SPDX-License-Identifier: GPL-2.0+
18 */
19 #include <stdlib.h>
20+#include <string.h>
21 #include "interface.h"
22
23 struct interface {
24--
252.34.1
26
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch b/meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch
deleted file mode 100644
index 3cf3a63b9..000000000
--- a/meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch
+++ /dev/null
@@ -1,48 +0,0 @@
1From cffb4807ac0b9ff7aea2aa4f3842985b5363d184 Mon Sep 17 00:00:00 2001
2From: Luca Fancellu <luca.fancellu@arm.com>
3Date: Mon, 23 Oct 2023 10:43:43 +0100
4Subject: [PATCH] linuxptp: Use ${CC} in incdefs.sh
5
6The Makefile is defining CC and incdefs.sh is using
7${CROSS_COMPILE}cpp inside it, allowing both to use different
8compilers depending on what the user pass during make invocation
9as CC.
10
11Align them using ${CC} also inside incdefs.sh.
12
13Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
14Upstream-Status: Backport [master: cffb4807ac0b9ff7aea2aa4f3842985b5363d184]
15---
16 incdefs.sh | 2 +-
17 makefile | 2 +-
18 2 files changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/incdefs.sh b/incdefs.sh
21index a9e94f777f6b..391e63c7fac6 100755
22--- a/incdefs.sh
23+++ b/incdefs.sh
24@@ -27,7 +27,7 @@ user_flags()
25 printf " -D_GNU_SOURCE"
26
27 # Get list of directories searched for header files.
28- dirs=$(echo "" | ${CROSS_COMPILE}cpp -Wp,-v 2>&1 >/dev/null | grep ^" /")
29+ dirs=$(${CC} -E -Wp,-v -xc /dev/null 2>&1 >/dev/null | grep ^" /")
30
31 # Look for clock_adjtime().
32 for d in $dirs; do
33diff --git a/makefile b/makefile
34index 3e3b8b35fc96..7fc5f6fb8fa8 100644
35--- a/makefile
36+++ b/makefile
37@@ -39,7 +39,7 @@ OBJECTS = $(OBJ) hwstamp_ctl.o nsm.o phc2sys.o phc_ctl.o pmc.o pmc_agent.o \
38 SRC = $(OBJECTS:.o=.c)
39 DEPEND = $(OBJECTS:.o=.d)
40 srcdir := $(dir $(lastword $(MAKEFILE_LIST)))
41-incdefs := $(shell $(srcdir)/incdefs.sh)
42+incdefs := $(shell CC="$(CC)" $(srcdir)/incdefs.sh)
43 version := $(shell $(srcdir)/version.sh $(srcdir))
44 VPATH = $(srcdir)
45
46--
472.34.1
48
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb b/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.4.bb
index d1a73841a..84b3af8c5 100644
--- a/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb
+++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.4.bb
@@ -5,23 +5,15 @@ HOMEPAGE = "http://linuxptp.sourceforge.net/"
5LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7 7
8LINUXPTP_SRC_URI = "http://sourceforge.net/projects/linuxptp" 8SRC_URI = "https://downloads.nwtime.org/linuxptp/linuxptp-${PV}.tgz \
9
10SRC_URI = "${LINUXPTP_SRC_URI}/files/v4.1/linuxptp-${PV}.tgz \
11 file://0001-include-string.h-for-strncpy.patch \
12 file://0002-linuxptp-Use-CC-in-incdefs.sh.patch \
13 file://systemd/phc2sys@.service.in \ 9 file://systemd/phc2sys@.service.in \
14 file://systemd/ptp4l@.service.in \ 10 file://systemd/ptp4l@.service.in \
15 " 11 "
16 12
17SRC_URI[md5sum] = "1db8699fc155965341759be5e5aad938" 13SRC_URI[sha256sum] = "61757bc0a58d789b8fcbdddf56c88a0230597184a70dcb2ac05b4c6b619f7d5c"
18SRC_URI[sha256sum] = "e1743d44f8208897e30895da3579e670ff919b914feb4b5a949f3e421ddde535"
19 14
20inherit systemd 15inherit systemd
21 16
22UPSTREAM_CHECK_URI = "${LINUXPTP_SRC_URI}/files/"
23UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
24
25EXTRA_OEMAKE = "CC='${CC}' EXTRA_CFLAGS='${CFLAGS}' mandir='${mandir}' \ 17EXTRA_OEMAKE = "CC='${CC}' EXTRA_CFLAGS='${CFLAGS}' mandir='${mandir}' \
26 sbindir='${sbindir}'" 18 sbindir='${sbindir}'"
27 19
diff --git a/meta-oe/recipes-connectivity/rabbitmq-c/files/CVE-2023-35789.patch b/meta-oe/recipes-connectivity/rabbitmq-c/files/CVE-2023-35789.patch
deleted file mode 100644
index dfd1f9875..000000000
--- a/meta-oe/recipes-connectivity/rabbitmq-c/files/CVE-2023-35789.patch
+++ /dev/null
@@ -1,131 +0,0 @@
1CVE: CVE-2023-35789
2Upstream-Status: Backport [ https://github.com/alanxz/rabbitmq-c/commit/463054383fbeef889b409a7f843df5365288e2a0 ]
3Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
4
5From 463054383fbeef889b409a7f843df5365288e2a0 Mon Sep 17 00:00:00 2001
6From: Christian Kastner <ckk@kvr.at>
7Date: Tue, 13 Jun 2023 14:21:52 +0200
8Subject: [PATCH] Add option to read username/password from file (#781)
9
10* Add option to read username/password from file
11---
12 tools/common.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++
13 1 file changed, 66 insertions(+)
14
15diff --git a/tools/common.c b/tools/common.c
16index 73b47e25..7efe557b 100644
17--- a/tools/common.c
18+++ b/tools/common.c
19@@ -18,6 +18,11 @@
20 #include "compat.h"
21 #endif
22
23+/* For when reading auth data from a file */
24+#define MAXAUTHTOKENLEN 128
25+#define USERNAMEPREFIX "username:"
26+#define PASSWORDPREFIX "password:"
27+
28 void die(const char *fmt, ...) {
29 va_list ap;
30 va_start(ap, fmt);
31@@ -125,6 +130,7 @@ static char *amqp_vhost;
32 static char *amqp_username;
33 static char *amqp_password;
34 static int amqp_heartbeat = 0;
35+static char *amqp_authfile;
36 #ifdef WITH_SSL
37 static int amqp_ssl = 0;
38 static char *amqp_cacert = "/etc/ssl/certs/cacert.pem";
39@@ -147,6 +153,8 @@ struct poptOption connect_options[] = {
40 "the password to login with", "password"},
41 {"heartbeat", 0, POPT_ARG_INT, &amqp_heartbeat, 0,
42 "heartbeat interval, set to 0 to disable", "heartbeat"},
43+ {"authfile", 0, POPT_ARG_STRING, &amqp_authfile, 0,
44+ "path to file containing username/password for authentication", "file"},
45 #ifdef WITH_SSL
46 {"ssl", 0, POPT_ARG_NONE, &amqp_ssl, 0, "connect over SSL/TLS", NULL},
47 {"cacert", 0, POPT_ARG_STRING, &amqp_cacert, 0,
48@@ -158,6 +166,50 @@ struct poptOption connect_options[] = {
49 #endif /* WITH_SSL */
50 {NULL, '\0', 0, NULL, 0, NULL, NULL}};
51
52+void read_authfile(const char *path) {
53+ size_t n;
54+ FILE *fp = NULL;
55+ char token[MAXAUTHTOKENLEN];
56+
57+ if ((amqp_username = malloc(MAXAUTHTOKENLEN)) == NULL ||
58+ (amqp_password = malloc(MAXAUTHTOKENLEN)) == NULL) {
59+ die("Out of memory");
60+ } else if ((fp = fopen(path, "r")) == NULL) {
61+ die("Could not read auth data file %s", path);
62+ }
63+
64+ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL ||
65+ strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) {
66+ die("Malformed auth file (missing username)");
67+ }
68+ strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN);
69+ /* Missing newline means token was cut off */
70+ n = strlen(amqp_username);
71+ if (amqp_username[n - 1] != '\n') {
72+ die("Username too long");
73+ } else {
74+ amqp_username[n - 1] = '\0';
75+ }
76+
77+ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL ||
78+ strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) {
79+ die("Malformed auth file (missing password)");
80+ }
81+ strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN);
82+ /* Missing newline means token was cut off */
83+ n = strlen(amqp_password);
84+ if (amqp_password[n - 1] != '\n') {
85+ die("Password too long");
86+ } else {
87+ amqp_password[n - 1] = '\0';
88+ }
89+
90+ (void)fgetc(fp);
91+ if (!feof(fp)) {
92+ die("Malformed auth file (trailing data)");
93+ }
94+}
95+
96 static void init_connection_info(struct amqp_connection_info *ci) {
97 ci->user = NULL;
98 ci->password = NULL;
99@@ -237,6 +289,8 @@ static void init_connection_info(struct amqp_connection_info *ci) {
100 if (amqp_username) {
101 if (amqp_url) {
102 die("--username and --url options cannot be used at the same time");
103+ } else if (amqp_authfile) {
104+ die("--username and --authfile options cannot be used at the same time");
105 }
106
107 ci->user = amqp_username;
108@@ -245,11 +299,23 @@ static void init_connection_info(struct amqp_connection_info *ci) {
109 if (amqp_password) {
110 if (amqp_url) {
111 die("--password and --url options cannot be used at the same time");
112+ } else if (amqp_authfile) {
113+ die("--password and --authfile options cannot be used at the same time");
114 }
115
116 ci->password = amqp_password;
117 }
118
119+ if (amqp_authfile) {
120+ if (amqp_url) {
121+ die("--authfile and --url options cannot be used at the same time");
122+ }
123+
124+ read_authfile(amqp_authfile);
125+ ci->user = amqp_username;
126+ ci->password = amqp_password;
127+ }
128+
129 if (amqp_vhost) {
130 if (amqp_url) {
131 die("--vhost and --url options cannot be used at the same time");
diff --git a/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.13.0.bb b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.14.0.bb
index ea80ec334..b0556ffc0 100644
--- a/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.13.0.bb
+++ b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.14.0.bb
@@ -4,10 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7e12f6e40e662e039e2f02b4893011ec"
4LICENSE = "MIT" 4LICENSE = "MIT"
5 5
6SRC_URI = "git://github.com/alanxz/rabbitmq-c.git;branch=master;protocol=https \ 6SRC_URI = "git://github.com/alanxz/rabbitmq-c.git;branch=master;protocol=https \
7 file://CVE-2023-35789.patch \
8" 7"
9# v0.13.0-master 8SRCREV = "124722b5045baa41a24ce2e2d7c52a47467e7ac0"
10SRCREV = "974d71adceae6d742ae20a4c880d99c131f1460a"
11 9
12S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
13 11
diff --git a/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb b/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.10.0.bb
index d9cca404d..4c963d9cc 100644
--- a/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb
+++ b/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.10.0.bb
@@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
6DEPENDS = "autoconf-archive libsigc++-2.0 curl cppunit libtool libtorrent ncurses" 6DEPENDS = "autoconf-archive libsigc++-2.0 curl cppunit libtool libtorrent ncurses"
7 7
8SRC_URI = "git://github.com/rakshasa/rtorrent;branch=master;protocol=https" 8SRC_URI = "git://github.com/rakshasa/rtorrent;branch=master;protocol=https"
9SRCREV = "d067bd802e44f0e6a747aabcc311ada2175fd550" 9SRCREV = "a88cab6d2e764e22cac232ef8d5af039d41b8280"
10
11PV = "0.9.8+git"
12 10
13S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
14 12
diff --git a/meta-oe/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch b/meta-oe/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch
deleted file mode 100644
index 2cd2c78c3..000000000
--- a/meta-oe/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Upstream-Status: Pending
2
3Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
4--- a/extensions/Makefile.am
5+++ b/extensions/Makefile.am
6@@ -37,8 +37,8 @@ _gen/all.xml: all.xml $(wildcard $(srcdi
7 --xinclude $(tools_dir)/identity.xsl \
8 $< > $@
9
10-extensions.html: _gen/all.xml $(tools_dir)/doc-generator.xsl
11+extensions.html _gen/svc-gtk-doc.h: _gen/all.xml $(tools_dir)/doc-generator.xsl
12 $(AM_V_GEN)$(XSLTPROC) $(XSLTPROCFLAGS) \
13 $(tools_dir)/doc-generator.xsl \
14 $< > $@
15
diff --git a/meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb b/meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb
deleted file mode 100644
index 039cfc3a8..000000000
--- a/meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1SUMMARY = "Telepathy IRC connection manager"
2DESCRIPTION = "Telepathy implementation of the Internet Relay Chat protocols."
3HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
4DEPENDS = "glib-2.0 dbus telepathy-glib openssl libxslt-native"
5LICENSE = "LGPL-2.1-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
7 file://src/idle.c;beginline=1;endline=19;md5=b06b1e2594423111a1a7910b0eefc7f9"
8
9SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \
10 file://fix-svc-gtk-doc.h-target.patch"
11SRC_URI[md5sum] = "92a2de5198284cbd3c430b0d1a971a86"
12SRC_URI[sha256sum] = "3013ad4b38d14ee630b8cc8ada5e95ccaa849b9a6fe15d2eaf6d0717d76f2fab"
13
14inherit autotools pkgconfig ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "pythonnative", "", d)}
15
16FILES:${PN} += "${datadir}/telepathy \
17 ${datadir}/dbus-1"
18
19python() {
20 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
21 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
22}
diff --git a/meta-oe/recipes-connectivity/thrift/thrift_0.20.0.bb b/meta-oe/recipes-connectivity/thrift/thrift_0.21.0.bb
index 23db052b9..35e55b225 100644
--- a/meta-oe/recipes-connectivity/thrift/thrift_0.20.0.bb
+++ b/meta-oe/recipes-connectivity/thrift/thrift_0.21.0.bb
@@ -10,7 +10,7 @@ DEPENDS = "thrift-native boost flex-native bison-native openssl zlib"
10 10
11SRC_URI = "https://downloads.apache.org/${BPN}/${PV}/${BP}.tar.gz \ 11SRC_URI = "https://downloads.apache.org/${BPN}/${PV}/${BP}.tar.gz \
12 file://0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch" 12 file://0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch"
13SRC_URI[sha256sum] = "b5d8311a779470e1502c027f428a1db542f5c051c8e1280ccd2163fa935ff2d6" 13SRC_URI[sha256sum] = "9a24f3eba9a4ca493602226c16d8c228037db3b9291c6fc4019bfe3bd39fc67c"
14 14
15BBCLASSEXTEND = "native nativesdk" 15BBCLASSEXTEND = "native nativesdk"
16 16
diff --git a/meta-oe/recipes-connectivity/transmission/transmission_4.0.6.bb b/meta-oe/recipes-connectivity/transmission/transmission_4.0.6.bb
index 199a7c6d6..f86389998 100644
--- a/meta-oe/recipes-connectivity/transmission/transmission_4.0.6.bb
+++ b/meta-oe/recipes-connectivity/transmission/transmission_4.0.6.bb
@@ -21,7 +21,7 @@ inherit cmake gettext update-rc.d pkgconfig systemd mime-xdg
21 21
22LDFLAGS:append:riscv32 = " -latomic" 22LDFLAGS:append:riscv32 = " -latomic"
23 23
24PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ 24PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'gtk', '', d)} \
25 ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" 25 ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
26 26
27PACKAGECONFIG[gtk] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF,gtk4 gtkmm4," 27PACKAGECONFIG[gtk] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF,gtk4 gtkmm4,"
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_36.bb b/meta-oe/recipes-core/dbus/dbus-broker_36.bb
index 46cff86db..5b4915f96 100644
--- a/meta-oe/recipes-core/dbus/dbus-broker_36.bb
+++ b/meta-oe/recipes-core/dbus/dbus-broker_36.bb
@@ -1,33 +1,37 @@
1SUMMARY = "dbus broker" 1SUMMARY = "dbus broker"
2DESCRIPTION = "Drop-in replacement for dbus-daemon." 2DESCRIPTION = "Drop-in replacement for dbus-daemon."
3
4SECTION = "base" 3SECTION = "base"
5
6LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8"
8 6DEPENDS = "\
9SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz" 7 expat \
8 systemd \
9 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit (>= 3.0)', '', d)} \
10 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux (>= 3.2)', '', d)} \
11"
12
13SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/${BP}.tar.xz"
10SRC_URI[sha256sum] = "d333d99bd2688135b6d6961e7ad1360099d186078781c87102230910ea4e162b" 14SRC_URI[sha256sum] = "d333d99bd2688135b6d6961e7ad1360099d186078781c87102230910ea4e162b"
11 15
12UPSTREAM_CHECK_URI = "https://github.com/bus1/${BPN}/releases" 16UPSTREAM_CHECK_URI = "https://github.com/bus1/${BPN}/releases"
13UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+)" 17UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+)"
14 18
15inherit meson pkgconfig systemd features_check 19SYSTEMD_SERVICE:${PN} = "${BPN}.service"
16 20
17DEPENDS = "expat systemd" 21inherit meson pkgconfig systemd features_check
18DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux (>= 3.2)', '', d)}"
19DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit (>= 3.0)', '', d)}"
20 22
21RDEPENDS:${PN} += "dbus-common" 23EXTRA_OEMESON += "-Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
24EXTRA_OEMESON += "-Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
22 25
23REQUIRED_DISTRO_FEATURES = "systemd" 26REQUIRED_DISTRO_FEATURES = "systemd"
24 27
25SYSTEMD_SERVICE:${PN} = "${BPN}.service" 28do_install:append() {
29 install -d ${D}${sysconfdir}/systemd/user
30 ln -s ${systemd_user_unitdir}/dbus-broker.service ${D}${sysconfdir}/systemd/user/dbus.service
31}
32
33RDEPENDS:${PN} += "dbus-common"
26 34
35FILES:${PN} += "${nonarch_libdir}/systemd/catalog"
27FILES:${PN} += "${systemd_system_unitdir}" 36FILES:${PN} += "${systemd_system_unitdir}"
28FILES:${PN} += "${systemd_user_unitdir}" 37FILES:${PN} += "${systemd_user_unitdir}"
29FILES:${PN} += "${nonarch_libdir}/systemd/catalog"
30
31EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
32EXTRA_OEMESON += " -Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
33
diff --git a/meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb b/meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb
index 465193849..7c7a3fafb 100644
--- a/meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb
+++ b/meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb
@@ -24,7 +24,7 @@ EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross -Dmaintainer-mode=fa
24do_write_config:append() { 24do_write_config:append() {
25 cat >${WORKDIR}/meson-${PN}.cross <<EOF 25 cat >${WORKDIR}/meson-${PN}.cross <<EOF
26[binaries] 26[binaries]
27m4 = '${bindir}/m4' 27m4 = '${bindir_native}/m4'
28perl = '${bindir}/perl' 28perl = '${bindir_native}/perl'
29EOF 29EOF
30} 30}
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index 6f31283fb..178256c83 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -7,24 +7,20 @@ PROVIDES = "${PACKAGES}"
7PACKAGES = "\ 7PACKAGES = "\
8 packagegroup-meta-oe \ 8 packagegroup-meta-oe \
9 packagegroup-meta-oe-benchmarks \ 9 packagegroup-meta-oe-benchmarks \
10 packagegroup-meta-oe-bsp \
10 packagegroup-meta-oe-connectivity \ 11 packagegroup-meta-oe-connectivity \
11 packagegroup-meta-oe-connectivity-python2 \
12 packagegroup-meta-oe-core \ 12 packagegroup-meta-oe-core \
13 packagegroup-meta-oe-crypto \ 13 packagegroup-meta-oe-crypto \
14 packagegroup-meta-oe-bsp \
15 packagegroup-meta-oe-dbs \ 14 packagegroup-meta-oe-dbs \
16 packagegroup-meta-oe-dbs-python2 \
17 packagegroup-meta-oe-devtools \ 15 packagegroup-meta-oe-devtools \
18 packagegroup-meta-oe-extended \ 16 packagegroup-meta-oe-extended \
19 packagegroup-meta-oe-extended-python2 \
20 packagegroup-meta-oe-kernel \ 17 packagegroup-meta-oe-kernel \
21 packagegroup-meta-oe-multimedia \ 18 packagegroup-meta-oe-multimedia \
22 packagegroup-meta-oe-navigation \ 19 packagegroup-meta-oe-navigation \
23 packagegroup-meta-oe-printing \ 20 packagegroup-meta-oe-printing \
24 packagegroup-meta-oe-shells \
25 packagegroup-meta-oe-security \ 21 packagegroup-meta-oe-security \
22 packagegroup-meta-oe-shells \
26 packagegroup-meta-oe-support \ 23 packagegroup-meta-oe-support \
27 packagegroup-meta-oe-support-python2 \
28 packagegroup-meta-oe-test \ 24 packagegroup-meta-oe-test \
29 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \ 25 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \
30 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \ 26 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \
@@ -36,14 +32,11 @@ RDEPENDS:packagegroup-meta-oe = "\
36 packagegroup-meta-oe-benchmarks \ 32 packagegroup-meta-oe-benchmarks \
37 packagegroup-meta-oe-bsp \ 33 packagegroup-meta-oe-bsp \
38 packagegroup-meta-oe-connectivity \ 34 packagegroup-meta-oe-connectivity \
39 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-connectivity-python2", "", d)} \
40 packagegroup-meta-oe-core \ 35 packagegroup-meta-oe-core \
41 packagegroup-meta-oe-crypto \ 36 packagegroup-meta-oe-crypto \
42 packagegroup-meta-oe-dbs \ 37 packagegroup-meta-oe-dbs \
43 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-dbs-python2", "", d)} \
44 packagegroup-meta-oe-devtools \ 38 packagegroup-meta-oe-devtools \
45 packagegroup-meta-oe-extended \ 39 packagegroup-meta-oe-extended \
46 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-extended-python2", "", d)} \
47 packagegroup-meta-oe-kernel \ 40 packagegroup-meta-oe-kernel \
48 packagegroup-meta-oe-multimedia \ 41 packagegroup-meta-oe-multimedia \
49 packagegroup-meta-oe-navigation \ 42 packagegroup-meta-oe-navigation \
@@ -51,7 +44,6 @@ RDEPENDS:packagegroup-meta-oe = "\
51 packagegroup-meta-oe-security \ 44 packagegroup-meta-oe-security \
52 packagegroup-meta-oe-shells \ 45 packagegroup-meta-oe-shells \
53 packagegroup-meta-oe-support \ 46 packagegroup-meta-oe-support \
54 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-support-python2", "", d)} \
55 packagegroup-meta-oe-test \ 47 packagegroup-meta-oe-test \
56 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \ 48 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \
57 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \ 49 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \
@@ -94,7 +86,7 @@ RDEPENDS:packagegroup-meta-oe-benchmarks:remove:mips64el = "tinymembench"
94RDEPENDS:packagegroup-meta-oe-benchmarks:remove:riscv64 = "libhugetlbfs" 86RDEPENDS:packagegroup-meta-oe-benchmarks:remove:riscv64 = "libhugetlbfs"
95RDEPENDS:packagegroup-meta-oe-benchmarks:remove:riscv32 = "libhugetlbfs" 87RDEPENDS:packagegroup-meta-oe-benchmarks:remove:riscv32 = "libhugetlbfs"
96 88
97RDEPENDS:packagegroup-meta-oe-bsp ="\ 89RDEPENDS:packagegroup-meta-oe-bsp = "\
98 acpitool \ 90 acpitool \
99 cpufrequtils \ 91 cpufrequtils \
100 edac-utils \ 92 edac-utils \
@@ -103,10 +95,10 @@ RDEPENDS:packagegroup-meta-oe-bsp ="\
103 fwupd \ 95 fwupd \
104 fwupd-efi \ 96 fwupd-efi \
105 irda-utils \ 97 irda-utils \
98 lmsensors \
106 lmsensors-config-cgi \ 99 lmsensors-config-cgi \
107 lmsensors-config-fancontrol \ 100 lmsensors-config-fancontrol \
108 lmsensors-config-sensord \ 101 lmsensors-config-sensord \
109 lmsensors \
110 lsscsi \ 102 lsscsi \
111 nvme-cli \ 103 nvme-cli \
112 pcmciautils \ 104 pcmciautils \
@@ -123,8 +115,9 @@ RDEPENDS:packagegroup-meta-oe-bsp:remove:powerpc64le = "efivar efibootmgr fwupd
123RDEPENDS:packagegroup-meta-oe-bsp:remove:riscv64 = "efivar efibootmgr fwupd fwupd-efi" 115RDEPENDS:packagegroup-meta-oe-bsp:remove:riscv64 = "efivar efibootmgr fwupd fwupd-efi"
124RDEPENDS:packagegroup-meta-oe-bsp:remove:riscv32 = "efivar efibootmgr fwupd fwupd-efi" 116RDEPENDS:packagegroup-meta-oe-bsp:remove:riscv32 = "efivar efibootmgr fwupd fwupd-efi"
125 117
126RDEPENDS:packagegroup-meta-oe-connectivity ="\ 118RDEPENDS:packagegroup-meta-oe-connectivity = "\
127 cyrus-sasl \ 119 cyrus-sasl \
120 czmq \
128 gammu \ 121 gammu \
129 gattlib \ 122 gattlib \
130 gensio \ 123 gensio \
@@ -148,8 +141,8 @@ RDEPENDS:packagegroup-meta-oe-connectivity ="\
148 modemmanager \ 141 modemmanager \
149 mosh \ 142 mosh \
150 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "obex-data-server", "", d)} \ 143 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "obex-data-server", "", d)} \
151 openobex \
152 obexftp \ 144 obexftp \
145 openobex \
153 packagegroup-tools-bluetooth \ 146 packagegroup-tools-bluetooth \
154 paho-mqtt-c \ 147 paho-mqtt-c \
155 paho-mqtt-cpp \ 148 paho-mqtt-cpp \
@@ -163,45 +156,40 @@ RDEPENDS:packagegroup-meta-oe-connectivity ="\
163 usbmuxd \ 156 usbmuxd \
164 wifi-test-suite \ 157 wifi-test-suite \
165 zabbix \ 158 zabbix \
166 czmq \
167 zeromq \ 159 zeromq \
168" 160"
169 161
170RDEPENDS:packagegroup-meta-oe-connectivity:append:libc-glibc = " wvstreams wvdial" 162RDEPENDS:packagegroup-meta-oe-connectivity:append:libc-glibc = " wvstreams wvdial"
171 163
172RDEPENDS:packagegroup-meta-oe-connectivity-python2 = "\
173 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "telepathy-idle", "", d)} \
174"
175
176# dracut needs dracut 164# dracut needs dracut
177RDEPENDS:packagegroup-meta-oe-core = "\ 165RDEPENDS:packagegroup-meta-oe-core = "\
178 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "dbus-broker", "", d)} \ 166 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "dbus-broker", "", d)} \
167 dbus-cxx \
179 dbus-daemon-proxy \ 168 dbus-daemon-proxy \
180 libdbus-c++ \ 169 distro-feed-configs \
181 emlog \ 170 emlog \
182 kernel-module-emlog \
183 glibmm \ 171 glibmm \
172 kernel-module-emlog \
173 libdbus-c++ \
184 libnfc \ 174 libnfc \
185 libsigc++-2.0 \ 175 libsigc++-2.0 \
186 libsigc++-3 \ 176 libsigc++-3 \
187 mdbus2 \ 177 mdbus2 \
188 distro-feed-configs \
189 mm-common \ 178 mm-common \
190 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "ndctl", "", d)} \ 179 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "ndctl", "", d)} \
191 pim435 \ 180 pim435 \
192 proxy-libintl \ 181 proxy-libintl \
193 safec \ 182 safec \
194 sdbus-c++-tools \
195 sdbus-c++ \ 183 sdbus-c++ \
184 sdbus-c++-tools \
196 toybox \ 185 toybox \
197 usleep \ 186 usleep \
198 dbus-cxx \
199" 187"
200RDEPENDS:packagegroup-meta-oe-core:append:libc-glibc = " ${@bb.utils.contains("DISTRO_FEATURES", "x11 opengl", "glfw", "", d)}" 188RDEPENDS:packagegroup-meta-oe-core:append:libc-glibc = " ${@bb.utils.contains("DISTRO_FEATURES", "x11 opengl", "glfw", "", d)}"
201RDEPENDS:packagegroup-meta-oe-core:remove:riscv64 = "safec" 189RDEPENDS:packagegroup-meta-oe-core:remove:riscv64 = "safec"
202RDEPENDS:packagegroup-meta-oe-core:remove:riscv32 = "safec" 190RDEPENDS:packagegroup-meta-oe-core:remove:riscv32 = "safec"
203 191
204RDEPENDS:packagegroup-meta-oe-crypto ="\ 192RDEPENDS:packagegroup-meta-oe-crypto = "\
205 botan \ 193 botan \
206 cryptsetup \ 194 cryptsetup \
207 fsverity-utils \ 195 fsverity-utils \
@@ -212,7 +200,7 @@ RDEPENDS:packagegroup-meta-oe-crypto ="\
212" 200"
213RDEPENDS:packagegroup-meta-oe-crypto:remove:riscv32 = "botan" 201RDEPENDS:packagegroup-meta-oe-crypto:remove:riscv32 = "botan"
214 202
215RDEPENDS:packagegroup-meta-oe-dbs ="\ 203RDEPENDS:packagegroup-meta-oe-dbs = "\
216 influxdb \ 204 influxdb \
217 leveldb \ 205 leveldb \
218 libdbi \ 206 libdbi \
@@ -225,91 +213,86 @@ RDEPENDS:packagegroup-meta-oe-dbs ="\
225" 213"
226RDEPENDS:packagegroup-meta-oe-dbs:remove:libc-musl:powerpc = "rocksdb" 214RDEPENDS:packagegroup-meta-oe-dbs:remove:libc-musl:powerpc = "rocksdb"
227 215
228RDEPENDS:packagegroup-meta-oe-dbs-python2 ="\ 216RDEPENDS:packagegroup-meta-oe-devtools = "\
229 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'mysql-python', '', d), "", d)} \
230"
231
232RDEPENDS:packagegroup-meta-oe-devtools ="\
233 abseil-cpp \ 217 abseil-cpp \
218 android-tools \
219 android-tools-conf \
234 apitrace \ 220 apitrace \
235 breakpad \ 221 breakpad \
236 android-tools-conf \ 222 capnproto-compiler \
237 android-tools \
238 concurrencykit \
239 cgdb \ 223 cgdb \
240 ctags \
241 debootstrap \
242 cjson \ 224 cjson \
243 cloc \ 225 cloc \
244 icon-slicer \ 226 concurrencykit \
245 cscope \ 227 cscope \
228 ctags \
246 dbd-mariadb \ 229 dbd-mariadb \
230 debootstrap \
247 dmalloc \ 231 dmalloc \
248 ${@bb.utils.contains("PACKAGE_CLASSES", "package_rpm", "dnf-plugin-tui", "", d)} \ 232 ${@bb.utils.contains("PACKAGE_CLASSES", "package_rpm", "dnf-plugin-tui", "", d)} \
249 doxygen \ 233 doxygen \
250 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geany-plugins geany", "", d)} \
251 jemalloc \
252 lemon \
253 flatbuffers \ 234 flatbuffers \
254 heaptrack \ 235 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geany-plugins geany", "", d)} \
255 libparse-yapp-perl \
256 libubox \
257 ltrace \
258 luajit \
259 mcpp \
260 memstat \
261 giflib \ 236 giflib \
262 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "glade", "", d)} \ 237 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "glade", "", d)} \
263 grpc \ 238 grpc \
264 guider \ 239 guider \
265 php \ 240 heaptrack \
241 icon-slicer \
242 ipc-run \
266 iptraf-ng \ 243 iptraf-ng \
244 jemalloc \
267 jq \ 245 jq \
268 json-spirit \
269 serialcheck \
270 tclap \
271 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "tk", "", d)} \
272 uw-imap \
273 jsoncpp \ 246 jsoncpp \
274 jsonrpc \ 247 jsonrpc \
275 yajl \ 248 json-schema-validator \
276 yajl \ 249 json-spirit \
277 kconfig-frontends \ 250 kconfig-frontends \
251 lemon \
252 libdbi-perl \
253 libdev-checklib-perl \
278 libgee \ 254 libgee \
255 libio-pty-perl \
256 libjson-perl \
257 libparse-yapp-perl \
258 libperlio-gzip-perl \
279 libsombok3 \ 259 libsombok3 \
260 libubox \
261 libxerces-c \
280 lshw \ 262 lshw \
263 ltrace \
264 luajit \
281 luaposix \ 265 luaposix \
282 capnproto-compiler \ 266 mcpp \
267 memstat \
268 mercurial \
269 microsoft-gsl \
283 mpich \ 270 mpich \
284 msgpack-c \ 271 msgpack-c \
285 msgpack-cpp \ 272 msgpack-cpp \
286 mercurial \
287 nodejs \ 273 nodejs \
288 openocd \ 274 openocd \
289 pax-utils \ 275 pax-utils \
290 ipc-run \ 276 php \
291 libdbi-perl \
292 libdev-checklib-perl \
293 libio-pty-perl \
294 libjson-perl \
295 libperlio-gzip-perl \
296 ply \ 277 ply \
297 protobuf-c \ 278 poke \
298 protobuf \ 279 protobuf \
280 protobuf-c \
299 pugixml \ 281 pugixml \
300 python3-distutils-extra \ 282 python3-distutils-extra \
301 python3-pycups \ 283 python3-pycups \
302 rapidjson \ 284 rapidjson \
285 serialcheck \
303 squashfs-tools-ng \ 286 squashfs-tools-ng \
287 tclap \
288 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "tk", "", d)} \
304 uftrace \ 289 uftrace \
290 uw-imap \
305 valijson \ 291 valijson \
306 libxerces-c \
307 xerces-c-samples \ 292 xerces-c-samples \
308 xmlrpc-c \ 293 xmlrpc-c \
294 yajl \
309 yasm \ 295 yasm \
310 json-schema-validator \
311 poke \
312 microsoft-gsl \
313" 296"
314RDEPENDS:packagegroup-meta-oe-devtools:append:x86 = " cpuid msr-tools pahole pmtools" 297RDEPENDS:packagegroup-meta-oe-devtools:append:x86 = " cpuid msr-tools pahole pmtools"
315RDEPENDS:packagegroup-meta-oe-devtools:append:x86-64 = " cpuid msr-tools pahole pcimem pmtools" 298RDEPENDS:packagegroup-meta-oe-devtools:append:x86-64 = " cpuid msr-tools pahole pcimem pmtools"
@@ -332,110 +315,111 @@ RDEPENDS:packagegroup-meta-oe-devtools:remove:libc-musl:riscv32 = "php"
332RDEPENDS:packagegroup-meta-oe-devtools:remove:aarch64 = "concurrencykit" 315RDEPENDS:packagegroup-meta-oe-devtools:remove:aarch64 = "concurrencykit"
333RDEPENDS:packagegroup-meta-oe-devtools:remove:x86 = "ply" 316RDEPENDS:packagegroup-meta-oe-devtools:remove:x86 = "ply"
334 317
335RDEPENDS:packagegroup-meta-oe-extended ="\ 318RDEPENDS:packagegroup-meta-oe-extended = "\
336 bitwise \ 319 bitwise \
337 ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland opengl", "boinc-client", "", d)} \ 320 ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland opengl", "boinc-client", "", d)} \
338 brotli \ 321 brotli \
339 byacc \ 322 byacc \
323 can-utils \
324 canutils \
340 cmatrix \ 325 cmatrix \
341 cmpi-bindings \ 326 cmpi-bindings \
342 collectd \ 327 collectd \
343 ddrescue \ 328 ddrescue \
344 dialog \ 329 dialog \
345 duktape \
346 enscript \
347 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gnuplot", "", d)} \
348 dlt-daemon \ 330 dlt-daemon \
349 docopt.cpp \ 331 docopt.cpp \
350 iotop \ 332 duktape \
351 dumb-init \ 333 dumb-init \
352 konkretcmpi \ 334 enscript \
353 figlet \ 335 figlet \
354 libcec \ 336 fluentbit \
355 libdivecomputer \ 337 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gnuplot", "", d)} \
356 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libgxim", "", d)} \
357 liblognorm \
358 libmodbus \
359 haveged \ 338 haveged \
360 hexedit \ 339 hexedit \
361 hiredis \ 340 hiredis \
362 hplip \ 341 hplip \
363 hwloc \ 342 hwloc \
364 libleak \
365 libuio \
366 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libwmf", "", d)} \
367 libyang \
368 lprng \
369 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "icewm", "", d)} \ 343 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "icewm", "", d)} \
370 md5deep \
371 indent \ 344 indent \
372 jansson \ 345 iotop \
373 nana \
374 nicstat \
375 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "openwsman", "", d)} \
376 p7zip \
377 isomd5sum \ 346 isomd5sum \
347 jansson \
378 jpnevulator \ 348 jpnevulator \
379 ${@bb.utils.contains("DISTRO_FEATURES", "polkit", "polkit-group-rule-datetime polkit-group-rule-network polkit", "", d)} \ 349 konkretcmpi \
380 rarpd \
381 redis \
382 libfastjson \
383 librelp \
384 sblim-cmpi-devel \
385 sblim-sfc-common \
386 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sblim-sfcb ", "", d)} \
387 sblim-sfcc \
388 libblockdev \ 350 libblockdev \
389 sgpio \ 351 libcec \
390 smartmontools \
391 can-utils \
392 canutils \
393 libsocketcan \
394 libconfig \ 352 libconfig \
395 linuxconsole \ 353 libdivecomputer \
396 uml-utilities \ 354 libfastjson \
355 libfile-fnmatch-perl \
356 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libgxim", "", d)} \
397 libidn \ 357 libidn \
398 libqb \ 358 libleak \
399 wipe \
400 libzip \
401 zram \
402 libplist \
403 libusbmuxd \
404 liblockfile \ 359 liblockfile \
405 liblogging \ 360 liblogging \
361 liblognorm \
362 libmodbus \
363 libplist \
406 libpwquality \ 364 libpwquality \
365 libqb \
366 librelp \
407 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "libreport", "", d)} \ 367 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "libreport", "", d)} \
408 libserialport \ 368 libserialport \
369 libsigrok \
370 libsigrokdecode \
371 libsocketcan \
409 libstatgrab \ 372 libstatgrab \
373 libuio \
374 libusbmuxd \
375 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libwmf", "", d)} \
376 libyang \
377 libzip \
378 linuxconsole \
410 lockfile-progs \ 379 lockfile-progs \
411 logwatch \ 380 logwatch \
381 lprng \
382 md5deep \
412 mraa \ 383 mraa \
384 nana \
385 nicstat \
386 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "openwsman", "", d)} \
413 ostree \ 387 ostree \
388 p7zip \
414 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "pam-plugin-ccreds pam-plugin-ldapdb pam-ssh-agent-auth", "", d)} \ 389 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "pam-plugin-ccreds pam-plugin-ldapdb pam-ssh-agent-auth", "", d)} \
415 pegtl \ 390 pegtl \
416 libfile-fnmatch-perl \ 391 ${@bb.utils.contains("DISTRO_FEATURES", "polkit", "polkit-group-rule-datetime polkit-group-rule-network polkit", "", d)} \
392 rarpd \
393 redis \
394 redis-plus-plus \
417 rrdtool \ 395 rrdtool \
418 sanlock \ 396 sanlock \
397 sblim-cmpi-devel \
398 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sblim-sfcb ", "", d)} \
399 sblim-sfcc \
400 sblim-sfc-common \
419 scsirastools \ 401 scsirastools \
420 sedutil \ 402 sedutil \
421 libsigrok \ 403 sgpio \
422 libsigrokdecode \
423 s-nail \
424 sigrok-cli \ 404 sigrok-cli \
405 smartmontools \
406 s-nail \
425 snappy \ 407 snappy \
426 tipcutils \ 408 tipcutils \
427 tiptop \ 409 tiptop \
428 tmate \ 410 tmate \
429 tmux \ 411 tmux \
430 triggerhappy \ 412 triggerhappy \
413 uml-utilities \
431 upm \ 414 upm \
432 vlock \ 415 vlock \
433 volume-key \ 416 volume-key \
417 wipe \
434 wxwidgets \ 418 wxwidgets \
435 zlog \ 419 zlog \
420 zram \
436 zstd \ 421 zstd \
437 zsync-curl \ 422 zsync-curl \
438 redis-plus-plus \
439" 423"
440RDEPENDS:packagegroup-meta-oe-extended:append:libc-musl = " libexecinfo" 424RDEPENDS:packagegroup-meta-oe-extended:append:libc-musl = " libexecinfo"
441RDEPENDS:packagegroup-meta-oe-extended:append:x86-64 = " pmdk libx86-1" 425RDEPENDS:packagegroup-meta-oe-extended:append:x86-64 = " pmdk libx86-1"
@@ -450,171 +434,177 @@ RDEPENDS:packagegroup-meta-oe-extended:remove:powerpc64le = "upm mraa sysdig"
450RDEPENDS:packagegroup-meta-oe-extended:remove:riscv64 = "upm libleak mraa sysdig tiptop" 434RDEPENDS:packagegroup-meta-oe-extended:remove:riscv64 = "upm libleak mraa sysdig tiptop"
451RDEPENDS:packagegroup-meta-oe-extended:remove:riscv32 = "upm libleak mraa sysdig tiptop" 435RDEPENDS:packagegroup-meta-oe-extended:remove:riscv32 = "upm libleak mraa sysdig tiptop"
452 436
453RDEPENDS:packagegroup-meta-oe-extended-python2 ="\ 437RDEPENDS:packagegroup-meta-oe-gnome = "\
454 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'openlmi-tools', '', d), "", d)} \
455"
456
457RDEPENDS:packagegroup-meta-oe-gnome ="\
458 atkmm \ 438 atkmm \
459 gcab \ 439 gcab \
460 gnome-common \
461 gmime \ 440 gmime \
462 libjcat \ 441 gnome-common \
442 gnome-theme-adwaita \
463 gtk+ \ 443 gtk+ \
464 gtkmm3 \
465 gtkmm \ 444 gtkmm \
445 gtkmm3 \
446 libjcat \
466 ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", "libpeas", "", d)} \ 447 ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", "libpeas", "", d)} \
467 pyxdg \ 448 pyxdg \
468 gnome-theme-adwaita \
469" 449"
470 450
471RDEPENDS:packagegroup-meta-oe-graphics ="\ 451RDEPENDS:packagegroup-meta-oe-graphics = "\
452 bdftopcf \
472 cairomm \ 453 cairomm \
473 directfb-examples \ 454 deqp-runner \
474 directfb \
475 fbgrab \
476 dietsplash \ 455 dietsplash \
456 directfb \
457 directfb-examples \
477 ${@bb.utils.contains("PACKAGE_CLASSES", "package_rpm", "dnfdragora", "", d)} \ 458 ${@bb.utils.contains("PACKAGE_CLASSES", "package_rpm", "dnfdragora", "", d)} \
478 fontforge \ 459 fbgrab \
479 fbida \ 460 fbida \
480 feh \ 461 feh \
462 font-adobe-100dpi \
463 font-adobe-utopia-100dpi \
464 font-bh-100dpi \
465 font-bh-lucidatypewriter-100dpi \
466 font-bitstream-100dpi \
467 font-cursor-misc \
468 fontforge \
469 font-misc-misc \
481 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "freeglut", "", d)} \ 470 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "freeglut", "", d)} \
482 ftgl \ 471 ftgl \
483 fvwm \ 472 fvwm \
484 gtkperf \
485 gphoto2 \ 473 gphoto2 \
486 imlib2 \
487 libgphoto2 \
488 graphviz \ 474 graphviz \
475 gtkperf \
489 gtkwave \ 476 gtkwave \
477 iceauth \
478 imlib2 \
490 jasper \ 479 jasper \
491 libforms \
492 lxdm \
493 numlockx \
494 nyancat \
495 obconf \
496 openbox \
497 packagegroup-fonts-truetype \
498 qrencode \
499 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "st", "", d)} \
500 leptonica \ 480 leptonica \
501 libvncserver \ 481 libforms \
482 libgphoto2 \
502 libmng \ 483 libmng \
484 libsdl \
485 libsdl2-image \
486 libsdl2-mixer \
487 libsdl2-net \
488 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "libsdl2-ttf", "", d)} \
503 libsdl-gfx \ 489 libsdl-gfx \
504 libsdl-image \ 490 libsdl-image \
505 libsdl-mixer \ 491 libsdl-mixer \
506 libsdl-net \ 492 libsdl-net \
507 libsdl-ttf \ 493 libsdl-ttf \
508 libsdl2-image \ 494 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libvdpau vdpauinfo", "", d)} \
509 libsdl2-mixer \ 495 libvncserver \
510 libsdl2-net \ 496 libxaw6 \
511 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "libsdl2-ttf", "", d)} \ 497 libxpresent \
512 libsdl \ 498 libyui \
499 libyui-ncurses \
513 lvgl \ 500 lvgl \
514 ttf-arphic-uming \ 501 lxdm \
515 ttf-droid-sans ttf-droid-sans-mono ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif \ 502 numlockx \
516 ttf-abyssinica \ 503 nyancat \
504 obconf \
505 openbox \
506 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "opengl-es-cts", "", d)} \
507 openjpeg \
508 packagegroup-fonts-truetype \
509 pangomm \
510 parallel-deqp-runner \
511 qrencode \
512 sessreg \
513 setxkbmap \
514 source-code-pro-fonts \
517 source-han-sans-cn-fonts \ 515 source-han-sans-cn-fonts \
518 source-han-sans-jp-fonts \ 516 source-han-sans-jp-fonts \
519 source-han-sans-kr-fonts \ 517 source-han-sans-kr-fonts \
520 source-han-sans-tw-fonts \ 518 source-han-sans-tw-fonts \
521 source-code-pro-fonts \ 519 spirv-shader-generator \
520 spirv-tools \
521 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "st", "", d)} \
522 stalonetray \
523 surf \
524 terminus-font-consolefonts \
525 terminus-font-pcf \
526 tesseract \
527 tesseract-lang \
528 ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "tigervnc", "", d)} \
529 tslib \
530 ttf-abyssinica \
531 ttf-arphic-uming \
532 ttf-dejavu-common \
533 ttf-dejavu-mathtexgyre \
522 ttf-dejavu-sans \ 534 ttf-dejavu-sans \
523 ttf-dejavu-sans-condensed \ 535 ttf-dejavu-sans-condensed \
524 ttf-dejavu-sans-mono \ 536 ttf-dejavu-sans-mono \
525 ttf-dejavu-serif \ 537 ttf-dejavu-serif \
526 ttf-dejavu-serif-condensed \ 538 ttf-dejavu-serif-condensed \
527 ttf-dejavu-mathtexgyre \ 539 ttf-droid-sans \
528 ttf-dejavu-common \ 540 ttf-droid-sans-fallback \
541 ttf-droid-sans-japanese \
542 ttf-droid-sans-mono \
543 ttf-droid-serif \
529 ttf-gentium \ 544 ttf-gentium \
530 ttf-hunky-sans \ 545 ttf-hunky-sans \
531 ttf-hunky-serif \ 546 ttf-hunky-serif \
532 ttf-ipag ttf-ipagp ttf-ipamp ttf-ipam \
533 ttf-lohit \
534 ttf-inconsolata \ 547 ttf-inconsolata \
535 ttf-liberation-sans-narrow \ 548 ttf-ipag \
549 ttf-ipagp \
550 ttf-ipam \
551 ttf-ipamp \
536 ttf-liberation-mono \ 552 ttf-liberation-mono \
537 ttf-liberation-sans \ 553 ttf-liberation-sans \
554 ttf-liberation-sans-narrow \
538 ttf-liberation-serif \ 555 ttf-liberation-serif \
539 ttf-lklug \ 556 ttf-lklug \
557 ttf-lohit \
540 ttf-noto-emoji-color \ 558 ttf-noto-emoji-color \
541 ttf-noto-emoji-regular \ 559 ttf-noto-emoji-regular \
560 ttf-pt-sans \
561 ttf-roboto \
542 ttf-sazanami-gothic \ 562 ttf-sazanami-gothic \
543 ttf-sazanami-mincho \ 563 ttf-sazanami-mincho \
544 ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho \ 564 ttf-takao-gothic \
565 ttf-takao-mincho \
566 ttf-takao-pgothic \
567 ttf-takao-pmincho \
545 ttf-tlwg \ 568 ttf-tlwg \
546 ttf-roboto \
547 ttf-wqy-zenhei \
548 ttf-pt-sans \
549 ttf-vlgothic \
550 ttf-ubuntu-mono \ 569 ttf-ubuntu-mono \
551 ttf-ubuntu-sans \ 570 ttf-ubuntu-sans \
552 libyui-ncurses \ 571 ttf-vlgothic \
553 libyui \ 572 ttf-wqy-zenhei \
554 x11vnc \
555 terminus-font-consolefonts \
556 terminus-font-pcf \
557 xdotool \
558 xkbevd \
559 bdftopcf \
560 iceauth \
561 sessreg \
562 xgamma \
563 setxkbmap \
564 xkbutils \
565 twm \ 573 twm \
574 unclutter-xfixes \
575 ${@bb.utils.contains("DISTRO_FEATURES", "opengl vulkan", "vulkan-cts", "", d)} \
576 x11vnc \
577 xcb-util-cursor \
566 xclock \ 578 xclock \
579 xcursorgen \
580 xdotool \
581 xf86-input-tslib \
582 xf86-input-void \
583 xf86-video-armsoc \
584 xf86-video-ati \
567 xfontsel \ 585 xfontsel \
586 xgamma \
587 xkbevd \
568 xkbprint \ 588 xkbprint \
589 xkbutils \
569 xlsatoms \ 590 xlsatoms \
570 xlsclients \ 591 xlsclients \
571 xlsfonts \ 592 xlsfonts \
572 xmag \ 593 xmag \
573 xmessage \ 594 xmessage \
595 xorg-fonts-100dpi \
596 xorg-sgml-doctools \
574 xrdb \ 597 xrdb \
575 xrefresh \ 598 xrefresh \
599 ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "xscreensaver", "", d)} \
600 xserver-common \
576 xsetroot \ 601 xsetroot \
577 xstdcmap \ 602 xstdcmap \
578 xterm \ 603 xterm \
579 xwd \ 604 xwd \
580 xwud \ 605 xwud \
581 xorg-sgml-doctools \
582 xf86-input-tslib \
583 xf86-input-void \
584 xf86-video-armsoc \
585 xf86-video-ati \
586 font-adobe-100dpi \
587 font-adobe-utopia-100dpi \
588 font-bh-100dpi \
589 font-bh-lucidatypewriter-100dpi \
590 font-bitstream-100dpi \
591 font-cursor-misc \
592 font-misc-misc \
593 xorg-fonts-100dpi \
594 libxaw6 \
595 libxpresent \
596 xcb-util-cursor \
597 xserver-common \
598 openjpeg \
599 pangomm \
600 spirv-shader-generator \
601 spirv-tools \
602 stalonetray \
603 surf \
604 tesseract-lang \
605 tesseract \
606 ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "tigervnc", "", d)} \
607 tslib \
608 unclutter-xfixes \
609 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libvdpau vdpauinfo", "", d)} \
610 xcursorgen \
611 ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "xscreensaver", "", d)} \
612 yad \ 606 yad \
613 ydotool \ 607 ydotool \
614 parallel-deqp-runner \
615 deqp-runner \
616 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "opengl-es-cts", "", d)} \
617 ${@bb.utils.contains("DISTRO_FEATURES", "opengl vulkan", "vulkan-cts", "", d)} \
618" 608"
619RDEPENDS:packagegroup-meta-oe-graphics:append:x86 = " renderdoc xf86-video-nouveau xf86-video-mga" 609RDEPENDS:packagegroup-meta-oe-graphics:append:x86 = " renderdoc xf86-video-nouveau xf86-video-mga"
620RDEPENDS:packagegroup-meta-oe-graphics:append:x86-64 = " renderdoc xf86-video-nouveau xf86-video-mga" 610RDEPENDS:packagegroup-meta-oe-graphics:append:x86-64 = " renderdoc xf86-video-nouveau xf86-video-mga"
@@ -623,12 +613,12 @@ RDEPENDS:packagegroup-meta-oe-graphics:append:aarch64 = " renderdoc"
623 613
624RDEPENDS:packagegroup-meta-oe-graphics:remove:libc-musl = "renderdoc" 614RDEPENDS:packagegroup-meta-oe-graphics:remove:libc-musl = "renderdoc"
625 615
626RDEPENDS:packagegroup-meta-oe-kernel ="\ 616RDEPENDS:packagegroup-meta-oe-kernel = "\
627 agent-proxy \ 617 agent-proxy \
628 crash \ 618 broadcom-bt-firmware \
629 cpupower \ 619 cpupower \
620 crash \
630 ipmitool \ 621 ipmitool \
631 broadcom-bt-firmware \
632 kernel-selftest \ 622 kernel-selftest \
633 minicoredumper \ 623 minicoredumper \
634 oprofile \ 624 oprofile \
@@ -645,280 +635,279 @@ RDEPENDS:packagegroup-meta-oe-kernel:append:powerpc64 = " libpfm4"
645RDEPENDS:packagegroup-meta-oe-kernel:remove = "kernel-selftest" 635RDEPENDS:packagegroup-meta-oe-kernel:remove = "kernel-selftest"
646RDEPENDS:packagegroup-meta-oe-kernel:remove:libc-musl = "bpftool crash intel-speed-select kernel-selftest minicoredumper turbostat" 636RDEPENDS:packagegroup-meta-oe-kernel:remove:libc-musl = "bpftool crash intel-speed-select kernel-selftest minicoredumper turbostat"
647 637
648RDEPENDS:packagegroup-meta-oe-kernel:remove:mipsarcho32 = "makedumpfile"
649RDEPENDS:packagegroup-meta-oe-kernel:remove:mips64 = "crash" 638RDEPENDS:packagegroup-meta-oe-kernel:remove:mips64 = "crash"
650RDEPENDS:packagegroup-meta-oe-kernel:remove:mips64el = "crash" 639RDEPENDS:packagegroup-meta-oe-kernel:remove:mips64el = "crash"
651 640
652RDEPENDS:packagegroup-meta-oe-kernel:remove:riscv64 = "crash oprofile" 641RDEPENDS:packagegroup-meta-oe-kernel:remove:riscv64 = "crash oprofile"
653RDEPENDS:packagegroup-meta-oe-kernel:remove:riscv32 = "crash makedumpfile oprofile" 642RDEPENDS:packagegroup-meta-oe-kernel:remove:riscv32 = "crash oprofile"
654 643
655RDEPENDS:packagegroup-meta-oe-multimedia ="\ 644RDEPENDS:packagegroup-meta-oe-multimedia = "\
656 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "faad2", "", d)} \ 645 a2jmidid \
646 audiofile \
657 dirsplit \ 647 dirsplit \
648 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "faad2", "", d)} \
658 genisoimage \ 649 genisoimage \
659 icedax \ 650 icedax \
660 wodim \
661 id3lib \ 651 id3lib \
662 audiofile \
663 a2jmidid \
664 jack-server \ 652 jack-server \
665 jack-utils \ 653 jack-utils \
666 libass \ 654 libass \
667 libcdio-paranoia \
668 libcdio \ 655 libcdio \
656 libcdio-paranoia \
657 libdvdread \
669 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "libmad", "", d)} \ 658 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "libmad", "", d)} \
659 libmikmod \
670 libmms \ 660 libmms \
671 libdvdread \ 661 libmodplug \
672 libopus \ 662 libopus \
663 libopusenc \
664 libvpx \
673 live555-examples \ 665 live555-examples \
674 live555-mediaserver \ 666 live555-mediaserver \
675 libmikmod \ 667 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "mpv", "", d)} \
676 libmodplug \ 668 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pavucontrol", "", d)} \
677 sound-theme-freedesktop \ 669 sound-theme-freedesktop \
678 yavta \
679 v4l-utils \ 670 v4l-utils \
680 wavpack \ 671 wavpack \
681 libvpx \ 672 wodim \
682 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "xsp", "", d)} \ 673 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "xsp", "", d)} \
683 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "mpv", "", d)} \ 674 yavta \
684 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pavucontrol", "", d)} \
685 libopusenc \
686" 675"
687 676
688RDEPENDS:packagegroup-meta-oe-navigation ="\ 677RDEPENDS:packagegroup-meta-oe-navigation = "\
678 geoclue \
689 geos \ 679 geos \
690 ${@bb.utils.contains("DISTRO_FEATURES", "bluz4", "gpsd-machine-conf gpsd", "", d)} \ 680 ${@bb.utils.contains("DISTRO_FEATURES", "bluz4", "gpsd-machine-conf gpsd", "", d)} \
691 geoclue \
692 libspatialite \ 681 libspatialite \
693 proj \ 682 proj \
694" 683"
695 684
696RDEPENDS:packagegroup-meta-oe-printing ="\ 685RDEPENDS:packagegroup-meta-oe-printing = "\
697 cups-filters \ 686 cups-filters \
698 gutenprint \ 687 gutenprint \
699 qpdf \ 688 qpdf \
700" 689"
701 690
702RDEPENDS:packagegroup-meta-oe-security ="\ 691RDEPENDS:packagegroup-meta-oe-security = "\
692 auditd \
703 keyutils \ 693 keyutils \
704 nmap \ 694 nmap \
705 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "passwdqc", "", d)} \ 695 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "passwdqc", "", d)} \
706 softhsm \ 696 softhsm \
707 tomoyo-tools \ 697 tomoyo-tools \
708 auditd \
709" 698"
710 699
711RDEPENDS:packagegroup-meta-oe-shells ="\ 700RDEPENDS:packagegroup-meta-oe-shells = "\
712 dash \ 701 dash \
713 mksh \ 702 mksh \
714 tcsh \ 703 tcsh \
715 zsh \ 704 zsh \
716" 705"
717 706
718RDEPENDS:packagegroup-meta-oe-support ="\ 707RDEPENDS:packagegroup-meta-oe-support = "\
719 anthy \
720 atop \
721 ace-cloud-editor \ 708 ace-cloud-editor \
722 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "driverctl", "", d)} \ 709 anthy \
723 frame \
724 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geis", "", d)} \
725 grail \
726 asio \ 710 asio \
711 atop \
727 augeas \ 712 augeas \
728 avro-c \ 713 avro-c \
729 bdwgc \ 714 bdwgc \
730 c-ares \ 715 c-ares \
716 ccid \
717 ckermit \
718 clinfo \
731 cmark \ 719 cmark \
732 ${@bb.utils.contains("DISTRO_FEATURES", "polkit gobject-introspection-data", "colord", "", d)} \ 720 ${@bb.utils.contains("DISTRO_FEATURES", "polkit gobject-introspection-data", "colord", "", d)} \
733 consolation \ 721 consolation \
722 c-periphery \
734 cpprest \ 723 cpprest \
735 ctapi-common \ 724 ctapi-common \
725 daemonize \
726 daemontools \
727 devmem2 \
736 dfu-util \ 728 dfu-util \
737 dhex \ 729 dhex \
738 digitemp \ 730 digitemp \
739 dool \ 731 dool \
732 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "driverctl", "", d)} \
733 eject \
734 emacs \
735 enca \
736 epeg \
740 espeak \ 737 espeak \
741 evemu-tools \ 738 evemu-tools \
742 exiv2 \ 739 exiv2 \
743 libnice \ 740 fbset \
744 c-periphery \ 741 fbset-modes \
742 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "fltk", "", d)} \
743 frame \
744 freerdp \
745 function2 \ 745 function2 \
746 funyahoo-plusplus \
746 gd \ 747 gd \
748 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geis", "", d)} \
749 gengetopt \
747 gflags \ 750 gflags \
748 glog \ 751 glog \
752 googlebenchmark \
749 gperftools \ 753 gperftools \
750 gpm \ 754 gpm \
755 gradm \
756 grail \
757 gsl \
751 gsoap \ 758 gsoap \
759 hddtemp \
752 hdf5 \ 760 hdf5 \
761 hidapi \
753 hstr \ 762 hstr \
754 htop \ 763 htop \
755 hunspell-dictionaries \
756 hunspell \ 764 hunspell \
765 hunspell-dictionaries \
757 hwdata \ 766 hwdata \
767 icyque \
758 iksemel \ 768 iksemel \
759 gengetopt \
760 googlebenchmark \
761 imagemagick \ 769 imagemagick \
770 imapfilter \
762 iniparser \ 771 iniparser \
763 inotify-tools \ 772 inotify-tools \
764 joe \ 773 joe \
765 lcms \ 774 lcms \
766 lcov \ 775 lcov \
767 imapfilter \ 776 libatasmart \
768 libbytesize \ 777 libbytesize \
778 libcanberra \
779 libcereal \
769 libcyusbserial \ 780 libcyusbserial \
781 libdevmapper \
770 libestr \ 782 libestr \
771 libfann \ 783 libfann \
772 libftdi \ 784 libftdi \
773 libjs-jquery-globalize \
774 libjs-jquery-cookie \
775 ccid \
776 zchunk \
777 libgpiod \
778 libmanette \
779 ckermit \
780 libcereal \
781 daemontools \
782 libiio \
783 devmem2 \
784 libgit2 \ 785 libgit2 \
786 libgpiod \
787 libgusb \
785 libharu \ 788 libharu \
786 eject \ 789 libiio \
787 enca \ 790 libinih \
788 epeg \ 791 libjs-jquery-cookie \
792 libjs-jquery-globalize \
793 libjs-jquery-icheck \
794 libjs-sizzle \
795 libmanette \
796 libmicrohttpd \
797 libmimetic \
789 libmxml \ 798 libmxml \
790 fbset-modes \ 799 libnice \
791 fbset \ 800 liboauth \
792 liboop \ 801 liboop \
793 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "fltk", "", d)} \ 802 libotr \
794 freerdp \
795 libgusb \
796 emacs \
797 libp11 \ 803 libp11 \
798 libraw1394 \ 804 libraw1394 \
799 gradm \
800 gsl \
801 librsync \ 805 librsync \
802 hddtemp \ 806 libsass \
803 hidapi \ 807 libsmi \
804 libsoc \ 808 libsoc \
805 libmimetic \ 809 libssh \
806 libinih \ 810 libssh2 \
807 libtar \ 811 libtar \
808 libteam \ 812 libteam \
813 libtinyxml \
814 libtinyxml2 \
815 liburing \
809 libusb-compat \ 816 libusb-compat \
810 libatasmart \ 817 libusbg \
811 libcanberra \
812 libssh \
813 libssh2 \
814 libusbgx-config \
815 libusbgx \ 818 libusbgx \
819 libusbgx-config \
820 libutempter \
821 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "links-x11", "links", d)} \
816 lockdev \ 822 lockdev \
823 log4c \
824 log4cpp \
817 logwarn \ 825 logwarn \
818 libjs-sizzle \ 826 lvm2 \
819 mailcap \ 827 mailcap \
820 liboauth \ 828 mbuffer \
821 mg \ 829 mg \
830 mime-support \
831 minini \
822 monit \ 832 monit \
823 mscgen \ 833 mscgen \
824 libsmi \ 834 multipath-tools \
825 remmina \ 835 nano \
826 neon \ 836 neon \
827 nmon \ 837 nmon \
828 libjs-jquery-icheck \
829 libtinyxml \
830 libusbg \
831 libutempter \
832 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "links-x11", "links", d)} \
833 log4c \
834 log4cpp \
835 nspr \ 838 nspr \
836 libdevmapper \
837 lvm2 \
838 nss \ 839 nss \
839 mbuffer \
840 onig \
841 mime-support \
842 minini \
843 multipath-tools \
844 numactl \ 840 numactl \
845 clinfo \ 841 onig \
846 opencv \
847 opensc \
848 openct \ 842 openct \
843 opencv \
849 openldap \ 844 openldap \
850 wbxml2 \ 845 opensc \
851 p910nd \ 846 p910nd \
852 libtinyxml2 \ 847 pcp \
848 pcsc-lite \
849 pcsc-tools \
853 picocom \ 850 picocom \
854 funyahoo-plusplus \
855 icyque \
856 libotr \
857 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pidgin-otr", "", d)} \
858 pidgin \ 851 pidgin \
859 purple-skypeweb \ 852 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pidgin-otr", "", d)} \
860 pidgin-sipe \ 853 pidgin-sipe \
861 pngcheck \ 854 pngcheck \
862 poco \ 855 poco \
863 poppler-data \
864 poppler \ 856 poppler \
857 poppler-data \
865 portaudio-v19 \ 858 portaudio-v19 \
859 pps-tools \
866 procmail \ 860 procmail \
867 pxaregs \ 861 purple-skypeweb \
868 pv \ 862 pv \
869 rsnapshot \ 863 pxaregs \
870 pps-tools \
871 raptor2 \ 864 raptor2 \
872 rdfind \ 865 rdfind \
873 re2 \ 866 re2 \
867 read-edid \
868 remmina \
869 rsnapshot \
870 sassc \
871 satyr \
874 sdmon \ 872 sdmon \
875 sdparm \ 873 sdparm \
876 serial-forward \ 874 serial-forward \
877 read-edid \ 875 sg3-utils \
878 spitools \ 876 sharutils \
879 libsass \
880 sassc \
881 smarty \ 877 smarty \
878 spitools \
879 srecord \
880 ssiapi \
881 stm32flash \
882 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "synergy", "", d)} \ 882 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "synergy", "", d)} \
883 syslog-ng \ 883 syslog-ng \
884 system-config-keyboard \ 884 system-config-keyboard \
885 tbb \ 885 tbb \
886 satyr \ 886 thin-provisioning-tools \
887 pcp \ 887 tokyocabinet \
888 pcsc-lite \
889 pcsc-tools \
890 sharutils \
891 sg3-utils \
892 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "uim", "", d)} \
893 uchardet \
894 srecord \
895 ssiapi \
896 tree \ 888 tree \
897 utouch-evemu \ 889 uchardet \
898 utouch-frame \
899 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "utouch-mtview", "", d)} \
900 ${@bb.utils.contains("DISTRO_FEATURES", "polkit", "udisks2", "", d)} \ 890 ${@bb.utils.contains("DISTRO_FEATURES", "polkit", "udisks2", "", d)} \
901 stm32flash \
902 tokyocabinet \
903 xmlstarlet \
904 thin-provisioning-tools \
905 uhubctl \ 891 uhubctl \
906 zile \ 892 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "uim", "", d)} \
893 unicode-ucd \
907 unixodbc \ 894 unixodbc \
908 daemonize \
909 upower \ 895 upower \
910 unicode-ucd \
911 xdelta3 \
912 uriparser \ 896 uriparser \
913 nano \ 897 usb-modeswitch \
898 usb-modeswitch-data \
899 utouch-evemu \
900 utouch-frame \
901 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "utouch-mtview", "", d)} \
902 wbxml2 \
903 xdelta3 \
914 xdg-user-dirs \ 904 xdg-user-dirs \
915 xmlsec1 \ 905 xmlsec1 \
916 usb-modeswitch-data \ 906 xmlstarlet \
917 usb-modeswitch \
918 liburing \
919 zbar \
920 libmicrohttpd \
921 yaml-cpp \ 907 yaml-cpp \
908 zbar \
909 zchunk \
910 zile \
922" 911"
923RDEPENDS:packagegroup-meta-oe-support:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}" 912RDEPENDS:packagegroup-meta-oe-support:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}"
924RDEPENDS:packagegroup-meta-oe-support:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}" 913RDEPENDS:packagegroup-meta-oe-support:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}"
@@ -926,11 +915,7 @@ RDEPENDS:packagegroup-meta-oe-support:append:aarch64 = " ne10"
926RDEPENDS:packagegroup-meta-oe-support:append:x86 = " mcelog mce-inject mce-test vboxguestdrivers" 915RDEPENDS:packagegroup-meta-oe-support:append:x86 = " mcelog mce-inject mce-test vboxguestdrivers"
927RDEPENDS:packagegroup-meta-oe-support:append:x86-64 = " mcelog mce-inject mce-test vboxguestdrivers" 916RDEPENDS:packagegroup-meta-oe-support:append:x86-64 = " mcelog mce-inject mce-test vboxguestdrivers"
928 917
929RDEPENDS:packagegroup-meta-oe-support-python2 ="\ 918RDEPENDS:packagegroup-meta-oe-support:remove:arm = "numactl"
930 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'lio-utils', '', d), "", d)} \
931"
932
933RDEPENDS:packagegroup-meta-oe-support:remove:arm ="numactl"
934RDEPENDS:packagegroup-meta-oe-support:remove:mipsarch = "gperftools" 919RDEPENDS:packagegroup-meta-oe-support:remove:mipsarch = "gperftools"
935RDEPENDS:packagegroup-meta-oe-support:remove:riscv64 = "gperftools uim" 920RDEPENDS:packagegroup-meta-oe-support:remove:riscv64 = "gperftools uim"
936RDEPENDS:packagegroup-meta-oe-support:remove:riscv32 = "gperftools uim" 921RDEPENDS:packagegroup-meta-oe-support:remove:riscv32 = "gperftools uim"
@@ -939,7 +924,7 @@ RDEPENDS:packagegroup-meta-oe-support:remove:powerpc64le = "libcereal ssiapi"
939RDEPENDS:packagegroup-meta-oe-support:remove:libc-musl = "pcp" 924RDEPENDS:packagegroup-meta-oe-support:remove:libc-musl = "pcp"
940RDEPENDS:packagegroup-meta-oe-support:remove:libc-musl:powerpc = "gsl" 925RDEPENDS:packagegroup-meta-oe-support:remove:libc-musl:powerpc = "gsl"
941 926
942RDEPENDS:packagegroup-meta-oe-test ="\ 927RDEPENDS:packagegroup-meta-oe-test = "\
943 bats \ 928 bats \
944 cmocka \ 929 cmocka \
945 cppunit \ 930 cppunit \
@@ -962,18 +947,18 @@ RDEPENDS:packagegroup-meta-oe-test:remove:riscv64 = "fwts"
962RDEPENDS:packagegroup-meta-oe-test:remove:riscv32 = "fwts" 947RDEPENDS:packagegroup-meta-oe-test:remove:riscv32 = "fwts"
963 948
964RDEPENDS:packagegroup-meta-oe-ptest-packages = "\ 949RDEPENDS:packagegroup-meta-oe-ptest-packages = "\
965 zeromq-ptest \ 950 cmocka-ptest \
951 hiredis-ptest \
966 leveldb-ptest \ 952 leveldb-ptest \
967 psqlodbc-ptest \ 953 libteam-ptest \
954 minicoredumper-ptest \
955 oprofile-ptest \
956 poco-ptest \
968 protobuf-ptest \ 957 protobuf-ptest \
958 psqlodbc-ptest \
969 rsyslog-ptest \ 959 rsyslog-ptest \
970 oprofile-ptest \
971 libteam-ptest \
972 uthash-ptest \ 960 uthash-ptest \
973 poco-ptest \ 961 zeromq-ptest \
974 cmocka-ptest \
975 minicoredumper-ptest \
976 hiredis-ptest \
977" 962"
978RDEPENDS:packagegroup-meta-oe-ptest-packages:append:x86 = " mcelog-ptest" 963RDEPENDS:packagegroup-meta-oe-ptest-packages:append:x86 = " mcelog-ptest"
979RDEPENDS:packagegroup-meta-oe-ptest-packages:append:x86-64 = " mcelog-ptest" 964RDEPENDS:packagegroup-meta-oe-ptest-packages:append:x86-64 = " mcelog-ptest"
diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.5.bb b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.5.bb
index 54b47ea3f..60bf501eb 100644
--- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.5.bb
+++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.5.bb
@@ -53,7 +53,7 @@ PACKAGECONFIG[veritysetup] = "--enable-veritysetup,--disable-veritysetup"
53PACKAGECONFIG[luks2-reencryption] = "--enable-luks2-reencryption,--disable-luks2-reencryption" 53PACKAGECONFIG[luks2-reencryption] = "--enable-luks2-reencryption,--disable-luks2-reencryption"
54PACKAGECONFIG[integritysetup] = "--enable-integritysetup,--disable-integritysetup" 54PACKAGECONFIG[integritysetup] = "--enable-integritysetup,--disable-integritysetup"
55PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux" 55PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
56PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,,udev lvm2-udevrules" 56PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,,udev lvm2"
57PACKAGECONFIG[kernel_crypto] = "--enable-kernel_crypto,--disable-kernel_crypto" 57PACKAGECONFIG[kernel_crypto] = "--enable-kernel_crypto,--disable-kernel_crypto"
58# gcrypt-pkbdf2 requries --with-crypto_backend=gcrypt or the flag isn't 58# gcrypt-pkbdf2 requries --with-crypto_backend=gcrypt or the flag isn't
59# recognized. 59# recognized.
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc
index ae6581ec7..39c9f4c9d 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -23,6 +23,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
23 file://0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \ 23 file://0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \
24 file://lfs64.patch \ 24 file://lfs64.patch \
25 file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ 25 file://0001-Add-missing-includes-cstdint-and-cstdio.patch \
26 file://0001-Use-a-lambda-function-as-deleter-prototype-in-unique.patch \
26 " 27 "
27SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch" 28SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch"
28SRC_URI[sha256sum] = "0a00180864cd016187c986faab8010de23a117b9a75f91d6456421f894e48d20" 29SRC_URI[sha256sum] = "0a00180864cd016187c986faab8010de23a117b9a75f91d6456421f894e48d20"
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-Use-a-lambda-function-as-deleter-prototype-in-unique.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-Use-a-lambda-function-as-deleter-prototype-in-unique.patch
new file mode 100644
index 000000000..416b17ba2
--- /dev/null
+++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-Use-a-lambda-function-as-deleter-prototype-in-unique.patch
@@ -0,0 +1,26 @@
1From 713c21880e25108bf0703433432acca58377cc7b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 27 Sep 2024 11:55:53 -0700
4Subject: [PATCH] Use a lambda function as deleter prototype in unique_ptr
5
6Fixes build with clang/libc++ 20+
7
8Upstream-Status: Submitted [https://jira.mariadb.org/browse/MDEV-35040]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 extra/mariabackup/backup_copy.cc | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/extra/mariabackup/backup_copy.cc b/extra/mariabackup/backup_copy.cc
15index a328f5e0ec7..2ab04b78bce 100644
16--- a/extra/mariabackup/backup_copy.cc
17+++ b/extra/mariabackup/backup_copy.cc
18@@ -1641,7 +1641,7 @@ is_aria_log_dir_file(const datadir_node_t &node)
19 bool
20 copy_back_aria_logs(const char *dstdir)
21 {
22- std::unique_ptr<ds_ctxt_t, void (&)(ds_ctxt_t*)>
23+ std::unique_ptr<ds_ctxt_t, std::function<void(ds_ctxt_t*)>>
24 ds_ctxt_aria_log_dir_path(ds_create(dstdir, DS_TYPE_LOCAL), ds_destroy);
25
26 datadir_node_t node;
diff --git a/meta-oe/recipes-dbs/mysql/mysql-python/0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch b/meta-oe/recipes-dbs/mysql/mysql-python/0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch
deleted file mode 100644
index 173241ea5..000000000
--- a/meta-oe/recipes-dbs/mysql/mysql-python/0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 45436592aa64308b2ab46f84c6107c6d7de0a3ec Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 6 Mar 2019 00:16:17 -0800
4Subject: [PATCH] _mysql.c: fix compilation with MariaDB 10.3.13
5
6Use standard API function MYSQL_OPT_RECONNECT
7instead of direct modification of internal structures
8which does not work for MariaDB.
9
10Upstream-Status: Pending
11
12Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
13---
14 _mysql.c | 9 ++++++++-
15 1 file changed, 8 insertions(+), 1 deletion(-)
16
17--- a/_mysql.c
18+++ b/_mysql.c
19@@ -2002,7 +2002,14 @@ _mysql_ConnectionObject_ping(
20 int r, reconnect = -1;
21 if (!PyArg_ParseTuple(args, "|I", &reconnect)) return NULL;
22 check_connection(self);
23- if ( reconnect != -1 ) self->connection.reconnect = reconnect;
24+ if ( reconnect != -1 ) {
25+#if MYSQL_VERSION_ID >= 50013
26+ my_bool recon = reconnect;
27+ mysql_options(&self->connection, MYSQL_OPT_RECONNECT, &recon);
28+#else
29+ self->connection.reconnect = reconnect;
30+#endif
31+ }
32 Py_BEGIN_ALLOW_THREADS
33 r = mysql_ping(&(self->connection));
34 Py_END_ALLOW_THREADS
diff --git a/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb b/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb
deleted file mode 100644
index 15f6b6fb9..000000000
--- a/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1SUMMARY = "Python interface to MySQL"
2HOMEPAGE = "https://github.com/farcepest/MySQLdb1"
3SECTION = "devel/python"
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://GPL-2.0;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6
7DEPENDS = "mysql5"
8
9SRCNAME = "MySQL-python"
10
11SRC_URI = "https://pypi.python.org/packages/source/M/${SRCNAME}/${SRCNAME}-${PV}.zip \
12 file://0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch \
13"
14SRC_URI[md5sum] = "654f75b302db6ed8dc5a898c625e030c"
15SRC_URI[sha256sum] = "811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e140c74"
16
17S = "${WORKDIR}/${SRCNAME}-${PV}"
18
19SKIP_RECIPE[mysql-python] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"
20
21inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)}
22
23python() {
24 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
25 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
26}
diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-tcl.m4-Recognize-tclsh9.patch b/meta-oe/recipes-dbs/postgresql/files/0001-tcl.m4-Recognize-tclsh9.patch
new file mode 100644
index 000000000..89a509087
--- /dev/null
+++ b/meta-oe/recipes-dbs/postgresql/files/0001-tcl.m4-Recognize-tclsh9.patch
@@ -0,0 +1,26 @@
1From f0d8240dbf594e6dfab31fd7d70ce340ac365a65 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 3 Nov 2024 15:50:50 -0800
4Subject: [PATCH] tcl.m4: Recognize tclsh9
5
6Add missing support to recognize tclsh9 as supported
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 config/tcl.m4 | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/config/tcl.m4 b/config/tcl.m4
15index 9de31a5..568fd45 100644
16--- a/config/tcl.m4
17+++ b/config/tcl.m4
18@@ -4,7 +4,7 @@
19
20
21 AC_DEFUN([PGAC_PATH_TCLSH],
22-[PGAC_PATH_PROGS(TCLSH, [tclsh tcl tclsh8.6 tclsh86 tclsh8.5 tclsh85 tclsh8.4 tclsh84])
23+[PGAC_PATH_PROGS(TCLSH, [tclsh tcl tclsh9.0 tclsh90 tclsh8.6 tclsh86 tclsh8.5 tclsh85 tclsh8.4 tclsh84])
24 AC_ARG_VAR(TCLSH, [Tcl interpreter program (tclsh)])dnl
25 if test x"$TCLSH" = x""; then
26 AC_MSG_ERROR([Tcl shell not found])
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 4fc2e47b3..e19f2f48e 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -39,7 +39,7 @@ export LDFLAGS_EX_BE = "-Wl,--export-dynamic"
39 39
40inherit autotools pkgconfig perlnative python3native python3targetconfig useradd update-rc.d systemd gettext perl-version multilib_header 40inherit autotools pkgconfig perlnative python3native python3targetconfig useradd update-rc.d systemd gettext perl-version multilib_header
41 41
42CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6" 42CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR}"
43 43
44SYSTEMD_SERVICE:${PN} = "postgresql.service" 44SYSTEMD_SERVICE:${PN} = "postgresql.service"
45SYSTEMD_AUTO_ENABLE:${PN} = "disable" 45SYSTEMD_AUTO_ENABLE:${PN} = "disable"
@@ -55,7 +55,7 @@ pkg_postinst:${PN} () {
55 55
56PACKAGECONFIG ??= " \ 56PACKAGECONFIG ??= " \
57 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \ 57 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \
58 openssl python uuid libxml tcl perl zlib icu readline \ 58 openssl python uuid libxml perl zlib icu readline \
59" 59"
60PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native," 60PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native,"
61PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl" 61PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
@@ -242,7 +242,7 @@ postgresql_fix_sources () {
242 for f in ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/Util.c \ 242 for f in ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/Util.c \
243 ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/SPI.c; do 243 ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/SPI.c; do
244 if [ -e $f ]; then 244 if [ -e $f ]; then
245 sed -i -e 's#${B}/../${P}#${TARGET_DBGSRC_DIR}#g' $f 245 sed -i -e 's#${B}/../${BP}#${TARGET_DBGSRC_DIR}#g' $f
246 fi 246 fi
247 done 247 done
248} 248}
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_16.4.bb b/meta-oe/recipes-dbs/postgresql/postgresql_16.4.bb
index 1a47369e4..7135263da 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql_16.4.bb
+++ b/meta-oe/recipes-dbs/postgresql/postgresql_16.4.bb
@@ -9,6 +9,7 @@ SRC_URI += "\
9 file://0003-configure.ac-bypass-autoconf-2.69-version-check.patch \ 9 file://0003-configure.ac-bypass-autoconf-2.69-version-check.patch \
10 file://0004-config_info.c-not-expose-build-info.patch \ 10 file://0004-config_info.c-not-expose-build-info.patch \
11 file://0005-postgresql-fix-ptest-failure-of-sysviews.patch \ 11 file://0005-postgresql-fix-ptest-failure-of-sysviews.patch \
12 file://0001-tcl.m4-Recognize-tclsh9.patch \
12" 13"
13 14
14SRC_URI[sha256sum] = "971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f" 15SRC_URI[sha256sum] = "971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f"
diff --git a/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb
index a1ef8e75e..d3b3ea510 100644
--- a/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb
+++ b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb
@@ -19,7 +19,7 @@ HOMEPAGE = "https://odbc.postgresql.org/"
19LICENSE = "LGPL-2.0-only" 19LICENSE = "LGPL-2.0-only"
20LIC_FILES_CHKSUM = "file://license.txt;md5=6db3822fc7512e83087ba798da013692" 20LIC_FILES_CHKSUM = "file://license.txt;md5=6db3822fc7512e83087ba798da013692"
21 21
22SRC_URI = "http://ftp.postgresql.org/pub/odbc/versions/src/${BPN}-${PV}.tar.gz \ 22SRC_URI = "http://ftp.postgresql.org/pub/odbc/versions.old/src/${BPN}-${PV}.tar.gz \
23 file://psqlodbc-remove-some-checks-for-cross-compiling.patch \ 23 file://psqlodbc-remove-some-checks-for-cross-compiling.patch \
24 file://psqlodbc-donot-use-the-hardcode-libdir.patch \ 24 file://psqlodbc-donot-use-the-hardcode-libdir.patch \
25 file://psqlodbc-fix-for-ptest-support.patch \ 25 file://psqlodbc-fix-for-ptest-support.patch \
diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-CMakeLists.txt-Make-the-test-discovery-occur-on-targ.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-CMakeLists.txt-Make-the-test-discovery-occur-on-targ.patch
new file mode 100644
index 000000000..b0a949fe3
--- /dev/null
+++ b/meta-oe/recipes-dbs/rocksdb/files/0001-CMakeLists.txt-Make-the-test-discovery-occur-on-targ.patch
@@ -0,0 +1,42 @@
1From 9abf6cd09c60f0be9a85c055dfdf43698f057f73 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 25 Sep 2024 13:47:37 +0800
4Subject: [PATCH] CMakeLists.txt: Make the test discovery occur on target
5
6Set DISCOVERY_MODE to PRE_TEST to delay test discovery until just
7prior to test execution on the target to fix the build failure as
8the default POST_BUILD behavior is not desirable in cross-compiling
9env.
10
11/build/tmp/work/core2-64-wrs-linux/rocksdb/9.0.0/build/env_basic_test: error while loading shared libraries: libgflags.so.2.2: cannot open shared object file: No such file or directory
12CMake Error at /build/tmp/work/core2-64-wrs-linux/rocksdb/9.0.0/recipe-sysroot-native/usr/share/cmake-3.30/Modules/GoogleTestAddTests.cmake:112 (message):
13 Error running test executable.
14
15 Path: '/build/tmp/work/core2-64-wrs-linux/rocksdb/9.0.0/build/env_basic_test'
16 Working directory: '/build/tmp/work/core2-64-wrs-linux/rocksdb/9.0.0/build'
17 Result: 127
18 Output:
19
20Upstream-Status: Inappropriate [oe specific]
21
22Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
23---
24 CMakeLists.txt | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27diff --git a/CMakeLists.txt b/CMakeLists.txt
28index 403ad1243..f34397798 100644
29--- a/CMakeLists.txt
30+++ b/CMakeLists.txt
31@@ -1502,7 +1502,7 @@ if(WITH_TESTS)
32 )
33 target_link_libraries(${exename}${ARTIFACT_SUFFIX} testutillib${ARTIFACT_SUFFIX} testharness gtest ${THIRDPARTY_LIBS} ${ROCKSDB_LIB})
34 if(NOT "${exename}" MATCHES "db_sanity_test")
35- gtest_discover_tests(${exename} DISCOVERY_TIMEOUT 120)
36+ gtest_discover_tests(${exename} DISCOVERY_TIMEOUT 120 DISCOVERY_MODE PRE_TEST)
37 add_dependencies(rocksdb_check ${exename}${ARTIFACT_SUFFIX})
38 endif()
39 endforeach(sourcefile ${TESTS})
40--
412.34.1
42
diff --git a/meta-oe/recipes-dbs/rocksdb/files/run-ptest b/meta-oe/recipes-dbs/rocksdb/files/run-ptest
new file mode 100644
index 000000000..45406fdfa
--- /dev/null
+++ b/meta-oe/recipes-dbs/rocksdb/files/run-ptest
@@ -0,0 +1,12 @@
1#!/bin/sh
2ptestdir=$(dirname "$(readlink -f "$0")")
3cd "$ptestdir"/tests || exit
4
5for test in *_test; do
6 if ./${test} >/dev/null 2>&1; then
7 echo "PASS: ${test}"
8 else
9 echo "FAIL: ${test}"
10 fi
11done
12
diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb b/meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb
index fae54fdba..57d163bfc 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb
@@ -18,6 +18,8 @@ SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH};protocol=htt
18 file://0006-Implement-timer-for-arm-v6.patch \ 18 file://0006-Implement-timer-for-arm-v6.patch \
19 file://0007-Fix-declaration-scope-of-LE_LOAD32-in-crc32c.patch \ 19 file://0007-Fix-declaration-scope-of-LE_LOAD32-in-crc32c.patch \
20 file://static_library_as_option.patch \ 20 file://static_library_as_option.patch \
21 file://0001-CMakeLists.txt-Make-the-test-discovery-occur-on-targ.patch \
22 file://run-ptest \
21 " 23 "
22 24
23SRC_URI:append:riscv32 = " file://0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch" 25SRC_URI:append:riscv32 = " file://0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch"
@@ -27,7 +29,7 @@ SRC_URI:remove:toolchain-clang:riscv32 = "file://0001-replace-old-sync-with-new-
27 29
28S = "${WORKDIR}/git" 30S = "${WORKDIR}/git"
29 31
30inherit cmake 32inherit cmake ptest
31 33
32PACKAGECONFIG ??= "bzip2 zlib lz4 gflags" 34PACKAGECONFIG ??= "bzip2 zlib lz4 gflags"
33PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2" 35PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
@@ -40,7 +42,7 @@ PACKAGECONFIG[gflags] = "-DWITH_GFLAGS=ON,-DWITH_GFLAGS=OFF,gflags"
40# Tools and tests currently don't compile on armv5 so we disable them 42# Tools and tests currently don't compile on armv5 so we disable them
41EXTRA_OECMAKE = "\ 43EXTRA_OECMAKE = "\
42 -DPORTABLE=ON \ 44 -DPORTABLE=ON \
43 -DWITH_TESTS=OFF \ 45 -DWITH_TESTS=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "ON", "OFF", d)} \
44 -DWITH_BENCHMARK_TOOLS=OFF \ 46 -DWITH_BENCHMARK_TOOLS=OFF \
45 -DWITH_TOOLS=OFF \ 47 -DWITH_TOOLS=OFF \
46 -DFAIL_ON_WARNINGS=OFF \ 48 -DFAIL_ON_WARNINGS=OFF \
@@ -54,6 +56,21 @@ do_install:append() {
54 sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/rocksdb/RocksDBTargets.cmake 56 sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/rocksdb/RocksDBTargets.cmake
55} 57}
56 58
59do_install_ptest() {
60 install -d ${D}${PTEST_PATH}/tests
61 # only cover the basic test as all the tests need to take about 6 hours
62 # time ./run-ptest
63 # real 356m32.956s
64 # user 252m32.004s
65 # sys 178m50.246s
66 install -m 0755 ${B}/env_basic_test ${D}${PTEST_PATH}/tests/
67 install -m 0755 ${B}/db_basic_test ${D}${PTEST_PATH}/tests/
68 install -m 0755 ${B}/agg_merge_test ${D}${PTEST_PATH}/tests/
69 install -m 0755 ${B}/testutil_test ${D}${PTEST_PATH}/tests/
70 install -m 0755 ${B}/cache_test ${D}${PTEST_PATH}/tests/
71}
72
57# Need toku_time_now() implemented for ppc/musl 73# Need toku_time_now() implemented for ppc/musl
58# see utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h 74# see utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h
59COMPATIBLE_HOST:libc-musl:powerpc = "null" 75COMPATIBLE_HOST:libc-musl:powerpc = "null"
76COMPATIBLE_HOST:armv5 = 'null'
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch
index 5242b29e0..6fecf2560 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch
@@ -1,7 +1,7 @@
1From 738549dea7a4e6c462a79962c414eaa450c2cffd Mon Sep 17 00:00:00 2001 1From 11faa06436fdeb0c9948080a11f9a99d3b5ba16c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 9 Apr 2020 13:06:27 -0700 3Date: Thu, 9 Apr 2020 13:06:27 -0700
4Subject: [PATCH 1/3] absl: always use <asm/sgidefs.h> 4Subject: [PATCH] absl: always use <asm/sgidefs.h>
5 5
6Fixes mips/musl build, since sgidefs.h is not present on all C libraries 6Fixes mips/musl build, since sgidefs.h is not present on all C libraries
7but on linux asm/sgidefs.h is there and contains same definitions, using 7but on linux asm/sgidefs.h is there and contains same definitions, using
@@ -10,13 +10,12 @@ that makes it portable.
10Upstream-Status: Pending 10Upstream-Status: Pending
11 11
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
14--- 13---
15 absl/base/internal/direct_mmap.h | 6 +----- 14 absl/base/internal/direct_mmap.h | 6 +-----
16 1 file changed, 1 insertion(+), 5 deletions(-) 15 1 file changed, 1 insertion(+), 5 deletions(-)
17 16
18diff --git a/absl/base/internal/direct_mmap.h b/absl/base/internal/direct_mmap.h 17diff --git a/absl/base/internal/direct_mmap.h b/absl/base/internal/direct_mmap.h
19index e492bb0..c8a4fba 100644 18index 1beb2ee4..140b0697 100644
20--- a/absl/base/internal/direct_mmap.h 19--- a/absl/base/internal/direct_mmap.h
21+++ b/absl/base/internal/direct_mmap.h 20+++ b/absl/base/internal/direct_mmap.h
22@@ -41,13 +41,9 @@ 21@@ -41,13 +41,9 @@
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-Remove-maes-option-from-cross-compilation.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-Remove-maes-option-from-cross-compilation.patch
index b92a48752..d49e860f2 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-Remove-maes-option-from-cross-compilation.patch
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-Remove-maes-option-from-cross-compilation.patch
@@ -1,20 +1,19 @@
1From d25cf3b9aa873595a19e197cc29ab46c0093bff1 Mon Sep 17 00:00:00 2001 1From a573ccd57e713486e7d8e782d6b3b34fde01ff9e Mon Sep 17 00:00:00 2001
2From: Sinan Kaya <sinan.kaya@microsoft.com> 2From: Sinan Kaya <sinan.kaya@microsoft.com>
3Date: Mon, 3 Feb 2020 03:25:57 +0000 3Date: Mon, 3 Feb 2020 03:25:57 +0000
4Subject: [PATCH 2/3] Remove maes option from cross-compilation 4Subject: [PATCH] Remove maes option from cross-compilation
5 5
6---
7Upstream-Status: Pending 6Upstream-Status: Pending
8 7---
9 absl/copts/GENERATED_AbseilCopts.cmake | 4 ---- 8 absl/copts/GENERATED_AbseilCopts.cmake | 4 ----
10 absl/copts/GENERATED_copts.bzl | 4 ---- 9 absl/copts/GENERATED_copts.bzl | 4 ----
11 2 files changed, 8 deletions(-) 10 2 files changed, 8 deletions(-)
12 11
13diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake 12diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake
14index a4ab1aa2041e..23b9253c1f00 100644 13index da2282fe..5e0e8dfd 100644
15--- a/absl/copts/GENERATED_AbseilCopts.cmake 14--- a/absl/copts/GENERATED_AbseilCopts.cmake
16+++ b/absl/copts/GENERATED_AbseilCopts.cmake 15+++ b/absl/copts/GENERATED_AbseilCopts.cmake
17@@ -158,7 +158,3 @@ list(APPEND ABSL_RANDOM_HWAES_ARM64_FLAGS 16@@ -229,7 +229,3 @@ list(APPEND ABSL_RANDOM_HWAES_ARM64_FLAGS
18 list(APPEND ABSL_RANDOM_HWAES_MSVC_X64_FLAGS 17 list(APPEND ABSL_RANDOM_HWAES_MSVC_X64_FLAGS
19 ) 18 )
20 19
@@ -23,10 +22,10 @@ index a4ab1aa2041e..23b9253c1f00 100644
23- "-msse4.1" 22- "-msse4.1"
24-) 23-)
25diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl 24diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl
26index a6efc98e11d4..1e847f769501 100644 25index b9e0071e..0072008c 100644
27--- a/absl/copts/GENERATED_copts.bzl 26--- a/absl/copts/GENERATED_copts.bzl
28+++ b/absl/copts/GENERATED_copts.bzl 27+++ b/absl/copts/GENERATED_copts.bzl
29@@ -159,7 +159,3 @@ ABSL_RANDOM_HWAES_ARM64_FLAGS = [ 28@@ -230,7 +230,3 @@ ABSL_RANDOM_HWAES_ARM64_FLAGS = [
30 ABSL_RANDOM_HWAES_MSVC_X64_FLAGS = [ 29 ABSL_RANDOM_HWAES_MSVC_X64_FLAGS = [
31 ] 30 ]
32 31
@@ -35,5 +34,5 @@ index a6efc98e11d4..1e847f769501 100644
35- "-msse4.1", 34- "-msse4.1",
36-] 35-]
37-- 36--
382.36.1 372.25.1
39 38
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0003-Remove-neon-option-from-cross-compilation.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0003-Remove-neon-option-from-cross-compilation.patch
index 1a80a428b..c82b9e1b5 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0003-Remove-neon-option-from-cross-compilation.patch
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0003-Remove-neon-option-from-cross-compilation.patch
@@ -1,24 +1,24 @@
1From fb24c3e3539b5743d398a429a302a3886186f261 Mon Sep 17 00:00:00 2001 1From 632632508daf8bb3a5800dac937ffc33c6d85973 Mon Sep 17 00:00:00 2001
2From: Jonas Gorski <jonas.gorski@bisdn.de> 2From: Jonas Gorski <jonas.gorski@bisdn.de>
3Date: Thu, 16 Jun 2022 11:46:31 +0000 3Date: Thu, 16 Jun 2022 11:46:31 +0000
4Subject: [PATCH 3/3] Remove neon option from cross compilation 4Subject: [PATCH] Remove neon option from cross compilation
5 5
6Not every arm platform supports neon instructions, so do not enforce 6Not every arm platform supports neon instructions, so do not enforce
7them. 7them.
8 8
9Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
10---
11Upstream-Status: Pending 9Upstream-Status: Pending
12 10
11Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
12---
13 absl/copts/GENERATED_AbseilCopts.cmake | 4 ---- 13 absl/copts/GENERATED_AbseilCopts.cmake | 4 ----
14 absl/copts/GENERATED_copts.bzl | 4 ---- 14 absl/copts/GENERATED_copts.bzl | 4 ----
15 2 files changed, 8 deletions(-) 15 2 files changed, 8 deletions(-)
16 16
17diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake 17diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake
18index 23b9253c1f00..5d112a97f3e4 100644 18index 5e0e8dfd..57cfc4d3 100644
19--- a/absl/copts/GENERATED_AbseilCopts.cmake 19--- a/absl/copts/GENERATED_AbseilCopts.cmake
20+++ b/absl/copts/GENERATED_AbseilCopts.cmake 20+++ b/absl/copts/GENERATED_AbseilCopts.cmake
21@@ -147,10 +147,6 @@ list(APPEND ABSL_MSVC_TEST_FLAGS 21@@ -218,10 +218,6 @@ list(APPEND ABSL_MSVC_TEST_FLAGS
22 "/DNOMINMAX" 22 "/DNOMINMAX"
23 ) 23 )
24 24
@@ -30,10 +30,10 @@ index 23b9253c1f00..5d112a97f3e4 100644
30 "-march=armv8-a+crypto" 30 "-march=armv8-a+crypto"
31 ) 31 )
32diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl 32diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl
33index 1e847f769501..3e10db204faf 100644 33index 0072008c..72840fda 100644
34--- a/absl/copts/GENERATED_copts.bzl 34--- a/absl/copts/GENERATED_copts.bzl
35+++ b/absl/copts/GENERATED_copts.bzl 35+++ b/absl/copts/GENERATED_copts.bzl
36@@ -148,10 +148,6 @@ ABSL_MSVC_TEST_FLAGS = [ 36@@ -219,10 +219,6 @@ ABSL_MSVC_TEST_FLAGS = [
37 "/DNOMINMAX", 37 "/DNOMINMAX",
38 ] 38 ]
39 39
@@ -45,5 +45,5 @@ index 1e847f769501..3e10db204faf 100644
45 "-march=armv8-a+crypto", 45 "-march=armv8-a+crypto",
46 ] 46 ]
47-- 47--
482.36.1 482.25.1
49 49
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
deleted file mode 100644
index 461df7a60..000000000
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
+++ /dev/null
@@ -1,82 +0,0 @@
1From 7335a36d0b5c1c597566f9aa3f458a5b6817c3b4 Mon Sep 17 00:00:00 2001
2From: aurel32 <aurelien@aurel32.net>
3Date: Fri, 22 Mar 2024 14:21:13 -0700
4Subject: [PATCH] PR #1644: unscaledcycleclock: remove RISC-V support
5
6Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1644
7
8Starting with Linux 6.6 [1], RDCYCLE is a privileged instruction on RISC-V and can't be used directly from userland. There is a sysctl option to change that as a transition period, but it will eventually disappear.
9
10The RDTIME instruction is another less accurate alternative, however its frequency varies from board to board, and there is currently now way to get its frequency from userland [2].
11
12Therefore this patch just removes the code for unscaledcycleclock on RISC-V. Without processor specific implementation, abseil relies on std::chrono::steady_clock::now().time_since_epoch() which is basically a wrapper around clock_gettime (CLOCK_MONOTONIC), which in turns use __vdso_clock_gettime(). On RISC-V this VDSO is just a wrapper around RDTIME correctly scaled to use nanoseconds units.
13
14This fixes the testsuite on riscv64, tested on a VisionFive 2 board.
15
16[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc4c07c89aada16229084eeb93895c95b7eabaa3
17[2] https://github.com/abseil/abseil-cpp/pull/1631
18Merge 43356a2548cfde76e164d446cb69004b488c6a71 into 76f8011beabdaee872b5fde7546e02407b220cb1
19
20Merging this change closes #1644
21
22COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1644 from aurel32:rv64-no-unscaledcycleclock 43356a2548cfde76e164d446cb69004b488c6a71
23PiperOrigin-RevId: 618286262
24Change-Id: Ie4120a727e7d0bb185df6e06ea145c780ebe6652
25
26Upstream-Status: Backport [https://github.com/abseil/abseil-cpp/commit/7335a36d]
27[Adapted to apply on top of meta-oe's patch stack]
28Signed-off-by: Scott Murray <scott.murray@konsulko.com>
29---
30 absl/base/internal/unscaledcycleclock.cc | 12 ------------
31 absl/base/internal/unscaledcycleclock_config.h | 5 ++---
32 2 files changed, 2 insertions(+), 15 deletions(-)
33
34diff --git a/absl/base/internal/unscaledcycleclock.cc b/absl/base/internal/unscaledcycleclock.cc
35index f11fecb3..103b4f6a 100644
36--- a/absl/base/internal/unscaledcycleclock.cc
37+++ b/absl/base/internal/unscaledcycleclock.cc
38@@ -121,18 +121,6 @@ double UnscaledCycleClock::Frequency() {
39 return aarch64_timer_frequency;
40 }
41
42-#elif defined(__riscv)
43-
44-int64_t UnscaledCycleClock::Now() {
45- int64_t virtual_timer_value;
46- asm volatile("rdcycle %0" : "=r"(virtual_timer_value));
47- return virtual_timer_value;
48-}
49-
50-double UnscaledCycleClock::Frequency() {
51- return base_internal::NominalCPUFrequency();
52-}
53-
54 #elif defined(_M_IX86) || defined(_M_X64)
55
56 #pragma intrinsic(__rdtsc)
57diff --git a/absl/base/internal/unscaledcycleclock_config.h b/absl/base/internal/unscaledcycleclock_config.h
58index 5e232c1a..83552fc5 100644
59--- a/absl/base/internal/unscaledcycleclock_config.h
60+++ b/absl/base/internal/unscaledcycleclock_config.h
61@@ -22,7 +22,6 @@
62 // The following platforms have an implementation of a hardware counter.
63 #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \
64 ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \
65- defined(__riscv) || \
66 defined(_M_IX86) || (defined(_M_X64) && !defined(_M_ARM64EC))
67 #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1
68 #else
69@@ -54,8 +53,8 @@
70 #if ABSL_USE_UNSCALED_CYCLECLOCK
71 // This macro can be used to test if UnscaledCycleClock::Frequency()
72 // is NominalCPUFrequency() on a particular platform.
73-#if (defined(__i386__) || defined(__x86_64__) || defined(__riscv) || \
74- defined(_M_IX86) || defined(_M_X64))
75+#if (defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || \
76+ defined(_M_X64))
77 #define ABSL_INTERNAL_UNSCALED_CYCLECLOCK_FREQUENCY_IS_CPU_FREQUENCY
78 #endif
79 #endif
80--
812.44.0
82
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/abseil-ppc-fixes.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-abseil-ppc-fixes.patch
index f2ebd9f08..ba0cd6692 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/abseil-ppc-fixes.patch
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-abseil-ppc-fixes.patch
@@ -1,4 +1,7 @@
1Upstream-Status: Pending 1From f9607924225ca59fb6c60222e6424b84e6f70029 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 21 Sep 2024 20:53:06 +0800
4Subject: [PATCH] abseil: ppc fixes
2 5
3An all-in-one patch that fixes several issues: 6An all-in-one patch that fixes several issues:
4 7
@@ -9,14 +12,24 @@ An all-in-one patch that fixes several issues:
9 12
10Sourced from void linux 13Sourced from void linux
11 14
15Upstream-Status: Pending
16
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 absl/base/internal/unscaledcycleclock.cc | 4 ++--
20 absl/base/internal/unscaledcycleclock_config.h | 3 ++-
21 absl/debugging/internal/examine_stack.cc | 8 +++++++-
22 absl/debugging/internal/stacktrace_config.h | 2 +-
23 4 files changed, 12 insertions(+), 5 deletions(-)
13 24
25diff --git a/absl/base/internal/unscaledcycleclock.cc b/absl/base/internal/unscaledcycleclock.cc
26index a0bf3a65..103b4f6a 100644
14--- a/absl/base/internal/unscaledcycleclock.cc 27--- a/absl/base/internal/unscaledcycleclock.cc
15+++ b/absl/base/internal/unscaledcycleclock.cc 28+++ b/absl/base/internal/unscaledcycleclock.cc
16@@ -20,7 +20,7 @@ 29@@ -20,7 +20,7 @@
17 #include <intrin.h> 30 #include <intrin.h>
18 #endif 31 #endif
19 32
20-#if defined(__powerpc__) || defined(__ppc__) 33-#if defined(__powerpc__) || defined(__ppc__)
21+#if (defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__) 34+#if (defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)
22 #ifdef __GLIBC__ 35 #ifdef __GLIBC__
@@ -25,30 +38,34 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
25@@ -58,7 +58,7 @@ double UnscaledCycleClock::Frequency() { 38@@ -58,7 +58,7 @@ double UnscaledCycleClock::Frequency() {
26 return base_internal::NominalCPUFrequency(); 39 return base_internal::NominalCPUFrequency();
27 } 40 }
28 41
29-#elif defined(__powerpc__) || defined(__ppc__) 42-#elif defined(__powerpc__) || defined(__ppc__)
30+#elif (defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__) 43+#elif (defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)
31 44
32 int64_t UnscaledCycleClock::Now() { 45 int64_t UnscaledCycleClock::Now() {
33 #ifdef __GLIBC__ 46 #ifdef __GLIBC__
47diff --git a/absl/base/internal/unscaledcycleclock_config.h b/absl/base/internal/unscaledcycleclock_config.h
48index 43a3dabe..196a8535 100644
34--- a/absl/base/internal/unscaledcycleclock_config.h 49--- a/absl/base/internal/unscaledcycleclock_config.h
35+++ b/absl/base/internal/unscaledcycleclock_config.h 50+++ b/absl/base/internal/unscaledcycleclock_config.h
36@@ -21,7 +21,8 @@ 51@@ -21,7 +21,8 @@
37 52
38 // The following platforms have an implementation of a hardware counter. 53 // The following platforms have an implementation of a hardware counter.
39 #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \ 54 #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \
40- defined(__powerpc__) || defined(__ppc__) || defined(__riscv) || \ 55- defined(__powerpc__) || defined(__ppc__) || defined(_M_IX86) || \
41+ ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \ 56+ ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \
42+ defined(__riscv) || \ 57+ defined(_M_IX86) || \
43 defined(_M_IX86) || (defined(_M_X64) && !defined(_M_ARM64EC)) 58 (defined(_M_X64) && !defined(_M_ARM64EC))
44 #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1 59 #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1
45 #else 60 #else
61diff --git a/absl/debugging/internal/examine_stack.cc b/absl/debugging/internal/examine_stack.cc
62index 3dd6ba1a..f923b055 100644
46--- a/absl/debugging/internal/examine_stack.cc 63--- a/absl/debugging/internal/examine_stack.cc
47+++ b/absl/debugging/internal/examine_stack.cc 64+++ b/absl/debugging/internal/examine_stack.cc
48@@ -33,6 +33,10 @@ 65@@ -36,6 +36,10 @@
49 #include <csignal> 66 #include <csignal>
50 #include <cstdio> 67 #include <cstdio>
51 68
52+#if defined(__powerpc__) 69+#if defined(__powerpc__)
53+#include <asm/ptrace.h> 70+#include <asm/ptrace.h>
54+#endif 71+#endif
@@ -56,7 +73,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
56 #include "absl/base/attributes.h" 73 #include "absl/base/attributes.h"
57 #include "absl/base/internal/raw_logging.h" 74 #include "absl/base/internal/raw_logging.h"
58 #include "absl/base/macros.h" 75 #include "absl/base/macros.h"
59@@ -174,8 +178,10 @@ void* GetProgramCounter(void* const vuc) { 76@@ -177,8 +181,10 @@ void* GetProgramCounter(void* const vuc) {
60 return reinterpret_cast<void*>(context->uc_mcontext.pc); 77 return reinterpret_cast<void*>(context->uc_mcontext.pc);
61 #elif defined(__powerpc64__) 78 #elif defined(__powerpc64__)
62 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]); 79 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]);
@@ -68,6 +85,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
68 #elif defined(__riscv) 85 #elif defined(__riscv)
69 return reinterpret_cast<void*>(context->uc_mcontext.__gregs[REG_PC]); 86 return reinterpret_cast<void*>(context->uc_mcontext.__gregs[REG_PC]);
70 #elif defined(__s390__) && !defined(__s390x__) 87 #elif defined(__s390__) && !defined(__s390x__)
88diff --git a/absl/debugging/internal/stacktrace_config.h b/absl/debugging/internal/stacktrace_config.h
89index 3929b1b7..23d5e504 100644
71--- a/absl/debugging/internal/stacktrace_config.h 90--- a/absl/debugging/internal/stacktrace_config.h
72+++ b/absl/debugging/internal/stacktrace_config.h 91+++ b/absl/debugging/internal/stacktrace_config.h
73@@ -60,7 +60,7 @@ 92@@ -60,7 +60,7 @@
@@ -79,3 +98,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
79 #define ABSL_STACKTRACE_INL_HEADER \ 98 #define ABSL_STACKTRACE_INL_HEADER \
80 "absl/debugging/internal/stacktrace_powerpc-inl.inc" 99 "absl/debugging/internal/stacktrace_powerpc-inl.inc"
81 #elif defined(__aarch64__) 100 #elif defined(__aarch64__)
101--
1022.25.1
103
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch
new file mode 100644
index 000000000..9a4fc0b43
--- /dev/null
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch
@@ -0,0 +1,30 @@
1From 9cb5e5d15c142e5cc43a2c1db87c8e4e5b6d38a5 Mon Sep 17 00:00:00 2001
2From: Derek Mauro <dmauro@google.com>
3Date: Mon, 5 Aug 2024 07:35:05 -0700
4Subject: [PATCH] Don't match -Wnon-virtual-dtor in the "flags are needed to
5 suppress warnings in headers". It should fall through to the "don't impose
6 our warnings on others" case. Do this by matching on "-Wno-*" instead of
7 "-Wno*".
8
9Fixes #1737
10
11PiperOrigin-RevId: 659548798
12Change-Id: I49d7ba7ddcd7be30f946fca90ba9be467181e854
13Upstream-Status: Backport [https://github.com/abseil/abseil-cpp/commit/9cb5e5d15c142e5cc43a2c1db87c8e4e5b6d38a5]
14---
15 CMake/AbseilHelpers.cmake | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/CMake/AbseilHelpers.cmake b/CMake/AbseilHelpers.cmake
19index b177e590..3c4c92fe 100644
20--- a/CMake/AbseilHelpers.cmake
21+++ b/CMake/AbseilHelpers.cmake
22@@ -195,7 +195,7 @@ function(absl_cc_library)
23 # specified platform. Filter both of them out before the successor
24 # reaches the "^-m" filter.
25 set(skip_next_cflag ON)
26- elseif(${cflag} MATCHES "^(-Wno|/wd)")
27+ elseif(${cflag} MATCHES "^(-Wno-|/wd)")
28 # These flags are needed to suppress warnings that might fire in our headers.
29 set(PC_CFLAGS "${PC_CFLAGS} ${cflag}")
30 elseif(${cflag} MATCHES "^(-W|/w[1234eo])")
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.2.bb b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240722.0.bb
index 87ab23931..d9634b2b0 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.2.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240722.0.bb
@@ -7,14 +7,14 @@ SECTION = "libs"
7LICENSE = "Apache-2.0" 7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915"
9 9
10SRCREV = "d7aaad83b488fd62bd51c81ecf16cd938532cc0a" 10SRCREV = "4447c7562e3bc702ade25105912dce503f0c4010"
11BRANCH = "lts_2024_01_16" 11BRANCH = "lts_2024_07_22"
12SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \ 12SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
13 file://0001-absl-always-use-asm-sgidefs.h.patch \ 13 file://0001-absl-always-use-asm-sgidefs.h.patch \
14 file://0002-Remove-maes-option-from-cross-compilation.patch \ 14 file://0002-Remove-maes-option-from-cross-compilation.patch \
15 file://abseil-ppc-fixes.patch \
16 file://0003-Remove-neon-option-from-cross-compilation.patch \ 15 file://0003-Remove-neon-option-from-cross-compilation.patch \
17 file://0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch \ 16 file://0004-abseil-ppc-fixes.patch \
17 file://0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch \
18 " 18 "
19 19
20S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-devtools/capnproto/capnproto_1.0.2.bb b/meta-oe/recipes-devtools/capnproto/capnproto_1.0.2.bb
index cb4aef522..daeeb975f 100644
--- a/meta-oe/recipes-devtools/capnproto/capnproto_1.0.2.bb
+++ b/meta-oe/recipes-devtools/capnproto/capnproto_1.0.2.bb
@@ -12,6 +12,8 @@ S = "${WORKDIR}/git/c++"
12 12
13inherit cmake 13inherit cmake
14 14
15CVE_PRODUCT = "capnproto capnp"
16
15CXXFLAGS:append:mips = " -latomic" 17CXXFLAGS:append:mips = " -latomic"
16CXXFLAGS:append:powerpc = " -latomic" 18CXXFLAGS:append:powerpc = " -latomic"
17CXXFLAGS:append:riscv32 = " -latomic" 19CXXFLAGS:append:riscv32 = " -latomic"
diff --git a/meta-oe/recipes-devtools/ctags/ctags_6.1.20240908.0.bb b/meta-oe/recipes-devtools/ctags/ctags_6.1.20241006.0.bb
index 01e7e5e3f..90b0e2cb4 100644
--- a/meta-oe/recipes-devtools/ctags/ctags_6.1.20240908.0.bb
+++ b/meta-oe/recipes-devtools/ctags/ctags_6.1.20241006.0.bb
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
14 14
15inherit autotools-brokensep pkgconfig manpages 15inherit autotools-brokensep pkgconfig manpages
16 16
17SRCREV = "0a2ad188848b75f56bb2af33bcf556bd7cf422ed" 17SRCREV = "ecf0c4adcce9853d666590bf2be101f983bad1cf"
18SRC_URI = "git://github.com/universal-ctags/ctags;branch=master;protocol=https" 18SRC_URI = "git://github.com/universal-ctags/ctags;branch=master;protocol=https"
19 19
20S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-devtools/doxygen/doxygen/0001-build-don-t-look-for-Iconv.patch b/meta-oe/recipes-devtools/doxygen/doxygen/0001-build-don-t-look-for-Iconv.patch
deleted file mode 100644
index 47c8edb49..000000000
--- a/meta-oe/recipes-devtools/doxygen/doxygen/0001-build-don-t-look-for-Iconv.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 24650b0c7db6b213a2eaa5061b75b9f1b43f1ce9 Mon Sep 17 00:00:00 2001
2From: Bartosz Golaszewski <brgl@bgdev.pl>
3Date: Fri, 23 Nov 2018 11:44:56 +0100
4Subject: [PATCH] build: don't look for Iconv
5
6Drop the find_package() for Iconv. CMake is unable to find iconv.h in
7native build but all modern systems supply it as part of the standard
8C library. We don't need this check in meta-openembedded.
9
10Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
11Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
12
13Upstream-Status: Inappropriate
14- upstream doxygen must build on many architectures, this change is
15 too intrusive for upstream
16---
17 CMakeLists.txt | 4 ----
18 1 file changed, 4 deletions(-)
19
20diff --git a/CMakeLists.txt b/CMakeLists.txt
21index 06b9696f..f30b46b8 100644
22--- a/CMakeLists.txt
23+++ b/CMakeLists.txt
24@@ -117,10 +117,6 @@ if (sqlite3)
25 endif()
26 endif()
27
28-find_package(Iconv REQUIRED)
29-include_directories(${ICONV_INCLUDE_DIR})
30-
31-
32 #set(DOXYDOCS ${PROJECT_SOURCE_DIR}/doc CACHE INTERNAL "Path to doxygen docs")
33 set(DOXYDOCS ${PROJECT_BINARY_DIR}/doc)
34 set(ENV{DOXYGEN_DOCDIR} ${DOXYDOCS})
35--
362.27.0
37
diff --git a/meta-oe/recipes-devtools/doxygen/doxygen/doxygen-native-only-check-python3.patch b/meta-oe/recipes-devtools/doxygen/doxygen/doxygen-native-only-check-python3.patch
deleted file mode 100644
index 796bc61dd..000000000
--- a/meta-oe/recipes-devtools/doxygen/doxygen/doxygen-native-only-check-python3.patch
+++ /dev/null
@@ -1,232 +0,0 @@
1From daf686508f2ee4711d93e96e5b100e50bf161656 Mon Sep 17 00:00:00 2001
2From: Leon Anavi <leon.anavi@konsulko.com>
3Date: Wed, 26 Aug 2020 10:52:10 +0300
4Subject: [PATCH] doxygen: Fix Python issues for doxygen-native
5
6It fails to compile doxygen-native when /usr/bin/python is a link
7to python3 on build host:
8
9| Failed to import the site module
10| Traceback (most recent call last):
11| File "/usr/lib64/python3.6/site.py", line 564, in <module>
12| main()
13| File "/usr/lib64/python3.6/site.py", line 550, in main
14| known_paths = addusersitepackages(known_paths)
15| File "/usr/lib64/python3.6/site.py", line 282, in addusersitepackages
16| user_site = getusersitepackages()
17| File "/usr/lib64/python3.6/site.py", line 258, in getusersitepackages
18| user_base = getuserbase() # this will also set USER_BASE
19| File "/usr/lib64/python3.6/site.py", line 248, in getuserbase
20| USER_BASE = get_config_var('userbase')
21| File "/usr/lib64/python3.6/sysconfig.py", line 604, in get_config_var
22| return get_config_vars().get(name)
23| File "/usr/lib64/python3.6/sysconfig.py", line 553, in get_config_vars
24| _init_posix(_CONFIG_VARS)
25| File "/usr/lib64/python3.6/sysconfig.py", line 424, in _init_posix
26| _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
27| ModuleNotFoundError: No module named '_sysconfigdata'
28
29Replace find_package PythonInterp with Python3 to fix this issue
30that it uses python3 from python3-native. And it also replaces the
31result variable PYTHON_EXECUTABLE with Python3_EXECUTABLE.
32
33This patch is only needded by doxygen-native.
34
35Updated to apply to release 1.9.1.
36
37Upstream-Status: Inappropriate [oe specific]
38
39Co-Authored-By: Kai Kang <kai.kang@windriver.com>
40Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
41Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
42
43---
44 CMakeLists.txt | 2 +-
45 addon/doxywizard/CMakeLists.txt | 6 +++---
46 doc/CMakeLists.txt | 6 +++---
47 examples/CMakeLists.txt | 4 ++--
48 libmscgen/CMakeLists.txt | 2 +-
49 src/CMakeLists.txt | 10 +++++-----
50 testing/CMakeLists.txt | 4 ++--
51 7 files changed, 17 insertions(+), 17 deletions(-)
52
53diff --git a/CMakeLists.txt b/CMakeLists.txt
54index 2455793..28f0d83 100644
55--- a/CMakeLists.txt
56+++ b/CMakeLists.txt
57@@ -105,7 +105,7 @@ else ()
58 endif ()
59
60 find_program(DOT NAMES dot)
61-find_package(PythonInterp REQUIRED)
62+find_package(Python3 REQUIRED)
63 find_package(FLEX REQUIRED)
64 find_package(BISON REQUIRED)
65 if (BISON_VERSION VERSION_LESS 2.7)
66diff --git a/addon/doxywizard/CMakeLists.txt b/addon/doxywizard/CMakeLists.txt
67index 63ac8e3..d37d1d0 100644
68--- a/addon/doxywizard/CMakeLists.txt
69+++ b/addon/doxywizard/CMakeLists.txt
70@@ -57,7 +57,7 @@ set_source_files_properties(${GENERATED_SRC_WIZARD}/settings.h PROPERTIES GENERA
71
72 # generate version.cpp
73 add_custom_command(
74- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/version.py ${VERSION} > ${GENERATED_SRC_WIZARD}/version.cpp
75+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/version.py ${VERSION} > ${GENERATED_SRC_WIZARD}/version.cpp
76 DEPENDS ${PROJECT_SOURCE_DIR}/VERSION ${PROJECT_SOURCE_DIR}/src/version.py
77 OUTPUT ${GENERATED_SRC_WIZARD}/version.cpp
78 )
79@@ -65,7 +65,7 @@ set_source_files_properties(${GENERATED_SRC_WIZARD}/version.cpp PROPERTIES GENER
80
81 # generate configdoc.cpp
82 add_custom_command(
83- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/configgen.py -wiz ${PROJECT_SOURCE_DIR}/src/config.xml > ${GENERATED_SRC_WIZARD}/configdoc.cpp
84+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/configgen.py -wiz ${PROJECT_SOURCE_DIR}/src/config.xml > ${GENERATED_SRC_WIZARD}/configdoc.cpp
85 DEPENDS ${PROJECT_SOURCE_DIR}/src/configgen.py ${PROJECT_SOURCE_DIR}/src/config.xml
86 OUTPUT ${GENERATED_SRC_WIZARD}/configdoc.cpp
87 )
88@@ -74,7 +74,7 @@ set_source_files_properties(${GENERATED_SRC_WIZARD}/configdoc.cpp PROPERTIES GEN
89 set(LEX_FILES config_doxyw)
90 foreach(lex_file ${LEX_FILES})
91 add_custom_command(
92- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/addon/doxywizard/${lex_file}.l > ${GENERATED_SRC_WIZARD}/${lex_file}.l.h
93+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/addon/doxywizard/${lex_file}.l > ${GENERATED_SRC_WIZARD}/${lex_file}.l.h
94 DEPENDS ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/addon/doxywizard/${lex_file}.l
95 OUTPUT ${GENERATED_SRC_WIZARD}/${lex_file}.l.h
96 )
97diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
98index ec63ceb..49a2bda 100644
99--- a/doc/CMakeLists.txt
100+++ b/doc/CMakeLists.txt
101@@ -168,7 +168,7 @@ configure_file(${PROJECT_SOURCE_DIR}/doc/doxyindexer.1 ${PROJECT_BINARY_DIR
102
103 # doc/language.doc (see tag Doxyfile:INPUT)
104 add_custom_command(
105- COMMAND ${PYTHON_EXECUTABLE} translator.py ${PROJECT_SOURCE_DIR}
106+ COMMAND ${Python3_EXECUTABLE} translator.py ${PROJECT_SOURCE_DIR}
107 DEPENDS ${PROJECT_SOURCE_DIR}/doc/maintainers.txt ${PROJECT_SOURCE_DIR}/doc/language.tpl ${PROJECT_BINARY_DIR}/doc/translator.py ${LANG_FILES}
108 OUTPUT language.doc
109 WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/doc
110@@ -177,7 +177,7 @@ set_source_files_properties(language.doc PROPERTIES GENERATED 1)
111
112 # doc/config.doc (see tag Doxyfile:INPUT)
113 add_custom_command(
114- COMMAND ${PYTHON_EXECUTABLE} ${TOP}/src/configgen.py -doc ${TOP}/src/config.xml > config.doc
115+ COMMAND ${Python3_EXECUTABLE} ${TOP}/src/configgen.py -doc ${TOP}/src/config.xml > config.doc
116 DEPENDS ${TOP}/src/config.xml ${TOP}/src/configgen.py
117 OUTPUT config.doc
118 WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/doc/
119@@ -228,7 +228,7 @@ add_custom_target(docs_chm
120 COMMAND ${CMAKE_COMMAND} -E echo " for file in files:" >> ${PROJECT_BINARY_DIR}/chm/doxygen_manual_examples_chm.py
121 COMMAND ${CMAKE_COMMAND} -E echo " if file.endswith('.html') or file.endswith('.png') or file.endswith('.css') or file.endswith('.gif'):" >> ${PROJECT_BINARY_DIR}/chm/doxygen_manual_examples_chm.py
122 COMMAND ${CMAKE_COMMAND} -E echo " print(os.path.join(root, file))" >> ${PROJECT_BINARY_DIR}/chm/doxygen_manual_examples_chm.py
123- COMMAND ${CMAKE_COMMAND} -E chdir ${PROJECT_BINARY_DIR}/chm ${PYTHON_EXECUTABLE} ${PROJECT_BINARY_DIR}/chm/doxygen_manual_examples_chm.py >> ${PROJECT_BINARY_DIR}/chm/doxygen_manual.hhp
124+ COMMAND ${CMAKE_COMMAND} -E chdir ${PROJECT_BINARY_DIR}/chm ${Python3_EXECUTABLE} ${PROJECT_BINARY_DIR}/chm/doxygen_manual_examples_chm.py >> ${PROJECT_BINARY_DIR}/chm/doxygen_manual.hhp
125 COMMAND ${CMAKE_COMMAND} -E chdir ${PROJECT_BINARY_DIR}/chm "${HTML_HELP_COMPILER}" doxygen_manual.hhp || echo > nul
126 COMMAND ${CMAKE_COMMAND} -E rename ${PROJECT_BINARY_DIR}/chm/index.chm ${PROJECT_BINARY_DIR}/chm/doxygen_manual.chm
127 DEPENDS ${PROJECT_BINARY_DIR}/doc/language.doc ${PROJECT_BINARY_DIR}/doc/config.doc
128diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
129index 194b427..248b807 100644
130--- a/examples/CMakeLists.txt
131+++ b/examples/CMakeLists.txt
132@@ -54,7 +54,7 @@ foreach (f_inp ${BASIC_EXAMPLES})
133 COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/html/examples/${f}
134 COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/latex/examples/${f}
135 COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen ${f}.cfg
136- COMMAND ${PYTHON_EXECUTABLE} ${TOP}/examples/strip_example.py < ${PROJECT_BINARY_DIR}/latex/examples/${f}/latex/refman.tex > ${PROJECT_BINARY_DIR}/latex/examples/${f}/latex/refman_doc.tex
137+ COMMAND ${Python3_EXECUTABLE} ${TOP}/examples/strip_example.py < ${PROJECT_BINARY_DIR}/latex/examples/${f}/latex/refman.tex > ${PROJECT_BINARY_DIR}/latex/examples/${f}/latex/refman_doc.tex
138 DEPENDS doxygen ${f}.${f_ext} ${f}.cfg ${TOP}/examples/strip_example.py
139 OUTPUT ${PROJECT_BINARY_DIR}/html/examples/${f}/html/index.html ${PROJECT_BINARY_DIR}/latex/examples/${f}/latex/refman_doc.tex
140 )
141@@ -73,7 +73,7 @@ if (DOT)
142 COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/html/examples/diagrams
143 COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/latex/examples/diagrams
144 COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen diagrams.cfg
145- COMMAND ${PYTHON_EXECUTABLE} ${TOP}/examples/strip_example.py < ${PROJECT_BINARY_DIR}/latex/examples/diagrams/latex/refman.tex > ${PROJECT_BINARY_DIR}/latex/examples/diagrams/latex/refman_doc.tex
146+ COMMAND ${Python3_EXECUTABLE} ${TOP}/examples/strip_example.py < ${PROJECT_BINARY_DIR}/html/examples/diagrams/latex/refman.tex > ${PROJECT_BINARY_DIR}/html/examples/diagrams/latex/refman_doc.tex
147 DEPENDS doxygen diagrams_a.h diagrams_b.h diagrams_c.h diagrams_d.h diagrams_e.h diagrams.cfg ${TOP}/examples/strip_example.py
148 OUTPUT ${PROJECT_BINARY_DIR}/html/examples/diagrams/html/index.html ${PROJECT_BINARY_DIR}/latex/examples/diagrams/latex/refman_doc.tex
149 )
150diff --git a/libmscgen/CMakeLists.txt b/libmscgen/CMakeLists.txt
151index 34cf4d8..f015afc 100644
152--- a/libmscgen/CMakeLists.txt
153+++ b/libmscgen/CMakeLists.txt
154@@ -7,7 +7,7 @@ include_directories(
155 set(LEX_FILES mscgen_lexer)
156 foreach(lex_file ${LEX_FILES})
157 add_custom_command(
158- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/libmscgen/${lex_file}.l > ${GENERATED_SRC}/${lex_file}.l.h
159+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/libmscgen/${lex_file}.l > ${GENERATED_SRC}/${lex_file}.l.h
160 DEPENDS ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/libmscgen/${lex_file}.l
161 OUTPUT ${GENERATED_SRC}/${lex_file}.l.h
162 )
163diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
164index 0e0c5f7..c1d3ca5 100644
165--- a/src/CMakeLists.txt
166+++ b/src/CMakeLists.txt
167@@ -40,7 +40,7 @@ set_source_files_properties(${GENERATED_SRC}/settings.h PROPERTIES GENERATED 1)
168
169 # configvalues.h
170 add_custom_command(
171- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -maph ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configvalues.h
172+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -maph ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configvalues.h
173 DEPENDS ${CMAKE_CURRENT_LIST_DIR}/config.xml ${CMAKE_CURRENT_LIST_DIR}/configgen.py
174 OUTPUT ${GENERATED_SRC}/configvalues.h
175 )
176@@ -52,7 +52,7 @@ add_custom_target(
177
178 # configvalues.cpp
179 add_custom_command(
180- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -maps ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configvalues.cpp
181+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -maps ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configvalues.cpp
182 DEPENDS ${CMAKE_CURRENT_LIST_DIR}/config.xml ${CMAKE_CURRENT_LIST_DIR}/configgen.py
183 OUTPUT ${GENERATED_SRC}/configvalues.cpp
184 )
185@@ -60,7 +60,7 @@ set_source_files_properties(${GENERATED_SRC}/configvalues.cpp PROPERTIES GENERAT
186
187 # configoptions.cpp
188 add_custom_command(
189- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -cpp ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configoptions.cpp
190+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -cpp ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configoptions.cpp
191 DEPENDS ${CMAKE_CURRENT_LIST_DIR}/config.xml ${CMAKE_CURRENT_LIST_DIR}/configgen.py
192 OUTPUT ${GENERATED_SRC}/configoptions.cpp
193 )
194@@ -95,7 +95,7 @@ endif()
195 # resources.cpp
196 add_custom_command(
197 COMMENT "Generating ${GENERATED_SRC}/resources.cpp"
198- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/res2cc_cmd.py ${PROJECT_SOURCE_DIR}/templates ${GENERATED_SRC}/resources.cpp
199+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/res2cc_cmd.py ${PROJECT_SOURCE_DIR}/templates ${GENERATED_SRC}/resources.cpp
200 DEPENDS ${RESOURCES} ${CMAKE_CURRENT_LIST_DIR}/res2cc_cmd.py
201 OUTPUT ${GENERATED_SRC}/resources.cpp
202 )
203@@ -126,7 +126,7 @@ foreach(lex_file ${LEX_FILES})
204 set(LEX_FILES_H ${LEX_FILES_H} " " ${GENERATED_SRC}/${lex_file}.l.h CACHE INTERNAL "Stores generated files")
205 set(LEX_FILES_CPP ${LEX_FILES_CPP} " " ${GENERATED_SRC}/${lex_file}.cpp CACHE INTERNAL "Stores generated files")
206 add_custom_command(
207- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/scan_states.py ${CMAKE_CURRENT_LIST_DIR}/${lex_file}.l > ${GENERATED_SRC}/${lex_file}.l.h
208+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/scan_states.py ${CMAKE_CURRENT_LIST_DIR}/${lex_file}.l > ${GENERATED_SRC}/${lex_file}.l.h
209 DEPENDS ${CMAKE_CURRENT_LIST_DIR}/scan_states.py ${CMAKE_CURRENT_LIST_DIR}/${lex_file}.l
210 OUTPUT ${GENERATED_SRC}/${lex_file}.l.h
211 )
212diff --git a/testing/CMakeLists.txt b/testing/CMakeLists.txt
213index fd6912e..0af1865 100644
214--- a/testing/CMakeLists.txt
215+++ b/testing/CMakeLists.txt
216@@ -1,7 +1,7 @@
217 # run all tests sequentially (keep for backward compatibility)
218 add_custom_target(tests
219 COMMENT "Running doxygen tests..."
220- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py --doxygen ${PROJECT_BINARY_DIR}/bin/doxygen --inputdir ${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
221+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py --doxygen ${PROJECT_BINARY_DIR}/bin/doxygen --inputdir ${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
222 DEPENDS doxygen
223 )
224
225@@ -19,6 +19,6 @@ foreach(TEST_FILE ${TEST_FILES})
226 string(REGEX REPLACE "^.*/([0-9][0-9][0-9]*).*$" "\\1" TEST_ID "${TEST_FILE}")
227 # add a test target for each test
228 add_test(NAME ${TEST_NAME}
229- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py --id ${TEST_ID} --doxygen $<TARGET_FILE:doxygen> --inputdir ${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
230+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py --id ${TEST_ID} --doxygen $<TARGET_FILE:doxygen> --inputdir ${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
231 )
232 endforeach()
diff --git a/meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb b/meta-oe/recipes-devtools/doxygen/doxygen_1.12.0.bb
index 16a4250b2..11ea116af 100644
--- a/meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb
+++ b/meta-oe/recipes-devtools/doxygen/doxygen_1.12.0.bb
@@ -4,16 +4,17 @@ HOMEPAGE = "http://www.doxygen.org/"
4LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6 6
7DEPENDS = "flex-native bison-native" 7DEPENDS = "bison-native flex-native"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \ 9SRC_URI = "\
10 file://0001-build-don-t-look-for-Iconv.patch \ 10 git://github.com/doxygen/doxygen.git;branch=master;protocol=https \
11" 11"
12SRC_URI:append:class-native = " file://doxygen-native-only-check-python3.patch"
13SRC_URI[sha256sum] = "f352dbc3221af7012b7b00935f2dfdc9fb67a97d43287d2f6c81c50449d254e0"
14 12
15UPSTREAM_CHECK_URI = "https://github.com/doxygen/doxygen/releases" 13SRCREV = "c73f5d30f9e8b1df5ba15a1d064ff2067cbb8267"
16UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 14
15S = "${WORKDIR}/git"
16
17UPSTREAM_CHECK_GITTAGREGEX = "Release_(?P<pver>\d+(\_\d+)+)"
17 18
18inherit cmake python3native 19inherit cmake python3native
19 20
@@ -21,4 +22,5 @@ EXTRA_OECMAKE += "\
21 -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \ 22 -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \
22 -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \ 23 -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \
23" 24"
25
24BBCLASSEXTEND = "native nativesdk" 26BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/fastfloat/fastfloat_5.2.0.bb b/meta-oe/recipes-devtools/fastfloat/fastfloat_5.2.0.bb
new file mode 100644
index 000000000..b121a97b2
--- /dev/null
+++ b/meta-oe/recipes-devtools/fastfloat/fastfloat_5.2.0.bb
@@ -0,0 +1,15 @@
1SUMMARY = "fast_float number parsing library: 4x faster than strtod"
2HOMEPAGE = "https://github.com/fastfloat/fast_float"
3LICENSE = "Apache-2.0 & BSL-1.0 & MIT"
4LIC_FILES_CHKSUM = " \
5 file://LICENSE-MIT;md5=32b11d50c7d9788d4270f6a83f3e68eb \
6 file://LICENSE-APACHE;md5=81db248e90379bcfc0582b578b009bc3 \
7 file://LICENSE-BOOST;md5=2c7a3fa82e66676005cd4ee2608fd7d2 \
8"
9
10SRC_URI = "git://github.com/fastfloat/fast_float.git;protocol=https;branch=main"
11
12SRCREV = "2b2395f9ac836ffca6404424bcc252bff7aa80e4"
13S = "${WORKDIR}/git"
14
15inherit cmake
diff --git a/meta-oe/recipes-devtools/libtoml11/files/0001-fix-add-missing-zero-initialization-to-region.patch b/meta-oe/recipes-devtools/libtoml11/files/0001-fix-add-missing-zero-initialization-to-region.patch
new file mode 100644
index 000000000..cb3d10ee7
--- /dev/null
+++ b/meta-oe/recipes-devtools/libtoml11/files/0001-fix-add-missing-zero-initialization-to-region.patch
@@ -0,0 +1,35 @@
1From 9c7cef94a551cfdbbe2cce262c29221e22643d84 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= <amatej@redhat.com>
3Date: Mon, 19 Aug 2024 06:35:03 +0200
4Subject: [PATCH] fix: add missing zero initialization to region
5
6Fixes below error:
7
8/build/tmp-glibc/work/core2-64-wrs-linux/libtoml11/1_4.2.0-r0/git/include/toml11/fwd/../fwd/../fwd/region_fwd.hpp:49:5: error: '<unnamed>.toml::detail::region::first_' is used uninitialized [-Werror=uninitialized]
9 49 | region(region&&) = default;
10 | ^~~~~~
11
12Upstream-Status: Backport [https://github.com/ToruNiina/toml11/commit/9c7cef94a551cfdbbe2cce262c29221e22643d84]
13
14Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
15---
16 include/toml11/fwd/region_fwd.hpp | 3 ++-
17 1 file changed, 2 insertions(+), 1 deletion(-)
18
19diff --git a/include/toml11/fwd/region_fwd.hpp b/include/toml11/fwd/region_fwd.hpp
20index b40317d..26f1a9b 100644
21--- a/include/toml11/fwd/region_fwd.hpp
22+++ b/include/toml11/fwd/region_fwd.hpp
23@@ -34,7 +34,8 @@ class region
24 // a value that is constructed manually does not have input stream info
25 region()
26 : source_(nullptr), source_name_(""), length_(0),
27- first_line_(0), first_column_(0), last_line_(0), last_column_(0)
28+ first_(0), first_line_(0), first_column_(0), last_(0), last_line_(0),
29+ last_column_(0)
30 {}
31
32 // a value defined in [first, last).
33--
342.34.1
35
diff --git a/meta-oe/recipes-devtools/libtoml11/files/run-ptest b/meta-oe/recipes-devtools/libtoml11/files/run-ptest
new file mode 100755
index 000000000..9bc480aa7
--- /dev/null
+++ b/meta-oe/recipes-devtools/libtoml11/files/run-ptest
@@ -0,0 +1,12 @@
1#!/bin/sh
2
3cd tests
4for atest in test_* ; do
5 rm -rf tests.log
6 ./${atest} > tests.log 2>&1
7 if [ $? = 0 ] ; then
8 echo "PASS: ${atest}"
9 else
10 echo "FAIL: ${atest}"
11 fi
12done
diff --git a/meta-oe/recipes-devtools/libtoml11/libtoml11_4.2.0.bb b/meta-oe/recipes-devtools/libtoml11/libtoml11_4.2.0.bb
new file mode 100644
index 000000000..758e258a5
--- /dev/null
+++ b/meta-oe/recipes-devtools/libtoml11/libtoml11_4.2.0.bb
@@ -0,0 +1,39 @@
1SUMMARY = "TOML for Modern C++"
2DESCRIPTION = "toml11 is a feature-rich TOML language library for \
3 C++11/14/17/20."
4
5HOMEPAGE = "https://github.com/ToruNiina/toml11"
6
7SECTION = "libs"
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=44d1fcf70c7aa6991533c38daf7befa3"
11
12PE = "1"
13
14SRCREV = "cc0bee4fd46ea1f5db147d63ea545208cc9e8405"
15SRCREV_json = "9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03"
16SRCREV_doctest = "ae7a13539fb71f270b87eb2e874fbac80bc8dda2"
17
18SRC_URI = "git://github.com/ToruNiina/toml11;branch=main;protocol=https \
19 git://github.com/nlohmann/json;destsuffix=git/tests/extlib/json;name=json;branch=develop;protocol=https \
20 git://github.com/doctest/doctest;destsuffix=git/tests/extlib/doctest;name=doctest;branch=master;protocol=https \
21 file://0001-fix-add-missing-zero-initialization-to-region.patch \
22 file://run-ptest \
23"
24SRCREV_FORMAT = "json_doctest"
25
26S = "${WORKDIR}/git"
27
28inherit cmake ptest
29
30EXTRA_OECMAKE += "-DTOML11_PRECOMPILE=ON \
31 -DTOML11_BUILD_TESTS=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "ON", "OFF", d)} \
32"
33
34ALLOW_EMPTY:${PN} = "1"
35
36do_install_ptest () {
37 install -d ${D}${PTEST_PATH}/tests
38 cp -r ${B}/tests/test_* ${D}${PTEST_PATH}/tests
39}
diff --git a/meta-oe/recipes-devtools/mpich/mpich_4.2.2.bb b/meta-oe/recipes-devtools/mpich/mpich_4.2.3.bb
index f9ff07740..941dbf68a 100644
--- a/meta-oe/recipes-devtools/mpich/mpich_4.2.2.bb
+++ b/meta-oe/recipes-devtools/mpich/mpich_4.2.3.bb
@@ -6,7 +6,7 @@ LICENSE = "BSD-2-Clause"
6LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=7a88f0d96d0d7396a7c66bf353235b62" 6LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=7a88f0d96d0d7396a7c66bf353235b62"
7 7
8SRC_URI = "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz" 8SRC_URI = "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz"
9SRC_URI[sha256sum] = "883f5bb3aeabf627cb8492ca02a03b191d09836bbe0f599d8508351179781d41" 9SRC_URI[sha256sum] = "7a019180c51d1738ad9c5d8d452314de65e828ee240bcb2d1f80de9a65be88a8"
10 10
11RDEPENDS:${PN} += "bash perl libxml2" 11RDEPENDS:${PN} += "bash perl libxml2"
12 12
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.17/oe-npm-cache b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.11/oe-npm-cache
index eb0f143ea..eb0f143ea 100755
--- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.17/oe-npm-cache
+++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.11/oe-npm-cache
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.17.bb b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.11.bb
index d4b818f96..d4b818f96 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.17.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.11.bb
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch
index 12f6cd8b9..f692eedd4 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch
@@ -1,4 +1,4 @@
1From 7d94bfe53beeb2d25eb5f2ff6b1d509df7e6ab80 Mon Sep 17 00:00:00 2001 1From 689e098cbde130ecde523ae39df3567456271fda Mon Sep 17 00:00:00 2001
2From: Zuzana Svetlikova <zsvetlik@redhat.com> 2From: Zuzana Svetlikova <zsvetlik@redhat.com>
3Date: Thu, 27 Apr 2017 14:25:42 +0200 3Date: Thu, 27 Apr 2017 14:25:42 +0200
4Subject: [PATCH] Disable running gyp on shared deps 4Subject: [PATCH] Disable running gyp on shared deps
@@ -28,19 +28,20 @@ python prune_sources() {
28 shutil.rmtree(d.getVar('S') + '/deps/zlib') 28 shutil.rmtree(d.getVar('S') + '/deps/zlib')
29} 29}
30do_unpack[postfuncs] += "prune_sources" 30do_unpack[postfuncs] += "prune_sources"
31
32--- 31---
33 Makefile | 2 +- 32 Makefile | 2 +-
34 1 file changed, 1 insertion(+), 1 deletion(-) 33 1 file changed, 1 insertion(+), 1 deletion(-)
35 34
35diff --git a/Makefile b/Makefile
36index dba16e5e..da4faffc 100644
36--- a/Makefile 37--- a/Makefile
37+++ b/Makefile 38+++ b/Makefile
38@@ -169,7 +169,7 @@ with-code-cache test-code-cache: 39@@ -173,7 +173,7 @@ with-code-cache test-code-cache:
39 $(warning '$@' target is a noop) 40 $(warning '$@' target is a noop)
40 41
41 out/Makefile: config.gypi common.gypi node.gyp \ 42 out/Makefile: config.gypi common.gypi common_node.gypi node.gyp \
42- deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \ 43- deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \
43+ deps/llhttp/llhttp.gyp \ 44+ deps/llhttp/llhttp.gyp \
44 deps/simdutf/simdutf.gyp deps/ada/ada.gyp \ 45 deps/simdutf/simdutf.gyp deps/ada/ada.gyp deps/nbytes/nbytes.gyp \
45 tools/v8_gypfiles/toolchain.gypi tools/v8_gypfiles/features.gypi \ 46 tools/v8_gypfiles/toolchain.gypi \
46 tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp 47 tools/v8_gypfiles/features.gypi \
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
deleted file mode 100644
index 39026d074..000000000
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
+++ /dev/null
@@ -1,55 +0,0 @@
1From 656f6c91f1da7f1e1ffb01e2de7d9026a84958b5 Mon Sep 17 00:00:00 2001
2From: Luigi Pinca <luigipinca@gmail.com>
3Date: Wed, 8 Nov 2023 21:20:53 +0100
4Subject: [PATCH] build: fix build with Python 3.12
5
6Replace `distutils.version.StrictVersion` with
7`packaging.version.Version`.
8
9Refs: https://github.com/nodejs/node/pull/50209#issuecomment-1795852539
10PR-URL: https://github.com/nodejs/node/pull/50582
11Reviewed-By: Richard Lau <rlau@redhat.com>
12Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
13
14Upstream-Status: Backport [https://github.com/nodejs/node/commit/95534ad82f4e33f53fd50efe633d43f8da70cba6]
15Signed-off-by: Alexander Kanavin <alex@linutronix.de>
16---
17 configure.py | 11 +++++------
18 1 file changed, 5 insertions(+), 6 deletions(-)
19
20diff --git a/configure.py b/configure.py
21index 62f041ce..18fe7c14 100755
22--- a/configure.py
23+++ b/configure.py
24@@ -14,8 +14,6 @@ import bz2
25 import io
26 from pathlib import Path
27
28-from distutils.version import StrictVersion
29-
30 # If not run from node/, cd to node/.
31 os.chdir(Path(__file__).parent)
32
33@@ -30,6 +28,7 @@ tools_path = Path('tools')
34
35 sys.path.insert(0, str(tools_path / 'gyp' / 'pylib'))
36 from gyp.common import GetFlavor
37+from packaging.version import Version
38
39 # imports in tools/configure.d
40 sys.path.insert(0, str(tools_path / 'configure.d'))
41@@ -1565,10 +1564,10 @@ def configure_openssl(o):
42 # supported asm compiler for AVX2. See https://github.com/openssl/openssl/
43 # blob/OpenSSL_1_1_0-stable/crypto/modes/asm/aesni-gcm-x86_64.pl#L52-L69
44 openssl110_asm_supported = \
45- ('gas_version' in variables and StrictVersion(variables['gas_version']) >= StrictVersion('2.23')) or \
46- ('xcode_version' in variables and StrictVersion(variables['xcode_version']) >= StrictVersion('5.0')) or \
47- ('llvm_version' in variables and StrictVersion(variables['llvm_version']) >= StrictVersion('3.3')) or \
48- ('nasm_version' in variables and StrictVersion(variables['nasm_version']) >= StrictVersion('2.10'))
49+ ('gas_version' in variables and Version(variables['gas_version']) >= Version('2.23')) or \
50+ ('xcode_version' in variables and Version(variables['xcode_version']) >= Version('5.0')) or \
51+ ('llvm_version' in variables and Version(variables['llvm_version']) >= Version('3.3')) or \
52+ ('nasm_version' in variables and Version(variables['nasm_version']) >= Version('2.10'))
53
54 if is_x86 and not openssl110_asm_supported:
55 error('''Did not find a new enough assembler, install one or build with
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-custom-env.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-custom-env.patch
new file mode 100644
index 000000000..532d3c5f5
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-custom-env.patch
@@ -0,0 +1,18 @@
1From 9c1a31afdcf368f794b9f5378cb3fe759570f905 Mon Sep 17 00:00:00 2001
2From: Jason Schonberg <schonm@gmail.com>
3Date: Tue, 30 Apr 2024 21:48:33 -0400
4Subject: [PATCH] Update to nodejs 22.0.0
5
6Upstream-Status: Inappropriate [embedded specific]
7---
8 test/fixtures/run-script/node_modules/.bin/custom-env | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/test/fixtures/run-script/node_modules/.bin/custom-env b/test/fixtures/run-script/node_modules/.bin/custom-env
12index e6f291c6..1430f2e9 100755
13--- a/test/fixtures/run-script/node_modules/.bin/custom-env
14+++ b/test/fixtures/run-script/node_modules/.bin/custom-env
15@@ -1,2 +1,2 @@
16-#!/bin/bash
17+#!/bin/sh
18 echo "$CUSTOM_ENV"
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch
new file mode 100644
index 000000000..04398ac68
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch
@@ -0,0 +1,52 @@
1From 2bb296f169f86dbb04ee47e9a0dc1e3ee13d4f73 Mon Sep 17 00:00:00 2001
2From: Jason Schonberg <schonm@gmail.com>
3Date: Thu, 7 Mar 2024 12:55:56 -0500
4Subject: [PATCH] Update to nodejs 20.11.1
5
6Upstream-Status: Inappropriate [embedded specific]
7---
8 ...ps-disable-io_uring-support-in-libuv.patch | 35 +++++++++++++++++++
9 1 file changed, 35 insertions(+)
10 create mode 100644 meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch
11
12diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch
13new file mode 100644
14index 00000000..5ac711fb
15--- /dev/null
16+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch
17@@ -0,0 +1,35 @@
18+From 9838be9c710ab4249df86726fa390232a3b6a6e7 Mon Sep 17 00:00:00 2001
19+From: Changqing Li <changqing.li@windriver.com>
20+Date: Fri, 1 Mar 2024 15:46:11 +0800
21+Subject: [PATCH] deps: disable io_uring support in libuv
22+
23+Refer [1], Pseudo fails to intercept some of the syscalls when io_uring
24+enabled. Refer [2], always disable io_uring support in libuv to fix
25+issue in [1].
26+
27+[1] https://git.openembedded.org/meta-openembedded/commit/?id=d08453978c31ee41d28206c6ff198d7d9d701d88
28+[2] https://github.com/nodejs/node/commit/686da19abb
29+
30+Upstream-Status: Inappropriate [oe-specific]
31+
32+Signed-off-by: Changqing Li <changqing.li@windriver.com>
33+---
34+ deps/uv/src/unix/linux.c | 2 +-
35+ 1 file changed, 1 insertion(+), 1 deletion(-)
36+
37+diff --git a/deps/uv/src/unix/linux.c b/deps/uv/src/unix/linux.c
38+index 0c997185..7508409d 100644
39+--- a/deps/uv/src/unix/linux.c
40++++ b/deps/uv/src/unix/linux.c
41+@@ -433,7 +433,7 @@ static int uv__use_io_uring(void) {
42+ if (use == 0) {
43+ /* Disable io_uring by default due to CVE-2024-22017. */
44+ val = getenv("UV_USE_IO_URING");
45+- use = val != NULL && atoi(val) ? 1 : -1;
46++ use = 0;
47+ atomic_store_explicit(&use_io_uring, use, memory_order_relaxed);
48+ }
49+
50+--
51+2.25.1
52+
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
deleted file mode 100644
index 9d878dfb8..000000000
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From bf8c96ba6936050ed4a0de5bc8aeeaf2b3c50dc1 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Thu, 7 Dec 2023 12:54:30 +0100
4Subject: [PATCH] gyp: resolve python 3.12 issues
5
6Upstream has updated gyp wholesale in the main branch, so
7this patch can be dropped in due time.
8
9Upstream-Status: Inappropriate [issue will be fixed upstream with the next nodejs LTS update]
10
11Signed-off-by: Alexander Kanavin <alex@linutronix.de>
12---
13 deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py | 4 ++--
14 tools/gyp/pylib/gyp/input.py | 4 ++--
15 2 files changed, 4 insertions(+), 4 deletions(-)
16
17diff --git a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
18index d9699a0a..173e9465 100644
19--- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
20+++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
21@@ -16,7 +16,7 @@ import subprocess
22 import sys
23 import threading
24 import traceback
25-from distutils.version import StrictVersion
26+from packaging.version import Version
27 from gyp.common import GypError
28 from gyp.common import OrderedSet
29
30@@ -1183,7 +1183,7 @@ def EvalSingleCondition(cond_expr, true_dict, false_dict, phase, variables, buil
31 else:
32 ast_code = compile(cond_expr_expanded, "<string>", "eval")
33 cached_conditions_asts[cond_expr_expanded] = ast_code
34- env = {"__builtins__": {}, "v": StrictVersion}
35+ env = {"__builtins__": {}, "v": Version}
36 if eval(ast_code, env, variables):
37 return true_dict
38 return false_dict
39diff --git a/tools/gyp/pylib/gyp/input.py b/tools/gyp/pylib/gyp/input.py
40index 354958bf..ab6112e5 100644
41--- a/tools/gyp/pylib/gyp/input.py
42+++ b/tools/gyp/pylib/gyp/input.py
43@@ -16,7 +16,7 @@ import subprocess
44 import sys
45 import threading
46 import traceback
47-from distutils.version import StrictVersion
48+from packaging.version import Version
49 from gyp.common import GypError
50 from gyp.common import OrderedSet
51
52@@ -1190,7 +1190,7 @@ def EvalSingleCondition(cond_expr, true_dict, false_dict, phase, variables, buil
53 else:
54 ast_code = compile(cond_expr_expanded, "<string>", "eval")
55 cached_conditions_asts[cond_expr_expanded] = ast_code
56- env = {"__builtins__": {}, "v": StrictVersion}
57+ env = {"__builtins__": {}, "v": Version}
58 if eval(ast_code, env, variables):
59 return true_dict
60 return false_dict
61--
622.39.2
63
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch
index 5af87d866..5e617e655 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch
@@ -1,7 +1,7 @@
1From dc3652c0abcdf8573fd044907b19d8eda7ca1124 Mon Sep 17 00:00:00 2001 1From 33393507ba8209f0d6b85b391c525b4c70807275 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 3 Jul 2023 12:33:16 +0000 3Date: Mon, 3 Jul 2023 12:33:16 +0000
4Subject: [PATCH] [liftoff] Correct function signatures 4Subject: [PATCH] Correct function signatures
5 5
6Fixes builds on mips where clang reports an error 6Fixes builds on mips where clang reports an error
7../deps/v8/src/wasm/baseline/mips/liftoff-assembler-mips.h:661:5: error: no matching member function for call to 'Move' 7../deps/v8/src/wasm/baseline/mips/liftoff-assembler-mips.h:661:5: error: no matching member function for call to 'Move'
@@ -13,15 +13,15 @@ Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/v8/v8/+/3
13Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> 13Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
14--- 14---
15 deps/v8/src/wasm/baseline/liftoff-assembler.h | 6 +++--- 15 deps/v8/src/wasm/baseline/liftoff-assembler.h | 6 +++---
16 deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64.h | 2 +- 16 .../src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h | 2 +-
17 deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64.h | 2 +- 17 .../src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h | 2 +-
18 3 files changed, 5 insertions(+), 5 deletions(-) 18 3 files changed, 5 insertions(+), 5 deletions(-)
19 19
20diff --git a/deps/v8/src/wasm/baseline/liftoff-assembler.h b/deps/v8/src/wasm/baseline/liftoff-assembler.h 20diff --git a/deps/v8/src/wasm/baseline/liftoff-assembler.h b/deps/v8/src/wasm/baseline/liftoff-assembler.h
21index aef63c64..f2a11b01 100644 21index 7cb2f500..713d16db 100644
22--- a/deps/v8/src/wasm/baseline/liftoff-assembler.h 22--- a/deps/v8/src/wasm/baseline/liftoff-assembler.h
23+++ b/deps/v8/src/wasm/baseline/liftoff-assembler.h 23+++ b/deps/v8/src/wasm/baseline/liftoff-assembler.h
24@@ -717,7 +717,7 @@ class LiftoffAssembler : public MacroAssembler { 24@@ -681,7 +681,7 @@ class LiftoffAssembler : public MacroAssembler {
25 void FinishCall(const ValueKindSig*, compiler::CallDescriptor*); 25 void FinishCall(const ValueKindSig*, compiler::CallDescriptor*);
26 26
27 // Move {src} into {dst}. {src} and {dst} must be different. 27 // Move {src} into {dst}. {src} and {dst} must be different.
@@ -30,7 +30,7 @@ index aef63c64..f2a11b01 100644
30 30
31 // Parallel register move: For a list of tuples <dst, src, kind>, move the 31 // Parallel register move: For a list of tuples <dst, src, kind>, move the
32 // {src} register of kind {kind} into {dst}. If {src} equals {dst}, ignore 32 // {src} register of kind {kind} into {dst}. If {src} equals {dst}, ignore
33@@ -884,8 +884,8 @@ class LiftoffAssembler : public MacroAssembler { 33@@ -851,8 +851,8 @@ class LiftoffAssembler : public MacroAssembler {
34 inline void MoveStackValue(uint32_t dst_offset, uint32_t src_offset, 34 inline void MoveStackValue(uint32_t dst_offset, uint32_t src_offset,
35 ValueKind); 35 ValueKind);
36 36
@@ -41,24 +41,24 @@ index aef63c64..f2a11b01 100644
41 41
42 inline void Spill(int offset, LiftoffRegister, ValueKind); 42 inline void Spill(int offset, LiftoffRegister, ValueKind);
43 inline void Spill(int offset, WasmValue); 43 inline void Spill(int offset, WasmValue);
44diff --git a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64.h b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64.h 44diff --git a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h
45index 96cba24c..53e1842d 100644 45index bd59f162..56b4d70c 100644
46--- a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64.h 46--- a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h
47+++ b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64.h 47+++ b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h
48@@ -592,7 +592,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg, 48@@ -672,7 +672,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
49 pinned.set(dst_op.rm()); 49 pinned.set(dst_op.rm());
50 LiftoffRegister tmp = GetUnusedRegister(src.reg_class(), pinned); 50 LiftoffRegister tmp = kScratchReg2;
51 // Save original value. 51 // Save original value.
52- Move(tmp, src, type.value_type()); 52- Move(tmp, src, type.value_type());
53+ Move(tmp, src, type.value_type().kind()); 53+ Move(tmp, src, type.value_type().kind());
54 54
55 src = tmp; 55 src = tmp;
56 pinned.set(tmp); 56 pinned.set(tmp);
57diff --git a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64.h b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64.h 57diff --git a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h
58index 1d6ae09e..397e82b2 100644 58index a3c94af0..456e5334 100644
59--- a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64.h 59--- a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h
60+++ b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64.h 60+++ b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h
61@@ -286,7 +286,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg, 61@@ -452,7 +452,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
62 pinned.set(dst_op.rm()); 62 pinned.set(dst_op.rm());
63 LiftoffRegister tmp = GetUnusedRegister(src.reg_class(), pinned); 63 LiftoffRegister tmp = GetUnusedRegister(src.reg_class(), pinned);
64 // Save original value. 64 // Save original value.
@@ -67,5 +67,3 @@ index 1d6ae09e..397e82b2 100644
67 67
68 src = tmp; 68 src = tmp;
69 pinned.set(tmp); 69 pinned.set(tmp);
70--
712.40.0
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-positional-args.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-positional-args.patch
new file mode 100644
index 000000000..5fd6aee35
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-positional-args.patch
@@ -0,0 +1,19 @@
1From 07ee84863fa4a9e4d5f155632478587b0acbf71a Mon Sep 17 00:00:00 2001
2From: Jason Schonberg <schonm@gmail.com>
3Date: Tue, 30 Apr 2024 21:48:33 -0400
4Subject: [PATCH] Update to nodejs 22.0.0
5
6Upstream-Status: Inappropriate [embedded specific]
7---
8 test/fixtures/run-script/node_modules/.bin/positional-args | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/test/fixtures/run-script/node_modules/.bin/positional-args b/test/fixtures/run-script/node_modules/.bin/positional-args
12index 2d809237..3dc5314f 100755
13--- a/test/fixtures/run-script/node_modules/.bin/positional-args
14+++ b/test/fixtures/run-script/node_modules/.bin/positional-args
15@@ -1,3 +1,3 @@
16-#!/bin/bash
17+#!/bin/sh
18 echo "Arguments: '$@'"
19 echo "The total number of arguments are: $#"
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch
index 97ed972ce..cc920118a 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch
@@ -1,4 +1,4 @@
1From 47ee5cc5501289205d3e8e9f27ea9daf18cebac1 Mon Sep 17 00:00:00 2001 1From afc085af7b6b935a5e14fc3f40db47df02ca3af2 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <git@andred.net> 2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <git@andred.net>
3Date: Sat, 9 Nov 2019 14:45:30 +0000 3Date: Sat, 9 Nov 2019 14:45:30 +0000
4Subject: [PATCH] v8: don't override ARM CFLAGS 4Subject: [PATCH] v8: don't override ARM CFLAGS
@@ -28,10 +28,10 @@ Signed-off-by: André Draszik <git@andred.net>
28 1 file changed, 2 insertions(+), 50 deletions(-) 28 1 file changed, 2 insertions(+), 50 deletions(-)
29 29
30diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi 30diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi
31index 264b3e478e..0b41848145 100644 31index 9d1b0987..4df15e60 100644
32--- a/tools/v8_gypfiles/toolchain.gypi 32--- a/tools/v8_gypfiles/toolchain.gypi
33+++ b/tools/v8_gypfiles/toolchain.gypi 33+++ b/tools/v8_gypfiles/toolchain.gypi
34@@ -211,31 +211,7 @@ 34@@ -203,31 +203,7 @@
35 'target_conditions': [ 35 'target_conditions': [
36 ['_toolset=="host"', { 36 ['_toolset=="host"', {
37 'conditions': [ 37 'conditions': [
@@ -64,7 +64,7 @@ index 264b3e478e..0b41848145 100644
64 # Host not built with an Arm CXX compiler (simulator build). 64 # Host not built with an Arm CXX compiler (simulator build).
65 'conditions': [ 65 'conditions': [
66 [ 'arm_float_abi=="hard"', { 66 [ 'arm_float_abi=="hard"', {
67@@ -254,31 +230,7 @@ 67@@ -246,31 +222,7 @@
68 }], # _toolset=="host" 68 }], # _toolset=="host"
69 ['_toolset=="target"', { 69 ['_toolset=="target"', {
70 'conditions': [ 70 'conditions': [
@@ -97,6 +97,3 @@ index 264b3e478e..0b41848145 100644
97 # Target not built with an Arm CXX compiler (simulator build). 97 # Target not built with an Arm CXX compiler (simulator build).
98 'conditions': [ 98 'conditions': [
99 [ 'arm_float_abi=="hard"', { 99 [ 'arm_float_abi=="hard"', {
100--
1012.20.1
102
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/182d9c05e78.patch b/meta-oe/recipes-devtools/nodejs/nodejs/182d9c05e78.patch
deleted file mode 100644
index 689512cb6..000000000
--- a/meta-oe/recipes-devtools/nodejs/nodejs/182d9c05e78.patch
+++ /dev/null
@@ -1,182 +0,0 @@
1From 182d9c05e78b1ddb1cb8242cd3628a7855a0336f Mon Sep 17 00:00:00 2001
2From: Andrey Kosyakov <caseq@chromium.org>
3Date: Thu, 17 Aug 2023 13:50:11 -0700
4Subject: [PATCH] Define UChar as char16_t
5
6We used to have UChar defined as uint16_t which does not go along
7with STL these days if you try to have an std::basic_string<> of it,
8as there are no standard std::char_traits<> specialization for uint16_t.
9
10This switches UChar to char16_t where practical, introducing a few
11compatibility shims to keep CL size small, as (1) this would likely
12have to be back-ported and (2) crdtp extensively uses uint16_t for
13wide chars.
14
15Bug: b:296390693
16Change-Id: I66a32d8f0050915225b187de56896c26dd76163d
17Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4789966
18Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
19Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
20Auto-Submit: Andrey Kosyakov <caseq@chromium.org>
21Cr-Commit-Position: refs/heads/main@{#89559}
22
23Upstream-Status: Backport [https://chromium-review.googlesource.com/c/v8/v8/+/4789966]
24Signed-off-by: Khem Raj <raj.khem@gmail.com>
25---
26 src/inspector/string-16.cc | 8 +++++++-
27 src/inspector/string-16.h | 10 ++++++++--
28 src/inspector/v8-string-conversions.cc | 6 +++---
29 src/inspector/v8-string-conversions.h | 6 ++++--
30 .../inspector_protocol/crdtp/test_platform_v8.cc | 9 ++++++---
31 5 files changed, 28 insertions(+), 11 deletions(-)
32
33--- a/deps/v8/src/inspector/string-16.cc
34+++ b/deps/v8/src/inspector/string-16.cc
35@@ -27,7 +27,7 @@ bool isSpaceOrNewLine(UChar c) {
36 return isASCII(c) && c <= ' ' && (c == ' ' || (c <= 0xD && c >= 0x9));
37 }
38
39-int64_t charactersToInteger(const UChar* characters, size_t length,
40+int64_t charactersToInteger(const uint16_t* characters, size_t length,
41 bool* ok = nullptr) {
42 std::vector<char> buffer;
43 buffer.reserve(length + 1);
44@@ -50,6 +50,8 @@ int64_t charactersToInteger(const UChar*
45
46 String16::String16(const UChar* characters, size_t size)
47 : m_impl(characters, size) {}
48+String16::String16(const uint16_t* characters, size_t size)
49+ : m_impl(reinterpret_cast<const UChar*>(characters), size) {}
50
51 String16::String16(const UChar* characters) : m_impl(characters) {}
52
53@@ -241,6 +243,10 @@ String16 String16::fromUTF16LE(const UCh
54 #endif // V8_TARGET_BIG_ENDIAN
55 }
56
57+String16 String16::fromUTF16LE(const uint16_t* stringStart, size_t length) {
58+ return fromUTF16LE(reinterpret_cast<const UChar*>(stringStart), length);
59+}
60+
61 std::string String16::utf8() const {
62 return UTF16ToUTF8(m_impl.data(), m_impl.size());
63 }
64--- a/deps/v8/src/inspector/string-16.h
65+++ b/deps/v8/src/inspector/string-16.h
66@@ -6,6 +6,7 @@
67 #define V8_INSPECTOR_STRING_16_H_
68
69 #include <stdint.h>
70+#include <uchar.h>
71
72 #include <cctype>
73 #include <climits>
74@@ -17,7 +18,7 @@
75
76 namespace v8_inspector {
77
78-using UChar = uint16_t;
79+using UChar = char16_t;
80
81 class String16 {
82 public:
83@@ -27,6 +28,7 @@ class String16 {
84 String16(const String16&) V8_NOEXCEPT = default;
85 String16(String16&&) V8_NOEXCEPT = default;
86 String16(const UChar* characters, size_t size);
87+ String16(const uint16_t* characters, size_t size);
88 V8_EXPORT String16(const UChar* characters);
89 V8_EXPORT String16(const char* characters);
90 String16(const char* characters, size_t size);
91@@ -48,7 +50,9 @@ class String16 {
92 int toInteger(bool* ok = nullptr) const;
93 std::pair<size_t, size_t> getTrimmedOffsetAndLength() const;
94 String16 stripWhiteSpace() const;
95- const UChar* characters16() const { return m_impl.c_str(); }
96+ const uint16_t* characters16() const {
97+ return reinterpret_cast<const uint16_t*>(m_impl.c_str());
98+ }
99 size_t length() const { return m_impl.length(); }
100 bool isEmpty() const { return !m_impl.length(); }
101 UChar operator[](size_t index) const { return m_impl[index]; }
102@@ -78,6 +82,8 @@ class String16 {
103 // On Big endian architectures, byte order needs to be flipped.
104 V8_EXPORT static String16 fromUTF16LE(const UChar* stringStart,
105 size_t length);
106+ V8_EXPORT static String16 fromUTF16LE(const uint16_t* stringStart,
107+ size_t length);
108
109 std::size_t hash() const {
110 if (!hash_code) {
111--- a/deps/v8/src/inspector/v8-string-conversions.cc
112+++ b/deps/v8/src/inspector/v8-string-conversions.cc
113@@ -12,7 +12,7 @@
114
115 namespace v8_inspector {
116 namespace {
117-using UChar = uint16_t;
118+using UChar = char16_t;
119 using UChar32 = uint32_t;
120
121 bool isASCII(UChar c) { return !(c & ~0x7F); }
122@@ -386,7 +386,7 @@ std::string UTF16ToUTF8(const UChar* str
123
124 std::basic_string<UChar> UTF8ToUTF16(const char* stringStart, size_t length) {
125 if (!stringStart || !length) return std::basic_string<UChar>();
126- std::vector<uint16_t> buffer(length);
127+ std::vector<UChar> buffer(length);
128 UChar* bufferStart = buffer.data();
129
130 UChar* bufferCurrent = bufferStart;
131@@ -395,7 +395,7 @@ std::basic_string<UChar> UTF8ToUTF16(con
132 reinterpret_cast<const char*>(stringStart + length),
133 &bufferCurrent, bufferCurrent + buffer.size(), nullptr,
134 true) != conversionOK)
135- return std::basic_string<uint16_t>();
136+ return std::basic_string<UChar>();
137 size_t utf16Length = bufferCurrent - bufferStart;
138 return std::basic_string<UChar>(bufferStart, bufferStart + utf16Length);
139 }
140--- a/deps/v8/src/inspector/v8-string-conversions.h
141+++ b/deps/v8/src/inspector/v8-string-conversions.h
142@@ -5,14 +5,16 @@
143 #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_
144 #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_
145
146+#include <uchar.h>
147+
148 #include <cstdint>
149 #include <string>
150
151 // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may
152 // want to use string-16.h directly rather than these.
153 namespace v8_inspector {
154-std::basic_string<uint16_t> UTF8ToUTF16(const char* stringStart, size_t length);
155-std::string UTF16ToUTF8(const uint16_t* stringStart, size_t length);
156+std::basic_string<char16_t> UTF8ToUTF16(const char* stringStart, size_t length);
157+std::string UTF16ToUTF8(const char16_t* stringStart, size_t length);
158 } // namespace v8_inspector
159
160 #endif // V8_INSPECTOR_V8_STRING_CONVERSIONS_H_
161--- a/deps/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc
162+++ b/deps/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc
163@@ -11,13 +11,16 @@
164 namespace v8_crdtp {
165
166 std::string UTF16ToUTF8(span<uint16_t> in) {
167- return v8_inspector::UTF16ToUTF8(in.data(), in.size());
168+ return v8_inspector::UTF16ToUTF8(reinterpret_cast<const char16_t*>(in.data()),
169+ in.size());
170 }
171
172 std::vector<uint16_t> UTF8ToUTF16(span<uint8_t> in) {
173- std::basic_string<uint16_t> utf16 = v8_inspector::UTF8ToUTF16(
174+ std::basic_string<char16_t> utf16 = v8_inspector::UTF8ToUTF16(
175 reinterpret_cast<const char*>(in.data()), in.size());
176- return std::vector<uint16_t>(utf16.begin(), utf16.end());
177+ return std::vector<uint16_t>(
178+ reinterpret_cast<const uint16_t*>(utf16.data()),
179+ reinterpret_cast<const uint16_t*>(utf16.data()) + utf16.size());
180 }
181
182 } // namespace v8_crdtp
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch b/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch
index bc51f99d8..d987ac50b 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch
@@ -29,7 +29,7 @@ index b425f443..f296f35c 100644
29@@ -487,7 +487,18 @@ 29@@ -487,7 +487,18 @@
30 ], 30 ],
31 }], 31 }],
32 ['OS == "linux" and llvm_version != "0.0"', { 32 ['OS=="linux" and clang==1', {
33- 'libraries': ['-latomic'], 33- 'libraries': ['-latomic'],
34+ 'target_conditions': [ 34+ 'target_conditions': [
35+ ['_toolset=="host"', { 35+ ['_toolset=="host"', {
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/system-c-ares.patch b/meta-oe/recipes-devtools/nodejs/nodejs/system-c-ares.patch
index 141889ad2..6f08c71e1 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs/system-c-ares.patch
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/system-c-ares.patch
@@ -1,11 +1,19 @@
1keep nodejs compatible with c-ares 1.17.1 1From ce931ad5f5aba60e8e77f39e0af43bce7d25d287 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 4 Mar 2024 11:05:25 -0500
4Subject: [PATCH] keep nodejs compatible with c-ares 1.17.1
2 5
3Upstream-Status: Inappropriate [c-ares specific] 6Upstream-Status: Inappropriate [c-ares specific]
4Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 src/cares_wrap.h | 10 +++++++++-
10 1 file changed, 9 insertions(+), 1 deletion(-)
5 11
12diff --git a/src/cares_wrap.h b/src/cares_wrap.h
13index 021ef1c9..820c5d88 100644
6--- a/src/cares_wrap.h 14--- a/src/cares_wrap.h
7+++ b/src/cares_wrap.h 15+++ b/src/cares_wrap.h
8@@ -22,7 +22,15 @@ 16@@ -23,7 +23,15 @@
9 # include <netdb.h> 17 # include <netdb.h>
10 #endif // __POSIX__ 18 #endif // __POSIX__
11 19
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_20.17.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_22.11.0.bb
index 38e5ca9ff..49a5f350d 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_20.17.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_22.11.0.bb
@@ -1,7 +1,7 @@
1DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript" 1DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
2HOMEPAGE = "http://nodejs.org" 2HOMEPAGE = "http://nodejs.org"
3LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0 & Apache-2.0" 3LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0 & Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=2ab85b3bae451276a10919163bcc5b74" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=25e89142a2f4b075904a9986c45fbdb2"
5 5
6CVE_PRODUCT = "nodejs node.js" 6CVE_PRODUCT = "nodejs node.js"
7 7
@@ -25,7 +25,9 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
25 file://system-c-ares.patch \ 25 file://system-c-ares.patch \
26 file://0001-liftoff-Correct-function-signatures.patch \ 26 file://0001-liftoff-Correct-function-signatures.patch \
27 file://libatomic.patch \ 27 file://libatomic.patch \
28 file://182d9c05e78.patch \ 28 file://0001-deps-disable-io_uring-support-in-libuv.patch \
29 file://0001-positional-args.patch \
30 file://0001-custom-env.patch \
29 file://run-ptest \ 31 file://run-ptest \
30 " 32 "
31SRC_URI:append:class-target = " \ 33SRC_URI:append:class-target = " \
@@ -34,7 +36,7 @@ SRC_URI:append:class-target = " \
34SRC_URI:append:toolchain-clang:powerpc64le = " \ 36SRC_URI:append:toolchain-clang:powerpc64le = " \
35 file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ 37 file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \
36 " 38 "
37SRC_URI[sha256sum] = "9abf03ac23362c60387ebb633a516303637145cb3c177be3348b16880fd8b28c" 39SRC_URI[sha256sum] = "bbf0297761d53aefda9d7855c57c7d2c272b83a7b5bad4fea9cb29006d8e1d35"
38 40
39S = "${WORKDIR}/node-v${PV}" 41S = "${WORKDIR}/node-v${PV}"
40 42
@@ -98,7 +100,7 @@ do_unpack[postfuncs] += "prune_sources"
98# 1. If host and target have the different bit width, run those 100# 1. If host and target have the different bit width, run those
99# binaries for the target and run them on the host with QEMU. 101# binaries for the target and run them on the host with QEMU.
100# 2. If host and target have the same bit width, enable upstream 102# 2. If host and target have the same bit width, enable upstream
101# cross crompile support and no QEMU 103# cross compile support and no QEMU
102python do_create_v8_qemu_wrapper () { 104python do_create_v8_qemu_wrapper () {
103 """Creates a small wrapper that invokes QEMU to run some target V8 binaries 105 """Creates a small wrapper that invokes QEMU to run some target V8 binaries
104 on the host.""" 106 on the host."""
@@ -192,7 +194,7 @@ python set_gyp_variables () {
192 d.setVar("LDFLAGS_host", d.getVar("LDFLAGS")) 194 d.setVar("LDFLAGS_host", d.getVar("LDFLAGS"))
193 d.setVar("AR_host", d.getVar("AR")) 195 d.setVar("AR_host", d.getVar("AR"))
194 elif d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "1": 196 elif d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "1":
195 # Enable upstream cross crompile support 197 # Enable upstream cross compile support
196 d.setVar("CC_host", d.getVar("BUILD_CC")) 198 d.setVar("CC_host", d.getVar("BUILD_CC"))
197 d.setVar("CFLAGS_host", d.getVar("BUILD_CFLAGS")) 199 d.setVar("CFLAGS_host", d.getVar("BUILD_CFLAGS"))
198 d.setVar("CXX_host", d.getVar("BUILD_CXX")) 200 d.setVar("CXX_host", d.getVar("BUILD_CXX"))
diff --git a/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch b/meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
index 4f7dfd4cc..7dc18d7aa 100644
--- a/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
+++ b/meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
@@ -4,7 +4,6 @@ Date: Wed, 15 Sep 2021 17:54:01 +0200
4Subject: [PATCH] Use /usr/bin/env python3 instead of just /usr/bin/python3 4Subject: [PATCH] Use /usr/bin/env python3 instead of just /usr/bin/python3
5 5
6Upstream-Status: Inappropriate [OE specific] 6Upstream-Status: Inappropriate [OE specific]
7
8--- 7---
9 ostra/ostra-cg | 2 +- 8 ostra/ostra-cg | 2 +-
10 ostra/python/ostra.py | 2 +- 9 ostra/python/ostra.py | 2 +-
diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.25.bb b/meta-oe/recipes-devtools/pahole/pahole_1.27.bb
index 1334c850e..b899684eb 100644
--- a/meta-oe/recipes-devtools/pahole/pahole_1.25.bb
+++ b/meta-oe/recipes-devtools/pahole/pahole_1.27.bb
@@ -7,11 +7,12 @@ DEPENDS = "elfutils zlib libbpf"
7 7
8# Depends on MACHINE_ARCH libbpf 8# Depends on MACHINE_ARCH libbpf
9PACKAGE_ARCH = "${MACHINE_ARCH}" 9PACKAGE_ARCH = "${MACHINE_ARCH}"
10COMPATIBLE_HOST = "(x86_64|i.86|aarch64).*-linux" 10COMPATIBLE_HOST:mips = "null"
11COMPATIBLE_HOST:riscv32 = "null"
11 12
12SRCREV = "81558a5a996005df0d607dd33f74ec5b7bdb619d" 13SRCREV = "3e265dac5ec85b956c664464072196c37d2af4f3"
13SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \ 14SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \
14 file://0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch" 15 file://0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch"
15 16
16S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
17 18
diff --git a/meta-oe/recipes-devtools/perfetto/files/0001-Add-missing-header-cstdint-for-uintXX_t-types.patch b/meta-oe/recipes-devtools/perfetto/files/0001-Add-missing-header-cstdint-for-uintXX_t-types.patch
deleted file mode 100644
index d08721ae6..000000000
--- a/meta-oe/recipes-devtools/perfetto/files/0001-Add-missing-header-cstdint-for-uintXX_t-types.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From e63949205682bbd2a0e33e256119472d704a2549 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 29 Jan 2023 22:03:01 -0800
4Subject: [PATCH] Add missing header <cstdint> for uintXX_t types
5
6This is detected by gcc-13
7gcc 13 moved some includes around and as a result <cstdint> is no
8longer transitively included [1]. Explicitly include it for uintXX_t.
9
10[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
11
12Upstream-Status: Submitted [https://android-review.googlesource.com/c/platform/external/perfetto/+/2399128]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 include/perfetto/ext/base/http/sha1.h | 1 +
16 include/perfetto/ext/base/uuid.h | 1 +
17 src/traced/probes/common/cpu_freq_info.h | 1 +
18 3 files changed, 3 insertions(+)
19
20diff --git a/include/perfetto/ext/base/http/sha1.h b/include/perfetto/ext/base/http/sha1.h
21index c583d69d4..7e3a48c83 100644
22--- a/include/perfetto/ext/base/http/sha1.h
23+++ b/include/perfetto/ext/base/http/sha1.h
24@@ -20,6 +20,7 @@
25 #include <stddef.h>
26
27 #include <array>
28+#include <cstdint>
29 #include <string>
30
31 namespace perfetto {
32diff --git a/include/perfetto/ext/base/uuid.h b/include/perfetto/ext/base/uuid.h
33index 1b4c53815..472042fab 100644
34--- a/include/perfetto/ext/base/uuid.h
35+++ b/include/perfetto/ext/base/uuid.h
36@@ -18,6 +18,7 @@
37 #define INCLUDE_PERFETTO_EXT_BASE_UUID_H_
38
39 #include <array>
40+#include <cstdint>
41 #include <string>
42
43 #include "perfetto/ext/base/optional.h"
44diff --git a/src/traced/probes/common/cpu_freq_info.h b/src/traced/probes/common/cpu_freq_info.h
45index 36f7f9c09..8232cbf64 100644
46--- a/src/traced/probes/common/cpu_freq_info.h
47+++ b/src/traced/probes/common/cpu_freq_info.h
48@@ -17,6 +17,7 @@
49 #ifndef SRC_TRACED_PROBES_COMMON_CPU_FREQ_INFO_H_
50 #define SRC_TRACED_PROBES_COMMON_CPU_FREQ_INFO_H_
51
52+#include <cstdint>
53 #include <map>
54 #include <string>
55 #include <vector>
56--
572.39.1
58
diff --git a/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch b/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch
new file mode 100644
index 000000000..3b7ca951a
--- /dev/null
+++ b/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch
@@ -0,0 +1,40 @@
1From 485c21940eb0100a33b7efea40a83e7f79e765f8 Mon Sep 17 00:00:00 2001
2From: Etienne Cordonnier <ecordonnier@snap.com>
3Date: Sun, 22 Sep 2024 20:17:52 +0200
4Subject: [PATCH] fix musl build
5
6Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
7---
8Upstream-Status: Pending
9
10 sdk/perfetto.cc | 1 -
11 src/base/utils.cc | 1 -
12 2 files changed, 2 deletions(-)
13
14diff --git a/sdk/perfetto.cc b/sdk/perfetto.cc
15index b10dd5aa92..2eb90f0d15 100644
16--- a/sdk/perfetto.cc
17+++ b/sdk/perfetto.cc
18@@ -6558,7 +6558,6 @@ std::optional<int32_t> GetTimezoneOffsetMins() {
19
20 #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
21 PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
22-#include <linux/prctl.h>
23 #include <sys/prctl.h>
24
25 #ifndef PR_GET_TAGGED_ADDR_CTRL
26diff --git a/src/base/utils.cc b/src/base/utils.cc
27index 0d9318c136..419c7dbc1a 100644
28--- a/src/base/utils.cc
29+++ b/src/base/utils.cc
30@@ -40,7 +40,6 @@
31
32 #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
33 PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
34-#include <linux/prctl.h>
35 #include <sys/prctl.h>
36
37 #ifndef PR_GET_TAGGED_ADDR_CTRL
38--
392.43.0
40
diff --git a/meta-oe/recipes-devtools/perfetto/libperfetto.bb b/meta-oe/recipes-devtools/perfetto/libperfetto.bb
index c8f56fd52..8383db3cc 100644
--- a/meta-oe/recipes-devtools/perfetto/libperfetto.bb
+++ b/meta-oe/recipes-devtools/perfetto/libperfetto.bb
@@ -1,5 +1,5 @@
1LICENSE = "Apache-2.0" 1LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://LICENSE;md5=f87516e0b698007e9e75a1fe1012b390" 2LIC_FILES_CHKSUM = "file://LICENSE;md5=d2572d98547d43906b53615f856a8c2d"
3 3
4require perfetto.inc 4require perfetto.inc
5 5
diff --git a/meta-oe/recipes-devtools/perfetto/files/0001-meson-add-pc-file-for-lib_perfetto.patch b/meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch
index ae644747c..719663a80 100644
--- a/meta-oe/recipes-devtools/perfetto/files/0001-meson-add-pc-file-for-lib_perfetto.patch
+++ b/meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch
@@ -3,21 +3,22 @@ From: Markus Volk <f_l_k@t-online.de>
3Date: Mon, 17 Oct 2022 19:20:53 +0200 3Date: Mon, 17 Oct 2022 19:20:53 +0200
4Subject: [PATCH] meson: add PC file for lib_perfetto 4Subject: [PATCH] meson: add PC file for lib_perfetto
5 5
6Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
6--- 7---
7Upstream-Status: Pending 8Upstream-Status: Pending
8 9
9 meson.build | 12 ++++++++++-- 10 meson.build | 10 +++++++++-
10 1 file changed, 10 insertions(+), 2 deletions(-) 11 1 file changed, 9 insertions(+), 1 deletion(-)
11 12
13diff --git a/meson.build b/meson.build
14index 8fb1e26275..3ef3ebf27d 100644
12--- a/meson.build 15--- a/meson.build
13+++ b/meson.build 16+++ b/meson.build
14@@ -19,9 +19,12 @@ 17@@ -19,8 +19,11 @@
15 project( 18 project(
16 'perfetto', 19 'perfetto',
17 ['cpp'], 20 ['cpp'],
18- default_options: ['cpp_std=c++17'] 21+ version: '47.0'
19+ default_options: ['cpp_std=c++17'],
20+ version: '31.0'
21 ) 22 )
22 23
23+soversion = meson.project_version() 24+soversion = meson.project_version()
@@ -25,7 +26,7 @@ Upstream-Status: Pending
25 fs = import('fs') 26 fs = import('fs')
26 27
27 if not fs.is_dir('sdk') 28 if not fs.is_dir('sdk')
28@@ -36,8 +39,9 @@ if host_machine.system() == 'android' 29@@ -35,8 +38,9 @@ if host_machine.system() == 'android'
29 deps_perfetto += cpp.find_library('log') 30 deps_perfetto += cpp.find_library('log')
30 endif 31 endif
31 32
@@ -36,7 +37,7 @@ Upstream-Status: Pending
36 sources: 'sdk/perfetto.cc', 37 sources: 'sdk/perfetto.cc',
37 dependencies: deps_perfetto, 38 dependencies: deps_perfetto,
38 install: true, 39 install: true,
39@@ -50,6 +54,10 @@ dir_perfetto_trace = join_paths(meson.cu 40@@ -50,6 +54,10 @@ dir_perfetto_trace = join_paths(meson.current_source_dir(),
40 41
41 install_data(dir_perfetto_trace / 'perfetto_trace.proto') 42 install_data(dir_perfetto_trace / 'perfetto_trace.proto')
42 43
@@ -47,3 +48,6 @@ Upstream-Status: Pending
47 dep_perfetto = declare_dependency( 48 dep_perfetto = declare_dependency(
48 link_with: lib_perfetto, 49 link_with: lib_perfetto,
49 include_directories: inc_perfetto, 50 include_directories: inc_perfetto,
51--
522.43.0
53
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto.bb b/meta-oe/recipes-devtools/perfetto/perfetto.bb
index 884e0a024..d2a6fbe65 100644
--- a/meta-oe/recipes-devtools/perfetto/perfetto.bb
+++ b/meta-oe/recipes-devtools/perfetto/perfetto.bb
@@ -1,16 +1,17 @@
1LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib" 1LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib"
2 2
3LIC_FILES_CHKSUM = "file://LICENSE;md5=f87516e0b698007e9e75a1fe1012b390 \ 3LIC_FILES_CHKSUM = "file://LICENSE;md5=d2572d98547d43906b53615f856a8c2d \
4 file://buildtools/libcxx/LICENSE.TXT;md5=55d89dd7eec8d3b4204b680e27da3953 \ 4 file://buildtools/libcxx/LICENSE.TXT;md5=55d89dd7eec8d3b4204b680e27da3953 \
5 file://buildtools/libcxxabi/LICENSE.TXT;md5=7b9334635b542c56868400a46b272b1e \ 5 file://buildtools/libcxxabi/LICENSE.TXT;md5=7b9334635b542c56868400a46b272b1e \
6 file://buildtools/libunwind/LICENSE.TXT;md5=f66970035d12f196030658b11725e1a1 \ 6 file://buildtools/libunwind/LICENSE.TXT;md5=f66970035d12f196030658b11725e1a1 \
7 file://buildtools/protobuf/LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \ 7 file://buildtools/protobuf/LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \
8 file://buildtools/zlib/LICENSE;md5=f09575dbfb09420642318b413159496f \ 8 file://buildtools/zlib/LICENSE;md5=8c75f2b4df47a77f9445315a9500cd1c \
9 file://debian/copyright;md5=4e08364c82141f181de69d0a2b89d612 \ 9 file://debian/copyright;md5=4e08364c82141f181de69d0a2b89d612 \
10 file://python/LICENSE;md5=c602a632c34ade9c78a976734077bce7" 10 file://python/LICENSE;md5=c602a632c34ade9c78a976734077bce7"
11 11
12# Dependencies from perfetto/tools/install-build-deps
12SRC_URI:append = " \ 13SRC_URI:append = " \
13 git://github.com/protocolbuffers/protobuf.git;branch=3.9.x;protocol=https;destsuffix=git/buildtools/protobuf;name=protobuf \ 14 git://github.com/protocolbuffers/protobuf.git;branch=main;protocol=https;destsuffix=git/buildtools/protobuf;name=protobuf \
14 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git;protocol=https;destsuffix=git/buildtools/libcxx;branch=main;name=libcxx \ 15 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git;protocol=https;destsuffix=git/buildtools/libcxx;branch=main;name=libcxx \
15 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git;protocol=https;destsuffix=git/buildtools/libcxxabi;branch=main;name=libcxxabi \ 16 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git;protocol=https;destsuffix=git/buildtools/libcxxabi;branch=main;name=libcxxabi \
16 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git;protocol=https;destsuffix=git/buildtools/libunwind;branch=main;name=libunwind \ 17 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git;protocol=https;destsuffix=git/buildtools/libunwind;branch=main;name=libunwind \
@@ -22,25 +23,28 @@ SRC_URI:append = " \
22 git://android.googlesource.com/platform/bionic.git;branch=master;protocol=https;destsuffix=git/buildtools/bionic;name=bionic \ 23 git://android.googlesource.com/platform/bionic.git;branch=master;protocol=https;destsuffix=git/buildtools/bionic;name=bionic \
23 git://android.googlesource.com/platform/external/zlib.git;branch=master;protocol=https;destsuffix=git/buildtools/zlib;name=zlib \ 24 git://android.googlesource.com/platform/external/zlib.git;branch=master;protocol=https;destsuffix=git/buildtools/zlib;name=zlib \
24 git://android.googlesource.com/platform/external/lzma.git;branch=master;protocol=https;destsuffix=git/buildtools/lzma;name=lzma \ 25 git://android.googlesource.com/platform/external/lzma.git;branch=master;protocol=https;destsuffix=git/buildtools/lzma;name=lzma \
26 git://android.googlesource.com/platform/external/zstd.git;branch=master;protocol=https;destsuffix=git/buildtools/zstd;name=zstd \
25 https://storage.googleapis.com/perfetto/gn-linux64-1968-0725d782;subdir=git/buildtools/;name=gn \ 27 https://storage.googleapis.com/perfetto/gn-linux64-1968-0725d782;subdir=git/buildtools/;name=gn \
26 \ 28 \
27 file://0001-Remove-check_build_deps-build-steps.patch \ 29 file://0001-Remove-check_build_deps-build-steps.patch \
28 file://0001-Add-missing-header-cstdint-for-uintXX_t-types.patch" 30 file://0002-traced-fix-missing-include.patch \
31 "
29 32
30SRCREV_bionic = "4b0e16bc72a82a63c699977376a7d6eadca1b206" 33SRCREV_bionic = "a0d0355105cb9d4a4b5384897448676133d7b8e2"
31SRCREV_core = "9e6cef7f07d8c11b3ea820938aeb7ff2e9dbaa52" 34SRCREV_core = "9e6cef7f07d8c11b3ea820938aeb7ff2e9dbaa52"
32SRCREV_lzma = "7851dce6f4ca17f5caa1c93a4e0a45686b1d56c3" 35SRCREV_lzma = "7851dce6f4ca17f5caa1c93a4e0a45686b1d56c3"
33SRCREV_libprocinfo = "fd214c13ededecae97a3b15b5fccc8925a749a84" 36SRCREV_libprocinfo = "fd214c13ededecae97a3b15b5fccc8925a749a84"
34SRCREV_logging = "7b36b566c9113fc703d68f76e8f40c0c2432481c" 37SRCREV_logging = "7b36b566c9113fc703d68f76e8f40c0c2432481c"
35SRCREV_unwinding = "d66882575ebe3700d6a6b10185f3aee28acc1051" 38SRCREV_unwinding = "4b59ea8471e89d01300481a92de3230b79b6d7c7"
36SRCREV_protobuf = "6a59a2ad1f61d9696092f79b6d74368b4d7970a3" 39SRCREV_protobuf = "f0dc78d7e6e331b8c6bb2d5283e06aa26883ca7c"
37SRCREV_libbase = "78f1c2f83e625bdf66d55b48bdb3a301c20d2fb3" 40SRCREV_libbase = "78f1c2f83e625bdf66d55b48bdb3a301c20d2fb3"
38SRCREV_libcxx = "f8571eaba606bde2eb8cd34b30104ca33e7c207e" 41SRCREV_libcxx = "852bc6746f45add53fec19f3a29280e69e358d44"
39SRCREV_libcxxabi = "8dd405113a4f3694e910b79785dd7fb7535a888a" 42SRCREV_libcxxabi = "a37a3aa431f132b02a58656f13984d51098330a2"
40SRCREV_libunwind = "aabcd8753678f1536e15eb6385a948470debdae4" 43SRCREV_libunwind = "419b03c0b8f20d6da9ddcb0d661a94a97cdd7dad"
41SRCREV_zlib = "5c85a2da4c13eda07f69d81a1579a5afddd35f59" 44SRCREV_zlib = "6d3f6aa0f87c9791ca7724c279ef61384f331dfd"
45SRCREV_zstd = "77211fcc5e08c781734a386402ada93d0d18d093"
42 46
43SRCREV_FORMAT .="_bionic_core_lzma_libprocinfo_logging_unwinding_protobuf_libbase_libcxx_libcxxabi_libunwind_zlib" 47SRCREV_FORMAT .="_bionic_core_lzma_libprocinfo_logging_unwinding_protobuf_libbase_libcxx_libcxxabi_libunwind_zlib_zstd"
44 48
45SRC_URI[gn.sha256sum] = "f706aaa0676e3e22f5fc9ca482295d7caee8535d1869f99efa2358177b64f5cd" 49SRC_URI[gn.sha256sum] = "f706aaa0676e3e22f5fc9ca482295d7caee8535d1869f99efa2358177b64f5cd"
46 50
@@ -97,7 +101,7 @@ do_configure () {
97 ARGS=$ARGS" target_os=\"linux\"" 101 ARGS=$ARGS" target_os=\"linux\""
98 ARGS=$ARGS" target_cpu=\"$arch\"" 102 ARGS=$ARGS" target_cpu=\"$arch\""
99 ARGS=$ARGS" target_cc=\"$CC_BIN ${TUNE_CCARGS} ${DEBUG_PREFIX_MAP}\"" 103 ARGS=$ARGS" target_cc=\"$CC_BIN ${TUNE_CCARGS} ${DEBUG_PREFIX_MAP}\""
100 ARGS=$ARGS" target_cxx=\"$CXX_BIN -std=c++11 ${TUNE_CCARGS} ${DEBUG_PREFIX_MAP}\"" 104 ARGS=$ARGS" target_cxx=\"$CXX_BIN ${TUNE_CCARGS} ${DEBUG_PREFIX_MAP}\""
101 ARGS=$ARGS" target_strip=\"$STRIP_BIN\"" # 105 ARGS=$ARGS" target_strip=\"$STRIP_BIN\"" #
102 ARGS=$ARGS" target_sysroot=\"${RECIPE_SYSROOT}\"" 106 ARGS=$ARGS" target_sysroot=\"${RECIPE_SYSROOT}\""
103 ARGS=$ARGS" target_linker=\"$CC_BIN ${TUNE_CCARGS} ${LDFLAGS}\"" 107 ARGS=$ARGS" target_linker=\"$CC_BIN ${TUNE_CCARGS} ${LDFLAGS}\""
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto.inc b/meta-oe/recipes-devtools/perfetto/perfetto.inc
index 4b06c5bf0..3cd0cb91b 100644
--- a/meta-oe/recipes-devtools/perfetto/perfetto.inc
+++ b/meta-oe/recipes-devtools/perfetto/perfetto.inc
@@ -1,10 +1,13 @@
1SUMMARY = "Perfetto - System profiling, app tracing and trace analysis." 1SUMMARY = "Perfetto - System profiling, app tracing and trace analysis."
2HOMEPAGE = "https://github.com/google/perfetto" 2HOMEPAGE = "https://github.com/google/perfetto"
3 3
4SRC_URI = "git://github.com/google/perfetto.git;protocol=https;name=perfetto;nobranch=1" 4# Add only patches here which are used by both perfetto and libperfetto
5SRC_URI = "git://github.com/google/perfetto.git;protocol=https;name=perfetto;nobranch=1 \
6 file://0001-fix-musl-build.patch \
7 "
5 8
6SRCREV_perfetto = "b8da07095979310818f0efde2ef3c69ea70d62c5" 9SRCREV_perfetto = "c74251226a8caa0b43377902ee06d2570faa0c15"
7SRCREV_FORMAT = "perfetto" 10SRCREV_FORMAT = "perfetto"
8PV = "31.0" 11PV = "47.0"
9 12
10S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-devtools/perfetto/files/0001-Remove-check_build_deps-build-steps.patch b/meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch
index c10400aef..118c3aed4 100644
--- a/meta-oe/recipes-devtools/perfetto/files/0001-Remove-check_build_deps-build-steps.patch
+++ b/meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch
@@ -1,4 +1,4 @@
1From 3b7091243ec03054ca8800b51b85a1c09e7e3075 Mon Sep 17 00:00:00 2001 1From 07ddc4b9b7a6fec73cdc295baba353944857212e Mon Sep 17 00:00:00 2001
2From: Sui Chen <suichen6@gmail.com> 2From: Sui Chen <suichen6@gmail.com>
3Date: Mon, 13 Jun 2022 17:46:49 +0000 3Date: Mon, 13 Jun 2022 17:46:49 +0000
4Subject: [PATCH] Remove "check_build_deps" build steps 4Subject: [PATCH] Remove "check_build_deps" build steps
@@ -11,6 +11,7 @@ Also setting "is_cross_compiling" to true, so that the host-side tools
11rather than the Bitbake-generated one. 11rather than the Bitbake-generated one.
12 12
13Signed-off-by: Sui Chen <suichen6@gmail.com> 13Signed-off-by: Sui Chen <suichen6@gmail.com>
14Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
14--- 15---
15Upstream-Status: Pending 16Upstream-Status: Pending
16 17
@@ -20,10 +21,10 @@ Upstream-Status: Pending
20 3 files changed, 9 insertions(+), 9 deletions(-) 21 3 files changed, 9 insertions(+), 9 deletions(-)
21 22
22diff --git a/gn/BUILD.gn b/gn/BUILD.gn 23diff --git a/gn/BUILD.gn b/gn/BUILD.gn
23index 8a7ca72a8..e4a2d39f0 100644 24index ed055ee700..ea79979ec5 100644
24--- a/gn/BUILD.gn 25--- a/gn/BUILD.gn
25+++ b/gn/BUILD.gn 26+++ b/gn/BUILD.gn
26@@ -111,7 +111,6 @@ group("default_deps") { 27@@ -117,7 +117,6 @@ group("default_deps") {
27 deps = [ ":gen_buildflags" ] 28 deps = [ ":gen_buildflags" ]
28 if (perfetto_build_standalone) { 29 if (perfetto_build_standalone) {
29 public_deps = [ 30 public_deps = [
@@ -32,10 +33,10 @@ index 8a7ca72a8..e4a2d39f0 100644
32 "//gn/standalone/sanitizers:deps", 33 "//gn/standalone/sanitizers:deps",
33 ] 34 ]
34diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn 35diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn
35index 582e9b867..9c77ac64c 100644 36index 36fb6371a5..f7bc97b1a6 100644
36--- a/gn/standalone/BUILD.gn 37--- a/gn/standalone/BUILD.gn
37+++ b/gn/standalone/BUILD.gn 38+++ b/gn/standalone/BUILD.gn
38@@ -441,10 +441,10 @@ config("android_liblog") { 39@@ -469,10 +469,10 @@ config("android_liblog") {
39 } 40 }
40 41
41 # Checks that tools/install-build-deps has been run since it last changed. 42 # Checks that tools/install-build-deps has been run since it last changed.
@@ -53,7 +54,7 @@ index 582e9b867..9c77ac64c 100644
53+# args = [ "--android" ] 54+# args = [ "--android" ]
54+#} 55+#}
55diff --git a/gn/standalone/BUILDCONFIG.gn b/gn/standalone/BUILDCONFIG.gn 56diff --git a/gn/standalone/BUILDCONFIG.gn b/gn/standalone/BUILDCONFIG.gn
56index 6f32686c1..c041989b0 100644 57index 05ed548f9d..94db724b2b 100644
57--- a/gn/standalone/BUILDCONFIG.gn 58--- a/gn/standalone/BUILDCONFIG.gn
58+++ b/gn/standalone/BUILDCONFIG.gn 59+++ b/gn/standalone/BUILDCONFIG.gn
59@@ -59,8 +59,9 @@ declare_args() { 60@@ -59,8 +59,9 @@ declare_args() {
@@ -67,7 +68,4 @@ index 6f32686c1..c041989b0 100644
67+ is_cross_compiling = true 68+ is_cross_compiling = true
68 } 69 }
69 default_configs = [ 70 default_configs = [
70 "//gn/standalone:debug_symbols", 71 "//gn/standalone:default",
71--
722.37.1
73
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch b/meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch
new file mode 100644
index 000000000..49b798935
--- /dev/null
+++ b/meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch
@@ -0,0 +1,28 @@
1From d005c0123b2f929b918359a53ffe61d7ca2212a0 Mon Sep 17 00:00:00 2001
2From: Lalit Maganti <lalitm@google.com>
3Date: Wed, 14 Aug 2024 11:56:47 +0100
4Subject: [PATCH] traced: fix missing include
5
6Change-Id: Ib9ce8ce5b057e89fa451ccef228228d607b36793
7Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
8---
9Upstream-Status: Backport [https://github.com/google/perfetto/commit/d005c0123b2f929b918359a53ffe61d7ca2212a0]
10
11 src/traced/probes/sys_stats/sys_stats_data_source.h | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/traced/probes/sys_stats/sys_stats_data_source.h b/src/traced/probes/sys_stats/sys_stats_data_source.h
15index e09cd8a2ca..7e4749bdcd 100644
16--- a/src/traced/probes/sys_stats/sys_stats_data_source.h
17+++ b/src/traced/probes/sys_stats/sys_stats_data_source.h
18@@ -21,6 +21,7 @@
19
20 #include <map>
21 #include <memory>
22+#include <optional>
23 #include <string>
24
25 #include "perfetto/ext/base/paged_memory.h"
26--
272.43.0
28
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb
index cc5204de4..d5fd90137 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b"
10DEPENDS = "zlib abseil-cpp" 10DEPENDS = "zlib abseil-cpp"
11DEPENDS:append:class-target = " protobuf-native" 11DEPENDS:append:class-target = " protobuf-native"
12 12
13SRCREV = "e915ce24b3d43c0fffcbf847354288c07dda1de0" 13SRCREV = "9d0ec0f92b5b5fdeeda11f9dcecc1872ff378014"
14 14
15SRC_URI = "gitsm://github.com/protocolbuffers/protobuf.git;branch=25.x;protocol=https \ 15SRC_URI = "gitsm://github.com/protocolbuffers/protobuf.git;branch=25.x;protocol=https \
16 file://run-ptest \ 16 file://run-ptest \
@@ -106,6 +106,8 @@ FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
106# CMake requires protoc binary to exist in sysroot, even if it has wrong architecture. 106# CMake requires protoc binary to exist in sysroot, even if it has wrong architecture.
107SYSROOT_DIRS += "${bindir}" 107SYSROOT_DIRS += "${bindir}"
108 108
109RDEPENDS:${PN} = "abseil-cpp"
110RDEPENDS:${PN}-lite = "abseil-cpp"
109RDEPENDS:${PN}-compiler = "${PN}" 111RDEPENDS:${PN}-compiler = "${PN}"
110RDEPENDS:${PN}-dev += "${PN}-compiler" 112RDEPENDS:${PN}-dev += "${PN}-compiler"
111RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" 113RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"
diff --git a/meta-oe/recipes-devtools/python/python3-pefile/run-ptest b/meta-oe/recipes-devtools/python/python3-pefile/run-ptest
deleted file mode 100644
index 95ae72306..000000000
--- a/meta-oe/recipes-devtools/python/python3-pefile/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake --ignore=./tests/pefile_test.py
diff --git a/meta-oe/recipes-devtools/python/python3-pefile_2024.8.26.bb b/meta-oe/recipes-devtools/python/python3-pefile_2024.8.26.bb
deleted file mode 100644
index 87e651d9d..000000000
--- a/meta-oe/recipes-devtools/python/python3-pefile_2024.8.26.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1SUMMARY = "Python PE parsing module"
2DESCRIPTION = "A multi-platform Python module to parse and work with Portable Executable (PE) files."
3HOMEPAGE = "https://github.com/erocarrera/pefile"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e34c75178086aca0a17551ffbacaca53"
6
7inherit setuptools3 ptest
8SRCREV = "4b3b1e2e568a88d4f1897d694d684f23d9e270c4"
9SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \
10 file://run-ptest"
11S = "${WORKDIR}/git"
12
13BBCLASSEXTEND = "native nativesdk"
14
15do_install_ptest() {
16 install -d ${D}${PTEST_PATH}/tests
17 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
18}
19
20RDEPENDS:${PN} += " \
21 python3-mmap \
22 python3-netclient \
23 python3-stringold \
24"
25RDEPENDS:${PN}-ptest += "\
26 python3-pytest \
27 python3-unittest-automake-output \
28"
diff --git a/meta-oe/recipes-devtools/python/python3-psycopg_3.2.1.bb b/meta-oe/recipes-devtools/python/python3-psycopg_3.2.3.bb
index 09c49c665..8c79958ac 100644
--- a/meta-oe/recipes-devtools/python/python3-psycopg_3.2.1.bb
+++ b/meta-oe/recipes-devtools/python/python3-psycopg_3.2.3.bb
@@ -7,7 +7,7 @@ features offered by PostgreSQL."
7LICENSE = "LGPL-3.0-only" 7LICENSE = "LGPL-3.0-only"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" 8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404"
9 9
10SRC_URI[sha256sum] = "dc8da6dc8729dacacda3cc2f17d2c9397a70a66cf0d2b69c91065d60d5f00cb7" 10SRC_URI[sha256sum] = "a5764f67c27bec8bfac85764d23c534af2c27b893550377e37ce59c12aac47a2"
11 11
12inherit pypi python_setuptools_build_meta 12inherit pypi python_setuptools_build_meta
13 13
diff --git a/meta-oe/recipes-devtools/sip/sip_6.8.3.bb b/meta-oe/recipes-devtools/sip/sip_6.8.6.bb
index d12130af4..157e40451 100644
--- a/meta-oe/recipes-devtools/sip/sip_6.8.3.bb
+++ b/meta-oe/recipes-devtools/sip/sip_6.8.6.bb
@@ -6,12 +6,14 @@ SUMMARY = "A Python bindings generator for C/C++ libraries"
6HOMEPAGE = "https://www.riverbankcomputing.com/software/sip/" 6HOMEPAGE = "https://www.riverbankcomputing.com/software/sip/"
7LICENSE = "GPL-2.0-or-later" 7LICENSE = "GPL-2.0-or-later"
8SECTION = "devel" 8SECTION = "devel"
9LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=ed1d69a33480ebf4ff8a7a760826d84e"
10 10
11inherit pypi setuptools3 python3native 11inherit pypi python_setuptools_build_meta python3native
12 12
13PYPI_PACKAGE = "sip" 13PYPI_PACKAGE = "sip"
14SRC_URI[sha256sum] = "888547b018bb24c36aded519e93d3e513d4c6aa0ba55b7cc1affbd45cf10762c" 14SRC_URI[sha256sum] = "7fc959e48e6ec5d5af8bd026f69f5e24d08b3cb8abb342176f5ab8030cc07d7a"
15
16DEPENDS += "python3-setuptools-scm-native"
15 17
16RDEPENDS:${PN} = " \ 18RDEPENDS:${PN} = " \
17 python3-core \ 19 python3-core \
diff --git a/meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.1.bb b/meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.2.bb
index a542396d4..10e0e27a2 100644
--- a/meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.1.bb
+++ b/meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.2.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING.md;md5=a709b68f1ce8a9f10aeea6401446c1f4 \
11 file://licenses/zstd.txt;md5=8df8137b630239cbdd4c0674124cb0c8 \ 11 file://licenses/zstd.txt;md5=8df8137b630239cbdd4c0674124cb0c8 \
12 " 12 "
13 13
14SRCREV = "8f9966c8ea3ea8a854941d041e7fcb9eb4f772fb" 14SRCREV = "667faf69cc35215e33e747b4bffdcba3643c2629"
15SRC_URI = "git://github.com/AgentD/squashfs-tools-ng.git;protocol=https;branch=fixes-1.3.0" 15SRC_URI = "git://github.com/AgentD/squashfs-tools-ng.git;protocol=https;branch=fixes-1.3.0"
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff b/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff
index e13bf69b2..81d473575 100644
--- a/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff
+++ b/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff
@@ -7,9 +7,8 @@ Patch by Sergei Golovan allows to find tclConfig.sh in /usr/share/tcltk/tcl8.5
7and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian 7and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian
8installation. 8installation.
9 9
10---
11Upstream-Status: Pending 10Upstream-Status: Pending
12 11---
13 unix/configure | 1 + 12 unix/configure | 1 +
14 unix/tcl.m4 | 2 ++ 13 unix/tcl.m4 | 2 ++
15 2 files changed, 3 insertions(+) 14 2 files changed, 3 insertions(+)
diff --git a/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff b/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff
index fdf3c6653..c1e2f7344 100644
--- a/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff
+++ b/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff
@@ -1,7 +1,7 @@
1Upstream-Status: Pending 1Upstream-Status: Pending
2 2
3--- /tmp/configure.in 2010-05-19 13:29:03.000000000 +0200 3--- a/unix/configure.in 2010-05-19 13:29:03.000000000 +0200
4+++ unix/configure.in 2010-05-19 13:42:05.000000000 +0200 4+++ b/unix/configure.in 2010-05-19 13:42:05.000000000 +0200
5@@ -526,13 +526,9 @@ 5@@ -526,13 +526,9 @@
6 found_xft="yes" 6 found_xft="yes"
7 dnl make sure package configurator (xft-config or pkg-config 7 dnl make sure package configurator (xft-config or pkg-config
diff --git a/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff b/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff
index 62467af1d..8cdcf2020 100644
--- a/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff
+++ b/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff
@@ -1,9 +1,9 @@
1Upstream-Status: Pending
2
3Patch by Chris Waters sets path which are normally point to a directory 1Patch by Chris Waters sets path which are normally point to a directory
4with Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules 2with Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules
5puts private Tk headers there). 3puts private Tk headers there).
6 4
5Upstream-Status: Pending
6
7--- tk8.5-8.5.8.orig/unix/tkConfig.sh.in 7--- tk8.5-8.5.8.orig/unix/tkConfig.sh.in
8+++ tk8.5-8.5.8/unix/tkConfig.sh.in 8+++ tk8.5-8.5.8/unix/tkConfig.sh.in
9@@ -55,7 +55,7 @@ 9@@ -55,7 +55,7 @@
diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb b/meta-oe/recipes-devtools/tcltk/tk_8.6.15.bb
index 7159e74c2..1438a0562 100644
--- a/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb
+++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.15.bb
@@ -4,42 +4,42 @@ SECTION = "devel/tcltk"
4 4
5# http://www.tcl.tk/software/tcltk/license.html 5# http://www.tcl.tk/software/tcltk/license.html
6LICENSE = "TCL" 6LICENSE = "TCL"
7LIC_FILES_CHKSUM = "file://${S}/../license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 7LIC_FILES_CHKSUM = "file://license.terms;md5=c88f99decec11afa967ad33d314f87fe \
8 file://${S}/../compat/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 8 file://compat/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
9 file://${S}/../doc/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 9 file://doc/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
10 file://${S}/../library/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 10 file://library/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
11 file://${S}/../macosx/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 11 file://macosx/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
12 file://${S}/../tests/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 12 file://tests/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
13 file://${S}/../unix/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 13 file://unix/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
14 file://${S}/../win/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 14 file://win/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
15 file://${S}/../xlib/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 15 file://xlib/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
16" 16"
17 17
18DEPENDS = "tcl virtual/libx11 libxt" 18DEPENDS = "tcl virtual/libx11 libxt"
19 19
20SRC_URI = "\ 20SRC_URI = "\
21 ${SOURCEFORGE_MIRROR}/tcl/${BPN}${PV}-src.tar.gz \ 21 ${SOURCEFORGE_MIRROR}/tcl/${BPN}${PV}-src.tar.gz \
22 file://confsearch.diff;striplevel=2 \ 22 file://confsearch.diff \
23 file://tkprivate.diff;striplevel=2 \ 23 file://tkprivate.diff \
24 file://fix-xft.diff \ 24 file://fix-xft.diff \
25" 25"
26SRC_URI[md5sum] = "602a47ad9ecac7bf655ada729d140a94" 26
27SRC_URI[sha256sum] = "63df418a859d0a463347f95ded5cd88a3dd3aaa1ceecaeee362194bc30f3e386" 27SRC_URI[sha256sum] = "550969f35379f952b3020f3ab7b9dd5bfd11c1ef7c9b7c6a75f5c49aca793fec"
28 28
29UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/tcl/files/Tcl/" 29UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/tcl/files/Tcl/"
30UPSTREAM_CHECK_REGEX = "Tcl/(?P<pver>\d+(\.\d+)+)/" 30UPSTREAM_CHECK_REGEX = "Tcl/(?P<pver>\d+(\.\d+)+)/"
31 31
32S = "${WORKDIR}/${BPN}${PV}/unix" 32S = "${WORKDIR}/${BPN}${PV}"
33
34DEBUG_PREFIX_MAP += "-fdebug-prefix-map=${S}/../=${TARGET_DBGSRC_DIR}/.."
35
36PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/${BPN}${PV}"
37 33
38# Short version format: "8.6" 34# Short version format: "8.6"
39VER = "${@os.path.splitext(d.getVar('PV'))[0]}" 35VER = "${@os.path.splitext(d.getVar('PV'))[0]}"
40 36
41LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib" 37LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib"
38
42inherit autotools features_check pkgconfig 39inherit autotools features_check pkgconfig
40
41AUTOTOOLS_SCRIPT_PATH = "${S}/unix"
42
43# depends on virtual/libx11 43# depends on virtual/libx11
44REQUIRED_DISTRO_FEATURES = "x11" 44REQUIRED_DISTRO_FEATURES = "x11"
45 45
@@ -49,7 +49,9 @@ EXTRA_OECONF = "\
49 --with-tcl=${STAGING_BINDIR}/crossscripts \ 49 --with-tcl=${STAGING_BINDIR}/crossscripts \
50 --libdir=${libdir} \ 50 --libdir=${libdir} \
51" 51"
52
52export TK_LIBRARY='${libdir}/tk${VER}' 53export TK_LIBRARY='${libdir}/tk${VER}'
54
53do_install:append() { 55do_install:append() {
54 ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0 56 ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0
55 oe_libinstall -so libtk${VER} ${D}${libdir} 57 oe_libinstall -so libtk${VER} ${D}${libdir}
diff --git a/meta-oe/recipes-devtools/tomlplusplus/files/run-ptest b/meta-oe/recipes-devtools/tomlplusplus/files/run-ptest
new file mode 100755
index 000000000..4f682c5eb
--- /dev/null
+++ b/meta-oe/recipes-devtools/tomlplusplus/files/run-ptest
@@ -0,0 +1,12 @@
1#!/bin/sh
2
3cd tests
4for atest in tomlplusplus_* ; do
5 rm -rf tests.log
6 ./${atest} > tests.log 2>&1
7 if [ $? = 0 ] ; then
8 echo "PASS: ${atest}"
9 else
10 echo "FAIL: ${atest}"
11 fi
12done
diff --git a/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb b/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb
new file mode 100644
index 000000000..a6ec89a2f
--- /dev/null
+++ b/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb
@@ -0,0 +1,25 @@
1SUMMARY = "toml config parser and serializer for c++."
2HOMEPAGE = "https://github.com/marzer/tomlplusplus"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=90960f22c10049c117d56ed2ee5ee167"
5
6SRC_URI = "git://github.com/marzer/tomlplusplus.git;protocol=https;branch=master \
7 file://run-ptest \
8"
9
10PV = "3.4.0"
11SRCREV = "30172438cee64926dc41fdd9c11fb3ba5b2ba9de"
12S = "${WORKDIR}/git"
13
14DEPENDS = "cmake-native"
15
16inherit meson ptest pkgconfig
17
18EXTRA_OEMESON += "-Dbuild_tests=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "true", "false", d)} \
19"
20
21do_install_ptest () {
22 install -d ${D}${PTEST_PATH}/tests
23 cp ${B}/tests/tomlplusplus_odr_test ${D}${PTEST_PATH}/tests
24 cp ${B}/tests/tomlplusplus_tests ${D}${PTEST_PATH}/tests
25}
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch
new file mode 100644
index 000000000..152667661
--- /dev/null
+++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch
@@ -0,0 +1,109 @@
1From c9bd05e8f0ad805b81625cfa717d06071cfd9b48 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 16 Oct 2024 22:52:38 -0700
4Subject: [PATCH] unix-common.mk: Avoid race condition between mutliple make calls running in parallel
5
6With high parallel execution, it results in race condition where
7its trying to create symlink while the original symlink while rm is
8not done deleting the existing file yet.
9
10The issue is that submake for libxmlrpc_util.so is called 12 times
11which can run in parallel and then some of them will try to create
12target link at the same time (after both already finished rm call).
13
14Use -f which should be supported even by relatively old ln and
15should avoid the need for rm (and hopefully will avoid this race)
16
17For libutil++ it calls "all" and "libxmlrpc_util++.so" only once,
18but for libutil it calls "all" and then 12 times libxmlrpc_util.so
19(after-clean-j1.log is the make output with -n and -j1 instead of
20-j70), still trying to figure out why, my autofoo is rusty :).
21
22Ideally we should prevent calling it 12 times, but until we figure
23out why we can at least avoid the random build failures.
24
25Another interesting fact is that I haven't seen this issue until
26the upgrade to 1.60.03 from 1.59.01 from:
27https://lists.openembedded.org/g/openembedded-devel/message/112706
28but I don't see any changes which should cause this in the git since
291.59.01, but the gentoo bug report is against 1.54.06 already.
30
31martin@jama /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable $ grep -A 1 lib/libutil++/Makefile after-clean-j1.log
32make -C libutil++/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil++/Makefile \
33 all
34--
35make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil++/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil++/Makefile \
36 libxmlrpc_util++.so
37
38martin@jama /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable $ grep -A 1 lib/libutil/Makefile after-clean-j1.log
39make -C libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
40 all
41--
42make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
43 libxmlrpc_util.so
44--
45make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
46 libxmlrpc_util.so
47--
48make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
49 libxmlrpc_util.so
50--
51make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
52 libxmlrpc_util.so
53--
54make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
55 libxmlrpc_util.so
56--
57make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
58 libxmlrpc_util.so
59--
60make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
61 libxmlrpc_util.so
62--
63make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
64 libxmlrpc_util.so
65--
66make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
67 libxmlrpc_util.so
68--
69make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
70 libxmlrpc_util.so
71--
72make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
73 libxmlrpc_util.so
74--
75make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable/lib/libutil/Makefile \
76 libxmlrpc_util.so
77
78Similar error reported here [1]
79
80[1] https://bugs.gentoo.org/932835
81
82Upstream-Status: Pending
83Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
84Signed-off-by: Khem Raj <raj.khem@gmail.com>
85---
86 unix-common.mk | 6 ++----
87 1 file changed, 2 insertions(+), 4 deletions(-)
88
89diff --git a/unix-common.mk b/unix-common.mk
90index 6954faf5..983c48cd 100644
91--- a/unix-common.mk
92+++ b/unix-common.mk
93@@ -62,14 +62,12 @@ SHLIB_CMD = $(CCLD) $(LADD) $(LDFLAGS_SHLIB) -o $@ $^
94 SHLIB_LE_TARGETS = $(call shliblefn, $(SHARED_LIBS_TO_BUILD))
95
96 $(SHLIB_LE_TARGETS):%:%.$(MAJ)
97- rm -f $@
98- $(LN_S) $< $@
99+ $(LN_S) -f $< $@
100
101 SONAME_TARGETS = $(SHLIB_LE_TARGETS:%=%.$(MAJ))
102
103 $(SONAME_TARGETS):%:%.$(MIN)
104- rm -f $@
105- $(LN_S) $< $@
106+ $(LN_S) -f $< $@
107
108 .PHONY: $(SHLIB_INSTALL_TARGETS)
109 .PHONY: install-shared-libraries
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0002-fix-formatting-issues.patch b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0002-fix-formatting-issues.patch
deleted file mode 100644
index 9d92e4712..000000000
--- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0002-fix-formatting-issues.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 14f15cb0f03defa8efb4c8e2fece58e50655be6b Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sun, 23 Jul 2017 22:20:29 -0400
4Subject: [PATCH] src/xmlrpc_server_abyss.c: fix formatting issues
5
6Fixed when compile with "-Wformat -Wformat-security -Werror=format-security":
7|src/xmlrpc_server_abyss.c:771:13: error: format not a string literal
8and no format arguments [-Werror=format-security]
9| xmlrpc_faultf(envP, error);
10| ^~~~~~~~~~~~~
11
12Upstream-Status: Pending
13
14Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
15---
16 src/xmlrpc_server_abyss.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/src/xmlrpc_server_abyss.c b/src/xmlrpc_server_abyss.c
20index 2388652..3843f10 100644
21--- a/src/xmlrpc_server_abyss.c
22+++ b/src/xmlrpc_server_abyss.c
23@@ -768,7 +768,7 @@ createServer(xmlrpc_env * const envP,
24 ServerInit2(abyssServerP, &error);
25
26 if (error) {
27- xmlrpc_faultf(envP, error);
28+ xmlrpc_faultf(envP, "%s", error);
29 xmlrpc_strfree(error);
30 }
31 }
32--
332.8.1
34
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.60.03.bb
index 5d5152b83..f5ee920ca 100644
--- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb
+++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.60.03.bb
@@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951"
7 7
8SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \ 8SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \
9 file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ 9 file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \
10 file://0002-fix-formatting-issues.patch \ 10 file://0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch \
11 " 11 "
12#Release 1.59.01 12# one more commit after Release 1.60.03 in the Stable series
13SRCREV = "352aeaa9ae49e90e55187cbda839f2113df06278" 13SRCREV = "a823b0bb5cf0a4dbd34f929cbfdfb0439c5d9b0e"
14 14
15S = "${WORKDIR}/git/stable" 15S = "${WORKDIR}/git/stable"
16 16
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.4.bb
index 4f2585fe7..5bfa31112 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.4.bb
@@ -21,7 +21,7 @@ inherit cmake python3targetconfig
21EXTRA_OECMAKE = "-DLIB='${baselib}' \ 21EXTRA_OECMAKE = "-DLIB='${baselib}' \
22 -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \ 22 -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \
23 -DPYTHON_ABI=${PYTHON_ABI} \ 23 -DPYTHON_ABI=${PYTHON_ABI} \
24 -DBUILD_PYTHON3=YES \ 24 -DBUILD_PYTHON3=NO \
25 -DPython3_SITE_DIR=${PYTHON_SITEPACKAGES_DIR} \ 25 -DPython3_SITE_DIR=${PYTHON_SITEPACKAGES_DIR} \
26 " 26 "
27 27
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 0cabed963..000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-CMakeLists.txt-Do-not-use-private-makefile-target.patch
+++ /dev/null
@@ -1,64 +0,0 @@
1From 6a704ab7bf69cd5d6970b3a7d3ae7798b26027c1 Mon Sep 17 00:00:00 2001
2From: Paulo Neves <ptsneves@gmail.com>
3Date: Thu, 28 Jul 2022 11:28:41 +0200
4Subject: [PATCH] CMakeLists.txt Do not use private makefile $< target
5
6$< is a private detail from the Makefile generated by CMakefile and
7are not under control or to be used at the CMakeLists level. In 3.20
8that private generation changed pre-requisite targets[1] and now logs
9contain the path compiler_depend.ts instead of the actual file.
10
11Upstream-Status: Pending [https://github.com/fluent/fluent-bit/issues/5492]
12---
13 CMakeLists.txt | 6 +-----
14 lib/chunkio/CMakeLists.txt | 7 +------
15 lib/cmetrics/CMakeLists.txt | 7 +------
16 3 files changed, 3 insertions(+), 17 deletions(-)
17
18--- a/CMakeLists.txt
19+++ b/CMakeLists.txt
20@@ -46,11 +46,7 @@ else()
21 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
22 endif()
23
24-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
25- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
26-else()
27- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
28-endif()
29+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
30
31 if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7l")
32 set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -latomic")
33--- a/lib/chunkio/CMakeLists.txt
34+++ b/lib/chunkio/CMakeLists.txt
35@@ -14,12 +14,7 @@ else()
36 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall ")
37 endif()
38
39-# Set __FILENAME__
40-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
41- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
42-else()
43- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
44-endif()
45+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
46
47 include(cmake/macros.cmake)
48
49--- a/lib/cmetrics/CMakeLists.txt
50+++ b/lib/cmetrics/CMakeLists.txt
51@@ -34,12 +34,7 @@ set(CMT_VERSION_MINOR 3)
52 set(CMT_VERSION_PATCH 7)
53 set(CMT_VERSION_STR "${CMT_VERSION_MAJOR}.${CMT_VERSION_MINOR}.${CMT_VERSION_PATCH}")
54
55-# Define __CMT_FILENAME__ consistently across Operating Systems
56-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
57- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
58-else()
59- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__=__FILE__")
60-endif()
61+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__=__FILE__")
62
63 # Configuration options
64 option(CMT_DEV "Enable development mode" No)
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-Use-posix-strerror_r-with-musl.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0001-Use-posix-strerror_r-with-musl.patch
deleted file mode 100644
index 8d89e4df3..000000000
--- 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 000000000..233e8c4e3
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch
@@ -0,0 +1,106 @@
1From 940a4e270bb8879a78c0eac4daf997cb77e25b4b 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, 6 insertions(+), 22 deletions(-)
30
31diff --git a/lib/cfl/CMakeLists.txt b/lib/cfl/CMakeLists.txt
32index 2193cb29c..e2a5cba37 100644
33--- a/lib/cfl/CMakeLists.txt
34+++ b/lib/cfl/CMakeLists.txt
35@@ -40,12 +40,8 @@ if(NOT MSVC)
36 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
37 endif()
38
39-# Define __FILENAME__ consistently across Operating Systems
40-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
41- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$$(subst ${CMAKE_SOURCE_DIR}/,,$$(abspath $$<))\"'")
42-else()
43- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
44-endif()
45+# Define __FILENAME__
46+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
47
48
49
50diff --git a/lib/cmetrics/CMakeLists.txt b/lib/cmetrics/CMakeLists.txt
51index 4f2989106..9c40dadf4 100644
52--- a/lib/cmetrics/CMakeLists.txt
53+++ b/lib/cmetrics/CMakeLists.txt
54@@ -60,12 +60,8 @@ if(NOT MSVC)
55 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
56 endif()
57
58-# Define __CMT_FILENAME__ consistently across Operating Systems
59-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
60- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__='\"$$(subst ${CMAKE_SOURCE_DIR}/,,$$(abspath $$<))\"'")
61-else()
62- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__=__FILE__")
63-endif()
64+# Define __CMT_FILENAME__
65+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__=__FILE__")
66
67 # Configuration options
68 option(CMT_DEV "Enable development mode" No)
69diff --git a/lib/ctraces/CMakeLists.txt b/lib/ctraces/CMakeLists.txt
70index e92834e06..5cebb3b73 100644
71--- a/lib/ctraces/CMakeLists.txt
72+++ b/lib/ctraces/CMakeLists.txt
73@@ -30,12 +30,8 @@ set(CTR_VERSION_MINOR 5)
74 set(CTR_VERSION_PATCH 6)
75 set(CTR_VERSION_STR "${CTR_VERSION_MAJOR}.${CTR_VERSION_MINOR}.${CTR_VERSION_PATCH}")
76
77-# Define __FILENAME__ consistently across Operating Systems
78-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
79- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$$(subst ${CMAKE_SOURCE_DIR}/,,$$(abspath $$<))\"'")
80-else()
81- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
82-endif()
83+# Define __FILENAME__
84+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
85
86 # Configuration options
87 option(CTR_DEV "Enable development mode" No)
88diff --git a/lib/monkey/CMakeLists.txt b/lib/monkey/CMakeLists.txt
89index 95d8cc1e6..8c66887da 100644
90--- a/lib/monkey/CMakeLists.txt
91+++ b/lib/monkey/CMakeLists.txt
92@@ -15,10 +15,8 @@ include(GNUInstallDirs)
93 # Set default compiler options
94 if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
95 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -Wextra")
96-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$$(subst ${CMAKE_SOURCE_DIR}/,,$$(abspath \$$<))\"'")
97-else()
98-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
99 endif()
100+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
101
102 # Monkey Version
103 set(MK_VERSION_MAJOR 1)
104--
1052.39.2
106
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 e70664031..000000000
--- 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-mbedtls-Remove-unused-variable.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0002-mbedtls-Remove-unused-variable.patch
deleted file mode 100644
index d911420df..000000000
--- 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 000000000..5105444dc
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch
@@ -0,0 +1,41 @@
1From c9969cc46e5e4d58db28c89b22bebe42d9f96962 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
17diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
18index 084f2c57d..f0f35f00b 100644
19--- a/src/CMakeLists.txt
20+++ b/src/CMakeLists.txt
21@@ -532,7 +532,7 @@ if(FLB_BINARY)
22 set(SYSTEMD_UNITDIR /lib/systemd/system)
23 endif()
24
25- if(SYSTEMD_UNITDIR)
26+ if(@INIT_MANAGER_IS_SYSTEMD@)
27 set(FLB_SYSTEMD_SCRIPT "${PROJECT_SOURCE_DIR}/init/${FLB_OUT_NAME}.service")
28 configure_file(
29 "${PROJECT_SOURCE_DIR}/init/systemd.in"
30@@ -540,7 +540,7 @@ if(FLB_BINARY)
31 )
32 install(FILES ${FLB_SYSTEMD_SCRIPT} COMPONENT binary DESTINATION ${SYSTEMD_UNITDIR})
33 install(DIRECTORY DESTINATION ${FLB_INSTALL_CONFDIR} COMPONENT binary)
34- elseif(IS_DIRECTORY /usr/share/upstart)
35+ elseif(@INIT_MANAGER_IS_UPSTART@)
36 set(FLB_UPSTART_SCRIPT "${PROJECT_SOURCE_DIR}/init/${FLB_OUT_NAME}.conf")
37 configure_file(
38 "${PROJECT_SOURCE_DIR}/init/upstart.in"
39--
402.39.2
41
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 473ebaf7d..000000000
--- 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 158857ae2..000000000
--- 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 bd4276193..000000000
--- 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 f6e3dce2f..000000000
--- 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 bdcc53496..d1c39d89c 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 63dbbad5978e5f5b0e7d42614999cb6b4ebcce10 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'
@@ -27,4 +27,3 @@ index a4fc2d3..4244eb8 100644
27 set(src 27 set(src
28-- 28--
292.37.1 292.37.1
30
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0004-wasm-avoid-cmake-try_run-when-cross-compiling.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0004-wasm-avoid-cmake-try_run-when-cross-compiling.patch
new file mode 100644
index 000000000..419e85903
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0004-wasm-avoid-cmake-try_run-when-cross-compiling.patch
@@ -0,0 +1,42 @@
1From 5b6d274664f92a6c6083f4d27a1b1604a326f22c Mon Sep 17 00:00:00 2001
2From: Patrick Wicki <patrick.wicki@siemens.com>
3Date: Sat, 5 Oct 2024 21:36:12 +0200
4Subject: [PATCH] wasm: avoid cmake try_run when cross-compiling for x86
5
6This fixes building the wasm micro runtime used when enabling wasm
7support in fluentbit.
8cmake try_run does not work when cross-compiling because the test program
9cannot be executed:
10
11| CMake Error: try_run() invoked in cross-compiling mode, please set the following cache variables appropriately:
12| TEST_WRGSBASE_RESULT (advanced)
13| For details see .../fluentbit/3.1.9/build/TryRunResults.cmake
14| Write linear memory base addr to x86 GS register disabled
15| -- Configuring incomplete, errors occurred!
16
17Since we cannot run the test program, assume that the instruction is not
18available and disable the option.
19
20This patch is no longer needed once fluentbit updates WAMR, as it's been
21fixed in https://github.com/bytecodealliance/wasm-micro-runtime/pull/3066.
22
23Upstream-Status: Pending [https://github.com/fluent/fluent-bit/pull/8744]
24
25Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
26---
27 .../build-scripts/config_common.cmake | 2 +-
28 1 file changed, 1 insertion(+), 1 deletion(-)
29
30diff --git a/lib/wasm-micro-runtime-WAMR-1.3.0/build-scripts/config_common.cmake b/lib/wasm-micro-runtime-WAMR-1.3.0/build-scripts/config_common.cmake
31index e73ebc85f..c2504e007 100644
32--- a/lib/wasm-micro-runtime-WAMR-1.3.0/build-scripts/config_common.cmake
33+++ b/lib/wasm-micro-runtime-WAMR-1.3.0/build-scripts/config_common.cmake
34@@ -408,7 +408,7 @@ if (WAMR_BUILD_STATIC_PGO EQUAL 1)
35 add_definitions (-DWASM_ENABLE_STATIC_PGO=1)
36 message (" AOT static PGO enabled")
37 endif ()
38-if (WAMR_DISABLE_WRITE_GS_BASE EQUAL 1)
39+if (WAMR_DISABLE_WRITE_GS_BASE EQUAL 1 OR CMAKE_CROSSCOMPILING)
40 add_definitions (-DWASM_DISABLE_WRITE_GS_BASE=1)
41 message (" Write linear memory base addr to x86 GS register disabled")
42 elseif (WAMR_BUILD_TARGET STREQUAL "X86_64"
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 000000000..bcce32803
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0005-Use-posix-strerror_r-with-musl.patch
@@ -0,0 +1,28 @@
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] 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
16diff --git a/src/flb_network.c b/src/flb_network.c
17index d183209fd..41e0281b5 100644
18--- a/src/flb_network.c
19+++ b/src/flb_network.c
20@@ -553,7 +553,7 @@ static int net_connect_async(int fd,
21 /* Connection is broken, not much to do here */
22 #if ((defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L) || \
23 (defined(_XOPEN_SOURCE) || _XOPEN_SOURCE - 0L >= 600L)) && \
24- (!defined(_GNU_SOURCE))
25+ (!defined(_GNU_SOURCE)) || (!defined(__GLIBC__))
26 ret = strerror_r(error, so_error_buf, sizeof(so_error_buf));
27 if (ret == 0) {
28 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 f023ab573..000000000
--- 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 c3f2574d2..000000000
--- 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 71bdd34ee..000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0007-cmake-Do-not-check-for-upstart-on-build-host.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From c41653e856d05ed430d22f8b311714ff756a0e0b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 23 Mar 2023 18:05:27 -0700
4Subject: [PATCH] cmake: Do not check for upstart on build host
5
6Some ubuntu distros might have this directory /usr/share/upstart around
7and yocto based distros not using systemd will process this piece of
8code and falsely assume that target supports upstart, which may not be
9true in case of cross-compilation.
10
11This also can end up in configure errors e.g.
12
13| CMake Error at src/CMakeLists.txt:496 (install):
14| install DIRECTORY given unknown argument "/etc/td-agent-bit/".
15|
16|
17| -- Configuring incomplete, errors occurred!
18
19Upstream-Status: Inappropriate [ Cross-compile Specific ]
20Signed-off-by: Khem Raj <raj.khem@gmail.com>
21---
22 src/CMakeLists.txt | 8 --------
23 1 file changed, 8 deletions(-)
24
25diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
26index bb30b2a..c63b6d8 100644
27--- a/src/CMakeLists.txt
28+++ b/src/CMakeLists.txt
29@@ -486,14 +486,6 @@ if(FLB_BINARY)
30 )
31 install(FILES ${FLB_SYSTEMD_SCRIPT} COMPONENT binary DESTINATION ${SYSTEMD_UNITDIR})
32 install(DIRECTORY DESTINATION ${FLB_INSTALL_CONFDIR} COMPONENT binary)
33- elseif(IS_DIRECTORY /usr/share/upstart)
34- set(FLB_UPSTART_SCRIPT "${PROJECT_SOURCE_DIR}/init/${FLB_OUT_NAME}.conf")
35- configure_file(
36- "${PROJECT_SOURCE_DIR}/init/upstart.in"
37- ${FLB_UPSTART_SCRIPT}
38- )
39- install(FILES ${FLB_UPSTART_SCRIPT} COMPONENT binary DESTINATION /etc/init)
40- install(DIRECTORY DESTINATION COMPONENT binary ${FLB_INSTALL_CONFDIR})
41 else()
42 # FIXME: should we support Sysv init script ?
43 endif()
44--
452.40.0
46
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.9.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.9.bb
deleted file mode 100644
index 660a3a63e..000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.9.bb
+++ /dev/null
@@ -1,97 +0,0 @@
1SUMMARY = "Fast Log processor and Forwarder"
2DESCRIPTION = "Fluent Bit is a data collector, processor and \
3forwarder for Linux. It supports several input sources and \
4backends (destinations) for your data. \
5"
6
7HOMEPAGE = "http://fluentbit.io"
8BUGTRACKER = "https://github.com/fluent/fluent-bit/issues"
9
10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
12SECTION = "net"
13
14SRC_URI = "https://releases.fluentbit.io/1.9/source-${PV}.tar.gz;subdir=fluent-bit-${PV};downloadfilename=${BPN}-${PV}.tar.gz \
15 file://0001-CMakeLists.txt-Do-not-use-private-makefile-target.patch \
16 file://0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch \
17 file://0003-mbedtls-Do-not-overwrite-CFLAGS.patch \
18 file://0004-build-Make-systemd-init-systemd-detection-contingent.patch \
19 file://0001-monkey-Define-_GNU_SOURCE-for-memmem-API-check.patch \
20 file://0002-mbedtls-Remove-unused-variable.patch \
21 file://0003-mbedtls-Disable-documentation-warning-as-error-with-.patch \
22 file://0004-Use-correct-type-to-store-return-from-flb_kv_item_cr.patch \
23 file://0005-stackdriver-Fix-return-type-mismatch.patch \
24 file://0006-monkey-Fix-TLS-detection-testcase.patch \
25 file://0007-cmake-Do-not-check-for-upstart-on-build-host.patch \
26 "
27SRC_URI:remove:x86 = "file://0002-mbedtls-Remove-unused-variable.patch"
28SRC_URI:append:libc-musl = "\
29 file://0001-Use-posix-strerror_r-with-musl.patch \
30 file://0002-chunkio-Link-with-fts-library-with-musl.patch \
31 "
32SRC_URI[sha256sum] = "3f6cd4bd1894cda16b465aef6ffec7e920d54c4209b3e2320fcffe7ae345700e"
33S = "${WORKDIR}/fluent-bit-${PV}"
34
35DEPENDS = "zlib bison-native flex-native openssl"
36DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
37
38PACKAGECONFIG[yaml] = "-DFLB_CONFIG_YAML=On,-DFLB_CONFIG_YAML=Off,libyaml"
39PACKAGECONFIG[kafka] = "-DFLB_OUT_KAFKA=On,-DFLB_OUT_KAFKA=Off,librdkafka"
40PACKAGECONFIG[examples] = "-DFLB_EXAMPLES=On,-DFLB_EXAMPLES=Off"
41PACKAGECONFIG[jemalloc] = "-DFLB_JEMALLOC=On,-DFLB_JEMALLOC=Off,jemalloc"
42#TODO add more fluentbit options to PACKAGECONFIG[]
43
44DEPENDS:append:libc-musl = " fts "
45
46# flex hardcodes the input file in #line directives leading to TMPDIR contamination of debug sources.
47do_compile:append() {
48 find ${B} -name '*.c' -or -name '*.h' | xargs sed -i -e 's|${TMPDIR}|${TARGET_DBGSRC_DIR}/|g'
49}
50
51PACKAGECONFIG ?= "yaml"
52
53LTO = ""
54
55# Use CMake 'Unix Makefiles' generator
56OECMAKE_GENERATOR ?= "Unix Makefiles"
57
58# Fluent Bit build options
59# ========================
60
61# Host related setup
62EXTRA_OECMAKE += "-DGNU_HOST=${HOST_SYS} -DFLB_TD=1"
63
64# Disable LuaJIT and filter_lua support
65EXTRA_OECMAKE += "-DFLB_LUAJIT=Off -DFLB_FILTER_LUA=Off "
66
67# Disable Library and examples
68EXTRA_OECMAKE += "-DFLB_SHARED_LIB=Off"
69
70# Enable systemd iff systemd is in DISTRO_FEATURES
71EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES','systemd','-DFLB_SYSTEMD=On','-DFLB_SYSTEMD=Off',d)}"
72
73# Enable release builds
74EXTRA_OECMAKE += "-DFLB_RELEASE=On"
75
76# musl needs these options
77EXTRA_OECMAKE:append:libc-musl = ' -DFLB_JEMALLOC_OPTIONS="--with-jemalloc-prefix=je_ --with-lg-quantum=3" -DFLB_CORO_STACK_SIZE=24576'
78
79EXTRA_OECMAKE:append:riscv64 = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
80EXTRA_OECMAKE:append:riscv32 = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
81EXTRA_OECMAKE:append:mips = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
82EXTRA_OECMAKE:append:powerpc = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
83EXTRA_OECMAKE:append:x86 = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
84
85CFLAGS:append:x86 = " -DMBEDTLS_HAVE_SSE2"
86
87# Fixes build with GCC-14
88CFLAGS += "-Wno-error=incompatible-pointer-types"
89
90inherit cmake systemd pkgconfig
91
92SYSTEMD_SERVICE:${PN} = "td-agent-bit.service"
93
94EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=${TARGET_DBGSRC_DIR}/"
95TARGET_CC_ARCH += " ${SELECTED_OPTIMIZATION}"
96
97SKIP_RECIPE[fluentbit] ?= "It is not reproducible. QA Issue: File /usr/bin/.debug/td-agent-bit in package fluentbit-dbg contains reference to TMPDIR [buildpaths]"
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_3.1.9.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_3.1.9.bb
new file mode 100644
index 000000000..9eea8d6da
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_3.1.9.bb
@@ -0,0 +1,134 @@
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 = "431fa79ae27edaef8d050a7af6f038f4400193a1"
21SRC_URI = "\
22 git://github.com/fluent/fluent-bit.git;branch=3.1;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 file://0004-wasm-avoid-cmake-try_run-when-cross-compiling.patch \
27"
28SRC_URI:append:libc-musl = "\
29 file://0004-chunkio-Link-with-fts-library-with-musl.patch \
30 file://0005-Use-posix-strerror_r-with-musl.patch \
31"
32
33S = "${WORKDIR}/git"
34
35PACKAGECONFIG ??= "\
36 aws \
37 binary \
38 config-yaml \
39 custom-calyptia \
40 http-server \
41 inotify \
42 ipo \
43 metrics \
44 parser \
45 proxy-go \
46 record-accessor \
47 regex \
48 release \
49 signv4 \
50 sqldb \
51 stream-processor \
52 tls \
53 utf8-encoder \
54"
55# See https://github.com/fluent/fluent-bit/issues/7248#issuecomment-1631280496
56PACKAGECONFIG:remove:toolchain-clang = "ipo"
57
58PACKAGECONFIG[all] = "-DFLB_ALL=Yes,-DFLB_ALL=No"
59PACKAGECONFIG[arrow] = "-DFLB_ARROW=Yes,-DFLB_ARROW=No"
60PACKAGECONFIG[avro-encoder] = "-DFLB_AVRO_ENCODER=Yes,-DFLB_AVRO_ENCODER=No"
61PACKAGECONFIG[aws-error-reporter] = "-DFLB_AWS_ERROR_REPORTER=Yes,-DFLB_AWS_ERROR_REPORTER=No"
62PACKAGECONFIG[aws] = "-DFLB_AWS=Yes,-DFLB_AWS=No"
63PACKAGECONFIG[backtrace] = "-DFLB_BACKTRACE=Yes,-DFLB_BACKTRACE=No"
64PACKAGECONFIG[binary] = "-DFLB_BINARY=Yes,-DFLB_BINARY=No"
65PACKAGECONFIG[chunk-trace] = "-DFLB_CHUNK_TRACE=Yes,-DFLB_CHUNK_TRACE=No"
66PACKAGECONFIG[config-yaml] = "-DFLB_CONFIG_YAML=Yes,-DFLB_CONFIG_YAML=No,libyaml"
67PACKAGECONFIG[coverage] = "-DFLB_COVERAGE=Yes,-DFLB_COVERAGE=No"
68PACKAGECONFIG[custom-calyptia] = "-DFLB_CUSTOM_CALYPTIA=Yes,-DFLB_CUSTOM_CALYPTIA=No"
69PACKAGECONFIG[debug] = "-DFLB_DEBUG=Yes,-DFLB_DEBUG=No"
70PACKAGECONFIG[enforce-alignment] = "-DFLB_ENFORCE_ALIGNMENT=Yes,-DFLB_ENFORCE_ALIGNMENT=No"
71PACKAGECONFIG[examples] = "-DFLB_EXAMPLES=Yes,-DFLB_EXAMPLES=No"
72PACKAGECONFIG[http-client-debug] = "-DFLB_HTTP_CLIENT_DEBUG=Yes,-DFLB_HTTP_CLIENT_DEBUG=No"
73PACKAGECONFIG[http-server] = "-DFLB_HTTP_SERVER=Yes,-DFLB_HTTP_SERVER=No"
74PACKAGECONFIG[inotify] = "-DFLB_INOTIFY=Yes,-DFLB_INOTIFY=No"
75PACKAGECONFIG[ipo] = "-DFLB_IPO=Yes,-DFLB_IPO=no"
76PACKAGECONFIG[jemalloc] = "-DFLB_JEMALLOC=Yes,-DFLB_JEMALLOC=No,jemalloc"
77PACKAGECONFIG[luajit] = "-DFLB_LUAJIT=Yes,-DFLB_LUAJIT=No"
78PACKAGECONFIG[metrics] = "-DFLB_METRICS=Yes,-DFLB_METRICS=No"
79PACKAGECONFIG[mtrace] = "-DFLB_MTRACE=Yes,-DFLB_MTRACE=No"
80PACKAGECONFIG[parser] = "-DFLB_PARSER=Yes,-DFLB_PARSER=No"
81PACKAGECONFIG[posix-tls] = "-DFLB_POSIX_TLS=Yes,-DFLB_POSIX_TLS=No"
82PACKAGECONFIG[proxy-go] = "-DFLB_PROXY_GO=Yes,-DFLB_PROXY_GO=No"
83PACKAGECONFIG[record-accessor] = "-DFLB_RECORD_ACCESSOR=Yes,-DFLB_RECORD_ACCESSOR=No"
84PACKAGECONFIG[regex] = "-DFLB_REGEX=Yes,-DFLB_REGEX=No"
85PACKAGECONFIG[release] = "-DFLB_RELEASE=Yes,-DFLB_RELEASE=No"
86PACKAGECONFIG[run-ldconfig] = "-DFLB_RUN_LDCONFIG=Yes,-DFLB_RUN_LDCONFIG=No"
87PACKAGECONFIG[shared-lib] = "-DFLB_SHARED_LIB=Yes,-DFLB_SHARED_LIB=No"
88PACKAGECONFIG[signv4] = "-DFLB_SIGNV4=Yes,-DFLB_SIGNV4=No"
89PACKAGECONFIG[small] = "-DFLB_SMALL=Yes,-DFLB_SMALL=No"
90PACKAGECONFIG[sqldb] = "-DFLB_SQLDB=Yes,-DFLB_SQLDB=No"
91PACKAGECONFIG[stream-processor] = "-DFLB_STREAM_PROCESSOR=Yes,-DFLB_STREAM_PROCESSOR=No"
92PACKAGECONFIG[tests-runtime] = "-DFLB_TESTS_RUNTIME=Yes,-DFLB_TESTS_RUNTIME=No"
93PACKAGECONFIG[tls] = "-DFLB_TLS=Yes,-DFLB_TLS=No"
94PACKAGECONFIG[trace] = "-DFLB_TRACE=Yes,-DFLB_TRACE=No"
95PACKAGECONFIG[utf8-encoder] = "-DFLB_UTF8_ENCODER=Yes,-DFLB_UTF8_ENCODER=No"
96PACKAGECONFIG[valgrind] = "-DFLB_VALGRIND=Yes,-DFLB_VALGRIND=No"
97PACKAGECONFIG[wamrc] = "-DFLB_WAMRC=Yes,-DFLB_WAMRC=No"
98PACKAGECONFIG[wasm-stack-protect] = "-DFLB_WASM_STACK_PROTECT=Yes,-DFLB_WASM_STACK_PROTECT=No"
99PACKAGECONFIG[wasm] = "-DFLB_WASM=Yes,-DFLB_WASM=No"
100PACKAGECONFIG[windows-defaults] = "-DFLB_WINDOWS_DEFAULTS=Yes,-DFLB_WINDOWS_DEFAULTS=No"
101
102# Option to disable all Fluent Bit plugins by default. See cmake/plugins_options.cmake which
103# individual plugins then to enable (e.g. using EXTRA_OECMAKE:append = " -DFLB_FOOBAR=ON")
104PACKAGECONFIG[minimal] = "-DFLB_MINIMAL=Yes,-DFLB_MINIMAL=No"
105
106# Without zstd dependency, kafka plugin build fails at link attempt against native libzstd.so
107PACKAGECONFIG[in-kafka] = "-DFLB_IN_KAFKA=ON,-DFLB_IN_KAFKA=OFF,librdkafka zstd"
108PACKAGECONFIG[out-kafka] = "-DFLB_OUT_KAFKA=ON,-DFLB_OUT_KAFKA=OFF,librdkafka zstd"
109
110SYSTEMD_SERVICE:${PN} = "fluent-bit.service"
111
112inherit cmake systemd pkgconfig
113
114FULL_OPTIMIZATION:remove = "${@'-O2' if bb.data.inherits_class('clang', d) else ''}"
115TARGET_CC_ARCH += "${SELECTED_OPTIMIZATION}"
116TARGET_CC_ARCH:remove = "-D_FORTIFY_SOURCE=2"
117EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=${TARGET_DBGSRC_DIR}/"
118EXTRA_OECMAKE:append:mips = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
119EXTRA_OECMAKE:append:powerpc = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
120EXTRA_OECMAKE:append:riscv32 = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
121EXTRA_OECMAKE:append:riscv64 = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
122EXTRA_OECMAKE:append:x86 = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
123
124do_configure:prepend() {
125 sed -i \
126 -e 's#@INIT_MANAGER_IS_SYSTEMD@#'${@'TRUE' if d.getVar('INIT_MANAGER') == 'systemd' else 'FALSE'}'#' \
127 -e 's#@INIT_MANAGER_IS_UPSTART@#'${@'TRUE' if d.getVar('INIT_MANAGER') == 'upstart' else 'FALSE'}'#' \
128 ${S}/src/CMakeLists.txt
129}
130
131# flex hardcodes the input file in #line directives leading to TMPDIR contamination of debug sources.
132do_compile:append() {
133 find ${B} -name '*.c' -or -name '*.h' | xargs sed -i -e 's|${TMPDIR}|${TARGET_DBGSRC_DIR}/|g'
134}
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 97c354aba..ba897cc71 100644
--- a/meta-oe/recipes-extended/haveged/haveged_1.9.18.bb
+++ b/meta-oe/recipes-extended/haveged/haveged_1.9.19.bb
@@ -6,8 +6,7 @@ HOMEPAGE = "https://www.issihosts.com/haveged/index.html"
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" 12S = "${WORKDIR}/git"
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
index bafe218f0..ecc9c441c 100644
--- 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
@@ -1,4 +1,4 @@
1From 5d40c0c49f9acde83ba71b6f59094cdbd12e1b78 Mon Sep 17 00:00:00 2001 1From b06541a75043c9a8213187fca942a0270783bd0e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 17 Sep 2024 18:22:36 +0000 3Date: Tue, 17 Sep 2024 18:22:36 +0000
4Subject: [PATCH] Add cmake check for deducing 32bit or 64bit RISCV 4Subject: [PATCH] Add cmake check for deducing 32bit or 64bit RISCV
@@ -7,52 +7,49 @@ Currently its only compilable for RV64 when RVV is
7enabled, this will extend it to build for RV32 with 7enabled, this will extend it to build for RV32 with
8RVV as well 8RVV as well
9 9
10Upstream-Status: Pending 10Upstream-Status: Submitted [https://github.com/google/highway/pull/2330]
11Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12--- 12---
13 CMakeLists.txt | 36 ++++++++++++++++++++++++++++++++++-- 13 CMakeLists.txt | 38 +++++++++++++++++++++++++++++++++++---
14 1 file changed, 34 insertions(+), 2 deletions(-) 14 1 file changed, 35 insertions(+), 3 deletions(-)
15 15
16diff --git a/CMakeLists.txt b/CMakeLists.txt
17index ea8b330c..cd824787 100644
18--- a/CMakeLists.txt 16--- a/CMakeLists.txt
19+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
20@@ -65,6 +65,34 @@ if (NOT CMAKE_BUILD_TYPE) 18@@ -59,6 +59,33 @@ if(CHECK_PIE_SUPPORTED)
21 set(CMAKE_BUILD_TYPE RelWithDebInfo) 19 endif()
22 endif() 20 endif()
23 21
24+include(CheckCSourceCompiles) 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)
25+ 31+
26+check_c_source_compiles(" 32+ check_c_source_compiles("
27+#if __riscv_xlen == 64 33+ #if __riscv_xlen == 32
28+int main() { return 0; } 34+ int main() { return 0; }
29+#else 35+ #else
30+#error Not RISCV-64 36+ #error Not RISCV-32
31+#endif 37+ #endif
32+" IS_RISCV_XLEN_64) 38+ " IS_RISCV_XLEN_32)
33+ 39+
34+check_c_source_compiles(" 40+ if(IS_RISCV_XLEN_32)
35+#if __riscv_xlen == 32 41+ set(RISCV_XLEN 32)
36+int main() { return 0; } 42+ elseif(IS_RISCV_XLEN_64)
37+#else 43+ set(RISCV_XLEN 64)
38+#error Not RISCV-32 44+ else()
39+#endif 45+ message(WARNING "Unable to determine RISC-V XLEN")
40+" IS_RISCV_XLEN_32) 46+ endif()
41+
42+if(IS_RISCV_XLEN_32)
43+ set(RISCV_XLEN 32)
44+elseif(IS_RISCV_XLEN_64)
45+ set(RISCV_XLEN 64)
46+else()
47+ message(WARNING "Unable to determine RISC-V XLEN")
48+endif() 47+endif()
49+ 48+
50+message(STATUS "RISC-V XLEN: ${RISCV_XLEN}") 49 include(GNUInstallDirs)
51+
52 # The following is only required with GCC < 6.1.0 or CLANG < 16.0
53 set(HWY_CMAKE_ARM7 OFF CACHE BOOL "Set copts for Armv7 with NEON (requires vfpv4)?")
54 50
55@@ -72,7 +100,7 @@ set(HWY_CMAKE_ARM7 OFF CACHE BOOL "Set copts for Armv7 with NEON (requires vfpv4 51 if (NOT CMAKE_BUILD_TYPE)
52@@ -72,7 +99,7 @@ set(HWY_CMAKE_ARM7 OFF CACHE BOOL "Set c
56 # skipped. For GCC 13.1+, you can also build with -fexcess-precision=standard. 53 # skipped. For GCC 13.1+, you can also build with -fexcess-precision=standard.
57 set(HWY_CMAKE_SSE2 OFF CACHE BOOL "Set SSE2 as baseline for 32-bit x86?") 54 set(HWY_CMAKE_SSE2 OFF CACHE BOOL "Set SSE2 as baseline for 32-bit x86?")
58 55
@@ -61,15 +58,17 @@ index ea8b330c..cd824787 100644
61 set(HWY_CMAKE_RVV ON CACHE BOOL "Set copts for RISCV with RVV?") 58 set(HWY_CMAKE_RVV ON CACHE BOOL "Set copts for RISCV with RVV?")
62 59
63 # Unconditionally adding -Werror risks breaking the build when new warnings 60 # Unconditionally adding -Werror risks breaking the build when new warnings
64@@ -378,7 +406,11 @@ else() 61@@ -378,7 +405,13 @@ else()
65 # we add the gcv compiler flag, which then requires the CPU (now when using 62 # we add the gcv compiler flag, which then requires the CPU (now when using
66 # either compiler) to support V. 63 # either compiler) to support V.
67 if(HWY_CMAKE_RVV) 64 if(HWY_CMAKE_RVV)
68- list(APPEND HWY_FLAGS -march=rv64gcv1p0) 65- list(APPEND HWY_FLAGS -march=rv64gcv1p0)
69+ if(RISCV_XLEN EQUAL 64) 66+ if(RISCV_XLEN EQUAL 64)
70+ list(APPEND HWY_FLAGS -march=rv64gcv1p0) 67+ list(APPEND HWY_FLAGS -march=rv64gcv1p0)
68+ add_link_options(-march=rv64gcv1p0)
71+ elseif(RISCV_XLEN EQUAL 32) 69+ elseif(RISCV_XLEN EQUAL 32)
72+ list(APPEND HWY_FLAGS -march=rv32gcv1p0) 70+ list(APPEND HWY_FLAGS -march=rv32gcv1p0)
71+ add_link_options(-march=rv32gcv1p0)
73+ endif() 72+ endif()
74 if(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") 73 if(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
75 list(APPEND HWY_FLAGS -menable-experimental-extensions) 74 list(APPEND HWY_FLAGS -menable-experimental-extensions)
diff --git a/meta-oe/recipes-extended/highway/highway_1.2.0.bb b/meta-oe/recipes-extended/highway/highway_1.2.0.bb
index d226cd82c..e7dfc706b 100644
--- a/meta-oe/recipes-extended/highway/highway_1.2.0.bb
+++ b/meta-oe/recipes-extended/highway/highway_1.2.0.bb
@@ -17,5 +17,3 @@ EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"
17CXXFLAGS:append:arm = " -mfp16-format=ieee" 17CXXFLAGS:append:arm = " -mfp16-format=ieee"
18# Option not supported with clang and its default format for __fp16 anyway with clang 18# Option not supported with clang and its default format for __fp16 anyway with clang
19CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee" 19CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee"
20
21TOOLCHAIN = "gcc"
diff --git a/meta-oe/recipes-extended/jansson/jansson/0001-add-back-JSON_INTEGER_IS_LONG_LONG-for-cmake.patch b/meta-oe/recipes-extended/jansson/jansson/0001-add-back-JSON_INTEGER_IS_LONG_LONG-for-cmake.patch
new file mode 100644
index 000000000..5298cfbef
--- /dev/null
+++ b/meta-oe/recipes-extended/jansson/jansson/0001-add-back-JSON_INTEGER_IS_LONG_LONG-for-cmake.patch
@@ -0,0 +1,51 @@
1From 521d37abc0ed1178a39298d06d80d8d0e2a43e28 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Tue, 10 Sep 2024 00:48:00 -0700
4Subject: [PATCH] add back JSON_INTEGER_IS_LONG_LONG for cmake
5
6For autotools, JSON_INTEGER_IS_LONG_LONG is defined, but for
7cmake, it's not. This means such macro, which is also documented,
8is not consistent across different build systems. This is not
9good, so add it for cmake.
10
11This patch refers 8b975abca1055d40637c90b1dc4585af1d7df76c and is
12part of it. So the upstream-status is marked as 'oe specific'.
13
14Upstream-Status: Inappropriate [OE Specific]
15
16Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
17---
18 CMakeLists.txt | 1 +
19 cmake/jansson_config.h.cmake | 4 +---
20 2 files changed, 2 insertions(+), 3 deletions(-)
21
22diff --git a/CMakeLists.txt b/CMakeLists.txt
23index 39b9ad3..0e95a94 100644
24--- a/CMakeLists.txt
25+++ b/CMakeLists.txt
26@@ -193,6 +193,7 @@ endif ()
27 # detect what to use for the 64 bit type.
28 # Note: I will prefer long long if I can get it, as that is what the automake system aimed for.
29 if (NOT DEFINED JSON_INT_T)
30+ set (JSON_INTEGER_IS_LONG_LONG 1)
31 if (HAVE_LONG_LONG_INT AND (LONG_LONG_INT EQUAL 8))
32 set (JSON_INT_T "long long")
33 elseif (HAVE_INT64_T)
34diff --git a/cmake/jansson_config.h.cmake b/cmake/jansson_config.h.cmake
35index 2f248cb..bec64da 100644
36--- a/cmake/jansson_config.h.cmake
37+++ b/cmake/jansson_config.h.cmake
38@@ -21,9 +21,7 @@
39 #define JANSSON_USING_CMAKE
40 #endif
41
42-/* Note: when using cmake, JSON_INTEGER_IS_LONG_LONG is not defined nor used,
43- * as we will also check for __int64 etc types.
44- * (the definition was used in the automake system) */
45+#cmakedefine JSON_INTEGER_IS_LONG_LONG 1
46
47 /* Bring in the cmake-detected defines */
48 #cmakedefine HAVE_STDINT_H 1
49--
502.42.0
51
diff --git a/meta-oe/recipes-extended/jansson/jansson_2.14.bb b/meta-oe/recipes-extended/jansson/jansson_2.14.bb
index fb42509f3..9f5cdcf4c 100644
--- a/meta-oe/recipes-extended/jansson/jansson_2.14.bb
+++ b/meta-oe/recipes-extended/jansson/jansson_2.14.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=afd92c4cfc08f4896003251b878cc0bf"
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 \ 8 file://0001-Fix-overwriting-linker-flags.patch \
9 file://0001-Honour-multilib-paths.patch \ 9 file://0001-Honour-multilib-paths.patch \
10 file://0001-add-back-JSON_INTEGER_IS_LONG_LONG-for-cmake.patch \
10 " 11 "
11SRC_URI[sha256sum] = "fba956f27c6ae56ce6dfd52fbf9d20254aad42821f74fa52f83957625294afb9" 12SRC_URI[sha256sum] = "fba956f27c6ae56ce6dfd52fbf9d20254aad42821f74fa52f83957625294afb9"
12 13
diff --git a/meta-oe/recipes-extended/libblockdev/files/0001-libext2fs-unused-parameters-fix.patch b/meta-oe/recipes-extended/libblockdev/files/0001-libext2fs-unused-parameters-fix.patch
deleted file mode 100644
index 8129c1e2a..000000000
--- a/meta-oe/recipes-extended/libblockdev/files/0001-libext2fs-unused-parameters-fix.patch
+++ /dev/null
@@ -1,92 +0,0 @@
1From 3aad8d471201da4125bd03d7a6921707461fe182 Mon Sep 17 00:00:00 2001
2From: Vojtech Trefny <vtrefny@redhat.com>
3Date: Fri, 7 Jun 2024 10:06:22 +0200
4Subject: [PATCH 1/3] fs: Ignore unused-parameter warning in the FS plugin
5
6There are some unused parameters in the libext2fs header which
7together with Wall and Werror means the plugin compilation fails.
8As a workaround we'll disable the unused-parameter warning for
9now.
10
11Fixes: #1026
12
13Taken from Fedora
14
15Upstream-Status: Pending
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17
18---
19 src/plugins/fs/Makefile.am | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/src/plugins/fs/Makefile.am b/src/plugins/fs/Makefile.am
23index 7d4849c0..00474d5a 100644
24--- a/src/plugins/fs/Makefile.am
25+++ b/src/plugins/fs/Makefile.am
26@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = subdir-objects
27
28 lib_LTLIBRARIES = libbd_fs.la
29
30-libbd_fs_la_CFLAGS = $(GLIB_CFLAGS) $(GIO_CFLAGS) $(BLKID_CFLAGS) $(MOUNT_CFLAGS) $(UUID_CFLAGS) $(EXT2FS_CFLAGS) -Wall -Wextra -Werror
31+libbd_fs_la_CFLAGS = $(GLIB_CFLAGS) $(GIO_CFLAGS) $(BLKID_CFLAGS) $(MOUNT_CFLAGS) $(UUID_CFLAGS) $(EXT2FS_CFLAGS) -Wall -Wextra -Werror -Wno-unused-parameter
32 libbd_fs_la_LIBADD = ${builddir}/../../utils/libbd_utils.la $(GLIB_LIBS) $(GIO_LIBS) $(BLKID_LIBS) $(MOUNT_LIBS) $(UUID_LIBS) $(EXT2FS_LIBS)
33 libbd_fs_la_LDFLAGS = -L${srcdir}/../../utils/ -version-info 3:0:0 -Wl,--no-undefined -export-symbols-regex '^bd_.*'
34 libbd_fs_la_CPPFLAGS = -I${builddir}/../../../include/ -I${srcdir}/../
35--
362.45.2
37
38
39From da5c14f3e2f83c8c40203897154ee2b788782792 Mon Sep 17 00:00:00 2001
40From: Vojtech Trefny <vtrefny@redhat.com>
41Date: Fri, 7 Jun 2024 15:21:09 +0200
42Subject: [PATCH 2/3] fs: Ignore shift-count-overflow warning in FS plugin
43
44The warning happens in the libext2fs header.
45---
46 src/plugins/fs/Makefile.am | 2 +-
47 1 file changed, 1 insertion(+), 1 deletion(-)
48
49diff --git a/src/plugins/fs/Makefile.am b/src/plugins/fs/Makefile.am
50index 00474d5a..42e1c777 100644
51--- a/src/plugins/fs/Makefile.am
52+++ b/src/plugins/fs/Makefile.am
53@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = subdir-objects
54
55 lib_LTLIBRARIES = libbd_fs.la
56
57-libbd_fs_la_CFLAGS = $(GLIB_CFLAGS) $(GIO_CFLAGS) $(BLKID_CFLAGS) $(MOUNT_CFLAGS) $(UUID_CFLAGS) $(EXT2FS_CFLAGS) -Wall -Wextra -Werror -Wno-unused-parameter
58+libbd_fs_la_CFLAGS = $(GLIB_CFLAGS) $(GIO_CFLAGS) $(BLKID_CFLAGS) $(MOUNT_CFLAGS) $(UUID_CFLAGS) $(EXT2FS_CFLAGS) -Wall -Wextra -Werror -Wno-unused-parameter -Wno-shift-count-overflow
59 libbd_fs_la_LIBADD = ${builddir}/../../utils/libbd_utils.la $(GLIB_LIBS) $(GIO_LIBS) $(BLKID_LIBS) $(MOUNT_LIBS) $(UUID_LIBS) $(EXT2FS_LIBS)
60 libbd_fs_la_LDFLAGS = -L${srcdir}/../../utils/ -version-info 3:0:0 -Wl,--no-undefined -export-symbols-regex '^bd_.*'
61 libbd_fs_la_CPPFLAGS = -I${builddir}/../../../include/ -I${srcdir}/../
62--
632.45.2
64
65
66From 90ceb4b52fbda34673fe5303da84b9a902187503 Mon Sep 17 00:00:00 2001
67From: Vojtech Trefny <vtrefny@redhat.com>
68Date: Wed, 12 Jun 2024 15:34:02 +0200
69Subject: [PATCH 3/3] fs: Fix ignoring errors from libext2fs
70
71Follow-up for #1028, we still want to show the warning and not
72completely supress it.
73---
74 src/plugins/fs/Makefile.am | 2 +-
75 1 file changed, 1 insertion(+), 1 deletion(-)
76
77diff --git a/src/plugins/fs/Makefile.am b/src/plugins/fs/Makefile.am
78index 42e1c777..1ee256f0 100644
79--- a/src/plugins/fs/Makefile.am
80+++ b/src/plugins/fs/Makefile.am
81@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = subdir-objects
82
83 lib_LTLIBRARIES = libbd_fs.la
84
85-libbd_fs_la_CFLAGS = $(GLIB_CFLAGS) $(GIO_CFLAGS) $(BLKID_CFLAGS) $(MOUNT_CFLAGS) $(UUID_CFLAGS) $(EXT2FS_CFLAGS) -Wall -Wextra -Werror -Wno-unused-parameter -Wno-shift-count-overflow
86+libbd_fs_la_CFLAGS = $(GLIB_CFLAGS) $(GIO_CFLAGS) $(BLKID_CFLAGS) $(MOUNT_CFLAGS) $(UUID_CFLAGS) $(EXT2FS_CFLAGS) -Wall -Wextra -Werror -Wno-error=unused-parameter -Wno-error=shift-count-overflow
87 libbd_fs_la_LIBADD = ${builddir}/../../utils/libbd_utils.la $(GLIB_LIBS) $(GIO_LIBS) $(BLKID_LIBS) $(MOUNT_LIBS) $(UUID_LIBS) $(EXT2FS_LIBS)
88 libbd_fs_la_LDFLAGS = -L${srcdir}/../../utils/ -version-info 3:0:0 -Wl,--no-undefined -export-symbols-regex '^bd_.*'
89 libbd_fs_la_CPPFLAGS = -I${builddir}/../../../include/ -I${srcdir}/../
90--
912.45.2
92
diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_3.2.0.bb
index a42e09d33..baf2acca5 100644
--- a/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb
+++ b/meta-oe/recipes-extended/libblockdev/libblockdev_3.2.0.bb
@@ -12,19 +12,18 @@ 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=master;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://0001-libext2fs-unused-parameters-fix.patch \
18 " 17 "
19SRCREV = "68aaff5556afe26be749c29a2b7cbd714dce3050" 18SRCREV = "27881cb6e57eb0146c51d032ea72fbb3cd6bda7e"
20S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
21 20
22FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}" 21FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}"
23 22
24PACKAGECONFIG ??= "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"
25PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" 24PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
26PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2" 25PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools libyaml, lvm2"
27PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools, lvm2" 26PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools libyaml, lvm2"
28PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2" 27PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2"
29PACKAGECONFIG[parted] = "--with-part, --without-part, parted" 28PACKAGECONFIG[parted] = "--with-part, --without-part, parted"
30PACKAGECONFIG[fs] = "--with-fs, --without-fs, e2fsprogs util-linux" 29PACKAGECONFIG[fs] = "--with-fs, --without-fs, e2fsprogs util-linux"
@@ -36,5 +35,7 @@ PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup keyutils nss
36PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize" 35PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize"
37PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2" 36PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2"
38PACKAGECONFIG[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"
39 40
40export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs" 41export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs"
diff --git a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb b/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
index 599416cb2..22155e534 100644
--- a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
+++ b/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
@@ -22,7 +22,7 @@ S = "${WORKDIR}/git"
22inherit cmake pkgconfig 22inherit cmake pkgconfig
23 23
24# default config is for RaspberryPi API, use the Linux 4.10+ API by default 24# 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" 25PLATFORM_CMAKE_FLAGS ?= "-DHAVE_LINUX_API=1 -DHAVE_RPI_API=0 -DSKIP_PYTHON_WRAPPER=1"
26EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}" 26EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}"
27 27
28# Put client examples into separate packages 28# Put client examples into separate packages
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 1dbf2955c..000000000
--- 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 46938bccf..bb45c8724 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 e75f27cb1d70052fe2bb6cae5846b68f8ea7fa65 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 d63cafa..ba9aab4 100644
15--- a/doc/Makefile.am
16+++ b/doc/Makefile.am
17@@ -70,16 +70,9 @@ BUILT_SOURCES = example.txt example2.txt example3.txt example4.txt example5.txt
7 18
8 # Man pages. 19 # Man pages.
9 20
diff --git a/meta-oe/recipes-extended/libidn/libidn_1.41.bb b/meta-oe/recipes-extended/libidn/libidn_1.42.bb
index 17ffc6cdc..453a21f57 100644
--- a/meta-oe/recipes-extended/libidn/libidn_1.41.bb
+++ b/meta-oe/recipes-extended/libidn/libidn_1.42.bb
@@ -8,22 +8,19 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f95a3dc99fecfa9a0c4e726d4b5d822f \
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://COPYINGv3;md5=11cc2d3ee574f9d6b7ee797bdce4d423 \
11 file://lib/idna.h;endline=21;md5=176de4fe1d98e59d743d3b12a850e4cb \ 11 file://lib/idna.h;endline=28;md5=bff92cd5c90908728225a065d6908289 \
12 file://src/idn.c;endline=20;md5=dd17b9093355bf669e2ea108d2defbd0 \ 12 file://src/idn.c;endline=19;md5=dc51ec9ffae14c4f96fb7db4a3d96b2d \
13 " 13 "
14 14
15DEPENDS = "virtual/libiconv autoconf-archive" 15DEPENDS = "virtual/libiconv autoconf-archive"
16 16
17inherit pkgconfig autotools gettext texinfo gtk-doc 17inherit pkgconfig autotools gettext texinfo gtk-doc
18 18
19SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \ 19SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \
20 file://dont-depend-on-help2man.patch \ 20 file://dont-depend-on-help2man.patch \
21 file://0001-largefile.m4-Sync-with-latest-gnulib.patch \
22 " 21 "
23 22
24#SRC_URI[md5sum] = "813c7b268d1051ca02c3610986126f38" 23SRC_URI[sha256sum] = "d6c199dcd806e4fe279360cb4b08349a0d39560ed548ffd1ccadda8cdecb4723"
25#SRC_URI[sha256sum] = "14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038"
26SRC_URI[sha256sum] = "884d706364b81abdd17bee9686d8ff2ae7431c5a14651047c68adf8b31fd8945"
27 24
28# command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3 25# command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3
29# so package command into a separate package 26# so package command into a separate package
@@ -40,4 +37,3 @@ do_install:append() {
40} 37}
41 38
42BBCLASSEXTEND = "native nativesdk" 39BBCLASSEXTEND = "native nativesdk"
43
diff --git a/meta-oe/recipes-extended/libzip/libzip_1.10.1.bb b/meta-oe/recipes-extended/libzip/libzip_1.11.1.bb
index a314efc12..b1a0dd66c 100644
--- a/meta-oe/recipes-extended/libzip/libzip_1.10.1.bb
+++ b/meta-oe/recipes-extended/libzip/libzip_1.11.1.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] = "721e0e4e851073b508c243fd75eda04e4c5006158a900441de10ce274cc3b633"
25 25
26BBCLASSEXTEND += "native" 26BBCLASSEXTEND += "native"
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.15.0.bb
index fca8d9e75..6f5cd4911 100644
--- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb
+++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb
@@ -97,6 +97,11 @@ EXTRA_OECMAKE = " \
97 " 97 "
98 98
99PACKAGECONFIG ??= "civetweb libarchive rocksdb expression-language" 99PACKAGECONFIG ??= "civetweb libarchive rocksdb expression-language"
100
101# rocksdb is not compatible with libc-musl:powerpc & armv5
102PACKAGECONFIG:remove:libc-musl:powerpc = "rocksdb"
103PACKAGECONFIG:remove:armv5 = "rocksdb"
104
100PACKAGECONFIG[civetweb] = "-DDISABLE_CIVET=OFF,-DDISABLE_CIVET=ON" 105PACKAGECONFIG[civetweb] = "-DDISABLE_CIVET=OFF,-DDISABLE_CIVET=ON"
101PACKAGECONFIG[openwsman] = "-DENABLE_OPENWSMAN=ON,-DENABLE_OPENWSMAN=OFF,libxml2" 106PACKAGECONFIG[openwsman] = "-DENABLE_OPENWSMAN=ON,-DENABLE_OPENWSMAN=OFF,libxml2"
102PACKAGECONFIG[libarchive] = "-DDISABLE_LIBARCHIVE=OFF,-DDISABLE_LIBARCHIVE=ON,libarchive" 107PACKAGECONFIG[libarchive] = "-DDISABLE_LIBARCHIVE=OFF,-DDISABLE_LIBARCHIVE=ON,libarchive"
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb b/meta-oe/recipes-extended/mozjs/mozjs-115_115.16.1.bb
index f25c5a8f9..d235b252a 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs-115_115.16.1.bb
@@ -19,7 +19,7 @@ SRC_URI = "https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/fire
19 file://1849070.patch \ 19 file://1849070.patch \
20 file://1894423.patch \ 20 file://1894423.patch \
21 " 21 "
22SRC_URI[sha256sum] = "16be46f16a356a2b8bd3541805a24c8a2acf6f077cf8a65859689685c26025e0" 22SRC_URI[sha256sum] = "c3bb5a210738ca0f8cd26aa53fc4a07560db079c06cd0421cf35af4035029367"
23 23
24UPSTREAM_CHECK_URI = "https://tracker.debian.org/pkg/mozjs115" 24UPSTREAM_CHECK_URI = "https://tracker.debian.org/pkg/mozjs115"
25UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 25UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb
index 4d3baf6ca..df487bd76 100644
--- a/meta-oe/recipes-extended/mraa/mraa_git.bb
+++ b/meta-oe/recipes-extended/mraa/mraa_git.bb
@@ -41,11 +41,11 @@ FILES:${PN}-utils = "${bindir}/"
41# will result in only the python bindings being built/packaged. 41# will result in only the python bindings being built/packaged.
42# Note: 'nodejs' is disabled by default because the bindings 42# Note: 'nodejs' is disabled by default because the bindings
43# generation currently fails with nodejs (>v7.x). 43# generation currently fails with nodejs (>v7.x).
44BINDINGS ??= "python" 44BINDINGS ??= ""
45 45
46# nodejs isn't available for armv4/armv5 architectures 46# nodejs isn't available for armv4/armv5 architectures
47BINDINGS:armv4 ??= "python" 47BINDINGS:armv4 ??= ""
48BINDINGS:armv5 ??= "python" 48BINDINGS:armv5 ??= ""
49 49
50PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \ 50PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \
51 ${@bb.utils.contains('PACKAGES', 'python3-${PN}', 'python', '', d)}" 51 ${@bb.utils.contains('PACKAGES', 'python3-${PN}', 'python', '', d)}"
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 df43d25ac..000000000
--- 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/ostree/ostree_2024.7.bb b/meta-oe/recipes-extended/ostree/ostree_2024.8.bb
index 8cecf5334..4fd7a1417 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2024.7.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2024.8.bb
@@ -22,7 +22,7 @@ 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] = "72451efffe5a10acb4cfdd6eb849db97fa9e61a81e4113fc656eece77eb93355" 25SRC_URI[sha256sum] = "e2136e116669f114ff7349f12e299f63c0bece733451649414a8dcd85b863c3f"
26 26
27S = "${WORKDIR}/libostree-${PV}" 27S = "${WORKDIR}/libostree-${PV}"
28 28
@@ -45,7 +45,7 @@ BUILD_OPTIMIZATION:append = " -O2"
45PACKAGECONFIG ??= " \ 45PACKAGECONFIG ??= " \
46 ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ 46 ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \
47 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \ 47 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \
48 ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'soup3', '', d)} \ 48 ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'soup3 static', '', d)} \
49 glib \ 49 glib \
50 gpgme \ 50 gpgme \
51 curl \ 51 curl \
diff --git a/meta-oe/recipes-extended/pegtl/pegtl_3.2.7.bb b/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb
index 2e32e3e78..fc227734d 100644
--- a/meta-oe/recipes-extended/pegtl/pegtl_3.2.7.bb
+++ b/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb
@@ -8,7 +8,7 @@ SRC_URI = " \
8 file://run-ptest \ 8 file://run-ptest \
9" 9"
10 10
11SRCREV = "cf639f7f4ee125f68e1ccfba8d99ebc0de57b9fe" 11SRCREV = "be527327653e94b02e711f7eff59285ad13e1db0"
12 12
13inherit cmake ptest 13inherit cmake ptest
14 14
diff --git a/meta-oe/recipes-extended/polkit/files/meson-build-Support-openembedded-OS-for-PAM-config.patch b/meta-oe/recipes-extended/polkit/files/meson-build-Support-openembedded-OS-for-PAM-config.patch
index cc396dfa3..445f2fbdb 100644
--- a/meta-oe/recipes-extended/polkit/files/meson-build-Support-openembedded-OS-for-PAM-config.patch
+++ b/meta-oe/recipes-extended/polkit/files/meson-build-Support-openembedded-OS-for-PAM-config.patch
@@ -14,7 +14,7 @@ NB: This is also the same config as Debian but its not mentioned in the
14code. 14code.
15 15
16Signed-off-by: Yoann Congal <yoann.congal@smile.fr> 16Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
17Upstream-Status: Submitted [https://github.com/polkit-org/polkit/pull/497] 17Upstream-Status: Backport [https://github.com/polkit-org/polkit/commit/1d4f7f4d9f3d74fb2649c96faa8677416c1aefc2]
18--- 18---
19 meson.build | 2 +- 19 meson.build | 2 +-
20 meson_options.txt | 2 +- 20 meson_options.txt | 2 +-
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/hiredis-use-default-CC-if-it-is-set.patch b/meta-oe/recipes-extended/redis/redis-7.2.6/0001-hiredis-use-default-CC-if-it-is-set.patch
index 7785acca5..63bf40341 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/hiredis-use-default-CC-if-it-is-set.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.6/0001-hiredis-use-default-CC-if-it-is-set.patch
@@ -1,4 +1,4 @@
1From 41efa2f0cf08c91ff935bbb2d16ab233df7f5811 Mon Sep 17 00:00:00 2001 1From af4fc632c03b2a68be4206b4896f27fc4bb865ae Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 17:39:52 -0600 3Date: Fri, 8 Feb 2013 17:39:52 -0600
4Subject: [PATCH] hiredis: use default CC if it is set 4Subject: [PATCH] hiredis: use default CC if it is set
@@ -9,6 +9,8 @@ Content-Transfer-Encoding: 8bit
9Instead of trying to automagically figure out CC, which breaks with OE 9Instead of trying to automagically figure out CC, which breaks with OE
10as CC has spaces in it, just skip it if one was already passed in. 10as CC has spaces in it, just skip it if one was already passed in.
11 11
12Upstream-Status: Pending
13
12Signed-off-by: Venture Research <tech@ventureresearch.com> 14Signed-off-by: Venture Research <tech@ventureresearch.com>
13 15
14Update to work with 4.0.8 16Update to work with 4.0.8
@@ -16,10 +18,7 @@ Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16 18
17Reworked for 6.0.4 19Reworked for 6.0.4
18Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 20Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
19
20--- 21---
21Upstream-Status: Pending
22
23 deps/hiredis/Makefile | 2 -- 22 deps/hiredis/Makefile | 2 --
24 1 file changed, 2 deletions(-) 23 1 file changed, 2 deletions(-)
25 24
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/lua-update-Makefile-to-use-environment-build-setting.patch b/meta-oe/recipes-extended/redis/redis-7.2.6/0002-lua-update-Makefile-to-use-environment-build-setting.patch
index 20708eda1..46330f506 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/lua-update-Makefile-to-use-environment-build-setting.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.6/0002-lua-update-Makefile-to-use-environment-build-setting.patch
@@ -1,4 +1,4 @@
1From aa3d31355f3cc140b1dc2f4fcff8e3c0aa261549 Mon Sep 17 00:00:00 2001 1From 45ae5eb5c3482054073e06ab1a78e0aa9b96447f Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 20:22:19 -0600 3Date: Fri, 8 Feb 2013 20:22:19 -0600
4Subject: [PATCH] lua: update Makefile to use environment build settings 4Subject: [PATCH] lua: update Makefile to use environment build settings
@@ -6,6 +6,8 @@ Subject: [PATCH] lua: update Makefile to use environment build settings
6OE-specific parameters, instead of overriding all of these simply use 6OE-specific parameters, instead of overriding all of these simply use
7the ones that are already passed in. Also configure for only Linux... 7the ones that are already passed in. Also configure for only Linux...
8 8
9Upstream-Status: Pending
10
9Signed-off-by: Venture Research <tech@ventureresearch.com> 11Signed-off-by: Venture Research <tech@ventureresearch.com>
10 12
11Updated to work with 3.0.x 13Updated to work with 3.0.x
@@ -14,8 +16,6 @@ Signed-off-by: Armin Kuster <akust808@gmail.com>
14 16
15updated to work wtih 6.2.1 17updated to work wtih 6.2.1
16Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> 18Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
17
18Upstream-Status: Pending
19--- 19---
20 deps/Makefile | 1 - 20 deps/Makefile | 1 -
21 deps/lua/Makefile | 1 - 21 deps/lua/Makefile | 1 -
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/oe-use-libc-malloc.patch b/meta-oe/recipes-extended/redis/redis-7.2.6/0003-hack-to-force-use-of-libc-malloc.patch
index 7b601e02a..1f97f9783 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/oe-use-libc-malloc.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.6/0003-hack-to-force-use-of-libc-malloc.patch
@@ -1,4 +1,4 @@
1From 38a5f403b033d03cdac3ff814687d83f61527d8e Mon Sep 17 00:00:00 2001 1From 7a98e3ac480413ce7db3a5edd5dc70458b921b29 Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Wed, 6 Feb 2013 20:51:02 -0600 3Date: Wed, 6 Feb 2013 20:51:02 -0600
4Subject: [PATCH] hack to force use of libc malloc 4Subject: [PATCH] hack to force use of libc malloc
@@ -9,14 +9,13 @@ removed in favor of magic.
9Note that this of course doesn't allow tcmalloc and jemalloc, however 9Note that this of course doesn't allow tcmalloc and jemalloc, however
10jemalloc wasn't building correctly. 10jemalloc wasn't building correctly.
11 11
12Upstream-Status: Pending
13
12Signed-off-by: Venture Research <tech@ventureresearch.com> 14Signed-off-by: Venture Research <tech@ventureresearch.com>
13 15
14Update to work with 4.0.8 16Update to work with 4.0.8
15Signed-off-by: Alistair Francis <alistair.francis@wdc.com> 17Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16
17--- 18---
18Upstream-Status: Pending
19
20 src/Makefile | 3 ++- 19 src/Makefile | 3 ++-
21 1 file changed, 2 insertions(+), 1 deletion(-) 20 1 file changed, 2 insertions(+), 1 deletion(-)
22 21
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/0001-src-Do-not-reset-FINAL_LIBS.patch b/meta-oe/recipes-extended/redis/redis-7.2.6/0004-src-Do-not-reset-FINAL_LIBS.patch
index 01e53e3f2..974cf5169 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/0001-src-Do-not-reset-FINAL_LIBS.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.6/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.6/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch b/meta-oe/recipes-extended/redis/redis-7.2.6/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch
new file mode 100644
index 000000000..8e5f30993
--- /dev/null
+++ b/meta-oe/recipes-extended/redis/redis-7.2.6/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch
@@ -0,0 +1,29 @@
1From acd832d76002a1916b3128ac05bc0296425aea6d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 21 Dec 2019 12:09:51 -0800
4Subject: [PATCH] Define _GNU_SOURCE to get PTHREAD_MUTEX_INITIALIZER
5
6Fixes
7| zmalloc.c:87:37: error: 'PTHREAD_MUTEX_DEFAULT' undeclared here (not in a function)
8| 87 | pthread_mutex_t used_memory_mutex = PTHREAD_MUTEX_INITIALIZER;
9| | ^~~~~~~~~~~~~~~~~~~~~~~~~
10
11Upstream-Status: Pending
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/zmalloc.c | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/src/zmalloc.c b/src/zmalloc.c
19index bbfa386..93e07ff 100644
20--- a/src/zmalloc.c
21+++ b/src/zmalloc.c
22@@ -32,6 +32,7 @@
23 #include "config.h"
24 #include "solarisfixes.h"
25
26+#define _GNU_SOURCE
27 #include <stdio.h>
28 #include <stdlib.h>
29 #include <stdint.h>
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/0006-Define-correct-gregs-for-RISCV32.patch b/meta-oe/recipes-extended/redis/redis-7.2.6/0006-Define-correct-gregs-for-RISCV32.patch
index 93c359526..700904817 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/0006-Define-correct-gregs-for-RISCV32.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.6/0006-Define-correct-gregs-for-RISCV32.patch
@@ -1,14 +1,14 @@
1From 634f62be6c135ece93cb4e44a69ce3cb66f394ca Mon Sep 17 00:00:00 2001 1From dd3ecb07bbf80b986b8f2c656ea11d1346e212f6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 26 Oct 2020 21:32:22 -0700 3Date: Mon, 26 Oct 2020 21:32:22 -0700
4Subject: [PATCH] Define correct gregs for RISCV32 4Subject: [PATCH] Define correct gregs for RISCV32
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7
7Signed-off-by: Khem Raj <raj.khem@gmail.com> 8Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 9
9Updated patch for 6.2.8 10Updated patch for 6.2.8
10Signed-off-by: Changqing Li <changqing.li@windriver.com> 11Signed-off-by: Changqing Li <changqing.li@windriver.com>
11
12--- 12---
13 src/debug.c | 26 ++++++++++++++++++++++++-- 13 src/debug.c | 26 ++++++++++++++++++++++++--
14 1 file changed, 24 insertions(+), 2 deletions(-) 14 1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/init-redis-server b/meta-oe/recipes-extended/redis/redis-7.2.6/init-redis-server
index c5f335f57..c5f335f57 100755..100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/init-redis-server
+++ b/meta-oe/recipes-extended/redis/redis-7.2.6/init-redis-server
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/redis.conf b/meta-oe/recipes-extended/redis/redis-7.2.6/redis.conf
index 75037d6dc..75037d6dc 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/redis.conf
+++ b/meta-oe/recipes-extended/redis/redis-7.2.6/redis.conf
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/redis.service b/meta-oe/recipes-extended/redis/redis-7.2.6/redis.service
index b7791d0df..b7791d0df 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/redis.service
+++ b/meta-oe/recipes-extended/redis/redis-7.2.6/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 d2a1b45e6..51a6e9c95 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 aade7afd0..17b533669 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 e76bdbc26..f1021eef6 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 66ab0ee33..958106e26 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 20f689bd0..d73c66c9d 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 9d7e50271..bb3f5c607 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 c5f335f57..c5f335f57 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.16.bb
index 2433abba5..40473461a 100644
--- a/meta-oe/recipes-extended/redis/redis_6.2.14.bb
+++ b/meta-oe/recipes-extended/redis/redis_6.2.16.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" 20
21SRC_URI[sha256sum] = "846bff83c26d827d49f8cc8114ea9d1e72eea1169f7de36b8135ea2cec104e7d"
21 22
22inherit autotools-brokensep update-rc.d systemd useradd 23inherit autotools-brokensep 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"
diff --git a/meta-oe/recipes-extended/redis/redis_7.2.5.bb b/meta-oe/recipes-extended/redis/redis_7.2.6.bb
index 930c1cd9a..dcfd532cf 100644
--- a/meta-oe/recipes-extended/redis/redis_7.2.5.bb
+++ b/meta-oe/recipes-extended/redis/redis_7.2.6.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-7.patch \ 17 file://0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch \
18 file://0006-Define-correct-gregs-for-RISCV32.patch \ 18 file://0006-Define-correct-gregs-for-RISCV32.patch \
19 " 19 "
20SRC_URI[sha256sum] = "5981179706f8391f03be91d951acafaeda91af7fac56beffb2701963103e423d" 20
21SRC_URI[sha256sum] = "fb10d67a2fe2b4556f6cb840064dd6e6e3175ce8ca035f0726990ec2da9f3d0e"
21 22
22inherit autotools-brokensep pkgconfig update-rc.d systemd useradd 23inherit autotools-brokensep pkgconfig 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"
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb
index 41e396358..cf833de22 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb
@@ -39,11 +39,12 @@ UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
39 39
40inherit autotools pkgconfig systemd update-rc.d ptest 40inherit autotools pkgconfig systemd update-rc.d ptest
41 41
42EXTRA_OECONF += "--disable-generate-man-pages ap_cv_atomic_builtins=yes" 42EXTRA_OECONF += "--enable-imfile-tests ${ATOMICS}"
43EXTRA_OECONF += "--enable-imfile-tests" 43ATOMICS = "ap_cv_atomic_builtins_64=yes ap_cv_atomic_builtins=yes"
44EXTRA_OECONF:remove:mipsarch = "ap_cv_atomic_builtins=yes" 44ATOMICS:mipsarch = ""
45EXTRA_OECONF:remove:powerpc = "ap_cv_atomic_builtins=yes" 45ATOMICS:powerpc = ""
46EXTRA_OECONF:remove:riscv32 = "ap_cv_atomic_builtins=yes" 46ATOMICS:riscv32 = ""
47ATOMICS:armv5 = ""
47 48
48# first line is default yes in configure 49# first line is default yes in configure
49PACKAGECONFIG ??= " \ 50PACKAGECONFIG ??= " \
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 45556afa8..a051f90c4 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/tmux/tmux_3.4.bb b/meta-oe/recipes-extended/tmux/tmux_3.5.bb
index 4360edf4b..33f709681 100644
--- a/meta-oe/recipes-extended/tmux/tmux_3.4.bb
+++ b/meta-oe/recipes-extended/tmux/tmux_3.5.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://tmux.c;beginline=3;endline=17;md5=f256b76d52e7b4d02bf
8DEPENDS = "ncurses libevent bison-native" 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[sha256sum] = "551ab8dea0bf505c0ad6b7bb35ef567cdde0ccb84357df142c254f35a23e19aa" 11SRC_URI[sha256sum] = "2fe01942e7e7d93f524a22f2c883822c06bc258a4d61dba4b407353d7081950f"
12 12
13UPSTREAM_CHECK_URI = "https://github.com/tmux/tmux/releases" 13UPSTREAM_CHECK_URI = "https://github.com/tmux/tmux/releases"
14UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 14UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
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 000000000..ab2265bdb
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/0001-src-Do-not-reset-FINAL_LIBS.patch
@@ -0,0 +1,33 @@
1From b4cf6e677cec75a0d2b57dcb2960ad1e16908c82 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 e0b1d2722..48988e271 100644
20--- a/src/Makefile
21+++ b/src/Makefile
22@@ -145,7 +145,7 @@ ifeq ($(SERVER_TEST),yes)
23 FINAL_CFLAGS +=-DSERVER_TEST=1
24 endif
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
31--
322.39.5
33
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/GNU_SOURCE-7.patch b/meta-oe/recipes-extended/valkey/valkey/GNU_SOURCE-7.patch
index 6e07c25c6..fa11d058f 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/GNU_SOURCE-7.patch
+++ b/meta-oe/recipes-extended/valkey/valkey/GNU_SOURCE-7.patch
@@ -1,4 +1,4 @@
1From a22512ac1cbd6de1f5646219722e49752d1f60ac Mon Sep 17 00:00:00 2001 1From f3dd59789e4a8b06777be2725c6c3e36050fd6ec 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 7b19107b6..bd365c11c 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 000000000..3168c5860
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/hiredis-use-default-CC-if-it-is-set.patch
@@ -0,0 +1,41 @@
1From 5e6c3052930f1d831d3479cb59533c08277700ff 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
23---
24Upstream-Status: Pending
25
26 deps/hiredis/Makefile | 2 --
27 1 file changed, 2 deletions(-)
28
29diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile
30index 4a3de1f6e..49bb525cd 100644
31--- a/deps/hiredis/Makefile
32+++ b/deps/hiredis/Makefile
33@@ -36,8 +36,6 @@ endef
34 export REDIS_TEST_CONFIG
35
36 # Fallback to gcc when $CC is not in $PATH.
37-CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
38-CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
39 OPTIMIZATION?=-O3
40 WARNINGS=-Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers
41 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 000000000..873179574
--- /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 000000000..1c3762638
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch
@@ -0,0 +1,78 @@
1From 892225f5101b1131434d323c55e79a93dc189609 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---
19Upstream-Status: Pending
20
21 deps/Makefile | 1 -
22 deps/lua/Makefile | 1 -
23 deps/lua/src/Makefile | 16 ++++++----------
24 3 files changed, 6 insertions(+), 12 deletions(-)
25
26diff --git a/deps/Makefile b/deps/Makefile
27index f1e4bd6ce..b9e50d049 100644
28--- a/deps/Makefile
29+++ b/deps/Makefile
30@@ -94,7 +94,6 @@ endif
31 # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
32 # challenging to cross-compile lua (and redis). These defines make it easier
33 # to fit redis into cross-compilation environments, which typically set AR.
34-AR=ar
35 ARFLAGS=rc
36
37 lua: .make-prerequisites
38diff --git a/deps/lua/Makefile b/deps/lua/Makefile
39index 209a13244..72f4b2bf2 100644
40--- a/deps/lua/Makefile
41+++ b/deps/lua/Makefile
42@@ -33,7 +33,6 @@ INSTALL_DATA= $(INSTALL) -m 0644
43
44 # Utilities.
45 MKDIR= mkdir -p
46-RANLIB= ranlib
47
48 # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
49
50diff --git a/deps/lua/src/Makefile b/deps/lua/src/Makefile
51index f3bba2f81..1555ec028 100644
52--- a/deps/lua/src/Makefile
53+++ b/deps/lua/src/Makefile
54@@ -5,18 +5,14 @@
55 # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
56
57 # Your platform. See PLATS for possible values.
58-PLAT= none
59+PLAT= linux
60
61-CC?= gcc
62-CFLAGS= -O2 -Wall $(MYCFLAGS)
63-AR= ar rcu
64-RANLIB= ranlib
65-RM= rm -f
66-LIBS= -lm $(MYLIBS)
67-
68-MYCFLAGS=
69+MYCFLAGS=-DLUA_USE_LINUX
70 MYLDFLAGS=
71-MYLIBS=
72+MYLIBS=-Wl,-E -ldl -lreadline -lhistory -lncurses
73+
74+CFLAGS += $(MYCFLAGS)
75+LIBS += -lm $(MYLIBS)
76
77 # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
78
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 000000000..3bab01e3f
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/oe-use-libc-malloc.patch
@@ -0,0 +1,39 @@
1From ad79a81d6582555e580bdba42c959477e7d35ae7 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
20---
21Upstream-Status: Pending
22
23 src/Makefile | 3 ++-
24 1 file changed, 2 insertions(+), 1 deletion(-)
25
26diff --git a/src/Makefile b/src/Makefile
27index 13fa1c027..e0b1d2722 100644
28--- a/src/Makefile
29+++ b/src/Makefile
30@@ -13,7 +13,8 @@
31 # Just use 'make dep', but this is only needed by developers.
32
33 release_hdr := $(shell sh -c './mkreleasehdr.sh')
34-uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
35+# use fake uname option to force use of generic libc
36+uname_S := "USE_LIBC_MALLOC"
37 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
38 CLANG := $(findstring clang,$(shell sh -c '$(CC) --version | head -1'))
39
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 000000000..5efff8fd4
--- /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 000000000..5c6aa5b17
--- /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.0.1.bb b/meta-oe/recipes-extended/valkey/valkey_8.0.1.bb
new file mode 100644
index 000000000..a62abebfb
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey_8.0.1.bb
@@ -0,0 +1,74 @@
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=f924153a31f3091d2c9c500317d53425"
7DEPENDS = "readline lua ncurses"
8
9SRC_URI = " \
10 git://github.com/valkey-io/valkey.git;branch=8.0;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 = "4fbab5740bfef66918d6c2950dd2b3b4e07815a2"
21
22S = "${WORKDIR}/git"
23
24inherit autotools-brokensep pkgconfig update-rc.d systemd useradd
25
26FINAL_LIBS:x86:toolchain-clang = "-latomic"
27FINAL_LIBS:riscv32:toolchain-clang = "-latomic"
28FINAL_LIBS:mips = "-latomic"
29FINAL_LIBS:arm = "-latomic"
30FINAL_LIBS:powerpc = "-latomic"
31
32export FINAL_LIBS
33
34USERADD_PACKAGES = "${PN}"
35USERADD_PARAM:${PN} = "--system --home-dir /var/lib/valkey -g valkey --shell /bin/false valkey"
36GROUPADD_PARAM:${PN} = "--system valkey"
37
38PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
39PACKAGECONFIG[systemd] = "USE_SYSTEMD=yes,USE_SYSTEMD=no,systemd"
40
41EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
42
43do_compile:prepend() {
44 (cd deps && oe_runmake hiredis lua linenoise)
45}
46
47do_install() {
48 export PREFIX=${D}/${prefix}
49 oe_runmake install
50 install -d ${D}/${sysconfdir}/valkey
51 install -m 0644 ${UNPACKDIR}/valkey.conf ${D}/${sysconfdir}/valkey/valkey.conf
52 install -d ${D}/${sysconfdir}/init.d
53 install -m 0755 ${UNPACKDIR}/init-valkey-server ${D}/${sysconfdir}/init.d/valkey-server
54 install -d ${D}/var/lib/valkey/
55 chown valkey.valkey ${D}/var/lib/valkey/
56
57 install -d ${D}${systemd_system_unitdir}
58 install -m 0644 ${UNPACKDIR}/valkey.service ${D}${systemd_system_unitdir}
59 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_system_unitdir}/valkey.service
60
61 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
62 sed -i 's!daemonize yes!# daemonize yes!' ${D}/${sysconfdir}/valkey/valkey.conf
63 sed -i 's!supervised no!supervised systemd!' ${D}/${sysconfdir}/valkey/valkey.conf
64 fi
65}
66
67CONFFILES:${PN} = "${sysconfdir}/valkey/valkey.conf"
68
69INITSCRIPT_NAME = "valkey-server"
70INITSCRIPT_PARAMS = "defaults 87"
71
72SYSTEMD_SERVICE:${PN} = "valkey.service"
73
74CVE_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 1a7592227..948d8a281 100644
--- a/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
+++ b/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
@@ -9,7 +9,7 @@ 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 \
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 7fb31f208..d4a8b49e1 100644
--- a/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb
+++ b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb
@@ -33,3 +33,4 @@ do_install:append () {
33FILES:${PN} += " ${systemd_system_unitdir} " 33FILES:${PN} += " ${systemd_system_unitdir} "
34FILES:${PN} += " ${libdir} " 34FILES:${PN} += " ${libdir} "
35FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* " 35FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* "
36FILES:${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 52f444933..000000000
--- 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 b3b9e79c5..a3b8d0c0e 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 ea204ed3b..b599f3887 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 6eef0b679..dbede0304 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 6329256b0..e3463ba17 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 628f8dee5..b650c5038 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 e4ca6579f..37d61dcb3 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 5160f2e1f..ef94e3551 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 91653e285..2ddda142e 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.6.bb
@@ -20,17 +20,18 @@ 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" 31S = "${WORKDIR}/git"
33 32
33UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
34
34# These can be either 'builtin' or 'sys' and builtin means cloned soures are 35# 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 36# build. So these cannot be PACKAGECONFIGs and let's use libs where we can (see
36# DEPENDS) 37# DEPENDS)
diff --git a/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.3.bb b/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.5.bb
index 1ddc27765..2f1e80abe 100644
--- a/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.3.bb
+++ b/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.5.bb
@@ -11,6 +11,6 @@ inherit meson
11SRC_URI = "git://github.com/lassekongo83/adw-gtk3.git;protocol=https;branch=main" 11SRC_URI = "git://github.com/lassekongo83/adw-gtk3.git;protocol=https;branch=main"
12 12
13S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
14SRCREV = "22a3b9374369640993e4a7ab84f8acc72318e501" 14SRCREV = "385a900628644dc81fa4942ac848a765229be93a"
15 15
16FILES:${PN} = "${datadir}/themes" 16FILES:${PN} = "${datadir}/themes"
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc b/meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc
index 09a3f675a..13bf64047 100644
--- a/meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc
+++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc
@@ -65,8 +65,8 @@ SRC_URI += " \
65 crate://crates.io/ppv-lite86/0.2.17 \ 65 crate://crates.io/ppv-lite86/0.2.17 \
66 crate://crates.io/proc-macro-error/1.0.4 \ 66 crate://crates.io/proc-macro-error/1.0.4 \
67 crate://crates.io/proc-macro-error-attr/1.0.4 \ 67 crate://crates.io/proc-macro-error-attr/1.0.4 \
68 crate://crates.io/proc-macro2/1.0.66 \ 68 crate://crates.io/proc-macro2/1.0.85 \
69 crate://crates.io/quote/1.0.33 \ 69 crate://crates.io/quote/1.0.36 \
70 crate://crates.io/rand/0.7.3 \ 70 crate://crates.io/rand/0.7.3 \
71 crate://crates.io/rand_chacha/0.2.2 \ 71 crate://crates.io/rand_chacha/0.2.2 \
72 crate://crates.io/rand_core/0.5.1 \ 72 crate://crates.io/rand_core/0.5.1 \
@@ -82,18 +82,18 @@ SRC_URI += " \
82 crate://crates.io/ryu/1.0.15 \ 82 crate://crates.io/ryu/1.0.15 \
83 crate://crates.io/same-file/1.0.6 \ 83 crate://crates.io/same-file/1.0.6 \
84 crate://crates.io/scopeguard/1.2.0 \ 84 crate://crates.io/scopeguard/1.2.0 \
85 crate://crates.io/serde/1.0.188 \ 85 crate://crates.io/serde/1.0.203 \
86 crate://crates.io/serde-tuple-vec-map/1.0.1 \ 86 crate://crates.io/serde-tuple-vec-map/1.0.1 \
87 crate://crates.io/serde_cbor/0.11.2 \ 87 crate://crates.io/serde_cbor/0.11.2 \
88 crate://crates.io/serde_derive/1.0.188 \ 88 crate://crates.io/serde_derive/1.0.203 \
89 crate://crates.io/serde_json/1.0.106 \ 89 crate://crates.io/serde_json/1.0.117 \
90 crate://crates.io/serde_yaml/0.9.21 \ 90 crate://crates.io/serde_yaml/0.9.21 \
91 crate://crates.io/stderrlog/0.5.4 \ 91 crate://crates.io/stderrlog/0.5.4 \
92 crate://crates.io/strsim/0.8.0 \ 92 crate://crates.io/strsim/0.8.0 \
93 crate://crates.io/structopt/0.3.26 \ 93 crate://crates.io/structopt/0.3.26 \
94 crate://crates.io/structopt-derive/0.4.18 \ 94 crate://crates.io/structopt-derive/0.4.18 \
95 crate://crates.io/syn/1.0.109 \ 95 crate://crates.io/syn/1.0.109 \
96 crate://crates.io/syn/2.0.32 \ 96 crate://crates.io/syn/2.0.66 \
97 crate://crates.io/tempfile/3.8.0 \ 97 crate://crates.io/tempfile/3.8.0 \
98 crate://crates.io/termcolor/1.1.3 \ 98 crate://crates.io/termcolor/1.1.3 \
99 crate://crates.io/textwrap/0.11.0 \ 99 crate://crates.io/textwrap/0.11.0 \
@@ -198,8 +198,8 @@ SRC_URI[plotters-svg-0.3.5.sha256sum] = "38f6d39893cca0701371e3c27294f09797214b8
198SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 198SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
199SRC_URI[proc-macro-error-1.0.4.sha256sum] = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 199SRC_URI[proc-macro-error-1.0.4.sha256sum] = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
200SRC_URI[proc-macro-error-attr-1.0.4.sha256sum] = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 200SRC_URI[proc-macro-error-attr-1.0.4.sha256sum] = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
201SRC_URI[proc-macro2-1.0.66.sha256sum] = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" 201SRC_URI[proc-macro2-1.0.85.sha256sum] = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23"
202SRC_URI[quote-1.0.33.sha256sum] = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" 202SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
203SRC_URI[rand-0.7.3.sha256sum] = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" 203SRC_URI[rand-0.7.3.sha256sum] = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
204SRC_URI[rand_chacha-0.2.2.sha256sum] = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" 204SRC_URI[rand_chacha-0.2.2.sha256sum] = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
205SRC_URI[rand_core-0.5.1.sha256sum] = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" 205SRC_URI[rand_core-0.5.1.sha256sum] = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
@@ -215,18 +215,18 @@ SRC_URI[rustix-0.38.13.sha256sum] = "d7db8590df6dfcd144d22afd1b83b36c21a18d7cbc1
215SRC_URI[ryu-1.0.15.sha256sum] = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" 215SRC_URI[ryu-1.0.15.sha256sum] = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
216SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 216SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
217SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 217SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
218SRC_URI[serde-1.0.188.sha256sum] = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" 218SRC_URI[serde-1.0.203.sha256sum] = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094"
219SRC_URI[serde-tuple-vec-map-1.0.1.sha256sum] = "a04d0ebe0de77d7d445bb729a895dcb0a288854b267ca85f030ce51cdc578c82" 219SRC_URI[serde-tuple-vec-map-1.0.1.sha256sum] = "a04d0ebe0de77d7d445bb729a895dcb0a288854b267ca85f030ce51cdc578c82"
220SRC_URI[serde_cbor-0.11.2.sha256sum] = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" 220SRC_URI[serde_cbor-0.11.2.sha256sum] = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5"
221SRC_URI[serde_derive-1.0.188.sha256sum] = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" 221SRC_URI[serde_derive-1.0.203.sha256sum] = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba"
222SRC_URI[serde_json-1.0.106.sha256sum] = "2cc66a619ed80bf7a0f6b17dd063a84b88f6dea1813737cf469aef1d081142c2" 222SRC_URI[serde_json-1.0.117.sha256sum] = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3"
223SRC_URI[serde_yaml-0.9.21.sha256sum] = "d9d684e3ec7de3bf5466b32bd75303ac16f0736426e5a4e0d6e489559ce1249c" 223SRC_URI[serde_yaml-0.9.21.sha256sum] = "d9d684e3ec7de3bf5466b32bd75303ac16f0736426e5a4e0d6e489559ce1249c"
224SRC_URI[stderrlog-0.5.4.sha256sum] = "69a26bbf6de627d389164afa9783739b56746c6c72c4ed16539f4ff54170327b" 224SRC_URI[stderrlog-0.5.4.sha256sum] = "69a26bbf6de627d389164afa9783739b56746c6c72c4ed16539f4ff54170327b"
225SRC_URI[strsim-0.8.0.sha256sum] = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 225SRC_URI[strsim-0.8.0.sha256sum] = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
226SRC_URI[structopt-0.3.26.sha256sum] = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" 226SRC_URI[structopt-0.3.26.sha256sum] = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10"
227SRC_URI[structopt-derive-0.4.18.sha256sum] = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" 227SRC_URI[structopt-derive-0.4.18.sha256sum] = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0"
228SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 228SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
229SRC_URI[syn-2.0.32.sha256sum] = "239814284fd6f1a4ffe4ca893952cdd93c224b6a1571c9a9eadd670295c0c9e2" 229SRC_URI[syn-2.0.66.sha256sum] = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5"
230SRC_URI[tempfile-3.8.0.sha256sum] = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" 230SRC_URI[tempfile-3.8.0.sha256sum] = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef"
231SRC_URI[termcolor-1.1.3.sha256sum] = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" 231SRC_URI[termcolor-1.1.3.sha256sum] = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
232SRC_URI[textwrap-0.11.0.sha256sum] = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 232SRC_URI[textwrap-0.11.0.sha256sum] = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch
index e29b78fde..1e2cdacf4 100644
--- a/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch
+++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch
@@ -89,9 +89,9 @@ index 8443695e2bd5..50924576a8e3 100644
89- 89-
90-[[package]] 90-[[package]]
91-name = "zstd-sys" 91-name = "zstd-sys"
92-version = "2.0.11+zstd.1.5.6" 92-version = "2.0.10+zstd.1.5.6"
93-source = "registry+https://github.com/rust-lang/crates.io-index" 93-source = "registry+https://github.com/rust-lang/crates.io-index"
94-checksum = "75652c55c0b6f3e6f12eb786fe1bc960396bf05a1eb3bf1f3691c3610ac2e6d4" 94-checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa"
95-dependencies = [ 95-dependencies = [
96- "cc", 96- "cc",
97- "pkg-config", 97- "pkg-config",
@@ -116,7 +116,7 @@ index e7095267f1cd..ff7bc4f5d025 100644
116+++ b/src/lib.rs 116+++ b/src/lib.rs
117@@ -63,7 +63,6 @@ use rayon::prelude::*; 117@@ -63,7 +63,6 @@ use rayon::prelude::*;
118 use regex::RegexSet; 118 use regex::RegexSet;
119 use serde::Deserialize; 119 use serde::{Deserialize, Serialize};
120 use std::collections::HashMap; 120 use std::collections::HashMap;
121-use std::ffi::OsStr; 121-use std::ffi::OsStr;
122 use std::fs::File; 122 use std::fs::File;
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.0.bb b/meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.2.bb
index 04de074d2..cf1cafa12 100644
--- a/meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.0.bb
+++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.2.bb
@@ -9,10 +9,10 @@ LIC_FILES_CHKSUM = " \
9inherit cargo cargo-update-recipe-crates 9inherit cargo cargo-update-recipe-crates
10 10
11SRC_URI += " \ 11SRC_URI += " \
12 crate://crates.io/deqp-runner/0.20.0 \ 12 crate://crates.io/deqp-runner/${PV} \
13 file://0001-deqp-runner-drop-zstd-support.patch \ 13 file://0001-deqp-runner-drop-zstd-support.patch \
14" 14"
15 15
16SRC_URI[deqp-runner-0.20.0.sha256sum] = "a3f4fab1179a01cbbdbe4b93e0a040f74de7b9086498d91976d93844a31439dd" 16SRC_URI[deqp-runner-0.20.2.sha256sum] = "600ea527945ea2d0c5d2987d6adb4d2944731ea95906de2c94eb419148cc398b"
17 17
18require deqp-runner-crates.inc 18require deqp-runner-crates.inc
diff --git a/meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb b/meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb
new file mode 100644
index 000000000..9f1cbb47f
--- /dev/null
+++ b/meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb
@@ -0,0 +1,13 @@
1SUMMARY = "Small utility to dump info about DRM devices"
2HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"
5
6SRC_URI = "git://gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https"
7SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc"
8
9S = "${WORKDIR}/git"
10
11inherit meson pkgconfig
12
13DEPENDS = "json-c libdrm"
diff --git a/meta-oe/recipes-graphics/glad/glad_2.0.8.bb b/meta-oe/recipes-graphics/glad/glad_2.0.8.bb
new file mode 100644
index 000000000..4065c27e6
--- /dev/null
+++ b/meta-oe/recipes-graphics/glad/glad_2.0.8.bb
@@ -0,0 +1,12 @@
1SUMMARY = "Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications for multiple languages."
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=ae570f26774ac096cff8f992091a223c"
4
5SRC_URI = "git://github.com/Dav1dde/glad.git;protocol=https;branch=glad2"
6SRCREV = "73db193f853e2ee079bf3ca8a64aa2eaf6459043"
7S = "${WORKDIR}/git"
8
9inherit python_setuptools_build_meta
10
11BBCLASSEXTEND = "native nativesdk"
12RDEPENDS:${PN} = "python3 python3-jinja2"
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch b/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch
deleted file mode 100644
index 0d3f41270..000000000
--- a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From 671e0d091b40ef7deb4a9d43e0dbed2a44edbec8 Mon Sep 17 00:00:00 2001
2From: Matthew Fernandez <matthew.fernandez@gmail.com>
3Date: Sat, 9 Sep 2023 01:03:04 -0700
4Subject: [PATCH] Autotools: fix: do not put '$prefix' based paths in
5 compilation flags
6
7This was causing problems with cross-compilation with a dedicated sysroot,
8because compilation would incorrectly use headers and libraries from the
9`--prefix` path. The `--prefix` path is meant to indicate a target path to
10install to, not a path from which to source dependent libraries.
11
12Gitlab: fixes #2442
13Reported-by: Daniel Klauer
14Suggested-by: Daniel Klauer
15
16Upstream-Status: Backport [https://gitlab.com/graphviz/graphviz/-/commit/012d250a903e13114bce3ba40995fb957fed7848]
17Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
18---
19 CHANGELOG.md | 3 +++
20 configure.ac | 8 --------
21 2 files changed, 3 insertions(+), 8 deletions(-)
22
23diff --git a/CHANGELOG.md b/CHANGELOG.md
24index b9b7e8e08..3a15fd256 100644
25--- a/CHANGELOG.md
26+++ b/CHANGELOG.md
27@@ -39,6 +39,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
28 longer fails due to missing PHP files. #2388
29 - Syntax for a loop in `gvmap.sh` has been corrected. This was a regression in
30 Graphviz 2.50.0. #2404
31+- The Autotools build system no longer uses headers and libraries from the
32+ `--prefix` path given on the command line. This previously caused
33+ cross-compilation to incorrectly pick up host headers and libraries. #2442
34
35 ## [8.0.5] – 2023-04-30
36
37diff --git a/configure.ac b/configure.ac
38index 573a3ee5d..7d53346de 100644
39--- a/configure.ac
40+++ b/configure.ac
41@@ -190,14 +190,6 @@ if test "x${prefix}" = "xNONE"; then
42 AC_SUBST([prefix])
43 fi
44
45-# automatically check for other dependencies in $prefix first
46-if test "x${prefix}" != "x/usr"; then
47- CPPFLAGS="$CPPFLAGS -I${prefix}/include"
48- LDFLAGS="$LDFLAGS -L${prefix}/lib"
49- PKG_CONFIG_PATH="$prefix/lib/pkgconfig$PATHSEPARATOR$PKG_CONFIG_PATH"
50- export PKG_CONFIG_PATH
51-fi
52-
53 dnl -----------------------------------
54 # Static/Shared binaries
55
56--
572.34.1
58
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch b/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch
deleted file mode 100644
index 99b53e2e1..000000000
--- a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 564901ab78da2b2b1bed92351dc3c102dc0a8154 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 6 Aug 2019 17:51:39 -0700
4Subject: [PATCH] Set use_tcl to be empty string if tcl is disabled
5
6Upstream-Status: Inappropriate [Cross-compile specific]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 configure.ac | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12--- a/configure.ac
13+++ b/configure.ac
14@@ -1225,7 +1225,7 @@ AC_ARG_ENABLE(tcl,
15 [], [enable_tcl=yes])
16
17 if test "x$enable_tcl" != "xyes"; then
18- use_tcl="No (disabled)"
19+ use_tcl=""
20 fi
21
22 if test "x$use_tcl" = "x"; then
23--- a/Makefile.am
24+++ b/Makefile.am
25@@ -11,7 +11,7 @@ pkginclude_HEADERS = $(top_builddir)/gra
26 dist_man_MANS = graphviz.7
27
28 # $(subdirs) contains the list from: AC_CONFIG_SUBDIRS
29-SUBDIRS = $(subdirs) lib plugin cmd tclpkg doc contrib share graphs tests
30+SUBDIRS = $(subdirs) lib plugin cmd doc contrib share graphs tests
31
32 .PHONY: doxygen
33 doxygen:
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb b/meta-oe/recipes-graphics/graphviz/graphviz_12.1.2.bb
index 7548e976f..36c434c51 100644
--- a/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb
+++ b/meta-oe/recipes-graphics/graphviz/graphviz_12.1.2.bb
@@ -19,16 +19,11 @@ DEPENDS:append:class-nativesdk = " ${BPN}-native"
19inherit autotools-brokensep pkgconfig gettext qemu 19inherit autotools-brokensep pkgconfig gettext qemu
20 20
21SRC_URI = "https://gitlab.com/api/v4/projects/4207231/packages/generic/${BPN}-releases/${PV}/${BP}.tar.xz \ 21SRC_URI = "https://gitlab.com/api/v4/projects/4207231/packages/generic/${BPN}-releases/${PV}/${BP}.tar.xz \
22 file://0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch \
23 " 22 "
24# Use native mkdefs
25SRC_URI:append:class-target = "\
26 file://0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch \
27"
28SRC_URI:append:class-nativesdk = "\ 23SRC_URI:append:class-nativesdk = "\
29 file://graphviz-setup.sh \ 24 file://graphviz-setup.sh \
30" 25"
31SRC_URI[sha256sum] = "d593695fdaa8a19297523b679ad13d3ef2027b0b7f14cc2bc23e77969ed81565" 26SRC_URI[sha256sum] = "cf9e6de9d5949dffbc4dd46f833085ff8e7e55482ffb84641819bbf0d18c5f02"
32 27
33UPSTREAM_CHECK_URI = "https://graphviz.org/download/" 28UPSTREAM_CHECK_URI = "https://graphviz.org/download/"
34UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 29UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
@@ -43,6 +38,7 @@ EXTRA_OECONF:class-target = "\
43 --with-expatlibdir=${STAGING_LIBDIR} \ 38 --with-expatlibdir=${STAGING_LIBDIR} \
44 --without-included-ltdl \ 39 --without-included-ltdl \
45 --disable-java \ 40 --disable-java \
41 --disable-perl \
46 --disable-tcl \ 42 --disable-tcl \
47 --disable-r \ 43 --disable-r \
48 --disable-sharp \ 44 --disable-sharp \
diff --git a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.120.bb b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb
index b7807c885..3f94933e6 100644
--- a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.120.bb
+++ b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb
@@ -6,7 +6,7 @@ LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e" 6LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
7 7
8SRC_URI = "http://gtkwave.sourceforge.net/gtkwave-gtk3-${PV}.tar.gz" 8SRC_URI = "http://gtkwave.sourceforge.net/gtkwave-gtk3-${PV}.tar.gz"
9SRC_URI[sha256sum] = "5da94863fb2e5d88cc019e2bfdc676022398113894b585d864e11ca8341b24d8" 9SRC_URI[sha256sum] = "54aa45788d6d52afb659c3aef335aafde0ef2c8990a7770f8eaa64e57f227346"
10S = "${WORKDIR}/${BPN}-gtk3-${PV}" 10S = "${WORKDIR}/${BPN}-gtk3-${PV}"
11 11
12DEPENDS = " \ 12DEPENDS = " \
@@ -33,12 +33,15 @@ REQUIRED_DISTRO_FEATURES = "wayland x11"
33 33
34EXTRA_OECONF = " \ 34EXTRA_OECONF = " \
35 --enable-gtk3 \ 35 --enable-gtk3 \
36 --with-tcl=${STAGING_BINDIR_CROSS} \
37 --with-tk=${STAGING_BINDIR_CROSS} \
38 --with-tirpc \ 36 --with-tirpc \
39 --disable-mime-update \ 37 --disable-mime-update \
40" 38"
41 39
40PACKAGECONFIG = ""
41
42PACKAGECONFIG[tcl] = "--with-tcl=${STAGING_BINDIR_CROSS},--disable-tcl,tcl"
43PACKAGECONFIG[tk] = "--with-tk=${STAGING_BINDIR_CROSS},--disable-tcl,tk"
44
42FILES:${PN} = "${bindir} ${datadir}" 45FILES:${PN} = "${bindir} ${datadir}"
43 46
44RDEPENDS:${PN} += "tk-lib" 47RDEPENDS:${PN} += "tk-lib"
diff --git a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb b/meta-oe/recipes-graphics/jasper/jasper_4.2.4.bb
index 5281980ec..4796a8519 100644
--- a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb
+++ b/meta-oe/recipes-graphics/jasper/jasper_4.2.4.bb
@@ -3,13 +3,11 @@ HOMEPAGE = "https://jasper-software.github.io/jasper/"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a80440d1d8f17d041c71c7271d6e06eb" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a80440d1d8f17d041c71c7271d6e06eb"
5 5
6SRC_URI = "git://github.com/jasper-software/jasper.git;protocol=https;branch=master" 6SRC_URI = "https://github.com/jasper-software/${BPN}/releases/download/version-${PV}/${BP}.tar.gz"
7SRCREV = "917f7708b755d8434f70618108c1a76f1b6a0a82" 7SRC_URI[sha256sum] = "6a597613d8d84c500b5b83bf0eec06cd3707c23d19957f70354ac2394c9914e7"
8 8
9CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." 9CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
10 10
11S = "${WORKDIR}/git"
12
13inherit cmake multilib_header 11inherit cmake multilib_header
14 12
15do_configure:prepend() { 13do_configure:prepend() {
@@ -31,4 +29,3 @@ do_install:append() {
31 chrpath -d ${D}${libdir}/libjasper.so.* 29 chrpath -d ${D}${libdir}/libjasper.so.*
32 oe_multilib_header jasper/jas_config.h 30 oe_multilib_header jasper/jas_config.h
33} 31}
34
diff --git a/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb b/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb
new file mode 100644
index 000000000..0e88e84af
--- /dev/null
+++ b/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Firmware file compiler for the panel-mipi-dbi display driver"
2DESCRIPTION = "The panel-mipi-dbi Linux display driver allows using the same \
3 driver for most MIPI DBI based display panels. \
4 This means many displays attached via SPI, even if the \
5 datasheet does not explicitly mention DBI support. \
6 To do so it uses tiny firmware files that contain \
7 display/controller-specific initialization commands. \
8 The mipi-dbi-cmd tool compiles these firmware files from a \
9 text format to a firmware blob format."
10HOMEPAGE = "https://github.com/notro/panel-mipi-dbi"
11SECTION = "graphics"
12LICENSE = "CC0-1.0"
13LIC_FILES_CHKSUM = "file://mipi-dbi-cmd;beginline=4;endline=13;md5=5e3d3f14cc87aa9e8976d728520cbcae"
14SRCREV = "1cbd40135a8c7f25d7b444a7fac77fd3c3ad471e"
15
16SRC_URI = "git://github.com/notro/panel-mipi-dbi.git;protocol=https;branch=main"
17
18S = "${WORKDIR}/git"
19
20inherit native
21
22do_configure[noexec] = "1"
23do_compile[noexec] = "1"
24do_install () {
25 install -D -p -m 0755 ${S}/mipi-dbi-cmd ${D}${bindir}/mipi-dbi-cmd
26}
27
28RDEPENDS:${PN} += "python3-native"
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch b/meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch
index 5a42e67d0..0d58d2502 100644
--- a/meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch
+++ b/meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch
@@ -1,4 +1,4 @@
1From 076d0e12a7be6cd2108e4ca0dcde1cb658918fa5 Mon Sep 17 00:00:00 2001 1From e117ccc2b4ebb116ab63a3aa6097104964ee223b Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 19 Apr 2021 23:02:45 -0700 3Date: Mon, 19 Apr 2021 23:02:45 -0700
4Subject: [PATCH] do not build tests sub directory 4Subject: [PATCH] do not build tests sub directory
@@ -12,19 +12,19 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
12 1 file changed, 3 deletions(-) 12 1 file changed, 3 deletions(-)
13 13
14diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index 7bf99441..bda80598 100644 15index 468f4b54..c47c9c0e 100644
16--- a/CMakeLists.txt 16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
18@@ -304,9 +304,6 @@ if(BUILD_VIEWER) 18@@ -351,9 +351,6 @@ if(BUILD_VIEWER)
19 add_subdirectory(media) 19 add_subdirectory(media)
20 endif() 20 endif()
21 21
22-add_subdirectory(tests) 22-add_subdirectory(tests)
23- 23-
24- 24-
25 add_subdirectory(release) 25 if(BUILD_VIEWER)
26 26 add_subdirectory(release)
27 # uninstall 27 endif()
28-- 28--
292.30.2 292.25.1
30 30
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch b/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch
index cfb84ac14..56bed4bbf 100644
--- a/meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch
+++ b/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch
@@ -1,7 +1,7 @@
1From 6369a5be2af2ed1fa443f40f48deaf318d22713e Mon Sep 17 00:00:00 2001 1From 7ca0b0a4f8a37f9dbe461e28a731364b9aaa60bb Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 20 Jul 2017 05:06:00 -0400 3Date: Thu, 20 Jul 2017 05:06:00 -0400
4Subject: [PATCH 3/4] add missing dynamic library to FLTK_LIBRARIES 4Subject: [PATCH] add missing dynamic library to FLTK_LIBRARIES
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -11,10 +11,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11 1 file changed, 2 insertions(+) 11 1 file changed, 2 insertions(+)
12 12
13diff --git a/CMakeLists.txt b/CMakeLists.txt 13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index fb72a00..5732dc8 100644 14index c47c9c0e..f4b576a0 100644
15--- a/CMakeLists.txt 15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt 16+++ b/CMakeLists.txt
17@@ -246,6 +246,8 @@ if(UNIX AND NOT APPLE) 17@@ -270,6 +270,8 @@ if(BUILD_VIEWER)
18 endif() 18 endif()
19 endif() 19 endif()
20 20
@@ -24,5 +24,5 @@ index fb72a00..5732dc8 100644
24 option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication" ON) 24 option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication" ON)
25 if(ENABLE_GNUTLS) 25 if(ENABLE_GNUTLS)
26-- 26--
272.7.4 272.25.1
28 28
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch b/meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch
index 5f14665b8..c292df4a5 100644
--- a/meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch
+++ b/meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch
@@ -1,4 +1,4 @@
1From 7f8acd59bb2e54f9be25a98dd71534700a9e355a Mon Sep 17 00:00:00 2001 1From 36bf37cb638cd87d7f8eb96afaf69c2d95177614 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 19 Apr 2021 23:14:28 -0700 3Date: Mon, 19 Apr 2021 23:14:28 -0700
4Subject: [PATCH] tigervnc: add fPIC option to COMPILE_FLAGS 4Subject: [PATCH] tigervnc: add fPIC option to COMPILE_FLAGS
@@ -18,35 +18,35 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
18 3 files changed, 3 insertions(+) 18 3 files changed, 3 insertions(+)
19 19
20diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt 20diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt
21index d00ca452..e84e0290 100644 21index f08eaa31..85c05951 100644
22--- a/common/network/CMakeLists.txt 22--- a/common/network/CMakeLists.txt
23+++ b/common/network/CMakeLists.txt 23+++ b/common/network/CMakeLists.txt
24@@ -16,4 +16,5 @@ endif() 24@@ -15,4 +15,5 @@ endif()
25 25
26 if(UNIX) 26 if(UNIX)
27 libtool_create_control_file(network) 27 libtool_create_control_file(network)
28+ set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC) 28+ set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC)
29 endif() 29 endif()
30diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt 30diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt
31index 989ba2f4..20f6489d 100644 31index 30c2403a..94e1ff98 100644
32--- a/common/rdr/CMakeLists.txt 32--- a/common/rdr/CMakeLists.txt
33+++ b/common/rdr/CMakeLists.txt 33+++ b/common/rdr/CMakeLists.txt
34@@ -27,4 +27,5 @@ target_link_libraries(rdr ${RDR_LIBRARIES}) 34@@ -35,4 +35,5 @@ endif()
35 35
36 if(UNIX) 36 if(UNIX)
37 libtool_create_control_file(rdr) 37 libtool_create_control_file(rdr)
38+ set_target_properties(rdr PROPERTIES COMPILE_FLAGS -fPIC) 38+ set_target_properties(rdr PROPERTIES COMPILE_FLAGS -fPIC)
39 endif() 39 endif()
40diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt 40diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt
41index fc5a37bf..7f5ce131 100644 41index 360434a9..28566e90 100644
42--- a/common/rfb/CMakeLists.txt 42--- a/common/rfb/CMakeLists.txt
43+++ b/common/rfb/CMakeLists.txt 43+++ b/common/rfb/CMakeLists.txt
44@@ -99,4 +99,5 @@ target_link_libraries(rfb ${RFB_LIBRARIES}) 44@@ -116,4 +116,5 @@ endif()
45 45
46 if(UNIX) 46 if(UNIX)
47 libtool_create_control_file(rfb) 47 libtool_create_control_file(rfb)
48+ set_target_properties(rfb PROPERTIES COMPILE_FLAGS -fPIC) 48+ set_target_properties(rfb PROPERTIES COMPILE_FLAGS -fPIC)
49 endif() 49 endif()
50-- 50--
512.30.2 512.25.1
52 52
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.0.bb
index 668ca79dd..c5268fd2b 100644
--- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb
+++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.0.bb
@@ -15,21 +15,20 @@ REQUIRED_DISTRO_FEATURES = "x11 pam"
15 15
16B = "${S}" 16B = "${S}"
17 17
18SRCREV = "540bfc3278e396321124d4b18a798ac2bc18b6ca" 18SRCREV = "4a09a96661624dff14662d6e9849e06a6c70ae03"
19 19
20SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.11-branch;protocol=https \ 20SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.14-branch;protocol=https \
21 file://0002-do-not-build-tests-sub-directory.patch \ 21 file://0001-do-not-build-tests-sub-directory.patch \
22 file://0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \ 22 file://0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \
23 file://0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \ 23 file://0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \
24" 24"
25 25
26# Keep sync with xorg-server in oe-core 26# Keep sync with xorg-server in oe-core
27XORG_PN ?= "xorg-server" 27XORG_PN ?= "xorg-server"
28XORG_PV ?= "1.20.6" 28XORG_PV ?= "21.1.13"
29SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.bz2;name=xorg" 29SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.xz;name=xorg"
30XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}" 30XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}"
31SRC_URI[xorg.md5sum] = "a98170084f2c8fed480d2ff601f8a14b" 31SRC_URI[xorg.sha256sum] = "b45a02d5943f72236a360d3cc97e75134aa4f63039ff88c04686b508a3dc740c"
32SRC_URI[xorg.sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1"
33 32
34# It is the directory containing the Xorg source for the 33# It is the directory containing the Xorg source for the
35# machine on which you are building TigerVNC. 34# machine on which you are building TigerVNC.
@@ -37,16 +36,13 @@ XSERVER_SOURCE_DIR="${S}/unix/xserver"
37 36
38do_patch[postfuncs] += "do_patch_xserver" 37do_patch[postfuncs] += "do_patch_xserver"
39do_patch_xserver () { 38do_patch_xserver () {
40 for subdir in Xext xkb GL hw/xquartz/bundle hw/xfree86/common; do 39 subdirs="Xext xkb GL hw/xquartz/bundle hw/xfree86/common man doc"
41 install -d ${XSERVER_SOURCE_DIR}/$subdir 40 for i in ${subdirs}; do
42 done 41 install -d ${XSERVER_SOURCE_DIR}/$i
43
44 for subdir in hw/dmx/doc man doc hw/dmx/doxygen; do
45 install -d ${XSERVER_SOURCE_DIR}/$subdir
46 done 42 done
47 43
48 sources="hw/xquartz/bundle/cpprules.in man/Xserver.man doc/smartsched \ 44 sources="hw/xquartz/bundle/cpprules.in man/Xserver.man doc/smartsched \
49 hw/dmx/doxygen/doxygen.conf.in xserver.ent.in xkb/README.compiled \ 45 xserver.ent.in xkb/README.compiled \
50 hw/xfree86/xorgconf.cpp hw/xfree86/Xorg.sh.in" 46 hw/xfree86/xorgconf.cpp hw/xfree86/Xorg.sh.in"
51 for i in ${sources}; do 47 for i in ${sources}; do
52 install -m 0644 ${XORG_S}/$i ${XSERVER_SOURCE_DIR}/$i; 48 install -m 0644 ${XORG_S}/$i ${XSERVER_SOURCE_DIR}/$i;
@@ -57,7 +53,7 @@ do_patch_xserver () {
57 xargs tar cf - | (cd ${XSERVER_SOURCE_DIR} && tar xf -) 53 xargs tar cf - | (cd ${XSERVER_SOURCE_DIR} && tar xf -)
58 54
59 cd ${XSERVER_SOURCE_DIR} 55 cd ${XSERVER_SOURCE_DIR}
60 xserverpatch="${S}/unix/xserver120.patch" 56 xserverpatch="${S}/unix/xserver21.patch"
61 echo "Apply $xserverpatch" 57 echo "Apply $xserverpatch"
62 patch -p1 -b --suffix .vnc < $xserverpatch 58 patch -p1 -b --suffix .vnc < $xserverpatch
63} 59}
@@ -127,6 +123,7 @@ do_install:append() {
127FILES:${PN} += " \ 123FILES:${PN} += " \
128 ${libdir}/xorg/modules/extensions \ 124 ${libdir}/xorg/modules/extensions \
129 ${datadir}/icons \ 125 ${datadir}/icons \
126 ${datadir}/metainfo \
130 ${systemd_unitdir} \ 127 ${systemd_unitdir} \
131" 128"
132 129
diff --git a/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb b/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb
index 33e4e0998..ba1fbdbe0 100644
--- a/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb
+++ b/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb
@@ -12,7 +12,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
12SRC_URI = "https://github.com/jordansissel/${BPN}/releases/download/v${PV}/${BP}.tar.gz" 12SRC_URI = "https://github.com/jordansissel/${BPN}/releases/download/v${PV}/${BP}.tar.gz"
13SRC_URI[sha256sum] = "96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada" 13SRC_URI[sha256sum] = "96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada"
14 14
15EXTRA_OEMAKE = "PREFIX=${prefix} INSTALLLIB=${libdir} INSTALLMAN=${mandir}" 15EXTRA_OEMAKE = "PREFIX=${prefix} INSTALLLIB=${libdir} INSTALLMAN=${mandir} WITHOUT_RPATH_FIX=1"
16 16
17UPSTREAM_CHECK_URI="https://github.com/jordansissel/xdotool/tags" 17UPSTREAM_CHECK_URI="https://github.com/jordansissel/xdotool/tags"
18UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+\.\d{8}\.\d+)" 18UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+\.\d{8}\.\d+)"
diff --git a/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.6.bb b/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.7.bb
index e866bed01..9b8c655ac 100644
--- a/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.6.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.7.bb
@@ -9,5 +9,5 @@ DEPENDS += "libxkbfile"
9 9
10BBCLASSEXTEND = "native" 10BBCLASSEXTEND = "native"
11 11
12SRC_URI[sha256sum] = "99cc9404f7b90289ae04944c0d98a208cc8b158492ad6481386e31d4d09aa7b0" 12SRC_URI[sha256sum] = "1c4f49c030329e0defd8c7bc3739e60f2aa1d2aabe0e2d7e63740ab629aa59cc"
13SRC_URI_EXT = "xz" 13SRC_URI_EXT = "xz"
diff --git a/meta-oe/recipes-graphics/xorg-app/xmag_1.0.7.bb b/meta-oe/recipes-graphics/xorg-app/xmag_1.0.8.bb
index f3dac5345..1589f9ae6 100644
--- a/meta-oe/recipes-graphics/xorg-app/xmag_1.0.7.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xmag_1.0.8.bb
@@ -8,4 +8,4 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3413fe6832380b44b69b172d2d1b2387"
8DEPENDS += " libxaw libxt" 8DEPENDS += " libxaw libxt"
9 9
10SRC_URI_EXT = "xz" 10SRC_URI_EXT = "xz"
11SRC_URI[sha256sum] = "009936cc5a2706084079127b26cf55c713767650a34cb69e5682d60e33ce7461" 11SRC_URI[sha256sum] = "326d3c583d795bb53ac609d144e7f7fb1499baba7eaec14b8e6cd232ea069532"
diff --git a/meta-oe/recipes-graphics/xorg-app/xwud_1.0.6.bb b/meta-oe/recipes-graphics/xorg-app/xwud_1.0.7.bb
index 1be0b5cd7..27138f23f 100644
--- a/meta-oe/recipes-graphics/xorg-app/xwud_1.0.6.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xwud_1.0.7.bb
@@ -9,4 +9,4 @@ LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://COPYING;md5=31e8892c80b7a0c1c5f37c8e8ae6d794" 9LIC_FILES_CHKSUM = "file://COPYING;md5=31e8892c80b7a0c1c5f37c8e8ae6d794"
10 10
11SRC_URI_EXT = "xz" 11SRC_URI_EXT = "xz"
12SRC_URI[sha256sum] = "64048cd15eba3cd9a3d2e3280650391259ebf6b529f2101d1a20f441038c1afe" 12SRC_URI[sha256sum] = "e55cbedab36d7a5f671abf8e594888afc48caa116d51d429ea53ea317ec0c61e"
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.0.1.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.1.0.bb
index 34b3e4cde..5ad64eede 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.0.1.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.1.0.bb
@@ -11,7 +11,7 @@ DEPENDS += "virtual/libx11 libpciaccess"
11COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' 11COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
12 12
13XORG_DRIVER_COMPRESSOR = ".tar.xz" 13XORG_DRIVER_COMPRESSOR = ".tar.xz"
14SRC_URI[sha256sum] = "27a33b70837965bb4a5f27fd260be085ca5bba837a4e62907f093c2f205603ab" 14SRC_URI[sha256sum] = "7bf85dbf4efa17b7cdd483be8f61cf11fd73d0310514b6ae10d89358de63ab73"
15 15
16PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}" 16PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}"
17PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xorgproto,xserver-xorg-extension-dri" 17PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xorgproto,xserver-xorg-extension-dri"
diff --git a/meta-oe/recipes-kernel/cpupower/cpupower.bb b/meta-oe/recipes-kernel/cpupower/cpupower.bb
index 18e363805..453ebe8c7 100644
--- a/meta-oe/recipes-kernel/cpupower/cpupower.bb
+++ b/meta-oe/recipes-kernel/cpupower/cpupower.bb
@@ -7,7 +7,7 @@ PROVIDES = "virtual/cpupower"
7 7
8inherit kernelsrc kernel-arch bash-completion 8inherit kernelsrc kernel-arch bash-completion
9 9
10do_populate_lic[depends] += "virtual/kernel:do_patch" 10do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
11 11
12EXTRA_OEMAKE = "-C ${S}/tools/power/cpupower O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" 12EXTRA_OEMAKE = "-C ${S}/tools/power/cpupower O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"
13 13
diff --git a/meta-oe/recipes-kernel/drgn/python3-drgn_0.0.27.bb b/meta-oe/recipes-kernel/drgn/python3-drgn_0.0.29.bb
index 10d7c6ffd..91f026277 100644
--- a/meta-oe/recipes-kernel/drgn/python3-drgn_0.0.27.bb
+++ b/meta-oe/recipes-kernel/drgn/python3-drgn_0.0.29.bb
@@ -6,7 +6,7 @@ LICENSE = " LGPL-2.1-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=7c83d30e99508d6b790eacdd3abab846" 6LIC_FILES_CHKSUM = "file://COPYING;md5=7c83d30e99508d6b790eacdd3abab846"
7 7
8SRC_URI = "git://github.com/osandov/drgn.git;protocol=https;branch=main" 8SRC_URI = "git://github.com/osandov/drgn.git;protocol=https;branch=main"
9SRCREV = "a8dfc9e31f551d4b3c3d4307fa19ab6b3bfafb1c" 9SRCREV = "86b29d041c965030c24e9ab0a6907ff22c2a75fa"
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
12 12
diff --git a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
index 23ea0d8aa..3b5866180 100644
--- a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
+++ b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
@@ -13,7 +13,7 @@ COMPATIBLE_HOST:libc-musl = 'null'
13 13
14DEPENDS = "libnl" 14DEPENDS = "libnl"
15 15
16do_populate_lic[depends] += "virtual/kernel:do_patch" 16do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
17 17
18B = "${WORKDIR}/${BPN}-${PV}" 18B = "${WORKDIR}/${BPN}-${PV}"
19 19
diff --git a/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb b/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
index dcd3edaf3..f53150cfa 100644
--- a/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
+++ b/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
@@ -26,6 +26,9 @@ SRC_URI = "git://codeberg.org/ipmitool/ipmitool;protocol=https;branch=master \
26 ${IANA_ENTERPRISE_NUMBERS} \ 26 ${IANA_ENTERPRISE_NUMBERS} \
27 file://0001-csv-revision-Drop-the-git-revision-info.patch \ 27 file://0001-csv-revision-Drop-the-git-revision-info.patch \
28 " 28 "
29
30UPSTREAM_CHECK_GITTAGREGEX = "IPMITOOL_(?P<pver>\d+(_\d+)+)"
31
29IANA_ENTERPRISE_NUMBERS ?= "" 32IANA_ENTERPRISE_NUMBERS ?= ""
30 33
31# Add these via bbappend if this database is needed by the system 34# Add these via bbappend if this database is needed by the system
diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
index 889fe3e22..f83b07dd9 100644
--- a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
+++ b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
@@ -56,7 +56,7 @@ TEST_LIST = "\
56EXTRA_OEMAKE = '\ 56EXTRA_OEMAKE = '\
57 CROSS_COMPILE=${TARGET_PREFIX} \ 57 CROSS_COMPILE=${TARGET_PREFIX} \
58 ARCH=${ARCH} \ 58 ARCH=${ARCH} \
59 CC="${CC}" \ 59 CC="${CC} ${DEBUG_PREFIX_MAP}" \
60 AR="${AR}" \ 60 AR="${AR}" \
61 LD="${LD}" \ 61 LD="${LD}" \
62 CLANG="clang -fno-stack-protector -target ${TARGET_ARCH} ${TOOLCHAIN_OPTIONS} -isystem ${S} -D__WORDSIZE=\'64\' -Wno-error=unused-command-line-argument" \ 62 CLANG="clang -fno-stack-protector -target ${TARGET_ARCH} ${TOOLCHAIN_OPTIONS} -isystem ${S} -D__WORDSIZE=\'64\' -Wno-error=unused-command-line-argument" \
@@ -97,25 +97,13 @@ either install it and add it to HOSTTOOLS, or add clang-native from meta-clang t
97 sed -i -e '/mrecord-mcount/d' ${S}/Makefile 97 sed -i -e '/mrecord-mcount/d' ${S}/Makefile
98 sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/Makefile 98 sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/Makefile
99 sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/scripts/Makefile.* 99 sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/scripts/Makefile.*
100 for i in ${TEST_LIST} 100 oe_runmake -C ${S}/tools/testing/selftests TARGETS="${TEST_LIST}"
101 do
102 oe_runmake -C ${S}/tools/testing/selftests/${i}
103 done
104} 101}
105 102
106do_install() { 103do_install() {
107 for i in ${TEST_LIST} 104 oe_runmake -C ${S}/tools/testing/selftests INSTALL_PATH=${D}/usr/kernel-selftest TARGETS="${TEST_LIST}" install
108 do
109 oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/usr/kernel-selftest/${i} install
110 # Install kselftest-list.txt that required by kselftest runner.
111 oe_runmake -s --no-print-directory COLLECTION=${i} -C ${S}/tools/testing/selftests/${i} emit_tests \
112 >> ${D}/usr/kernel-selftest/kselftest-list.txt
113 done
114 # Install kselftest runner.
115 install -m 0755 ${S}/tools/testing/selftests/run_kselftest.sh ${D}/usr/kernel-selftest/
116 cp -R --no-dereference --preserve=mode,links -v ${S}/tools/testing/selftests/kselftest ${D}/usr/kernel-selftest/
117 if [ -e ${D}/usr/kernel-selftest/bpf/test_offload.py ]; then 105 if [ -e ${D}/usr/kernel-selftest/bpf/test_offload.py ]; then
118 sed -i -e '1s,#!.*python3,#! /usr/bin/env python3,' ${D}/usr/kernel-selftest/bpf/test_offload.py 106 sed -i -e '1s,#!.*python3,#! /usr/bin/env python3,' ${D}/usr/kernel-selftest/bpf/test_offload.py
119 fi 107 fi
120 chown root:root -R ${D}/usr/kernel-selftest 108 chown root:root -R ${D}/usr/kernel-selftest
121} 109}
@@ -161,6 +149,12 @@ RDEPENDS:${PN} += "python3 perl perl-module-io-handle"
161 149
162INSANE_SKIP:${PN} += "libdir" 150INSANE_SKIP:${PN} += "libdir"
163 151
152# A few of the selftests set compile flags that trip up the "ldflags" and
153# "already-stripped" QA checks. As this is mainly a testing package and
154# not really meant for user level execution, disable these two checks.
155INSANE_SKIP:${PN} += "ldflags"
156INSANE_SKIP:${PN} += "already-stripped"
157
164SECURITY_CFLAGS = "" 158SECURITY_CFLAGS = ""
165COMPATIBLE_HOST:libc-musl = 'null' 159COMPATIBLE_HOST:libc-musl = 'null'
166 160
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch b/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
deleted file mode 100644
index 96a996f61..000000000
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
+++ /dev/null
@@ -1,139 +0,0 @@
1From 6d16911316cb576db0239f607e60918a222e4436 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Sun, 24 Apr 2022 17:25:33 +0800
4Subject: [PATCH] makedumpfile: replace hardcode CFLAGS
5
6* Create alias for target such as powerpc as powerpc32
7* Remove hardcode CFLAGS
8* Add CFLAGS_COMMON to instead of CFLAGS so can flexibly
9 customize CFLAGS and not hardcode the CFLAGS as previously
10* Forcibly to link dynamic library as the poky build
11 system doesn't build static library by default
12
13Upstream-Status: Inappropriate [oe specific]
14
15Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
16
17[2021-11-18] Patch updated to use CFLAGS_COMMON for zstd
18Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
19
20Rebase to 1.7.1
21Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
22---
23 Makefile | 40 +++++++++++++++++++++-------------------
24 1 file changed, 21 insertions(+), 19 deletions(-)
25
26diff --git a/Makefile b/Makefile
27index 71d8548..22acdd5 100644
28--- a/Makefile
29+++ b/Makefile
30@@ -8,12 +8,6 @@ ifeq ($(strip $CC),)
31 CC = gcc
32 endif
33
34-CFLAGS_BASE := $(CFLAGS) -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
35- -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
36-CFLAGS := $(CFLAGS_BASE) -DVERSION='"$(VERSION)"' -DRELEASE_DATE='"$(DATE)"'
37-CFLAGS_ARCH := $(CFLAGS_BASE)
38-# LDFLAGS = -L/usr/local/lib -I/usr/local/include
39-
40 HOST_ARCH := $(shell uname -m)
41 # Use TARGET as the target architecture if specified.
42 # Defaults to uname -m
43@@ -24,26 +18,34 @@ endif
44 ARCH := $(shell echo ${TARGET} | sed -e s/i.86/x86/ -e s/sun4u/sparc64/ \
45 -e s/arm.*/arm/ -e s/sa110/arm/ \
46 -e s/s390x/s390/ -e s/parisc64/parisc/ \
47- -e s/ppc64/powerpc64/ -e s/ppc/powerpc32/)
48+ -e s/ppc64/powerpc64/ -e s/ppc/powerpc32/ \
49+ -e s/_powerpc_/_powerpc32_/)
50
51 CROSS :=
52 ifneq ($(TARGET), $(HOST_ARCH))
53 CROSS := -U__$(HOST_ARCH)__
54 endif
55
56-CFLAGS += -D__$(ARCH)__ $(CROSS)
57 CFLAGS_ARCH += -D__$(ARCH)__ $(CROSS)
58
59-ifeq ($(ARCH), powerpc64)
60-CFLAGS += -m64
61+ifeq ($(ARCH), __powerpc64__)
62 CFLAGS_ARCH += -m64
63 endif
64
65-ifeq ($(ARCH), powerpc32)
66-CFLAGS += -m32
67+ifeq ($(ARCH), __powerpc32__)
68 CFLAGS_ARCH += -m32
69 endif
70
71+CFLAGS_ARCH += $(CFLAGS) \
72+ -D_FILE_OFFSET_BITS=64 \
73+ -D_LARGEFILE_SOURCE \
74+ -D_LARGEFILE64_SOURCE
75+
76+CFLAGS_COMMON = $(CFLAGS_ARCH) \
77+ -DVERSION='"$(VERSION)"' \
78+ -DRELEASE_DATE='"$(DATE)"'
79+
80+
81 SRC_BASE = makedumpfile.c makedumpfile.h diskdump_mod.h sadump_mod.h sadump_info.h
82 SRC_PART = print_info.c dwarf_info.c elf_info.c erase_info.c sadump_info.c cache.c tools.c printk.c detect_cycle.c
83 OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART))
84@@ -52,12 +54,12 @@ OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH))
85
86 LIBS = -ldw -lbz2 -ldl -lelf -lz
87 ifneq ($(LINKTYPE), dynamic)
88-LIBS := -static $(LIBS) -llzma
89+LIBS := $(LIBS) -llzma
90 endif
91
92 ifeq ($(USELZO), on)
93 LIBS := -llzo2 $(LIBS)
94-CFLAGS += -DUSELZO
95+CFLAGS_COMMON += -DUSELZO
96 endif
97
98 ifeq ($(USESNAPPY), on)
99@@ -65,12 +67,12 @@ LIBS := -lsnappy $(LIBS)
100 ifneq ($(LINKTYPE), dynamic)
101 LIBS := $(LIBS) -lstdc++
102 endif
103-CFLAGS += -DUSESNAPPY
104+CFLAGS_COMMON += -DUSESNAPPY
105 endif
106
107 ifeq ($(USEZSTD), on)
108 LIBS := -lzstd $(LIBS)
109-CFLAGS += -DUSEZSTD
110+CFLAGS_COMMON += -DUSEZSTD
111 endif
112
113 ifeq ($(DEBUG), on)
114@@ -104,14 +106,14 @@ LIBS := $(LIBS) $(call try-run,\
115 all: makedumpfile
116
117 $(OBJ_PART): $(SRC_PART)
118- $(CC) $(CFLAGS) -c -o ./$@ $(VPATH)$(@:.o=.c)
119+ $(CC) $(CFLAGS_COMMON) -c -o ./$@ $(VPATH)$(@:.o=.c)
120
121 $(OBJ_ARCH): $(SRC_ARCH)
122 @mkdir -p $(@D)
123 $(CC) $(CFLAGS_ARCH) -c -o ./$@ $(VPATH)$(@:.o=.c)
124
125 makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH)
126- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ_PART) $(OBJ_ARCH) -rdynamic -o $@ $< $(LIBS)
127+ $(CC) $(CFLAGS_COMMON) $(LDFLAGS) $(OBJ_PART) $(OBJ_ARCH) -rdynamic -o $@ $< $(LIBS)
128 @sed -e "s/@DATE@/$(DATE)/" \
129 -e "s/@VERSION@/$(VERSION)/" \
130 $(VPATH)makedumpfile.8.in > $(VPATH)makedumpfile.8
131@@ -120,7 +122,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH)
132 $(VPATH)makedumpfile.conf.5.in > $(VPATH)makedumpfile.conf.5
133
134 eppic_makedumpfile.so: extension_eppic.c
135- $(CC) $(CFLAGS) $(LDFLAGS) -shared -rdynamic -o $@ extension_eppic.c -fPIC -leppic -ltinfo
136+ $(CC) $(CFLAGS_COMMON) $(LDFLAGS) -shared -rdynamic -o $@ extension_eppic.c -fPIC -leppic -ltinfo
137
138 clean:
139 rm -f $(OBJ) $(OBJ_PART) $(OBJ_ARCH) makedumpfile makedumpfile.8 makedumpfile.conf.5
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.5.bb b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.5.bb
deleted file mode 100644
index 85b44c494..000000000
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.5.bb
+++ /dev/null
@@ -1,62 +0,0 @@
1SUMMARY = "VMcore extraction tool"
2DESCRIPTION = "\
3 This program is used to extract a subset of the memory available either \
4 via /dev/mem or /proc/vmcore (for crashdumps). It is used to get memory \
5 images without extra uneeded information (zero pages, userspace programs, \
6 etc). \
7"
8HOMEPAGE = "https://github.com/makedumpfile/makedumpfile"
9
10LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
11LICENSE = "GPL-2.0-only"
12
13SRCBRANCH ?= "master"
14SRCREV = "c266469347d49287be38059d45e7aaa454db9cb2"
15
16DEPENDS = "bzip2 zlib elfutils xz"
17RDEPENDS:${PN}-tools = "perl ${PN}"
18
19# mips/rv32 would not compile.
20COMPATIBLE_HOST:mipsarcho32 = "null"
21COMPATIBLE_HOST:riscv32 = "null"
22
23PACKAGES =+ "${PN}-tools"
24FILES:${PN}-tools = "${bindir}/*.pl"
25
26SRC_URI = "\
27 git://github.com/makedumpfile/makedumpfile;branch=${SRCBRANCH};protocol=https \
28 file://0001-makedumpfile-replace-hardcode-CFLAGS.patch \
29"
30
31S = "${WORKDIR}/git"
32
33UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
34
35SECTION = "base"
36
37# If we do not specify TARGET, makedumpfile will build for the host but use the
38# target gcc.
39#
40
41MAKEDUMPFILE_TARGET ?= "${TARGET_ARCH}"
42MAKEDUMPFILE_TARGET:powerpc = "ppc"
43
44EXTRA_OEMAKE = "\
45 LINKTYPE=static \
46 TARGET=${MAKEDUMPFILE_TARGET} \
47 ${PACKAGECONFIG_CONFARGS} \
48"
49
50PACKAGECONFIG ??= ""
51PACKAGECONFIG[lzo] = "USELZO=on,USELZO=off,lzo"
52PACKAGECONFIG[snappy] = "USESNAPPY=on,USESNAPPY=off,snappy"
53PACKAGECONFIG[zstd] = "USEZSTD=on,USEZSTD=off,zstd"
54
55do_install () {
56 mkdir -p ${D}/usr/bin
57 install -m 755 ${S}/makedumpfile ${D}/usr/bin
58 install -m 755 ${S}/makedumpfile-R.pl ${D}/usr/bin
59
60 mkdir -p ${D}/etc/
61 install -m 644 ${S}/makedumpfile.conf ${D}/etc/makedumpfile.conf.sample
62}
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-Makefile-fix-multilib-build-failure.patch b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-Makefile-fix-multilib-build-failure.patch
index 56981d96f..e28903d6b 100644
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-Makefile-fix-multilib-build-failure.patch
+++ b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-Makefile-fix-multilib-build-failure.patch
@@ -1,4 +1,4 @@
1From 50cea8fd3c07ab27da6edce865a49339f16f3b57 Mon Sep 17 00:00:00 2001 1From 468850b5d39435025633df14dda3d48651d9ec29 Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com> 2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Tue, 18 Jun 2019 17:10:15 +0800 3Date: Tue, 18 Jun 2019 17:10:15 +0800
4Subject: [PATCH] Makefile: fix multilib build failure 4Subject: [PATCH] Makefile: fix multilib build failure
@@ -6,20 +6,26 @@ Subject: [PATCH] Makefile: fix multilib build failure
6Upstream-Status: Inappropriate [oe specific] 6Upstream-Status: Inappropriate [oe specific]
7 7
8Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> 8Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
9
10Refresh to 5.13
11Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
9--- 12---
10 Makefile | 50 +++++++++++++++++++++++++++----------------------- 13 Makefile | 16 ++++++++++------
11 1 file changed, 27 insertions(+), 23 deletions(-) 14 1 file changed, 10 insertions(+), 6 deletions(-)
12 15
13diff --git a/Makefile b/Makefile 16diff --git a/Makefile b/Makefile
14index 8455415..4aa0786 100644 17index 337c53e..58e3779 100644
15--- a/Makefile 18--- a/Makefile
16+++ b/Makefile 19+++ b/Makefile
17@@ -1,30 +1,34 @@ 20@@ -25,6 +25,7 @@ BINDIR ?= /usr/bin
18 # SPDX-License-Identifier: GPL-2.0 21 MANDIR ?= /usr/share/man
19 PREFIX ?= /usr 22 SHRDIR ?= /usr/share/pm-graph
20 DESTDIR ?= 23 LIBDIR ?= /usr/lib
21+BASELIB ?= 24+BASELIB ?=
22 25
26 # Toolchain: what tools do we use, and what options do they need:
27 INSTALL = /usr/bin/install
28@@ -33,6 +34,9 @@ INSTALL_DATA = ${INSTALL} -m 644
23 all: 29 all:
24 @echo "Nothing to build" 30 @echo "Nothing to build"
25 31
@@ -27,63 +33,34 @@ index 8455415..4aa0786 100644
27+ @echo "Nothing to clean" 33+ @echo "Nothing to clean"
28+ 34+
29 install : uninstall 35 install : uninstall
30- install -d $(DESTDIR)$(PREFIX)/lib/pm-graph 36 $(INSTALL) -d $(DESTDIR)$(LIBDIR)/pm-graph
31- install sleepgraph.py $(DESTDIR)$(PREFIX)/lib/pm-graph 37 $(INSTALL) sleepgraph.py $(DESTDIR)$(LIBDIR)/pm-graph
32- install bootgraph.py $(DESTDIR)$(PREFIX)/lib/pm-graph 38@@ -54,10 +58,10 @@ install : uninstall
33- install -d $(DESTDIR)$(PREFIX)/lib/pm-graph/config 39 $(INSTALL) -d $(DESTDIR)$(SHRDIR)
34- install -m 644 config/cgskip.txt $(DESTDIR)$(PREFIX)/lib/pm-graph/config
35- install -m 644 config/freeze-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
36- install -m 644 config/freeze.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
37- install -m 644 config/freeze-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
38- install -m 644 config/standby-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
39- install -m 644 config/standby.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
40- install -m 644 config/standby-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
41- install -m 644 config/suspend-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
42- install -m 644 config/suspend.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
43- install -m 644 config/suspend-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
44- install -m 644 config/suspend-x2-proc.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
45+ install -d $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph
46+ install sleepgraph.py $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph
47+ install bootgraph.py $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph
48+ install -d $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
49+ install -m 644 config/cgskip.txt $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
50+ install -m 644 config/freeze-callgraph.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
51+ install -m 644 config/freeze.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
52+ install -m 644 config/freeze-dev.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
53+ install -m 644 config/standby-callgraph.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
54+ install -m 644 config/standby.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
55+ install -m 644 config/standby-dev.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
56+ install -m 644 config/suspend-callgraph.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
57+ install -m 644 config/suspend.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
58+ install -m 644 config/suspend-dev.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
59+ install -m 644 config/suspend-x2-proc.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
60 40
61 install -d $(DESTDIR)$(PREFIX)/bin 41 $(INSTALL) -d $(DESTDIR)$(BINDIR)
62- ln -s ../lib/pm-graph/bootgraph.py $(DESTDIR)$(PREFIX)/bin/bootgraph 42- ln -s ../lib/pm-graph/bootgraph.py $(DESTDIR)$(BINDIR)/bootgraph
63- ln -s ../lib/pm-graph/sleepgraph.py $(DESTDIR)$(PREFIX)/bin/sleepgraph 43- ln -s ../lib/pm-graph/sleepgraph.py $(DESTDIR)$(BINDIR)/sleepgraph
64+ ln -s ../$(BASELIB)/pm-graph/bootgraph.py $(DESTDIR)$(PREFIX)/bin/bootgraph 44- ln -s ../lib/pm-graph/netfix.py $(DESTDIR)$(BINDIR)/netfix
65+ ln -s ../$(BASELIB)/pm-graph/sleepgraph.py $(DESTDIR)$(PREFIX)/bin/sleepgraph 45- $(DESTDIR)$(BINDIR)/netfix defconfig > $(DESTDIR)$(SHRDIR)/netfix.cfg
46+ ln -s ../$(BASELIB)/pm-graph/bootgraph.py $(DESTDIR)$(BINDIR)/bootgraph
47+ ln -s ../$(BASELIB)/pm-graph/sleepgraph.py $(DESTDIR)$(BINDIR)/sleepgraph
48+ ln -s ../$(BASELIB)/pm-graph/netfix.py $(DESTDIR)$(BINDIR)/netfix
49+ #$(DESTDIR)$(BINDIR)/netfix defconfig > $(DESTDIR)$(SHRDIR)/netfix.cfg
66 50
67 install -d $(DESTDIR)$(PREFIX)/share/man/man8 51 $(INSTALL) -d $(DESTDIR)$(MANDIR)/man8
68 install bootgraph.8 $(DESTDIR)$(PREFIX)/share/man/man8 52 $(INSTALL) bootgraph.8 $(DESTDIR)$(MANDIR)/man8
69@@ -37,11 +41,11 @@ uninstall : 53@@ -90,8 +94,8 @@ hwcheck-install :
70 rm -f $(DESTDIR)$(PREFIX)/bin/bootgraph 54 rm -f $(DESTDIR)$(LIBDIR)/pm-graph/hwcheck.py
71 rm -f $(DESTDIR)$(PREFIX)/bin/sleepgraph 55 $(INSTALL) tools/hwcheck.py $(DESTDIR)$(LIBDIR)/pm-graph
56 $(INSTALL) -d $(DESTDIR)$(BINDIR)
57- ln -s ../lib/pm-graph/hwcheck.py $(DESTDIR)$(BINDIR)/hwcheck
58- $(DESTDIR)$(BINDIR)/hwcheck cronon
59+ ln -s ../$(BASELIB)/pm-graph/hwcheck.py $(DESTDIR)$(BINDIR)/hwcheck
60+ #$(DESTDIR)$(BINDIR)/hwcheck cronon
72 61
73- rm -f $(DESTDIR)$(PREFIX)/lib/pm-graph/config/* 62 hwcheck-uninstall :
74- if [ -d $(DESTDIR)$(PREFIX)/lib/pm-graph/config ] ; then \ 63 if [ -e $(DESTDIR)$(BINDIR)/hwcheck ] ; then \
75- rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph/config; \
76+ rm -f $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config/*
77+ if [ -d $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config ] ; then \
78+ rmdir $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config; \
79 fi;
80- rm -f $(DESTDIR)$(PREFIX)/lib/pm-graph/*
81- if [ -d $(DESTDIR)$(PREFIX)/lib/pm-graph ] ; then \
82- rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph; \
83+ rm -f $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/*
84+ if [ -d $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph ] ; then \
85+ rmdir $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph; \
86 fi;
87-- 64--
882.17.1 652.25.1
89 66
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch
deleted file mode 100644
index f7f8bc068..000000000
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 47a1db21f6c5d17c94c58c3fe0dcce35c623dbf4 Mon Sep 17 00:00:00 2001
2From: Liwei Song <liwei.song@windriver.com>
3Date: Tue, 23 Jun 2020 04:47:20 +0000
4Subject: [PATCH] sleepgraph: add support for RT kernel ftrace flags
5
6with PREEMPT_RT enabled in kernel, ftrace have a different
7flags format:
8
9 _-----=> irqs-off
10 / _----=> need-resched
11 | / _----=> need-resched
12 || / _---=> hardirq/softirq
13 ||| / _--=> preempt-depth
14 ||||/ delay
15TASK-PID CPU# ||||| TIMESTAMP FUNCTION
16 | | | ||||| | |
17
18add support for this.
19
20Upstream-Status: Submitted [https://github.com/intel/pm-graph/pull/18]
21
22Signed-off-by: Liwei Song <liwei.song@windriver.com>
23---
24 sleepgraph.py | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27diff --git a/sleepgraph.py b/sleepgraph.py
28index cfed8e09e0e6..561f165cf9be 100755
29--- a/sleepgraph.py
30+++ b/sleepgraph.py
31@@ -2689,7 +2689,7 @@ class TestProps:
32 '[ +!#\*@$]*(?P<dur>[0-9\.]*) .*\| (?P<msg>.*)'
33 ftrace_line_fmt_nop = \
34 ' *(?P<proc>.*)-(?P<pid>[0-9]*) *\[(?P<cpu>[0-9]*)\] *'+\
35- '(?P<flags>.{4}) *(?P<time>[0-9\.]*): *'+\
36+ '(?P<flags>.{4,7}) *(?P<time>[0-9\.]*): *'+\
37 '(?P<msg>.*)'
38 def __init__(self):
39 self.stamp = ''
40--
412.24.1
42
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch
deleted file mode 100644
index fc5991d46..000000000
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch
+++ /dev/null
@@ -1,51 +0,0 @@
1From 9bbc991a927722439cad38c892fc9f57207089d3 Mon Sep 17 00:00:00 2001
2From: Liwei Song <liwei.song@windriver.com>
3Date: Mon, 24 May 2021 08:27:28 +0000
4Subject: [PATCH] sleepgraph.py: parse unfished cpu exec line
5
6exist the below case in ftrace file:
7sleepgraph-6508 [003] .... 18197.824037: tracing_mark_write: ps - xxx..., lock_torture_wr-94 169,lock_torture_wr-95 143,lock_tort
8sleepgraph-6508 [003] .... 18197.824043: tracing_mark_write: ure_wr-96 189,lock_torture_wr-97 174,lock_torture_wr-98 160,lock_torture_st-99 1
9
10lock_torture_wr-96 was split to different line due to limited buffer
11size(1k) set in kernel, check this case and re-parse the unfinished
12line.
13
14Upstream-Status: Submitted [https://github.com/intel/pm-graph/pull/20]
15
16Signed-off-by: Liwei Song <liwei.song@windriver.com>
17---
18 sleepgraph.py | 17 +++++++++++++++--
19 1 file changed, 15 insertions(+), 2 deletions(-)
20
21diff --git a/sleepgraph.py b/sleepgraph.py
22index e340d5b3f03b..38b4439db8eb 100755
23--- a/sleepgraph.py
24+++ b/sleepgraph.py
25@@ -3365,8 +3365,21 @@ def parseTraceLog(live=False):
26 val = ps.split()
27 if not val:
28 continue
29- name = val[0].replace('--', '-')
30- proclist[name] = int(val[1])
31+ if not len(val) < 2:
32+ name = val[0].replace('--', '-')
33+ proclist[name] = int(val[1])
34+ else:
35+ proclist = dict()
36+ nextline = next(tf)
37+ mcont = re.match(tp.ftrace_line_fmt, nextline)
38+ n = m.group('ps') + mcont.group('msg').split(': ')[1]
39+ for pscont in n.split(','):
40+ val = pscont.split()
41+ if not val:
42+ continue
43+ if not len(val) < 2:
44+ name = val[0].replace('--', '-')
45+ proclist[name] = int(val[1])
46 data.pstl[t.time] = proclist
47 continue
48 # find the end of resume
49--
502.29.2
51
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch
deleted file mode 100644
index 25c87093f..000000000
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 22ce65d997f99606a3bb9d2a660ead42eecc234a Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Wed, 11 Sep 2019 11:31:07 +0800
4Subject: [PATCH] sleepgraph.py: use python3
5
6Already compatible with Python 3.
7Same goes for bootgraph.py
8
9Upstream-Status: Inappropriate [oe specific]
10
11Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
12---
13 bootgraph.py | 2 +-
14 sleepgraph.py | 2 +-
15 2 files changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/bootgraph.py b/bootgraph.py
18index d3b99a1..efb5714 100755
19--- a/bootgraph.py
20+++ b/bootgraph.py
21@@ -1,4 +1,4 @@
22-#!/usr/bin/python
23+#!/usr/bin/python3
24 # SPDX-License-Identifier: GPL-2.0-only
25 #
26 # Tool for analyzing boot timing
27diff --git a/sleepgraph.py b/sleepgraph.py
28index 1794c79..cfed8e0 100755
29--- a/sleepgraph.py
30+++ b/sleepgraph.py
31@@ -1,4 +1,4 @@
32-#!/usr/bin/python
33+#!/usr/bin/python3
34 # SPDX-License-Identifier: GPL-2.0-only
35 #
36 # Tool for analyzing suspend/resume timing
37--
382.17.1
39
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.13.bb
index 6e52a58de..88c70ae82 100644
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb
+++ b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.13.bb
@@ -5,12 +5,9 @@ HOMEPAGE = "https://01.org/pm-graph"
5LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" 6LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
7 7
8SRCREV = "cf59527dc24fdd2f314ae4dcaeb3d68a117988f6" 8SRCREV = "0987732b013936ad771334f51cba31c453c8a9c9"
9SRC_URI = "git://github.com/intel/pm-graph.git;branch=master;protocol=https \ 9SRC_URI = "git://github.com/intel/pm-graph.git;branch=master;protocol=https \
10 file://0001-Makefile-fix-multilib-build-failure.patch \ 10 file://0001-Makefile-fix-multilib-build-failure.patch \
11 file://0001-sleepgraph.py-use-python3.patch \
12 file://0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch \
13 file://0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch \
14" 11"
15S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
16 13
@@ -23,11 +20,13 @@ S = "${WORKDIR}/git"
23# - CONFIG_FUNCTION_GRAPH_TRACER=y 20# - CONFIG_FUNCTION_GRAPH_TRACER=y
24 21
25COMPATIBLE_HOST='(i.86|x86_64).*' 22COMPATIBLE_HOST='(i.86|x86_64).*'
26EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} BASELIB=${baselib}" 23EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} LIBDIR=${libdir} BASELIB=${baselib}"
27 24
28do_install() { 25do_install() {
29 oe_runmake install 26 oe_runmake install
30 install -Dm 0755 ${S}/analyze_suspend.py ${D}${bindir}/analyze_suspend.py 27 install -Dm 0755 ${S}/analyze_suspend.py ${D}${bindir}/analyze_suspend.py
28
29 rm -rf ${D}${libdir}/pm-graph/__pycache__
31} 30}
32 31
33RDEPENDS:${PN} += "python3-core python3-threading python3-datetime python3-compression" 32RDEPENDS:${PN} += "python3-core python3-threading python3-datetime python3-compression"
diff --git a/meta-oe/recipes-kernel/spidev-test/spidev-test.bb b/meta-oe/recipes-kernel/spidev-test/spidev-test.bb
index 2e8c5cbb8..7b87dd28d 100644
--- a/meta-oe/recipes-kernel/spidev-test/spidev-test.bb
+++ b/meta-oe/recipes-kernel/spidev-test/spidev-test.bb
@@ -6,7 +6,7 @@ PROVIDES = "virtual/spidev-test"
6 6
7inherit bash-completion kernelsrc kernel-arch 7inherit bash-completion kernelsrc kernel-arch
8 8
9do_populate_lic[depends] += "virtual/kernel:do_patch" 9do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
10 10
11EXTRA_OEMAKE = "-C ${S}/tools/spi O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" 11EXTRA_OEMAKE = "-C ${S}/tools/spi O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"
12 12
diff --git a/meta-oe/recipes-multimedia/mplayer/libplacebo_7.349.0.bb b/meta-oe/recipes-multimedia/mplayer/libplacebo_7.349.0.bb
index b68e67a8c..15f324ff4 100644
--- a/meta-oe/recipes-multimedia/mplayer/libplacebo_7.349.0.bb
+++ b/meta-oe/recipes-multimedia/mplayer/libplacebo_7.349.0.bb
@@ -1,22 +1,22 @@
1SUMMARY ="Reusable library for GPU-accelerated video/image rendering primitives" 1SUMMARY ="Reusable library for GPU-accelerated video/image rendering primitives"
2LICENSE = "Apache-2.0 & BSD-3-Clause & BSL-1.0 & MIT" 2LICENSE = "LGPL-2.1-only"
3LIC_FILES_CHKSUM = "file://3rdparty/Vulkan-Headers/LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 3LIC_FILES_CHKSUM = "file://LICENSE;md5=435ed639f84d4585d93824e7da3d85da"
4 file://3rdparty/fast_float/LICENSE-APACHE;md5=81db248e90379bcfc0582b578b009bc3 \
5 file://3rdparty/fast_float/LICENSE-BOOST;md5=2c7a3fa82e66676005cd4ee2608fd7d2 \
6 file://3rdparty/fast_float/LICENSE-MIT;md5=32b11d50c7d9788d4270f6a83f3e68eb \
7 file://3rdparty/glad/LICENSE;md5=ae570f26774ac096cff8f992091a223c \
8 file://3rdparty/jinja/LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462 \
9 file://3rdparty/jinja/docs/license.rst;md5=5f4c795946979fabc2361be4c70d0a9f \
10 file://3rdparty/markupsafe/LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75 \
11 file://3rdparty/markupsafe/docs/license.rst;md5=5f4c795946979fabc2361be4c70d0a9f \
12 file://LICENSE;md5=435ed639f84d4585d93824e7da3d85da \
13 file://demos/3rdparty/nuklear/src/LICENSE;md5=6052431ae6cd4f0082276c54996e7770 \
14 file://demos/LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032"
15 4
16SRC_URI = "gitsm://github.com/haasn/libplacebo;protocol=https;branch=master" 5DEPENDS += "fastfloat glad-native python3-mako-native python3-jinja2-native vulkan-headers"
17 6
7SRC_URI = "git://code.videolan.org/videolan/libplacebo.git;protocol=https;branch=v7.349"
18SRCREV = "1fd3c7bde7b943fe8985c893310b5269a09b46c5" 8SRCREV = "1fd3c7bde7b943fe8985c893310b5269a09b46c5"
19 9
20inherit meson pkgconfig 10inherit meson pkgconfig
21 11
22S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13
14PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'vulkan opengl', d)} lcms"
15
16PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc spirv-shader-generator"
17PACKAGECONFIG[glslang] = "-Dglslang=enabled,-Dglslang=disabled,glslang"
18PACKAGECONFIG[opengl] = "-Dopengl=enabled,-Dopengl=disabled"
19PACKAGECONFIG[lcms] = "-Dlcms=enabled,-Dlcms=disabled,lcms"
20PACKAGECONFIG[demos] = "-Ddemos=true,-Ddemos=false,ffmpeg libsdl2 libsdl2-image"
21
22EXTRA_OEMESON = "-Dvulkan-registry=${STAGING_DATADIR}/vulkan/registry/vk.xml"
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv/0001-file2string-Avoid-emitting-absolute-filepaths-into-g.patch b/meta-oe/recipes-multimedia/mplayer/mpv/0001-file2string-Avoid-emitting-absolute-filepaths-into-g.patch
deleted file mode 100644
index b96ec5d4c..000000000
--- a/meta-oe/recipes-multimedia/mplayer/mpv/0001-file2string-Avoid-emitting-absolute-filepaths-into-g.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 9878681df9919d28da3e4c6cc706e264abd9df92 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 29 Aug 2024 17:54:15 -0700
4Subject: [PATCH] file2string: Avoid emitting absolute filepaths into generated
5 sources
6
7These sources are bundled into src packages to be distributed and leaking
8buildpaths results in violating reproducibility norms.
9
10Upstream-Status: Submitted [https://github.com/mpv-player/mpv/pull/14763]
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 TOOLS/file2string.py | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/TOOLS/file2string.py b/TOOLS/file2string.py
18index 5b1c4a95d1..39c1122a35 100755
19--- a/TOOLS/file2string.py
20+++ b/TOOLS/file2string.py
21@@ -22,10 +22,10 @@
22 # License along with mpv. If not, see <http://www.gnu.org/licenses/>.
23 #
24
25-import sys
26+import os, sys
27
28 def file2string(infilename, infile, outfile):
29- outfile.write("// Generated from %s\n\n" % infilename)
30+ outfile.write("// Generated from %s\n\n" % os.path.basename(infilename))
31
32 conv = ["\\%03o" % c for c in range(256)]
33 safe_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" \
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv/a7efb3e62bbd0af86737f5ecb72d3a8e2a8c3b54.patch b/meta-oe/recipes-multimedia/mplayer/mpv/a7efb3e62bbd0af86737f5ecb72d3a8e2a8c3b54.patch
new file mode 100644
index 000000000..b8fad22c7
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv/a7efb3e62bbd0af86737f5ecb72d3a8e2a8c3b54.patch
@@ -0,0 +1,87 @@
1From a7efb3e62bbd0af86737f5ecb72d3a8e2a8c3b54 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <kasper93@gmail.com>
3Date: Sun, 13 Oct 2024 19:18:11 +0200
4Subject: [PATCH] build: fix dynamic generation of mpv.desktop file protocols
5
6Running cross-compiled binaries may be possible, but the runtime
7environment must be configured correctly. In some configurations, an
8exe_wrapper needs to be used, and in all cases, the library path must be
9set correctly for the given binary. Fortunately, Meson handles all of
10this if cross-compilation is configured correctly.
11
12Fix this by having Meson run the mpv binary directly, instead of as a
13subprocess of a Python script. This ensures that the environment is
14properly set for running host binaries, if possible.
15
16Fixes: #15075
17Fixes: 056b03f9ed05607786427da8f336e3ef819b3a1e
18
19Upstream-Status: Submitted [https://github.com/mpv-player/mpv/pull/15075]
20
21Signed-off-by: Markus Volk <f_l_k@t-online.de>
22---
23 TOOLS/gen-mpv-desktop.py | 17 +++++++----------
24 meson.build | 9 +++++++--
25 2 files changed, 14 insertions(+), 12 deletions(-)
26
27diff --git a/TOOLS/gen-mpv-desktop.py b/TOOLS/gen-mpv-desktop.py
28index 7bbb33e5be..2c45a7038e 100755
29--- a/TOOLS/gen-mpv-desktop.py
30+++ b/TOOLS/gen-mpv-desktop.py
31@@ -21,23 +21,28 @@
32 #
33
34 import sys
35-from subprocess import check_output
36
37 if __name__ == "__main__":
38- with open(sys.argv[1], "r", encoding="UTF-8") as f:
39+ with open(sys.argv[1], encoding="UTF-8") as f:
40 next(f)
41 mpv_desktop = dict([line.split("=", 1) for line in f])
42
43 if not mpv_desktop["X-KDE-Protocols"]:
44 raise ValueError("Missing X-KDE-Protocols entry in mpv.desktop file")
45
46- mpv_protocols = check_output([sys.argv[2], "--no-config", "--list-protocols"], encoding="UTF-8")
47- mpv_protocols = set(line.strip(" :/") for line in mpv_protocols.splitlines() if "://" in line)
48+ with open(sys.argv[2], encoding="UTF-8") as mpv_protocols:
49+ mpv_protocols = {
50+ line.strip(" :/")
51+ for line in mpv_protocols.read().splitlines()
52+ if "://" in line
53+ }
54+
55 if len(mpv_protocols) == 0:
56 raise ValueError("Unable to parse any protocols from mpv '--list-protocols'")
57
58 protocol_list = set(mpv_desktop["X-KDE-Protocols"].strip().split(","))
59- mpv_desktop["X-KDE-Protocols"] = ",".join(sorted(mpv_protocols & protocol_list)) + "\n"
60+ compatible_protocols = sorted(mpv_protocols & protocol_list)
61+ mpv_desktop["X-KDE-Protocols"] = ",".join(compatible_protocols) + "\n"
62
63 with open(sys.argv[3], "w", encoding="UTF-8") as f:
64 f.write("[Desktop Entry]" + "\n")
65diff --git a/meson.build b/meson.build
66index b7bcb1b0ba..c2004b748c 100644
67--- a/meson.build
68+++ b/meson.build
69@@ -1830,11 +1830,16 @@ if get_option('cplayer')
70
71 if not win32 and not darwin
72 if meson.can_run_host_binaries()
73+ mpv_protocols = custom_target('mpv_protocols',
74+ output: 'mpv_protocols',
75+ command: [mpv, '--no-config','--list-protocols'],
76+ capture: true,
77+ )
78 mpv_desktop_path = join_paths(source_root, 'etc', 'mpv.desktop')
79 custom_target('mpv.desktop',
80- depends: mpv,
81+ input: mpv_protocols,
82 output: 'mpv.desktop',
83- command: [mpv_desktop, mpv_desktop_path, mpv.full_path(), '@OUTPUT@'],
84+ command: [mpv_desktop, mpv_desktop_path, '@INPUT@', '@OUTPUT@'],
85 install: true,
86 install_dir: join_paths(datadir, 'applications'),
87 )
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.38.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.39.0.bb
index 80e0f7ca7..c699e73ef 100644
--- a/meta-oe/recipes-multimedia/mplayer/mpv_0.38.0.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.39.0.bb
@@ -15,11 +15,11 @@ DEPENDS = " \
15LICENSE = "GPL-2.0-or-later" 15LICENSE = "GPL-2.0-or-later"
16LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263" 16LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263"
17 17
18SRCREV_mpv = "02254b92dd237f03aa0a151c2a68778c4ea848f9" 18SRCREV = "a0fba7be57f3822d967b04f0f6b6d6341e7516e7"
19SRC_URI = "git://github.com/mpv-player/mpv;name=mpv;branch=release/0.38;protocol=https \ 19SRC_URI = " \
20 file://0001-file2string-Avoid-emitting-absolute-filepaths-into-g.patch \ 20 git://github.com/mpv-player/mpv;name=mpv;branch=release/0.39;protocol=https \
21 " 21 file://a7efb3e62bbd0af86737f5ecb72d3a8e2a8c3b54.patch \
22 22"
23S = "${WORKDIR}/git" 23S = "${WORKDIR}/git"
24 24
25inherit meson pkgconfig mime-xdg 25inherit meson pkgconfig mime-xdg
@@ -37,22 +37,27 @@ LUA:powerpc = ""
37# Note: lua is required to get on-screen-display (controls) 37# Note: lua is required to get on-screen-display (controls)
38PACKAGECONFIG ??= " \ 38PACKAGECONFIG ??= " \
39 ${LUA} \ 39 ${LUA} \
40 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', '', d)} \ 40 ${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland opengl pipewire pulseaudio vulkan', d)} \
41 ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ 41 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'egl', '', d)} \
42 ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \ 42 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'drm gbm', '', d)} \
43" 43"
44 44
45PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 xsp libxv libxscrnsaver libxinerama libxpresent libxext" 45PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 xsp libxv libxscrnsaver libxinerama libxpresent libxext"
46PACKAGECONFIG[xv] = "-Dxv=enabled,-Dxv=disabled,libxv" 46PACKAGECONFIG[xv] = "-Dxv=enabled,-Dxv=disabled,libxv"
47PACKAGECONFIG[opengl] = "-Dgl=enabled,-Dgl=disabled,virtual/libgl" 47PACKAGECONFIG[opengl] = "-Dgl=enabled,-Dgl=disabled,virtual/libgl"
48PACKAGECONFIG[egl] = "-Degl=enabled,-Degl-disabled,virtual/egl" 48PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
49PACKAGECONFIG[drm] = "-Ddrm=enabled,-Ddrm=disabled,libdrm" 49PACKAGECONFIG[drm] = "-Ddrm=enabled,-Ddrm=disabled,libdrm"
50PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled,virtual/libgbm" 50PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled,virtual/libgbm"
51PACKAGECONFIG[lua] = "-Dlua=luajit,-Dlua=disabled,lua luajit" 51PACKAGECONFIG[lua] = "-Dlua=luajit,-Dlua=disabled,luajit"
52PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive" 52PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive"
53PACKAGECONFIG[lcms2] = "-Dlcms2=enabled,-Dlcms2=disabled,lcms"
54PACKAGECONFIG[libmpv] = "-Dlibmpv=true,-Dlibmpv=false"
53PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" 55PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack"
56PACKAGECONFIG[pipewire] = "-Dpipewire=enabled,-Dpipewire=disabled,pipewire"
57PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
54PACKAGECONFIG[vaapi] = "-Dvaapi=enabled,-Dvaapi=disabled,libva" 58PACKAGECONFIG[vaapi] = "-Dvaapi=enabled,-Dvaapi=disabled,libva"
55PACKAGECONFIG[vdpau] = "-Dvdpau=enabled,-Dvdpau=disabled,libvdpau" 59PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-headers"
60PACKAGECONFIG[vdpau] = "-Dvdpau=enabled,-Dvdpau=disabled,libvdpau nv-codec-headers"
56PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland wayland-native libxkbcommon" 61PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland wayland-native libxkbcommon"
57 62
58python __anonymous() { 63python __anonymous() {
@@ -68,40 +73,32 @@ python __anonymous() {
68 extras.append(" -Dvaapi-x11=enabled") 73 extras.append(" -Dvaapi-x11=enabled")
69 if "vaapi" in packageconfig and "drm" in packageconfig: 74 if "vaapi" in packageconfig and "drm" in packageconfig:
70 extras.append(" -Dvaapi-drm=enabled") 75 extras.append(" -Dvaapi-drm=enabled")
71 if "vaapi" in packageconfig and "x11" in packageconfig and "egl" in packageconfig:
72 extras.append(" -Dvaapi-x-egl=enabled")
73 if "vdpau" in packageconfig and "opengl" in packageconfig and "x11" in packageconfig: 76 if "vdpau" in packageconfig and "opengl" in packageconfig and "x11" in packageconfig:
74 extras.append(" -Dvdpau-gl-x11=enabled") 77 extras.append(" -Dvdpau-gl-x11=enabled")
75 if "wayland" in packageconfig and "opengl" in packageconfig: 78 if "wayland" in packageconfig and "opengl" in packageconfig:
76 extras.append(" -Dgl-wayland=enabled") 79 extras.append(" -Degl-wayland=enabled")
77 if "wayland" in packageconfig and "vaapi" in packageconfig: 80 if "wayland" in packageconfig and "vaapi" in packageconfig:
78 extras.append(" -Dvaapi-wayland=enabled") 81 extras.append(" -Dvaapi-wayland=enabled")
79 if extras: 82 if extras:
80 d.appendVar("EXTRA_OECONF", "".join(extras)) 83 d.appendVar("EXTRA_OEMESON", "".join(extras))
81} 84}
82 85
83#SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}" 86#SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}"
84 87
85EXTRA_OECONF = " \ 88EXTRA_OEMESON = " \
86 -Dmanpage-build=disabled \ 89 -Dmanpage-build=disabled \
87 -Dlibbluray=disabled \ 90 -Dlibbluray=disabled \
88 -Ddvdnav=disabled \ 91 -Ddvdnav=disabled \
89 -Dcdda=disabled \ 92 -Dcdda=disabled \
90 -Duchardet=disabled \ 93 -Duchardet=disabled \
91 -Drubberband=disabled \ 94 -Drubberband=disabled \
92 -Dlcms2=disabled \
93 -Dvapoursynth=disabled \ 95 -Dvapoursynth=disabled \
94 ${PACKAGECONFIG_CONFARGS} \ 96 -Dshaderc=disabled \
95" 97"
96 98
97do_configure:append() { 99do_configure:append() {
98 sed -i -e 's#${WORKDIR}#<WORKDIR>#g' ${B}/config.h 100 sed -i -e 's#${WORKDIR}#<WORKDIR>#g' ${B}/config.h
99} 101}
100 102
101FILES:${PN} += " \ 103FILES:${PN} += "${datadir}"
102 ${datadir}/icons \
103 ${datadir}/zsh \
104 ${datadir}/bash-completion \
105 ${datadir}/metainfo \
106 "
107EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "0", "1", d)}" 104EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "0", "1", d)}"
diff --git a/meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb b/meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb
index 87320a98e..508519e4f 100644
--- a/meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb
+++ b/meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb
@@ -11,6 +11,6 @@ inherit autotools gettext
11 11
12DEPENDS += "glib-2.0-native" 12DEPENDS += "glib-2.0-native"
13 13
14SRC_URI = "http://people.freedesktop.org/~mccann/dist/${BPN}-${PV}.tar.bz2" 14SRC_URI = "https://people.freedesktop.org/~mccann/dist/${BPN}-${PV}.tar.bz2"
15SRC_URI[md5sum] = "d7387912cfd275282d1ec94483cb2f62" 15SRC_URI[md5sum] = "d7387912cfd275282d1ec94483cb2f62"
16SRC_URI[sha256sum] = "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14" 16SRC_URI[sha256sum] = "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14"
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb
index f893ac359..e3b2f8bf6 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb
@@ -27,6 +27,7 @@ CLEANBROKEN = "1"
27PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} usb" 27PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} usb"
28PACKAGECONFIG[bluez] = "bluez='true',bluez='false',bluez5" 28PACKAGECONFIG[bluez] = "bluez='true',bluez='false',bluez5"
29PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase" 29PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase"
30PACKAGECONFIG[pyserial] = ""
30PACKAGECONFIG[usb] = "usb='true',usb='false',libusb1" 31PACKAGECONFIG[usb] = "usb='true',usb='false',libusb1"
31EXTRA_OESCONS = " \ 32EXTRA_OESCONS = " \
32 sysroot=${STAGING_DIR_TARGET} \ 33 sysroot=${STAGING_DIR_TARGET} \
@@ -147,7 +148,7 @@ FILES:python3-pygps = "${PYTHON_SITEPACKAGES_DIR}/* ${libdir}/gps/*.py ${libdir}
147RDEPENDS:python3-pygps = " \ 148RDEPENDS:python3-pygps = " \
148 python3-core \ 149 python3-core \
149 python3-io \ 150 python3-io \
150 python3-pyserial \ 151 ${@bb.utils.contains('PACKAGECONFIG', 'pyserial', 'python3-pyserial', '', d)} \
151 python3-threading \ 152 python3-threading \
152 python3-terminal \ 153 python3-terminal \
153 gpsd \ 154 gpsd \
diff --git a/meta-oe/recipes-security/audit/audit_4.0.2.bb b/meta-oe/recipes-security/audit/audit_4.0.2.bb
index d6742c9eb..4f1507923 100644
--- a/meta-oe/recipes-security/audit/audit_4.0.2.bb
+++ b/meta-oe/recipes-security/audit/audit_4.0.2.bb
@@ -93,9 +93,17 @@ do_install:append() {
93 93
94 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 94 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
95 install -D -m 0755 ${UNPACKDIR}/auditd ${D}/etc/init.d/auditd 95 install -D -m 0755 ${UNPACKDIR}/auditd ${D}/etc/init.d/auditd
96 fi
97
98 if ! ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
96 rm -rf ${D}${libdir}/systemd 99 rm -rf ${D}${libdir}/systemd
100 install -d ${D}${systemd_unitdir}/system
101 install -m 0644 ${B}/init.d/auditd.service ${D}${systemd_unitdir}/system/
102 install -m 0644 ${B}/init.d/audit-rules.service ${D}${systemd_unitdir}/system/
97 fi 103 fi
98 104
99 # Create /var/spool/audit directory for audisp-remote 105 # Create /var/spool/audit directory for audisp-remote
100 install -d -m 0700 ${D}${localstatedir}/spool/audit 106 install -d -m 0700 ${D}${localstatedir}/spool/audit
101} 107}
108
109CVE_PRODUCT = "linux:audit"
diff --git a/meta-oe/recipes-security/nmap/files/0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch b/meta-oe/recipes-security/nmap/files/0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch
new file mode 100644
index 000000000..bcb04250b
--- /dev/null
+++ b/meta-oe/recipes-security/nmap/files/0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch
@@ -0,0 +1,165 @@
1From 364d089250d1acf459e9e8580161e7bb06268106 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@fujitsu.com>
3Date: Tue, 15 Oct 2024 02:47:38 +0000
4Subject: [PATCH] Fix off-by-one overflow in the IP protocol table.
5
6Fixes #2896, closes #2897, closes #2900
7
8Upstream-Status: Backport [https://github.com/nmap/nmap/commit/efa0dc36f2ecade6ba8d2ed25dd4d5fbffdea308]
9
10Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
11---
12 CHANGELOG | 3 +++
13 portlist.cc | 8 ++++----
14 protocols.cc | 6 +++---
15 protocols.h | 2 ++
16 scan_lists.cc | 10 +++++-----
17 5 files changed, 17 insertions(+), 12 deletions(-)
18
19diff --git a/CHANGELOG b/CHANGELOG
20index f01262c..5b204bd 100644
21--- a/CHANGELOG
22+++ b/CHANGELOG
23@@ -1,5 +1,8 @@
24 #Nmap Changelog ($Id: CHANGELOG 38849 2024-04-18 17:16:42Z dmiller $); -*-text-*-
25
26+o [GH#2900, GH#2896, GH#2897] Nmap is now able to scan IP protocol 255.
27+ [nnposter]
28+
29 Nmap 7.95 [2024-04-19]
30
31 o [Windows] Upgraded Npcap (our Windows raw packet capturing and
32diff --git a/portlist.cc b/portlist.cc
33index 8258853..cd08437 100644
34--- a/portlist.cc
35+++ b/portlist.cc
36@@ -480,7 +480,7 @@ void PortList::setPortState(u16 portno, u8 protocol, int state, int *oldstate) {
37 state != PORT_CLOSEDFILTERED)
38 fatal("%s: attempt to add port number %d with illegal state %d\n", __func__, portno, state);
39
40- assert(protocol!=IPPROTO_IP || portno<256);
41+ assert(protocol!=IPPROTO_IP || portno<=MAX_IPPROTONUM);
42
43 bool created = false;
44 current = createPort(portno, protocol, &created);
45@@ -566,7 +566,7 @@ Port *PortList::nextPort(const Port *cur, Port *next,
46 if (cur) {
47 proto = INPROTO2PORTLISTPROTO(cur->proto);
48 assert(port_map[proto]!=NULL); // Hmm, it's not possible to handle port that doesn't have anything in map
49- assert(cur->proto!=IPPROTO_IP || cur->portno<256);
50+ assert(cur->proto!=IPPROTO_IP || cur->portno<=MAX_IPPROTONUM);
51 mapped_pno = port_map[proto][cur->portno];
52 mapped_pno++; // we're interested in next port after current
53 } else { // running for the first time
54@@ -615,7 +615,7 @@ void PortList::mapPort(u16 *portno, u8 *protocol) const {
55 mapped_protocol = INPROTO2PORTLISTPROTO(*protocol);
56
57 if (*protocol == IPPROTO_IP)
58- assert(*portno < 256);
59+ assert(*portno <= MAX_IPPROTONUM);
60 if(port_map[mapped_protocol]==NULL || port_list[mapped_protocol]==NULL) {
61 fatal("%s(%i,%i): you're trying to access uninitialized protocol", __func__, *portno, *protocol);
62 }
63@@ -713,7 +713,7 @@ int PortList::port_list_count[PORTLIST_PROTO_MAX];
64 * should be sorted. */
65 void PortList::initializePortMap(int protocol, u16 *ports, int portcount) {
66 int i;
67- int ports_max = (protocol == IPPROTO_IP) ? 256 : 65536;
68+ int ports_max = (protocol == IPPROTO_IP) ? MAX_IPPROTONUM + 1 : 65536;
69 int proto = INPROTO2PORTLISTPROTO(protocol);
70
71 if (port_map[proto] != NULL || port_map_rev[proto] != NULL)
72diff --git a/protocols.cc b/protocols.cc
73index 76e42c7..85e55e4 100644
74--- a/protocols.cc
75+++ b/protocols.cc
76@@ -79,7 +79,7 @@ struct strcmp_comparator {
77
78 // IP Protocol number is 8 bits wide
79 // protocol_table[IPPROTO_TCP] == {"tcp", 6}
80-static struct nprotoent *protocol_table[UCHAR_MAX];
81+static struct nprotoent *protocol_table[MAX_IPPROTONUM + 1];
82 // proto_map["tcp"] = {"tcp", 6}
83 typedef std::map<const char *, struct nprotoent, strcmp_comparator> ProtoMap;
84 static ProtoMap proto_map;
85@@ -119,7 +119,7 @@ static int nmap_protocols_init() {
86 if (*p == '#' || *p == '\0')
87 continue;
88 res = sscanf(line, "%127s %hu", protocolname, &protno);
89- if (res !=2 || protno > UCHAR_MAX) {
90+ if (res !=2 || protno > MAX_IPPROTONUM) {
91 error("Parse error in protocols file %s line %d", filename, lineno);
92 continue;
93 }
94@@ -191,7 +191,7 @@ const struct nprotoent *nmap_getprotbynum(int num) {
95 if (nmap_protocols_init() == -1)
96 return NULL;
97
98- assert(num >= 0 && num < UCHAR_MAX);
99+ assert(num >= 0 && num <= MAX_IPPROTONUM);
100 return protocol_table[num];
101 }
102
103diff --git a/protocols.h b/protocols.h
104index 8934284..2de0aa4 100644
105--- a/protocols.h
106+++ b/protocols.h
107@@ -79,6 +79,8 @@ int addprotocolsfromservmask(char *mask, u8 *porttbl);
108 const struct nprotoent *nmap_getprotbynum(int num);
109 const struct nprotoent *nmap_getprotbyname(const char *name);
110
111+#define MAX_IPPROTONUM 255
112+
113 #define MAX_IPPROTOSTRLEN 4
114 #define IPPROTO2STR(p) \
115 ((p)==IPPROTO_TCP ? "tcp" : \
116diff --git a/scan_lists.cc b/scan_lists.cc
117index f02e279..ebe1357 100644
118--- a/scan_lists.cc
119+++ b/scan_lists.cc
120@@ -165,7 +165,7 @@ void getpts(const char *origexpr, struct scan_lists *ports) {
121 ports->udp_count++;
122 if (porttbl[i] & SCAN_SCTP_PORT)
123 ports->sctp_count++;
124- if (porttbl[i] & SCAN_PROTOCOLS && i < 256)
125+ if (porttbl[i] & SCAN_PROTOCOLS && i <= MAX_IPPROTONUM)
126 ports->prot_count++;
127 }
128
129@@ -192,7 +192,7 @@ void getpts(const char *origexpr, struct scan_lists *ports) {
130 ports->udp_ports[udpi++] = i;
131 if (porttbl[i] & SCAN_SCTP_PORT)
132 ports->sctp_ports[sctpi++] = i;
133- if (porttbl[i] & SCAN_PROTOCOLS && i < 256)
134+ if (porttbl[i] & SCAN_PROTOCOLS && i <= MAX_IPPROTONUM)
135 ports->prots[proti++] = i;
136 }
137
138@@ -388,7 +388,7 @@ static void getpts_aux(const char *origexpr, int nested, u8 *porttbl, int range_
139 } else if (isdigit((int) (unsigned char) *current_range)) {
140 rangestart = strtol(current_range, &endptr, 10);
141 if (range_type & SCAN_PROTOCOLS) {
142- if (rangestart < 0 || rangestart > 255)
143+ if (rangestart < 0 || rangestart > MAX_IPPROTONUM)
144 fatal("Protocols specified must be between 0 and 255 inclusive");
145 } else {
146 if (rangestart < 0 || rangestart > 65535)
147@@ -429,13 +429,13 @@ static void getpts_aux(const char *origexpr, int nested, u8 *porttbl, int range_
148 if (!*current_range || *current_range == ',' || *current_range == ']') {
149 /* Ended with a -, meaning up until the last possible port */
150 if (range_type & SCAN_PROTOCOLS)
151- rangeend = 255;
152+ rangeend = MAX_IPPROTONUM;
153 else
154 rangeend = 65535;
155 } else if (isdigit((int) (unsigned char) *current_range)) {
156 rangeend = strtol(current_range, &endptr, 10);
157 if (range_type & SCAN_PROTOCOLS) {
158- if (rangeend < 0 || rangeend > 255)
159+ if (rangeend < 0 || rangeend > MAX_IPPROTONUM)
160 fatal("Protocols specified must be between 0 and 255 inclusive");
161 } else {
162 if (rangeend < 0 || rangeend > 65535)
163--
1642.34.1
165
diff --git a/meta-oe/recipes-security/nmap/nmap_7.95.bb b/meta-oe/recipes-security/nmap/nmap_7.95.bb
index 79c28e71f..a319be4fb 100644
--- a/meta-oe/recipes-security/nmap/nmap_7.95.bb
+++ b/meta-oe/recipes-security/nmap/nmap_7.95.bb
@@ -10,6 +10,7 @@ SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2 \
10 file://nmap-replace-shtool-mkdir-with-coreutils-mkdir-command.patch \ 10 file://nmap-replace-shtool-mkdir-with-coreutils-mkdir-command.patch \
11 file://0001-Include-time.h-header-to-pass-clang-compilation.patch \ 11 file://0001-Include-time.h-header-to-pass-clang-compilation.patch \
12 file://0002-Fix-building-with-libc.patch \ 12 file://0002-Fix-building-with-libc.patch \
13 file://0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch \
13 " 14 "
14SRC_URI[sha256sum] = "e14ab530e47b5afd88f1c8a2bac7f89cd8fe6b478e22d255c5b9bddb7a1c5778" 15SRC_URI[sha256sum] = "e14ab530e47b5afd88f1c8a2bac7f89cd8fe6b478e22d255c5b9bddb7a1c5778"
15inherit autotools-brokensep pkgconfig python3native 16inherit autotools-brokensep pkgconfig python3native
diff --git a/meta-oe/recipes-security/softhsm/files/0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch b/meta-oe/recipes-security/softhsm/files/0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch
new file mode 100644
index 000000000..6e61aeac3
--- /dev/null
+++ b/meta-oe/recipes-security/softhsm/files/0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch
@@ -0,0 +1,672 @@
1From 41968e7b742ad59046523a7eeb63514237fb63af Mon Sep 17 00:00:00 2001
2From: Neil Horman <nhorman@openssl.org>
3Date: Fri, 27 Oct 2023 14:57:37 -0400
4Subject: [PATCH] Prevent accessing of global c++ objects once they are deleted
5
6Fixes (Maybe) #729.
7Reset objects_deleted after reset is called.
8
9Upstream-Status: Submitted [https://github.com/opendnssec/SoftHSMv2/pull/742]
10---
11 src/lib/SoftHSM.cpp | 5 ++
12 src/lib/main.cpp | 138 ++++++++++++++++++++++++++++++++++++++++++++
13 2 files changed, 143 insertions(+)
14
15diff --git a/src/lib/SoftHSM.cpp b/src/lib/SoftHSM.cpp
16index 02c0f95..95bf208 100644
17--- a/src/lib/SoftHSM.cpp
18+++ b/src/lib/SoftHSM.cpp
19@@ -89,6 +89,8 @@
20
21 // Initialise the one-and-only instance
22
23+int objects_deleted = 0;
24+
25 #ifdef HAVE_CXX11
26
27 std::unique_ptr<MutexFactory> MutexFactory::instance(nullptr);
28@@ -406,6 +408,8 @@ void SoftHSM::reset()
29 {
30 if (instance.get())
31 instance.reset();
32+
33+ objects_deleted = 0;
34 }
35
36 // Constructor
37@@ -445,6 +449,7 @@ SoftHSM::~SoftHSM()
38
39 isInitialised = false;
40
41+ objects_deleted = 1;
42 resetMutexFactoryCallbacks();
43 }
44
45diff --git a/src/lib/main.cpp b/src/lib/main.cpp
46index 2dfd0eb..e89f18c 100644
47--- a/src/lib/main.cpp
48+++ b/src/lib/main.cpp
49@@ -49,6 +49,8 @@
50 #define PKCS_API
51 #endif
52
53+extern int objects_deleted;
54+
55 // PKCS #11 function list
56 static CK_FUNCTION_LIST functionList =
57 {
58@@ -130,6 +132,8 @@ PKCS_API CK_RV C_Initialize(CK_VOID_PTR pInitArgs)
59 {
60 try
61 {
62+ if (objects_deleted == 1)
63+ return CKR_FUNCTION_FAILED;
64 return SoftHSM::i()->C_Initialize(pInitArgs);
65 }
66 catch (...)
67@@ -145,6 +149,8 @@ PKCS_API CK_RV C_Finalize(CK_VOID_PTR pReserved)
68 {
69 try
70 {
71+ if (objects_deleted == 1)
72+ return CKR_FUNCTION_FAILED;
73 return SoftHSM::i()->C_Finalize(pReserved);
74 }
75 catch (...)
76@@ -160,6 +166,8 @@ PKCS_API CK_RV C_GetInfo(CK_INFO_PTR pInfo)
77 {
78 try
79 {
80+ if (objects_deleted == 1)
81+ return CKR_FUNCTION_FAILED;
82 return SoftHSM::i()->C_GetInfo(pInfo);
83 }
84 catch (...)
85@@ -175,6 +183,8 @@ PKCS_API CK_RV C_GetFunctionList(CK_FUNCTION_LIST_PTR_PTR ppFunctionList)
86 {
87 try
88 {
89+ if (objects_deleted == 1)
90+ return CKR_FUNCTION_FAILED;
91 if (ppFunctionList == NULL_PTR) return CKR_ARGUMENTS_BAD;
92
93 *ppFunctionList = &functionList;
94@@ -194,6 +204,8 @@ PKCS_API CK_RV C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, CK
95 {
96 try
97 {
98+ if (objects_deleted == 1)
99+ return CKR_FUNCTION_FAILED;
100 return SoftHSM::i()->C_GetSlotList(tokenPresent, pSlotList, pulCount);
101 }
102 catch (...)
103@@ -209,6 +221,8 @@ PKCS_API CK_RV C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo)
104 {
105 try
106 {
107+ if (objects_deleted == 1)
108+ return CKR_FUNCTION_FAILED;
109 return SoftHSM::i()->C_GetSlotInfo(slotID, pInfo);
110 }
111 catch (...)
112@@ -224,6 +238,8 @@ PKCS_API CK_RV C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo)
113 {
114 try
115 {
116+ if (objects_deleted == 1)
117+ return CKR_FUNCTION_FAILED;
118 return SoftHSM::i()->C_GetTokenInfo(slotID, pInfo);
119 }
120 catch (...)
121@@ -239,6 +255,8 @@ PKCS_API CK_RV C_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMech
122 {
123 try
124 {
125+ if (objects_deleted == 1)
126+ return CKR_FUNCTION_FAILED;
127 return SoftHSM::i()->C_GetMechanismList(slotID, pMechanismList, pulCount);
128 }
129 catch (...)
130@@ -254,6 +272,8 @@ PKCS_API CK_RV C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_
131 {
132 try
133 {
134+ if (objects_deleted == 1)
135+ return CKR_FUNCTION_FAILED;
136 return SoftHSM::i()->C_GetMechanismInfo(slotID, type, pInfo);
137 }
138 catch (...)
139@@ -269,6 +289,8 @@ PKCS_API CK_RV C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulP
140 {
141 try
142 {
143+ if (objects_deleted == 1)
144+ return CKR_FUNCTION_FAILED;
145 return SoftHSM::i()->C_InitToken(slotID, pPin, ulPinLen, pLabel);
146 }
147 catch (...)
148@@ -284,6 +306,8 @@ PKCS_API CK_RV C_InitPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, CK_UL
149 {
150 try
151 {
152+ if (objects_deleted == 1)
153+ return CKR_FUNCTION_FAILED;
154 return SoftHSM::i()->C_InitPIN(hSession, pPin, ulPinLen);
155 }
156 catch (...)
157@@ -299,6 +323,8 @@ PKCS_API CK_RV C_SetPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pOldPin, CK_
158 {
159 try
160 {
161+ if (objects_deleted == 1)
162+ return CKR_FUNCTION_FAILED;
163 return SoftHSM::i()->C_SetPIN(hSession, pOldPin, ulOldLen, pNewPin, ulNewLen);
164 }
165 catch (...)
166@@ -314,6 +340,8 @@ PKCS_API CK_RV C_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApp
167 {
168 try
169 {
170+ if (objects_deleted == 1)
171+ return CKR_FUNCTION_FAILED;
172 return SoftHSM::i()->C_OpenSession(slotID, flags, pApplication, notify, phSession);
173 }
174 catch (...)
175@@ -329,6 +357,8 @@ PKCS_API CK_RV C_CloseSession(CK_SESSION_HANDLE hSession)
176 {
177 try
178 {
179+ if (objects_deleted == 1)
180+ return CKR_FUNCTION_FAILED;
181 return SoftHSM::i()->C_CloseSession(hSession);
182 }
183 catch (...)
184@@ -344,6 +374,8 @@ PKCS_API CK_RV C_CloseAllSessions(CK_SLOT_ID slotID)
185 {
186 try
187 {
188+ if (objects_deleted == 1)
189+ return CKR_FUNCTION_FAILED;
190 return SoftHSM::i()->C_CloseAllSessions(slotID);
191 }
192 catch (...)
193@@ -359,6 +391,8 @@ PKCS_API CK_RV C_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR
194 {
195 try
196 {
197+ if (objects_deleted == 1)
198+ return CKR_FUNCTION_FAILED;
199 return SoftHSM::i()->C_GetSessionInfo(hSession, pInfo);
200 }
201 catch (...)
202@@ -374,6 +408,8 @@ PKCS_API CK_RV C_GetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOper
203 {
204 try
205 {
206+ if (objects_deleted == 1)
207+ return CKR_FUNCTION_FAILED;
208 return SoftHSM::i()->C_GetOperationState(hSession, pOperationState, pulOperationStateLen);
209 }
210 catch (...)
211@@ -389,6 +425,8 @@ PKCS_API CK_RV C_SetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOper
212 {
213 try
214 {
215+ if (objects_deleted == 1)
216+ return CKR_FUNCTION_FAILED;
217 return SoftHSM::i()->C_SetOperationState(hSession, pOperationState, ulOperationStateLen, hEncryptionKey, hAuthenticationKey);
218 }
219 catch (...)
220@@ -404,6 +442,8 @@ PKCS_API CK_RV C_Login(CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, CK_UTF
221 {
222 try
223 {
224+ if (objects_deleted == 1)
225+ return CKR_FUNCTION_FAILED;
226 return SoftHSM::i()->C_Login(hSession, userType, pPin, ulPinLen);
227 }
228 catch (...)
229@@ -419,6 +459,8 @@ PKCS_API CK_RV C_Logout(CK_SESSION_HANDLE hSession)
230 {
231 try
232 {
233+ if (objects_deleted == 1)
234+ return CKR_FUNCTION_FAILED;
235 return SoftHSM::i()->C_Logout(hSession);
236 }
237 catch (...)
238@@ -434,6 +476,8 @@ PKCS_API CK_RV C_CreateObject(CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemp
239 {
240 try
241 {
242+ if (objects_deleted == 1)
243+ return CKR_FUNCTION_FAILED;
244 return SoftHSM::i()->C_CreateObject(hSession, pTemplate, ulCount, phObject);
245 }
246 catch (...)
247@@ -449,6 +493,8 @@ PKCS_API CK_RV C_CopyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject
248 {
249 try
250 {
251+ if (objects_deleted == 1)
252+ return CKR_FUNCTION_FAILED;
253 return SoftHSM::i()->C_CopyObject(hSession, hObject, pTemplate, ulCount, phNewObject);
254 }
255 catch (...)
256@@ -464,6 +510,8 @@ PKCS_API CK_RV C_DestroyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObj
257 {
258 try
259 {
260+ if (objects_deleted == 1)
261+ return CKR_FUNCTION_FAILED;
262 return SoftHSM::i()->C_DestroyObject(hSession, hObject);
263 }
264 catch (...)
265@@ -479,6 +527,8 @@ PKCS_API CK_RV C_GetObjectSize(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObj
266 {
267 try
268 {
269+ if (objects_deleted == 1)
270+ return CKR_FUNCTION_FAILED;
271 return SoftHSM::i()->C_GetObjectSize(hSession, hObject, pulSize);
272 }
273 catch (...)
274@@ -494,6 +544,8 @@ PKCS_API CK_RV C_GetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE
275 {
276 try
277 {
278+ if (objects_deleted == 1)
279+ return CKR_FUNCTION_FAILED;
280 return SoftHSM::i()->C_GetAttributeValue(hSession, hObject, pTemplate, ulCount);
281 }
282 catch (...)
283@@ -509,6 +561,8 @@ PKCS_API CK_RV C_SetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE
284 {
285 try
286 {
287+ if (objects_deleted == 1)
288+ return CKR_FUNCTION_FAILED;
289 return SoftHSM::i()->C_SetAttributeValue(hSession, hObject, pTemplate, ulCount);
290 }
291 catch (...)
292@@ -524,6 +578,8 @@ PKCS_API CK_RV C_FindObjectsInit(CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pT
293 {
294 try
295 {
296+ if (objects_deleted == 1)
297+ return CKR_FUNCTION_FAILED;
298 return SoftHSM::i()->C_FindObjectsInit(hSession, pTemplate, ulCount);
299 }
300 catch (...)
301@@ -539,6 +595,8 @@ PKCS_API CK_RV C_FindObjects(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE_PTR ph
302 {
303 try
304 {
305+ if (objects_deleted == 1)
306+ return CKR_FUNCTION_FAILED;
307 return SoftHSM::i()->C_FindObjects(hSession, phObject, ulMaxObjectCount, pulObjectCount);
308 }
309 catch (...)
310@@ -554,6 +612,8 @@ PKCS_API CK_RV C_FindObjectsFinal(CK_SESSION_HANDLE hSession)
311 {
312 try
313 {
314+ if (objects_deleted == 1)
315+ return CKR_FUNCTION_FAILED;
316 return SoftHSM::i()->C_FindObjectsFinal(hSession);
317 }
318 catch (...)
319@@ -569,6 +629,8 @@ PKCS_API CK_RV C_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMecha
320 {
321 try
322 {
323+ if (objects_deleted == 1)
324+ return CKR_FUNCTION_FAILED;
325 return SoftHSM::i()->C_EncryptInit(hSession, pMechanism, hObject);
326 }
327 catch (...)
328@@ -584,6 +646,8 @@ PKCS_API CK_RV C_Encrypt(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG
329 {
330 try
331 {
332+ if (objects_deleted == 1)
333+ return CKR_FUNCTION_FAILED;
334 return SoftHSM::i()->C_Encrypt(hSession, pData, ulDataLen, pEncryptedData, pulEncryptedDataLen);
335 }
336 catch (...)
337@@ -599,6 +663,8 @@ PKCS_API CK_RV C_EncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK
338 {
339 try
340 {
341+ if (objects_deleted == 1)
342+ return CKR_FUNCTION_FAILED;
343 return SoftHSM::i()->C_EncryptUpdate(hSession, pData, ulDataLen, pEncryptedData, pulEncryptedDataLen);
344 }
345 catch (...)
346@@ -614,6 +680,8 @@ PKCS_API CK_RV C_EncryptFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncrypted
347 {
348 try
349 {
350+ if (objects_deleted == 1)
351+ return CKR_FUNCTION_FAILED;
352 return SoftHSM::i()->C_EncryptFinal(hSession, pEncryptedData, pulEncryptedDataLen);
353 }
354 catch (...)
355@@ -629,6 +697,8 @@ PKCS_API CK_RV C_DecryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMecha
356 {
357 try
358 {
359+ if (objects_deleted == 1)
360+ return CKR_FUNCTION_FAILED;
361 return SoftHSM::i()->C_DecryptInit(hSession, pMechanism, hObject);
362 }
363 catch (...)
364@@ -644,6 +714,8 @@ PKCS_API CK_RV C_Decrypt(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedData,
365 {
366 try
367 {
368+ if (objects_deleted == 1)
369+ return CKR_FUNCTION_FAILED;
370 return SoftHSM::i()->C_Decrypt(hSession, pEncryptedData, ulEncryptedDataLen, pData, pulDataLen);
371 }
372 catch (...)
373@@ -659,6 +731,8 @@ PKCS_API CK_RV C_DecryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncrypte
374 {
375 try
376 {
377+ if (objects_deleted == 1)
378+ return CKR_FUNCTION_FAILED;
379 return SoftHSM::i()->C_DecryptUpdate(hSession, pEncryptedData, ulEncryptedDataLen, pData, pDataLen);
380 }
381 catch (...)
382@@ -674,6 +748,8 @@ PKCS_API CK_RV C_DecryptFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_
383 {
384 try
385 {
386+ if (objects_deleted == 1)
387+ return CKR_FUNCTION_FAILED;
388 return SoftHSM::i()->C_DecryptFinal(hSession, pData, pDataLen);
389 }
390 catch (...)
391@@ -689,6 +765,8 @@ PKCS_API CK_RV C_DigestInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechan
392 {
393 try
394 {
395+ if (objects_deleted == 1)
396+ return CKR_FUNCTION_FAILED;
397 return SoftHSM::i()->C_DigestInit(hSession, pMechanism);
398 }
399 catch (...)
400@@ -704,6 +782,8 @@ PKCS_API CK_RV C_Digest(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG
401 {
402 try
403 {
404+ if (objects_deleted == 1)
405+ return CKR_FUNCTION_FAILED;
406 return SoftHSM::i()->C_Digest(hSession, pData, ulDataLen, pDigest, pulDigestLen);
407 }
408 catch (...)
409@@ -719,6 +799,8 @@ PKCS_API CK_RV C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_
410 {
411 try
412 {
413+ if (objects_deleted == 1)
414+ return CKR_FUNCTION_FAILED;
415 return SoftHSM::i()->C_DigestUpdate(hSession, pPart, ulPartLen);
416 }
417 catch (...)
418@@ -734,6 +816,8 @@ PKCS_API CK_RV C_DigestKey(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject)
419 {
420 try
421 {
422+ if (objects_deleted == 1)
423+ return CKR_FUNCTION_FAILED;
424 return SoftHSM::i()->C_DigestKey(hSession, hObject);
425 }
426 catch (...)
427@@ -749,6 +833,8 @@ PKCS_API CK_RV C_DigestFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest, CK
428 {
429 try
430 {
431+ if (objects_deleted == 1)
432+ return CKR_FUNCTION_FAILED;
433 return SoftHSM::i()->C_DigestFinal(hSession, pDigest, pulDigestLen);
434 }
435 catch (...)
436@@ -764,6 +850,8 @@ PKCS_API CK_RV C_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanis
437 {
438 try
439 {
440+ if (objects_deleted == 1)
441+ return CKR_FUNCTION_FAILED;
442 return SoftHSM::i()->C_SignInit(hSession, pMechanism, hKey);
443 }
444 catch (...)
445@@ -779,6 +867,8 @@ PKCS_API CK_RV C_Sign(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ul
446 {
447 try
448 {
449+ if (objects_deleted == 1)
450+ return CKR_FUNCTION_FAILED;
451 return SoftHSM::i()->C_Sign(hSession, pData, ulDataLen, pSignature, pulSignatureLen);
452 }
453 catch (...)
454@@ -794,6 +884,8 @@ PKCS_API CK_RV C_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_UL
455 {
456 try
457 {
458+ if (objects_deleted == 1)
459+ return CKR_FUNCTION_FAILED;
460 return SoftHSM::i()->C_SignUpdate(hSession, pPart, ulPartLen);
461 }
462 catch (...)
463@@ -809,6 +901,8 @@ PKCS_API CK_RV C_SignFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, C
464 {
465 try
466 {
467+ if (objects_deleted == 1)
468+ return CKR_FUNCTION_FAILED;
469 return SoftHSM::i()->C_SignFinal(hSession, pSignature, pulSignatureLen);
470 }
471 catch (...)
472@@ -824,6 +918,8 @@ PKCS_API CK_RV C_SignRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pM
473 {
474 try
475 {
476+ if (objects_deleted == 1)
477+ return CKR_FUNCTION_FAILED;
478 return SoftHSM::i()->C_SignRecoverInit(hSession, pMechanism, hKey);
479 }
480 catch (...)
481@@ -839,6 +935,8 @@ PKCS_API CK_RV C_SignRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_U
482 {
483 try
484 {
485+ if (objects_deleted == 1)
486+ return CKR_FUNCTION_FAILED;
487 return SoftHSM::i()->C_SignRecover(hSession, pData, ulDataLen, pSignature, pulSignatureLen);
488 }
489 catch (...)
490@@ -854,6 +952,8 @@ PKCS_API CK_RV C_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechan
491 {
492 try
493 {
494+ if (objects_deleted == 1)
495+ return CKR_FUNCTION_FAILED;
496 return SoftHSM::i()->C_VerifyInit(hSession, pMechanism, hKey);
497 }
498 catch (...)
499@@ -869,6 +969,8 @@ PKCS_API CK_RV C_Verify(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG
500 {
501 try
502 {
503+ if (objects_deleted == 1)
504+ return CKR_FUNCTION_FAILED;
505 return SoftHSM::i()->C_Verify(hSession, pData, ulDataLen, pSignature, ulSignatureLen);
506 }
507 catch (...)
508@@ -884,6 +986,8 @@ PKCS_API CK_RV C_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_
509 {
510 try
511 {
512+ if (objects_deleted == 1)
513+ return CKR_FUNCTION_FAILED;
514 return SoftHSM::i()->C_VerifyUpdate(hSession, pPart, ulPartLen);
515 }
516 catch (...)
517@@ -899,6 +1003,8 @@ PKCS_API CK_RV C_VerifyFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature,
518 {
519 try
520 {
521+ if (objects_deleted == 1)
522+ return CKR_FUNCTION_FAILED;
523 return SoftHSM::i()->C_VerifyFinal(hSession, pSignature, ulSignatureLen);
524 }
525 catch (...)
526@@ -914,6 +1020,8 @@ PKCS_API CK_RV C_VerifyRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR
527 {
528 try
529 {
530+ if (objects_deleted == 1)
531+ return CKR_FUNCTION_FAILED;
532 return SoftHSM::i()->C_VerifyRecoverInit(hSession, pMechanism, hKey);
533 }
534 catch (...)
535@@ -929,6 +1037,8 @@ PKCS_API CK_RV C_VerifyRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignatur
536 {
537 try
538 {
539+ if (objects_deleted == 1)
540+ return CKR_FUNCTION_FAILED;
541 return SoftHSM::i()->C_VerifyRecover(hSession, pSignature, ulSignatureLen, pData, pulDataLen);
542 }
543 catch (...)
544@@ -944,6 +1054,8 @@ PKCS_API CK_RV C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPa
545 {
546 try
547 {
548+ if (objects_deleted == 1)
549+ return CKR_FUNCTION_FAILED;
550 return SoftHSM::i()->C_DigestEncryptUpdate(hSession, pPart, ulPartLen, pEncryptedPart, pulEncryptedPartLen);
551 }
552 catch (...)
553@@ -959,6 +1071,8 @@ PKCS_API CK_RV C_DecryptDigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPa
554 {
555 try
556 {
557+ if (objects_deleted == 1)
558+ return CKR_FUNCTION_FAILED;
559 return SoftHSM::i()->C_DecryptDigestUpdate(hSession, pPart, ulPartLen, pDecryptedPart, pulDecryptedPartLen);
560 }
561 catch (...)
562@@ -974,6 +1088,8 @@ PKCS_API CK_RV C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart
563 {
564 try
565 {
566+ if (objects_deleted == 1)
567+ return CKR_FUNCTION_FAILED;
568 return SoftHSM::i()->C_SignEncryptUpdate(hSession, pPart, ulPartLen, pEncryptedPart, pulEncryptedPartLen);
569 }
570 catch (...)
571@@ -989,6 +1105,8 @@ PKCS_API CK_RV C_DecryptVerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEn
572 {
573 try
574 {
575+ if (objects_deleted == 1)
576+ return CKR_FUNCTION_FAILED;
577 return SoftHSM::i()->C_DecryptVerifyUpdate(hSession, pEncryptedPart, ulEncryptedPartLen, pPart, pulPartLen);
578 }
579 catch (...)
580@@ -1004,6 +1122,8 @@ PKCS_API CK_RV C_GenerateKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMecha
581 {
582 try
583 {
584+ if (objects_deleted == 1)
585+ return CKR_FUNCTION_FAILED;
586 return SoftHSM::i()->C_GenerateKey(hSession, pMechanism, pTemplate, ulCount, phKey);
587 }
588 catch (...)
589@@ -1029,6 +1149,8 @@ PKCS_API CK_RV C_GenerateKeyPair
590 {
591 try
592 {
593+ if (objects_deleted == 1)
594+ return CKR_FUNCTION_FAILED;
595 return SoftHSM::i()->C_GenerateKeyPair(hSession, pMechanism, pPublicKeyTemplate, ulPublicKeyAttributeCount, pPrivateKeyTemplate, ulPrivateKeyAttributeCount, phPublicKey, phPrivateKey);
596 }
597 catch (...)
598@@ -1052,6 +1174,8 @@ PKCS_API CK_RV C_WrapKey
599 {
600 try
601 {
602+ if (objects_deleted == 1)
603+ return CKR_FUNCTION_FAILED;
604 return SoftHSM::i()->C_WrapKey(hSession, pMechanism, hWrappingKey, hKey, pWrappedKey, pulWrappedKeyLen);
605 }
606 catch (...)
607@@ -1077,6 +1201,8 @@ PKCS_API CK_RV C_UnwrapKey
608 {
609 try
610 {
611+ if (objects_deleted == 1)
612+ return CKR_FUNCTION_FAILED;
613 return SoftHSM::i()->C_UnwrapKey(hSession, pMechanism, hUnwrappingKey, pWrappedKey, ulWrappedKeyLen, pTemplate, ulCount, phKey);
614 }
615 catch (...)
616@@ -1100,6 +1226,8 @@ PKCS_API CK_RV C_DeriveKey
617 {
618 try
619 {
620+ if (objects_deleted == 1)
621+ return CKR_FUNCTION_FAILED;
622 return SoftHSM::i()->C_DeriveKey(hSession, pMechanism, hBaseKey, pTemplate, ulCount, phKey);
623 }
624 catch (...)
625@@ -1115,6 +1243,8 @@ PKCS_API CK_RV C_SeedRandom(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSeed, CK_UL
626 {
627 try
628 {
629+ if (objects_deleted == 1)
630+ return CKR_FUNCTION_FAILED;
631 return SoftHSM::i()->C_SeedRandom(hSession, pSeed, ulSeedLen);
632 }
633 catch (...)
634@@ -1130,6 +1260,8 @@ PKCS_API CK_RV C_GenerateRandom(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pRandomD
635 {
636 try
637 {
638+ if (objects_deleted == 1)
639+ return CKR_FUNCTION_FAILED;
640 return SoftHSM::i()->C_GenerateRandom(hSession, pRandomData, ulRandomLen);
641 }
642 catch (...)
643@@ -1145,6 +1277,8 @@ PKCS_API CK_RV C_GetFunctionStatus(CK_SESSION_HANDLE hSession)
644 {
645 try
646 {
647+ if (objects_deleted == 1)
648+ return CKR_FUNCTION_FAILED;
649 return SoftHSM::i()->C_GetFunctionStatus(hSession);
650 }
651 catch (...)
652@@ -1160,6 +1294,8 @@ PKCS_API CK_RV C_CancelFunction(CK_SESSION_HANDLE hSession)
653 {
654 try
655 {
656+ if (objects_deleted == 1)
657+ return CKR_FUNCTION_FAILED;
658 return SoftHSM::i()->C_CancelFunction(hSession);
659 }
660 catch (...)
661@@ -1175,6 +1311,8 @@ PKCS_API CK_RV C_WaitForSlotEvent(CK_FLAGS flags, CK_SLOT_ID_PTR pSlot, CK_VOID_
662 {
663 try
664 {
665+ if (objects_deleted == 1)
666+ return CKR_FUNCTION_FAILED;
667 return SoftHSM::i()->C_WaitForSlotEvent(flags, pSlot, pReserved);
668 }
669 catch (...)
670--
6712.42.0
672
diff --git a/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb b/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb
index 930bca96f..66f048879 100644
--- a/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb
+++ b/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb
@@ -7,6 +7,7 @@ DEPENDS = "sqlite3"
7 7
8SRC_URI = "https://dist.opendnssec.org/source/softhsm-2.6.1.tar.gz \ 8SRC_URI = "https://dist.opendnssec.org/source/softhsm-2.6.1.tar.gz \
9 file://0001-avoid-unnecessary-check-for-sqlite3-binary.patch \ 9 file://0001-avoid-unnecessary-check-for-sqlite3-binary.patch \
10 file://0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch \
10" 11"
11SRC_URI[sha256sum] = "61249473054bcd1811519ef9a989a880a7bdcc36d317c9c25457fc614df475f2" 12SRC_URI[sha256sum] = "61249473054bcd1811519ef9a989a880a7bdcc36d317c9c25457fc614df475f2"
12 13
diff --git a/meta-oe/recipes-support/asio/asio/0001-tests-Remove-blocking_adaptation.cpp.patch b/meta-oe/recipes-support/asio/asio/0001-tests-Remove-blocking_adaptation.cpp.patch
new file mode 100644
index 000000000..5aa502916
--- /dev/null
+++ b/meta-oe/recipes-support/asio/asio/0001-tests-Remove-blocking_adaptation.cpp.patch
@@ -0,0 +1,37 @@
1From 7d76513b82a67e117d195a1b5a0d6c2e8591488b Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Thu, 10 Oct 2024 13:58:38 +0800
4Subject: [PATCH] tests: Remove blocking_adaptation.cpp
5
6The test failed to build with clang as below.
7../../../asio-1.30.2/src/tests/../../include/asio/execution/blocking_adaptation.hpp:216:13: error: call to 'query' is ambiguous
8 216 | conditional_t<true, T, P>::query(static_cast<P&&>(p))
9 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10../../../asio-1.30.2/src/tests/../../include/asio/execution/blocking_adaptation.hpp:213:29: note: in instantiation of exception specification for 'query<asio::execution::detail::blocking_adaptation::allowed_t<>>' requested here
11 213 | static constexpr auto query(P&& p)
12 |
13
14We can add the case back once the above build failure resolved then.
15
16Upstream-Status: Pending
17
18Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
19---
20 src/tests/Makefile.am | 1 -
21 1 file changed, 1 deletion(-)
22
23diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
24index 04f8a03..eab2d56 100644
25--- a/src/tests/Makefile.am
26+++ b/src/tests/Makefile.am
27@@ -68,7 +68,6 @@ check_PROGRAMS = \
28 unit/error \
29 unit/execution/any_executor \
30 unit/execution/blocking \
31- unit/execution/blocking_adaptation \
32 unit/execution/context_as \
33 unit/execution/executor \
34 unit/execution/invocable_archetype \
35--
362.34.1
37
diff --git a/meta-oe/recipes-support/asio/asio/run-ptest b/meta-oe/recipes-support/asio/asio/run-ptest
new file mode 100644
index 000000000..d37db0b31
--- /dev/null
+++ b/meta-oe/recipes-support/asio/asio/run-ptest
@@ -0,0 +1,19 @@
1#!/bin/sh
2
3ptestdir=$(dirname "$(readlink -f "$0")")
4cd "$ptestdir"/tests || exit
5
6tests=$(find * -type f -executable)
7
8rm -rf test.log
9
10for f in $tests
11do
12 if test -x ./"$f"; then
13 if ./"$f" > test.log 2>&1; then
14 echo "PASS: $f"
15 else
16 echo "FAIL: $f"
17 fi
18 fi
19done
diff --git a/meta-oe/recipes-support/asio/asio_1.30.2.bb b/meta-oe/recipes-support/asio/asio_1.30.2.bb
index 6930381ec..1f492b71e 100644
--- a/meta-oe/recipes-support/asio/asio_1.30.2.bb
+++ b/meta-oe/recipes-support/asio/asio_1.30.2.bb
@@ -8,9 +8,12 @@ LICENSE = "BSL-1.0"
8 8
9DEPENDS = "openssl" 9DEPENDS = "openssl"
10 10
11SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2" 11SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2 \
12 file://0001-tests-Remove-blocking_adaptation.cpp.patch \
13 file://run-ptest \
14"
12 15
13inherit autotools 16inherit autotools ptest
14 17
15ALLOW_EMPTY:${PN} = "1" 18ALLOW_EMPTY:${PN} = "1"
16 19
@@ -22,4 +25,16 @@ PACKAGECONFIG ??= "boost"
22 25
23PACKAGECONFIG[boost] = "--with-boost=${STAGING_LIBDIR},--without-boost,boost" 26PACKAGECONFIG[boost] = "--with-boost=${STAGING_LIBDIR},--without-boost,boost"
24 27
28TESTDIR = "src/tests"
29do_compile_ptest() {
30 echo 'buildtest-TESTS: $(check_PROGRAMS)' >> ${TESTDIR}/Makefile
31 oe_runmake -C ${TESTDIR} buildtest-TESTS
32}
33
34do_install_ptest() {
35 install -d ${D}${PTEST_PATH}/tests
36 # copy executables
37 find ${B}/${TESTDIR}/unit -type f -executable -exec cp {} ${D}${PTEST_PATH}/tests/ \;
38}
39
25BBCLASSEXTEND = "native nativesdk" 40BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch b/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch
new file mode 100644
index 000000000..f4c0be19b
--- /dev/null
+++ b/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch
@@ -0,0 +1,38 @@
1From ef1aaeee984ab13dab5d46c73e9b207cbdf62c55 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= <l.goehrs@pengutronix.de>
3Date: Wed, 20 Dec 2023 14:37:20 +0100
4Subject: [PATCH] CMakeLists: do not use vendored libcurl
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Inappropriate [upstream ticket https://github.com/nxp-imx/bcu/issues/17]
10
11Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
12---
13 CMakeLists.txt | 5 +++--
14 1 file changed, 3 insertions(+), 2 deletions(-)
15
16diff --git a/CMakeLists.txt b/CMakeLists.txt
17index 3475179..bfecdb0 100644
18--- a/CMakeLists.txt
19+++ b/CMakeLists.txt
20@@ -17,15 +17,16 @@ pkg_check_modules(LIBFTDI REQUIRED libftdi1)
21 pkg_check_modules(LIBYAML REQUIRED yaml-0.1)
22 pkg_check_modules(LIBOPENSSL REQUIRED openssl)
23 pkg_check_modules(LIBUSB REQUIRED libusb-1.0)
24+pkg_check_modules(LIBCURL REQUIRED libcurl)
25 project(bcu)
26-include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${PROJECT_SOURCE_DIR}/libftdi/src ${LIBYAML_INCLUDEDIR} ${PROJECT_SOURCE_DIR}/libcurl/include)
27+include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${LIBYAML_INCLUDEDIR})
28 include_directories(${PROJECT_SOURCE_DIR})
29
30 message("operation system is ${CMAKE_SYSTEM}")
31 if (LINUX)
32 add_executable(bcu bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_https.c bcu_ftdi_eeprom.c)
33 link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS})
34- target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${PROJECT_SOURCE_DIR}/libcurl/build.bcu/lib/libcurl.a -lpthread -lssl -lcrypto -lm)
35+ target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} -lcurl -lpthread -lssl -lcrypto -lm)
36 execute_process( COMMAND ${PROJECT_SOURCE_DIR}/create_version_h.sh ${PROJECT_SOURCE_DIR}
37 COMMAND ${PROJECT_SOURCE_DIR}/build_libs.sh ${PROJECT_SOURCE_DIR})
38 install(TARGETS bcu DESTINATION bin)
diff --git a/meta-oe/recipes-support/bcu/bcu_1.1.100.bb b/meta-oe/recipes-support/bcu/bcu_1.1.100.bb
new file mode 100644
index 000000000..bf6e4f4b6
--- /dev/null
+++ b/meta-oe/recipes-support/bcu/bcu_1.1.100.bb
@@ -0,0 +1,23 @@
1SUMMARY = "NXP Board Control Utilities"
2DESCRIPTION = "The NXP Board Control Utilities are able to control various \
3 features of NXP i.MX evaluation boards (EVK) from a host \
4 computer. \
5 Features like resetting the board, selecting the boot mode, \
6 monitoring power consumption, programming the EEPROM and others"
7HOMEPAGE = "https://github.com/nxp-imx/bcu"
8SECTION = "devel"
9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=884d48c2aa7b82e1ad4a33909fab24b6"
11
12SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;branch=master \
13 file://0001-CMakeLists-do-not-use-vendored-libcurl.patch \
14 "
15SRCREV = "c34d89b29f3d0d12793cd78b194d2f1d11728baf"
16
17S = "${WORKDIR}/git"
18
19DEPENDS = "curl libyaml libusb1 openssl libftdi"
20
21inherit cmake pkgconfig
22
23BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb b/meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb
index a5a7a6365..fe51c1029 100644
--- a/meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb
+++ b/meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb
@@ -23,7 +23,7 @@ LIC_FILES_CHKSUM = "file://README.QUICK;md5=dd27361ad00943bb27bc3e0589037075"
23 23
24DEPENDS = "libatomic-ops" 24DEPENDS = "libatomic-ops"
25 25
26SRCREV = "e340b2e869e02718de9c9d7fa440ef4b35785388" 26SRCREV = "ee59af3722e56de8404de6cd0c21c2493cc4d855"
27SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-8_2;protocol=https" 27SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-8_2;protocol=https"
28 28
29S = "${WORKDIR}/git" 29S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-support/btop/btop_1.3.2.bb b/meta-oe/recipes-support/btop/btop_1.4.0.bb
index c473bf0a3..adfb2418b 100644
--- a/meta-oe/recipes-support/btop/btop_1.3.2.bb
+++ b/meta-oe/recipes-support/btop/btop_1.4.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5SECTION = "console/utils" 5SECTION = "console/utils"
6 6
7SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main" 7SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main"
8SRCREV = "fd2a2acdad6fbaad76846cb5e802cf2ae022d670" 8SRCREV = "6c0cedd8912785f0f353af389e72a0ffc69984a2"
9 9
10S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
11 11
diff --git a/meta-oe/recipes-support/colord/colord-native.bb b/meta-oe/recipes-support/colord/colord-native.bb
index 64dd94a9e..2c79be495 100644
--- a/meta-oe/recipes-support/colord/colord-native.bb
+++ b/meta-oe/recipes-support/colord/colord-native.bb
@@ -1,7 +1,5 @@
1require ${BPN}.inc 1require ${BPN}.inc
2 2
3FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-native:"
4
5inherit meson pkgconfig native 3inherit meson pkgconfig native
6 4
7DEPENDS += " \ 5DEPENDS += " \
diff --git a/meta-oe/recipes-support/colord/colord-native/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch b/meta-oe/recipes-support/colord/colord/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch
index a120b7311..a120b7311 100644
--- a/meta-oe/recipes-support/colord/colord-native/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch
+++ b/meta-oe/recipes-support/colord/colord/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch
diff --git a/meta-oe/recipes-support/colord/colord-native/Makefile b/meta-oe/recipes-support/colord/colord/Makefile
index 1e29e4f67..1e29e4f67 100644
--- a/meta-oe/recipes-support/colord/colord-native/Makefile
+++ b/meta-oe/recipes-support/colord/colord/Makefile
diff --git a/meta-oe/recipes-support/dool/dool_1.3.2.bb b/meta-oe/recipes-support/dool/dool_1.3.3.bb
index f7e403018..ba75a632e 100644
--- a/meta-oe/recipes-support/dool/dool_1.3.2.bb
+++ b/meta-oe/recipes-support/dool/dool_1.3.3.bb
@@ -12,7 +12,7 @@ RDEPENDS:${PN} += "python3-core python3-misc python3-resource python3-shell pyth
12SRC_URI = "git://github.com/scottchiefbaker/dool.git;branch=master;protocol=https \ 12SRC_URI = "git://github.com/scottchiefbaker/dool.git;branch=master;protocol=https \
13 " 13 "
14 14
15SRCREV = "b2862905be841232c9e36ce1e059d3fe34ef0cdf" 15SRCREV = "e42e8c73043127283762eb52a2e31b7ab0aac177"
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18 18
diff --git a/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb b/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb
index 47b070557..e75c88210 100644
--- a/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb
+++ b/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb
@@ -29,8 +29,9 @@ SRC_URI += " \
29 file://run-ptest \ 29 file://run-ptest \
30 file://fuse3.conf \ 30 file://fuse3.conf \
31" 31"
32 32#python3-compile for filecmp module
33RDEPENDS:${PN}-ptest += " \ 33RDEPENDS:${PN}-ptest += " \
34 python3-compile \
34 python3-pytest \ 35 python3-pytest \
35 python3-looseversion \ 36 python3-looseversion \
36 bash \ 37 bash \
diff --git a/meta-oe/recipes-support/glog/glog/0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch b/meta-oe/recipes-support/glog/glog/0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch
deleted file mode 100644
index 3732c62cd..000000000
--- a/meta-oe/recipes-support/glog/glog/0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 176230435cb4b64ff7f2d97f77a04579ad9ca239 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 18 Feb 2023 13:14:14 -0800
4Subject: [PATCH] Change SleepForMilliseconds parameter from unsigned int -> long
5
6Fixes following error on 32bit platforms
7
8src/googletest.h:631:35: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'long' in initializer list [-Wc++11-narrowing]
9 const struct timespec req = {0, t * 1000 * 1000};
10 ^~~~~~~~~~~~~~~
11
12Upstream-Status: Submitted [https://github.com/google/glog/pull/894]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/googletest.h | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/src/googletest.h b/src/googletest.h
19index 5761361..836b06c 100644
20--- a/src/googletest.h
21+++ b/src/googletest.h
22@@ -625,7 +625,7 @@ class Thread {
23 #endif
24 };
25
26-static inline void SleepForMilliseconds(unsigned t) {
27+static inline void SleepForMilliseconds(long t) {
28 #ifndef GLOG_OS_WINDOWS
29 # if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199309L
30 const struct timespec req = {0, t * 1000 * 1000};
31--
322.39.2
33
diff --git a/meta-oe/recipes-support/glog/glog/libexecinfo.patch b/meta-oe/recipes-support/glog/glog/libexecinfo.patch
deleted file mode 100644
index a791a40db..000000000
--- a/meta-oe/recipes-support/glog/glog/libexecinfo.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 19d00c15710840910a7397252c14d612746631fe Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 8 Mar 2021 14:58:40 -0800
4Subject: [PATCH] Link libexecinfo if its found, this is needed for musl based
5 systems
6
7Fixes
8ld: libglog.so.0.4.0: undefined reference to `backtrace'
9| collect2: error: ld returned 1 exit status
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
14---
15 CMakeLists.txt | 5 +++++
16 1 file changed, 5 insertions(+)
17
18diff --git a/CMakeLists.txt b/CMakeLists.txt
19index 846b444..1553358 100644
20--- a/CMakeLists.txt
21+++ b/CMakeLists.txt
22@@ -162,6 +162,7 @@ cmake_pop_check_state ()
23 check_cxx_symbol_exists (snprintf cstdio HAVE_SNPRINTF)
24
25 check_library_exists (dbghelp UnDecorateSymbolName "" HAVE_DBGHELP)
26+check_library_exists (execinfo backtrace "" HAVE_EXECINFO)
27
28 check_cxx_source_compiles ("
29 #include <cstdlib>
30@@ -629,6 +630,10 @@ if (Unwind_FOUND)
31 set (Unwind_DEPENDENCY "find_dependency (Unwind ${Unwind_VERSION})")
32 endif (Unwind_FOUND)
33
34+if (HAVE_EXECINFO)
35+ target_link_libraries (glog PUBLIC execinfo)
36+endif (HAVE_EXECINFO)
37+
38 if (HAVE_DBGHELP)
39 target_link_libraries (glog PRIVATE dbghelp)
40 set (glog_libraries_options_for_static_linking "${glog_libraries_options_for_static_linking} -ldbghelp")
diff --git a/meta-oe/recipes-support/glog/glog_0.6.0.bb b/meta-oe/recipes-support/glog/glog_0.7.1.bb
index ec39604f4..586afcad5 100644
--- a/meta-oe/recipes-support/glog/glog_0.6.0.bb
+++ b/meta-oe/recipes-support/glog/glog_0.7.1.bb
@@ -4,15 +4,13 @@ macros."
4HOMEPAGE = "https://github.com/google/glog" 4HOMEPAGE = "https://github.com/google/glog"
5 5
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b" 7LIC_FILES_CHKSUM = "file://COPYING;md5=583a6ead531ca3cd5a2ea593a2888800"
8 8
9SRC_URI = " \ 9SRC_URI = " \
10 git://github.com/google/glog.git;branch=master;protocol=https \ 10 git://github.com/google/glog.git;branch=master;protocol=https \
11 file://libexecinfo.patch \
12 file://0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch \
13" 11"
14 12
15SRCREV = "b33e3bad4c46c8a6345525fd822af355e5ef9446" 13SRCREV = "7b134a5c82c0c0b5698bb6bf7a835b230c5638e4"
16 14
17S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
18 16
@@ -24,6 +22,7 @@ PACKAGECONFIG:remove:riscv32 = "unwind 64bit-atomics"
24PACKAGECONFIG:remove:mipsarch = "64bit-atomics" 22PACKAGECONFIG:remove:mipsarch = "64bit-atomics"
25PACKAGECONFIG:remove:armv5 = "64bit-atomics" 23PACKAGECONFIG:remove:armv5 = "64bit-atomics"
26PACKAGECONFIG:remove:armv6 = "64bit-atomics" 24PACKAGECONFIG:remove:armv6 = "64bit-atomics"
25PACKAGECONFIG:remove:powerpc = "64bit-atomics"
27 26
28PACKAGECONFIG:append:libc-musl:riscv64 = " execinfo" 27PACKAGECONFIG:append:libc-musl:riscv64 = " execinfo"
29PACKAGECONFIG:append:libc-musl:riscv32 = " execinfo" 28PACKAGECONFIG:append:libc-musl:riscv32 = " execinfo"
diff --git a/meta-oe/recipes-support/gnulib/gnulib_202401.bb b/meta-oe/recipes-support/gnulib/gnulib_202401.bb
index 41675d358..8f70cd7a0 100644
--- a/meta-oe/recipes-support/gnulib/gnulib_202401.bb
+++ b/meta-oe/recipes-support/gnulib/gnulib_202401.bb
@@ -32,6 +32,5 @@ do_packagedata[noexec] = "1"
32deltask package_write_ipk 32deltask package_write_ipk
33deltask package_write_deb 33deltask package_write_deb
34deltask package_write_rpm 34deltask package_write_rpm
35deltask do_deploy_archives
36 35
37BBCLASSEXTEND = "native" 36BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/hwdata/hwdata_0.387.bb b/meta-oe/recipes-support/hwdata/hwdata_0.388.bb
index d73bb93aa..63fcfb22b 100644
--- a/meta-oe/recipes-support/hwdata/hwdata_0.387.bb
+++ b/meta-oe/recipes-support/hwdata/hwdata_0.388.bb
@@ -5,7 +5,7 @@ SECTION = "System/Base"
5LICENSE = "GPL-2.0-or-later | XFree86-1.0" 5LICENSE = "GPL-2.0-or-later | XFree86-1.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57"
7 7
8SRCREV = "f0ba62c0b0401c215aed8abb42cf7dcdb7e6fecc" 8SRCREV = "f25185c1814901bf85383693e0dd73bf1d8fe1a1"
9SRC_URI = "git://github.com/vcrhonek/${BPN}.git;branch=master;protocol=https" 9SRC_URI = "git://github.com/vcrhonek/${BPN}.git;branch=master;protocol=https"
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-Migrate-C-tests-to-use-Catch2-v3.patch b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-Migrate-C-tests-to-use-Catch2-v3.patch
deleted file mode 100644
index ac1eff510..000000000
--- a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-Migrate-C-tests-to-use-Catch2-v3.patch
+++ /dev/null
@@ -1,530 +0,0 @@
1From 0d3e1b3923a1fac80e9d75d8b5e33cd36f4fe659 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 31 May 2024 09:03:22 -0700
4Subject: [PATCH] bindings: cxx: Migrate C++ tests to use Catch2 v3
5
6Catch2 v3.x has API changes which needs to be addressed
7in the tests themselves, hence this changeset is to fix
8those.
9
10Upstream-Status: Submitted [https://lore.kernel.org/linux-gpio/20240531184223.3949069-1-raj.khem@gmail.com/T/#u]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12Cc: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
13---
14 bindings/cxx/tests/Makefile.am | 2 +-
15 bindings/cxx/tests/gpiod-cxx-test-main.cpp | 3 +--
16 bindings/cxx/tests/helpers.hpp | 8 +++---
17 bindings/cxx/tests/tests-chip-info.cpp | 30 ++++++++++-----------
18 bindings/cxx/tests/tests-chip.cpp | 14 +++++-----
19 bindings/cxx/tests/tests-edge-event.cpp | 2 +-
20 bindings/cxx/tests/tests-info-event.cpp | 2 +-
21 bindings/cxx/tests/tests-line-config.cpp | 2 +-
22 bindings/cxx/tests/tests-line-info.cpp | 22 +++++++--------
23 bindings/cxx/tests/tests-line-request.cpp | 16 +++++------
24 bindings/cxx/tests/tests-line-settings.cpp | 2 +-
25 bindings/cxx/tests/tests-line.cpp | 2 +-
26 bindings/cxx/tests/tests-misc.cpp | 2 +-
27 bindings/cxx/tests/tests-request-config.cpp | 10 +++----
28 configure.ac | 4 +--
29 15 files changed, 60 insertions(+), 61 deletions(-)
30
31diff --git a/bindings/cxx/tests/Makefile.am b/bindings/cxx/tests/Makefile.am
32index fbf80a1..d9284da 100644
33--- a/bindings/cxx/tests/Makefile.am
34+++ b/bindings/cxx/tests/Makefile.am
35@@ -4,7 +4,7 @@
36 AM_CXXFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include
37 AM_CXXFLAGS += -I$(top_srcdir)/tests/gpiosim/
38 AM_CXXFLAGS += -Wall -Wextra -g -std=gnu++17 $(CATCH2_CFLAGS)
39-AM_LDFLAGS = -pthread
40+AM_LDFLAGS = -pthread $(CATCH2_LIBS)
41 LDADD = $(top_builddir)/bindings/cxx/libgpiodcxx.la
42 LDADD += $(top_builddir)/tests/gpiosim/libgpiosim.la
43
44diff --git a/bindings/cxx/tests/gpiod-cxx-test-main.cpp b/bindings/cxx/tests/gpiod-cxx-test-main.cpp
45index 11bf8e5..ec48286 100644
46--- a/bindings/cxx/tests/gpiod-cxx-test-main.cpp
47+++ b/bindings/cxx/tests/gpiod-cxx-test-main.cpp
48@@ -1,5 +1,4 @@
49 // SPDX-License-Identifier: GPL-2.0-or-later
50 // SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski <bartekgola@gmail.com>
51
52-#define CATCH_CONFIG_MAIN
53-#include <catch2/catch.hpp>
54+#include <catch2/catch_all.hpp>
55diff --git a/bindings/cxx/tests/helpers.hpp b/bindings/cxx/tests/helpers.hpp
56index 62d9827..62bbdf5 100644
57--- a/bindings/cxx/tests/helpers.hpp
58+++ b/bindings/cxx/tests/helpers.hpp
59@@ -4,13 +4,13 @@
60 #ifndef __GPIOD_CXX_TEST_HELPERS_HPP__
61 #define __GPIOD_CXX_TEST_HELPERS_HPP__
62
63-#include <catch2/catch.hpp>
64+#include <catch2/catch_all.hpp>
65 #include <regex>
66 #include <string>
67 #include <sstream>
68 #include <system_error>
69
70-class system_error_matcher : public Catch::MatcherBase<::std::system_error>
71+class system_error_matcher : public Catch::Matchers::MatcherBase<::std::system_error>
72 {
73 public:
74 explicit system_error_matcher(int expected_errno);
75@@ -21,7 +21,7 @@ private:
76 ::std::error_condition _m_cond;
77 };
78
79-class regex_matcher : public Catch::MatcherBase<::std::string>
80+class regex_matcher : public Catch::Matchers::MatcherBase<::std::string>
81 {
82 public:
83 explicit regex_matcher(const ::std::string& pattern);
84@@ -33,7 +33,7 @@ private:
85 ::std::string _m_repr;
86 };
87
88-template<class T> class stringify_matcher : public Catch::MatcherBase<T>
89+template<class T> class stringify_matcher : public Catch::Matchers::MatcherBase<T>
90 {
91 public:
92 explicit stringify_matcher(const ::std::string& expected) : _m_expected(expected)
93diff --git a/bindings/cxx/tests/tests-chip-info.cpp b/bindings/cxx/tests/tests-chip-info.cpp
94index 717c387..2c54f53 100644
95--- a/bindings/cxx/tests/tests-chip-info.cpp
96+++ b/bindings/cxx/tests/tests-chip-info.cpp
97@@ -1,7 +1,7 @@
98 // SPDX-License-Identifier: GPL-2.0-or-later
99 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
100
101-#include <catch2/catch.hpp>
102+#include <catch2/catch_all.hpp>
103 #include <gpiod.hpp>
104 #include <sstream>
105
106@@ -24,12 +24,12 @@ TEST_CASE("chip_info properties can be read", "[chip-info][chip]")
107
108 SECTION("get chip name")
109 {
110- REQUIRE_THAT(info.name(), Catch::Equals(sim.name()));
111+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals(sim.name()));
112 }
113
114 SECTION("get chip label")
115 {
116- REQUIRE_THAT(info.label(), Catch::Equals("foobar"));
117+ REQUIRE_THAT(info.label(), Catch::Matchers::Equals("foobar"));
118 }
119
120 SECTION("get num_lines")
121@@ -52,12 +52,12 @@ TEST_CASE("chip_info can be copied and moved", "[chip-info]")
122 {
123 auto copy(info);
124
125- REQUIRE_THAT(copy.name(), Catch::Equals(sim.name()));
126- REQUIRE_THAT(copy.label(), Catch::Equals("foobar"));
127+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals(sim.name()));
128+ REQUIRE_THAT(copy.label(), Catch::Matchers::Equals("foobar"));
129 REQUIRE(copy.num_lines() == 4);
130
131- REQUIRE_THAT(info.name(), Catch::Equals(sim.name()));
132- REQUIRE_THAT(info.label(), Catch::Equals("foobar"));
133+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals(sim.name()));
134+ REQUIRE_THAT(info.label(), Catch::Matchers::Equals("foobar"));
135 REQUIRE(info.num_lines() == 4);
136 }
137
138@@ -67,12 +67,12 @@ TEST_CASE("chip_info can be copied and moved", "[chip-info]")
139
140 copy = info;
141
142- REQUIRE_THAT(copy.name(), Catch::Equals(sim.name()));
143- REQUIRE_THAT(copy.label(), Catch::Equals("foobar"));
144+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals(sim.name()));
145+ REQUIRE_THAT(copy.label(), Catch::Matchers::Equals("foobar"));
146 REQUIRE(copy.num_lines() == 4);
147
148- REQUIRE_THAT(info.name(), Catch::Equals(sim.name()));
149- REQUIRE_THAT(info.label(), Catch::Equals("foobar"));
150+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals(sim.name()));
151+ REQUIRE_THAT(info.label(), Catch::Matchers::Equals("foobar"));
152 REQUIRE(info.num_lines() == 4);
153 }
154
155@@ -80,8 +80,8 @@ TEST_CASE("chip_info can be copied and moved", "[chip-info]")
156 {
157 auto moved(std::move(info));
158
159- REQUIRE_THAT(moved.name(), Catch::Equals(sim.name()));
160- REQUIRE_THAT(moved.label(), Catch::Equals("foobar"));
161+ REQUIRE_THAT(moved.name(), Catch::Matchers::Equals(sim.name()));
162+ REQUIRE_THAT(moved.label(), Catch::Matchers::Equals("foobar"));
163 REQUIRE(moved.num_lines() == 4);
164 }
165
166@@ -91,8 +91,8 @@ TEST_CASE("chip_info can be copied and moved", "[chip-info]")
167
168 moved = ::std::move(info);
169
170- REQUIRE_THAT(moved.name(), Catch::Equals(sim.name()));
171- REQUIRE_THAT(moved.label(), Catch::Equals("foobar"));
172+ REQUIRE_THAT(moved.name(), Catch::Matchers::Equals(sim.name()));
173+ REQUIRE_THAT(moved.label(), Catch::Matchers::Equals("foobar"));
174 REQUIRE(moved.num_lines() == 4);
175 }
176 }
177diff --git a/bindings/cxx/tests/tests-chip.cpp b/bindings/cxx/tests/tests-chip.cpp
178index c5ec19b..1ab7add 100644
179--- a/bindings/cxx/tests/tests-chip.cpp
180+++ b/bindings/cxx/tests/tests-chip.cpp
181@@ -1,7 +1,7 @@
182 // SPDX-License-Identifier: GPL-2.0-or-later
183 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
184
185-#include <catch2/catch.hpp>
186+#include <catch2/catch_all.hpp>
187 #include <gpiod.hpp>
188 #include <sstream>
189 #include <system_error>
190@@ -48,9 +48,9 @@ TEST_CASE("chip constructor works", "[chip]")
191 .build();
192
193 ::gpiod::chip first(sim.dev_path());
194- REQUIRE_THAT(first.get_info().label(), Catch::Equals("foobar"));
195+ REQUIRE_THAT(first.get_info().label(), Catch::Matchers::Equals("foobar"));
196 ::gpiod::chip second(::std::move(first));
197- REQUIRE_THAT(second.get_info().label(), Catch::Equals("foobar"));
198+ REQUIRE_THAT(second.get_info().label(), Catch::Matchers::Equals("foobar"));
199 }
200 }
201
202@@ -70,9 +70,9 @@ TEST_CASE("chip operators work", "[chip]")
203
204 ::gpiod::chip moved_chip(moved_sim.dev_path());
205
206- REQUIRE_THAT(chip.get_info().label(), Catch::Equals("foobar"));
207+ REQUIRE_THAT(chip.get_info().label(), Catch::Matchers::Equals("foobar"));
208 chip = ::std::move(moved_chip);
209- REQUIRE_THAT(chip.get_info().label(), Catch::Equals("moved"));
210+ REQUIRE_THAT(chip.get_info().label(), Catch::Matchers::Equals("moved"));
211 }
212
213 SECTION("boolean operator")
214@@ -94,7 +94,7 @@ TEST_CASE("chip properties can be read", "[chip]")
215
216 SECTION("get device path")
217 {
218- REQUIRE_THAT(chip.path(), Catch::Equals(sim.dev_path()));
219+ REQUIRE_THAT(chip.path(), Catch::Matchers::Equals(sim.dev_path()));
220 }
221
222 SECTION("get file descriptor")
223@@ -169,7 +169,7 @@ TEST_CASE("stream insertion operator works for chip", "[chip]")
224 "\", label=\"foobar\", num_lines=4))";
225
226 buf << chip;
227- REQUIRE_THAT(buf.str(), Catch::Equals(expected.str()));
228+ REQUIRE_THAT(buf.str(), Catch::Matchers::Equals(expected.str()));
229 }
230
231 SECTION("closed chip")
232diff --git a/bindings/cxx/tests/tests-edge-event.cpp b/bindings/cxx/tests/tests-edge-event.cpp
233index 19a6ab3..db387be 100644
234--- a/bindings/cxx/tests/tests-edge-event.cpp
235+++ b/bindings/cxx/tests/tests-edge-event.cpp
236@@ -1,7 +1,7 @@
237 // SPDX-License-Identifier: GPL-2.0-or-later
238 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
239
240-#include <catch2/catch.hpp>
241+#include <catch2/catch_all.hpp>
242 #include <chrono>
243 #include <gpiod.hpp>
244 #include <sstream>
245diff --git a/bindings/cxx/tests/tests-info-event.cpp b/bindings/cxx/tests/tests-info-event.cpp
246index 21c0ef0..f7ae309 100644
247--- a/bindings/cxx/tests/tests-info-event.cpp
248+++ b/bindings/cxx/tests/tests-info-event.cpp
249@@ -1,7 +1,7 @@
250 // SPDX-License-Identifier: GPL-2.0-or-later
251 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
252
253-#include <catch2/catch.hpp>
254+#include <catch2/catch_all.hpp>
255 #include <chrono>
256 #include <filesystem>
257 #include <gpiod.hpp>
258diff --git a/bindings/cxx/tests/tests-line-config.cpp b/bindings/cxx/tests/tests-line-config.cpp
259index 5e439a1..2f510fb 100644
260--- a/bindings/cxx/tests/tests-line-config.cpp
261+++ b/bindings/cxx/tests/tests-line-config.cpp
262@@ -1,7 +1,7 @@
263 // SPDX-License-Identifier: GPL-2.0-or-later
264 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
265
266-#include <catch2/catch.hpp>
267+#include <catch2/catch_all.hpp>
268 #include <gpiod.hpp>
269
270 #include "gpiosim.hpp"
271diff --git a/bindings/cxx/tests/tests-line-info.cpp b/bindings/cxx/tests/tests-line-info.cpp
272index 21211f2..8589da3 100644
273--- a/bindings/cxx/tests/tests-line-info.cpp
274+++ b/bindings/cxx/tests/tests-line-info.cpp
275@@ -1,7 +1,7 @@
276 // SPDX-License-Identifier: GPL-2.0-or-later
277 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
278
279-#include <catch2/catch.hpp>
280+#include <catch2/catch_all.hpp>
281 #include <gpiod.hpp>
282 #include <string>
283
284@@ -35,9 +35,9 @@ TEST_CASE("get_line_info() works", "[chip][line-info]")
285 auto info = chip.get_line_info(0);
286
287 REQUIRE(info.offset() == 0);
288- REQUIRE_THAT(info.name(), Catch::Equals("foobar"));
289+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals("foobar"));
290 REQUIRE(info.used());
291- REQUIRE_THAT(info.consumer(), Catch::Equals("hog"));
292+ REQUIRE_THAT(info.consumer(), Catch::Matchers::Equals("hog"));
293 REQUIRE(info.direction() == ::gpiod::line::direction::OUTPUT);
294 REQUIRE_FALSE(info.active_low());
295 REQUIRE(info.bias() == ::gpiod::line::bias::UNKNOWN);
296@@ -74,9 +74,9 @@ TEST_CASE("line properties can be retrieved", "[line-info]")
297 auto info6 = chip.get_line_info(6);
298
299 REQUIRE(info4.offset() == 4);
300- REQUIRE_THAT(info4.name(), Catch::Equals("baz"));
301+ REQUIRE_THAT(info4.name(), Catch::Matchers::Equals("baz"));
302 REQUIRE(info4.used());
303- REQUIRE_THAT(info4.consumer(), Catch::Equals("hog4"));
304+ REQUIRE_THAT(info4.consumer(), Catch::Matchers::Equals("hog4"));
305 REQUIRE(info4.direction() == direction::OUTPUT);
306 REQUIRE(info4.edge_detection() == edge::NONE);
307 REQUIRE_FALSE(info4.active_low());
308@@ -102,10 +102,10 @@ TEST_CASE("line_info can be copied and moved")
309 {
310 auto copy(info);
311 REQUIRE(copy.offset() == 2);
312- REQUIRE_THAT(copy.name(), Catch::Equals("foobar"));
313+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals("foobar"));
314 /* info can still be used */
315 REQUIRE(info.offset() == 2);
316- REQUIRE_THAT(info.name(), Catch::Equals("foobar"));
317+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals("foobar"));
318 }
319
320 SECTION("assignment operator works")
321@@ -113,17 +113,17 @@ TEST_CASE("line_info can be copied and moved")
322 auto copy = chip.get_line_info(0);
323 copy = info;
324 REQUIRE(copy.offset() == 2);
325- REQUIRE_THAT(copy.name(), Catch::Equals("foobar"));
326+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals("foobar"));
327 /* info can still be used */
328 REQUIRE(info.offset() == 2);
329- REQUIRE_THAT(info.name(), Catch::Equals("foobar"));
330+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals("foobar"));
331 }
332
333 SECTION("move constructor works")
334 {
335 auto copy(::std::move(info));
336 REQUIRE(copy.offset() == 2);
337- REQUIRE_THAT(copy.name(), Catch::Equals("foobar"));
338+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals("foobar"));
339 }
340
341 SECTION("move assignment operator works")
342@@ -131,7 +131,7 @@ TEST_CASE("line_info can be copied and moved")
343 auto copy = chip.get_line_info(0);
344 copy = ::std::move(info);
345 REQUIRE(copy.offset() == 2);
346- REQUIRE_THAT(copy.name(), Catch::Equals("foobar"));
347+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals("foobar"));
348 }
349 }
350
351diff --git a/bindings/cxx/tests/tests-line-request.cpp b/bindings/cxx/tests/tests-line-request.cpp
352index 9632ae0..af8b979 100644
353--- a/bindings/cxx/tests/tests-line-request.cpp
354+++ b/bindings/cxx/tests/tests-line-request.cpp
355@@ -1,7 +1,7 @@
356 // SPDX-License-Identifier: GPL-2.0-or-later
357 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
358
359-#include <catch2/catch.hpp>
360+#include <catch2/catch_all.hpp>
361 #include <gpiod.hpp>
362 #include <sstream>
363 #include <stdexcept>
364@@ -20,7 +20,7 @@ using pull = ::gpiosim::chip::pull;
365
366 namespace {
367
368-class value_matcher : public Catch::MatcherBase<value>
369+class value_matcher : public Catch::Matchers::MatcherBase<value>
370 {
371 public:
372 value_matcher(pull pull, bool active_low = false)
373@@ -117,7 +117,7 @@ TEST_CASE("consumer string is set correctly", "[line-request]")
374 auto info = chip.get_line_info(2);
375
376 REQUIRE(info.used());
377- REQUIRE_THAT(info.consumer(), Catch::Equals("foobar"));
378+ REQUIRE_THAT(info.consumer(), Catch::Matchers::Equals("foobar"));
379 }
380
381 SECTION("empty consumer")
382@@ -130,7 +130,7 @@ TEST_CASE("consumer string is set correctly", "[line-request]")
383 auto info = chip.get_line_info(2);
384
385 REQUIRE(info.used());
386- REQUIRE_THAT(info.consumer(), Catch::Equals("?"));
387+ REQUIRE_THAT(info.consumer(), Catch::Matchers::Equals("?"));
388 }
389 }
390
391@@ -380,7 +380,7 @@ TEST_CASE("line_request can be moved", "[line-request]")
392 auto moved(::std::move(request));
393
394 REQUIRE(moved.fd() == fd);
395- REQUIRE_THAT(moved.offsets(), Catch::Equals(offs));
396+ REQUIRE_THAT(moved.offsets(), Catch::Matchers::Equals(offs));
397 }
398
399 SECTION("move assignment operator works")
400@@ -388,7 +388,7 @@ TEST_CASE("line_request can be moved", "[line-request]")
401 another = ::std::move(request);
402
403 REQUIRE(another.fd() == fd);
404- REQUIRE_THAT(another.offsets(), Catch::Equals(offs));
405+ REQUIRE_THAT(another.offsets(), Catch::Matchers::Equals(offs));
406 }
407 }
408
409@@ -484,7 +484,7 @@ TEST_CASE("line_request stream insertion operator works", "[line-request]")
410 {
411 buf << request;
412
413- REQUIRE_THAT(buf.str(), Catch::Equals(expected.str()));
414+ REQUIRE_THAT(buf.str(), Catch::Matchers::Equals(expected.str()));
415 }
416
417 SECTION("request released")
418@@ -493,7 +493,7 @@ TEST_CASE("line_request stream insertion operator works", "[line-request]")
419
420 buf << request;
421
422- REQUIRE_THAT(buf.str(), Catch::Equals("gpiod::line_request(released)"));
423+ REQUIRE_THAT(buf.str(), Catch::Matchers::Equals("gpiod::line_request(released)"));
424 }
425 }
426
427diff --git a/bindings/cxx/tests/tests-line-settings.cpp b/bindings/cxx/tests/tests-line-settings.cpp
428index dc821bb..2690331 100644
429--- a/bindings/cxx/tests/tests-line-settings.cpp
430+++ b/bindings/cxx/tests/tests-line-settings.cpp
431@@ -1,7 +1,7 @@
432 // SPDX-License-Identifier: GPL-2.0-or-later
433 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
434
435-#include <catch2/catch.hpp>
436+#include <catch2/catch_all.hpp>
437 #include <gpiod.hpp>
438
439 #include "helpers.hpp"
440diff --git a/bindings/cxx/tests/tests-line.cpp b/bindings/cxx/tests/tests-line.cpp
441index 319012a..abd0e08 100644
442--- a/bindings/cxx/tests/tests-line.cpp
443+++ b/bindings/cxx/tests/tests-line.cpp
444@@ -1,7 +1,7 @@
445 // SPDX-License-Identifier: GPL-2.0-or-later
446 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
447
448-#include <catch2/catch.hpp>
449+#include <catch2/catch_all.hpp>
450 #include <gpiod.hpp>
451
452 #include "helpers.hpp"
453diff --git a/bindings/cxx/tests/tests-misc.cpp b/bindings/cxx/tests/tests-misc.cpp
454index f06dc39..33fc3fa 100644
455--- a/bindings/cxx/tests/tests-misc.cpp
456+++ b/bindings/cxx/tests/tests-misc.cpp
457@@ -1,7 +1,7 @@
458 // SPDX-License-Identifier: GPL-2.0-or-later
459 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
460
461-#include <catch2/catch.hpp>
462+#include <catch2/catch_all.hpp>
463 #include <filesystem>
464 #include <gpiod.hpp>
465 #include <string>
466diff --git a/bindings/cxx/tests/tests-request-config.cpp b/bindings/cxx/tests/tests-request-config.cpp
467index 66eb748..d71e91b 100644
468--- a/bindings/cxx/tests/tests-request-config.cpp
469+++ b/bindings/cxx/tests/tests-request-config.cpp
470@@ -1,7 +1,7 @@
471 // SPDX-License-Identifier: GPL-2.0-or-later
472 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
473
474-#include <catch2/catch.hpp>
475+#include <catch2/catch_all.hpp>
476 #include <cstddef>
477 #include <gpiod.hpp>
478 #include <string>
479@@ -33,7 +33,7 @@ TEST_CASE("request_config can be moved", "[request-config]")
480 SECTION("move constructor works")
481 {
482 auto moved(::std::move(cfg));
483- REQUIRE_THAT(moved.consumer(), Catch::Equals("foobar"));
484+ REQUIRE_THAT(moved.consumer(), Catch::Matchers::Equals("foobar"));
485 REQUIRE(moved.event_buffer_size() == 64);
486 }
487
488@@ -43,7 +43,7 @@ TEST_CASE("request_config can be moved", "[request-config]")
489
490 moved = ::std::move(cfg);
491
492- REQUIRE_THAT(moved.consumer(), Catch::Equals("foobar"));
493+ REQUIRE_THAT(moved.consumer(), Catch::Matchers::Equals("foobar"));
494 REQUIRE(moved.event_buffer_size() == 64);
495 }
496 }
497@@ -55,7 +55,7 @@ TEST_CASE("request_config mutators work", "[request-config]")
498 SECTION("set consumer")
499 {
500 cfg.set_consumer("foobar");
501- REQUIRE_THAT(cfg.consumer(), Catch::Equals("foobar"));
502+ REQUIRE_THAT(cfg.consumer(), Catch::Matchers::Equals("foobar"));
503 }
504
505 SECTION("set event_buffer_size")
506@@ -77,7 +77,7 @@ TEST_CASE("request_config stream insertion operator works", "[request-config]")
507
508 ::std::string expected("gpiod::request_config(consumer='foobar', event_buffer_size=32)");
509
510- REQUIRE_THAT(buf.str(), Catch::Equals(expected));
511+ REQUIRE_THAT(buf.str(), Catch::Matchers::Equals(expected));
512 }
513
514 } /* namespace */
515diff --git a/configure.ac b/configure.ac
516index a2370c5..216007e 100644
517--- a/configure.ac
518+++ b/configure.ac
519@@ -206,9 +206,9 @@ then
520
521 if test "x$with_tests" = xtrue
522 then
523- PKG_CHECK_MODULES([CATCH2], [catch2],, [
524+ PKG_CHECK_MODULES([CATCH2], [catch2-with-main],, [
525 AC_LANG_PUSH([C++])
526- AC_CHECK_HEADERS([catch2/catch.hpp], [], [HEADER_NOT_FOUND_CXX([catch2/catch.hpp])])
527+ AC_CHECK_HEADERS([catch2/catch_all.hpp], [], [HEADER_NOT_FOUND_CXX([catch2/catch_all.hpp])])
528 AC_LANG_POP([C++])
529 ])
530 fi
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/gpio-manager.init b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/gpio-manager.init
new file mode 100644
index 000000000..e36755eea
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/gpio-manager.init
@@ -0,0 +1,76 @@
1#! /bin/sh
2### BEGIN INIT INFO
3# Provides: gpio-manager
4# Required-Start: $remote_fs $syslog
5# Required-Stop: $remote_fs $syslog
6# Default-Start: 2 3 4 5
7# Default-Stop: 1
8# Short-Description: Centralized GPIO manager daemon
9### END INIT INFO
10#
11# -*- coding: utf-8 -*-
12# Debian init.d script for gpio-manager
13# Copyright (c) 2024 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
14
15# set -e
16
17# Source function library.
18. /etc/init.d/functions
19
20DAEMON=/usr/bin/gpio-manager
21NAME=gpio-manager
22PIDFILE=/var/run/gpio-manager/pid
23DESC="GPIO manager daemon"
24
25test -x $DAEMON || exit 0
26test "$ENABLED" != "0" || exit 0
27
28do_start()
29{
30 mkdir -p "`dirname $PIDFILE`"
31 if [ -e $PIDFILE ]; then
32 PIDDIR=/proc/$(cat $PIDFILE)
33 if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then
34 echo "$DESC already started; not starting."
35 else
36 echo "Removing stale PID file $PIDFILE."
37 rm -f $PIDFILE
38 fi
39 fi
40
41 echo -n "Starting $DESC: "
42 start-stop-daemon --user gpio-manager --background --start --quiet --make-pidfile --pidfile $PIDFILE --exec $DAEMON
43 echo "$NAME."
44}
45
46do_stop()
47{
48 echo -n "Stopping $DESC: "
49 start-stop-daemon --stop --quiet --pidfile $PIDFILE
50 echo "$NAME."
51 rm -f $PIDFILE
52}
53
54case "$1" in
55 start)
56 do_start
57 ;;
58 stop)
59 do_stop
60 ;;
61 status)
62 status $DAEMON
63 exit $?
64 ;;
65 restart)
66 do_stop
67 sleep 1
68 do_start
69 ;;
70 *)
71 echo "Usage: /etc/init.d/$NAME {start|stop|status|restart}" >&2
72 exit 1
73 ;;
74esac
75
76exit 0
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest
index 29ec0d102..eae172116 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest
+++ b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest
@@ -1,24 +1,43 @@
1#!/bin/sh 1#!/bin/sh
2 2
3testbins="gpiod-test gpio-tools-test.bash gpiod-cxx-test"
4
5ptestdir=$(dirname "$(readlink -f "$0")") 3ptestdir=$(dirname "$(readlink -f "$0")")
6cd $ptestdir/tests 4cd $ptestdir/tests
7 5
6export GPIODBUS_TEST_DAEMON_PATH="$ptestdir/tests/gpio-manager"
7export PATH="$ptestdir/tests/:$PATH"
8
8# libgpiod v2 uses gpio-sim - a configfs-based testing module. We need to 9# libgpiod v2 uses gpio-sim - a configfs-based testing module. We need to
9# make sure configfs is mounted before running any tests. 10# make sure configfs is mounted before running any tests.
10modprobe configfs 11modprobe configfs
11mountpoint /sys/kernel/config > /dev/null || mount -t configfs configfs /sys/kernel/config 12mountpoint /sys/kernel/config > /dev/null || mount -t configfs configfs /sys/kernel/config
12 13
13for testbin in $testbins; do 14# Make sure the daemon is not running during tests.
14 if test -e ./$testbin; then 15systemctl stop gpio-manager 2> /dev/null > /dev/null
15 ./$testbin > ./$testbin.out 2>&1 16service gpio-manager stop 2> /dev/null > /dev/null
16 if [ $? -ne 0 ]; then 17
17 echo "FAIL: $testbin" 18run_one_test() {
18 else 19 testbin="$1"
19 echo "PASS: $testbin" 20
20 fi 21 ./$testbin > ./$testbin.out 2>&1
22 if [ $? -ne 0 ]; then
23 echo "FAIL: $testbin"
21 else 24 else
22 echo "SKIP: $testbin" 25 echo "PASS: $testbin"
23 fi 26 fi
24done 27}
28
29run_one_test gpiod-test
30run_one_test gpio-tools-test.bash
31run_one_test gpiod-cxx-test
32run_one_test gpiod-glib-test
33
34# Wait for the leftover uevents to be emitted before running DBus tests.
35udevadm settle
36run_one_test gpiodbus-test
37
38udevadm settle
39gpio-manager 2> /dev/null > /dev/null &
40GPIO_MANAGER_PID=$!
41run_one_test gpiocli-test.bash
42kill $GPIO_MANAGER_PID
43wait $GPIO_MANAGER_PID
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb
index 079583949..dac7dd36f 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb
@@ -7,7 +7,7 @@ SRC_URI += "file://0001-bindings-cxx-disable-tests.patch"
7 7
8SRC_URI[sha256sum] = "ae280f697bf035a1fb780c9972e5c81d0d2712b7ab6124fb3fba24619daa72bc" 8SRC_URI[sha256sum] = "ae280f697bf035a1fb780c9972e5c81d0d2712b7ab6124fb3fba24619daa72bc"
9 9
10FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-1.x:" 10FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-1.x:"
11 11
12inherit python3native 12inherit python3native
13 13
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.3.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.1.3.bb
deleted file mode 100644
index 6130371e4..000000000
--- a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.3.bb
+++ /dev/null
@@ -1,33 +0,0 @@
1require libgpiod.inc
2
3LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0"
4LIC_FILES_CHKSUM = " \
5 file://LICENSES/GPL-2.0-or-later.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6 file://LICENSES/LGPL-2.1-or-later.txt;md5=4b54a1fd55a448865a0b32d41598759d \
7 file://LICENSES/CC-BY-SA-4.0.txt;md5=fba3b94d88bfb9b81369b869a1e9a20f \
8"
9
10FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-2.x:"
11
12SRC_URI += "file://0001-bindings-cxx-Migrate-C-tests-to-use-Catch2-v3.patch"
13SRC_URI[sha256sum] = "2be4c0b03e995d236c0e476e14aeb475d7b431dd1439609b6d65c540f91eaf58"
14
15# Enable all project features for ptest
16PACKAGECONFIG[tests] = "--enable-tests --enable-tools --enable-bindings-cxx --enable-gpioset-interactive,--disable-tests,kmod util-linux glib-2.0 catch2 libedit"
17PACKAGECONFIG[gpioset-interactive] = "--enable-gpioset-interactive,--disable-gpioset-interactive,libedit"
18
19PACKAGES =+ "${PN}-ptest-dev"
20FILES:${PN}-tools += "${bindir}/gpionotify"
21FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*"
22FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h"
23
24RDEPENDS:${PN}-ptest += " \
25 ${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2 bash', '', d)} \
26"
27RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs"
28
29do_install_ptest:append() {
30 install -m 0755 ${B}/bindings/cxx/tests/.libs/gpiod-cxx-test ${D}${PTEST_PATH}/tests/
31 install -m 0755 ${S}/tools/gpio-tools-test.bash ${D}${PTEST_PATH}/tests/
32 install -m 0644 ${S}/tests/gpiosim/gpiosim.h ${D}${includedir}/gpiosim.h
33}
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb
new file mode 100644
index 000000000..224918a55
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb
@@ -0,0 +1,101 @@
1require libgpiod.inc
2
3inherit systemd update-rc.d useradd gobject-introspection
4
5LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0"
6LIC_FILES_CHKSUM = " \
7 file://LICENSES/GPL-2.0-or-later.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://LICENSES/LGPL-2.1-or-later.txt;md5=4b54a1fd55a448865a0b32d41598759d \
9 file://LICENSES/CC-BY-SA-4.0.txt;md5=fba3b94d88bfb9b81369b869a1e9a20f \
10"
11
12FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:"
13
14SRC_URI += "file://gpio-manager.init"
15
16SRC_URI[sha256sum] = "ee29735890eb1cc0e4b494001da5163d1a9c4735343201d22485db313601ca07"
17
18# Enable all project features for ptest
19PACKAGECONFIG[tests] = " \
20 --enable-tests --enable-tools --enable-bindings-cxx --enable-bindings-glib --enable-gpioset-interactive --enable-dbus, \
21 --disable-tests, \
22 kmod util-linux glib-2.0 catch2 libedit glib-2.0-native libgudev, \
23 bash dbus glib-2.0-utils libgpiod-manager shunit2 \
24"
25PACKAGECONFIG[gpioset-interactive] = "--enable-gpioset-interactive,--disable-gpioset-interactive,libedit"
26PACKAGECONFIG[glib] = "--enable-bindings-glib,--disable-bindings-glib,glib-2.0 glib-2.0-native"
27PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,glib-2.0 glib-2.0-native libgudev,dbus"
28
29PACKAGES =+ "${PN}-ptest-dev ${PN}-glib ${PN}-manager ${PN}-cli"
30FILES:${PN}-tools += "${bindir}/gpionotify"
31FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*"
32FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h"
33FILES:${PN}-glib += "${libdir}/libgpiod-glib.so.*"
34FILES:${PN}-manager += " \
35 ${bindir}/gpio-manager \
36 ${sysconfdir}/dbus-1/system.d/io.gpiod1.conf \
37 ${datadir}/dbus-1/interfaces/io.gpiod1.xml \
38 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/gpio-manager.service', '', d)} \
39 ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${sysconfdir}/init.d/gpio-manager', '', d)} \
40"
41FILES:${PN}-cli += "${bindir}/gpiocli"
42
43RDEPENDS:${PN}-manager += "dbus"
44RDEPENDS:${PN}-cli += "${PN}-manager"
45
46SYSTEMD_PACKAGES = "${PN}-manager"
47
48python __anonymous() {
49 distro_features = d.getVar("DISTRO_FEATURES").split()
50 packageconfig = d.getVar("PACKAGECONFIG").split()
51 pn = d.getVar("PN")
52
53 if "systemd" in distro_features and "dbus" in packageconfig:
54 d.appendVar("EXTRA_OECONF", " --enable-systemd")
55 # We need to set it conditionally or else the systemd class will look
56 # for the file that we don't install with systemd support disabled.
57 d.setVar("SYSTEMD_SERVICE:{}-manager".format(pn), "gpio-manager.service")
58 else:
59 d.appendVar("EXTRA_OECONF", " --disable-systemd")
60
61 # Disable gobject introspection set by the bbclass if we don't want it.
62 if not any(cfg in ["glib", "dbus", "ptest"] for cfg in packageconfig):
63 d.setVar("GI_DATA_ENABLED", "False")
64}
65
66UPDATERCPN = "${PN}-manager"
67INITSCRIPT_NAME = "gpio-manager"
68INITSCRIPT_PARAMS = "start 20 2 3 4 5 . stop 20 0 1 6 ."
69
70USERADD_PACKAGES = "${PN}-manager"
71GROUPADD_PARAM:${PN}-manager = "--system gpio"
72USERADD_PARAM:${PN}-manager = "--system -M -s /bin/nologin -g gpio gpio-manager"
73
74RDEPENDS:${PN}-ptest += " \
75 ${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2 bash', '', d)} \
76"
77RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs"
78INSANE_SKIP:${PN}-ptest += "buildpaths"
79
80do_compile:prepend() {
81 export GIR_EXTRA_LIBS_PATH="${B}/lib/.libs"
82}
83
84do_install:append() {
85 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
86 install -d ${D}${sysconfdir}/init.d
87 install -m 0755 ${UNPACKDIR}/gpio-manager.init ${D}${sysconfdir}/init.d/gpio-manager
88 fi
89}
90
91do_install_ptest:append() {
92 install -m 0755 ${B}/bindings/cxx/tests/.libs/gpiod-cxx-test ${D}${PTEST_PATH}/tests/
93 install -m 0755 ${S}/tools/gpio-tools-test.bash ${D}${PTEST_PATH}/tests/
94 install -m 0644 ${S}/tests/scripts/gpiod-bash-test-helper.inc ${D}${PTEST_PATH}/tests/
95 install -m 0644 ${S}/tests/gpiosim/gpiosim.h ${D}${includedir}/gpiosim.h
96 install -m 0755 ${B}/bindings/glib/tests/.libs/gpiod-glib-test ${D}${PTEST_PATH}/tests/
97 install -m 0755 ${B}/dbus/tests/.libs/gpiodbus-test ${D}${PTEST_PATH}/tests/
98 install -m 0755 ${S}/dbus/client/gpiocli-test.bash ${D}${PTEST_PATH}/tests/
99 install -m 0755 ${B}/dbus/manager/.libs/gpio-manager ${D}${PTEST_PATH}/tests/
100 install -m 0755 ${B}/dbus/client/.libs/gpiocli ${D}${PTEST_PATH}/tests/
101}
diff --git a/meta-oe/recipes-support/libmanette/libmanette_0.2.7.bb b/meta-oe/recipes-support/libmanette/libmanette_0.2.9.bb
index db0542269..2e5940189 100644
--- a/meta-oe/recipes-support/libmanette/libmanette_0.2.7.bb
+++ b/meta-oe/recipes-support/libmanette/libmanette_0.2.9.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
8DEPENDS = "libevdev libgudev" 8DEPENDS = "libevdev libgudev"
9 9
10SRC_URI = "https://download.gnome.org/sources/libmanette/0.2/libmanette-${PV}.tar.xz" 10SRC_URI = "https://download.gnome.org/sources/libmanette/0.2/libmanette-${PV}.tar.xz"
11SRC_URI[sha256sum] = "cddd5c02a131072c19c6cde6f2cb2cd57eae7dacb50d14c337efd980baa51a51" 11SRC_URI[sha256sum] = "29366be5452f60a74c65fc64ffe2d74eddd4e6e6824c2cefa567a43bd92b688f"
12 12
13inherit meson pkgconfig gobject-introspection ptest vala 13inherit meson pkgconfig gobject-introspection ptest vala
14 14
diff --git a/meta-oe/recipes-support/libp11/files/0001-detect-correct-openssl-3.x.patch b/meta-oe/recipes-support/libp11/files/0001-detect-correct-openssl-3.x.patch
new file mode 100644
index 000000000..aa61e9d97
--- /dev/null
+++ b/meta-oe/recipes-support/libp11/files/0001-detect-correct-openssl-3.x.patch
@@ -0,0 +1,28 @@
1From 74497e0fa5b69b15790d6697e1ebce13af842d4c Mon Sep 17 00:00:00 2001
2From: Mike Gilbert <floppym@gentoo.org>
3Date: Thu, 13 Jul 2023 13:52:54 -0400
4Subject: [PATCH] configure: treat all openssl-3.x releases the same
5
6OpenSSL's soversion will not change for any 3.x minor release.
7
8https://www.openssl.org/policies/general/versioning-policy.html
9---
10 configure.ac | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13Upstream-Status: Backport [https://github.com/OpenSC/libp11/commit/74497e0fa5b69b15790d6697e1ebce13af842d4c.patch]
14Signed-off-by: Sana Kazi <sanakazi720@gmail.com>
15
16diff --git a/configure.ac b/configure.ac
17index b96979d9..c344e84a 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -33,7 +33,7 @@ AC_C_BIGENDIAN
21 # issues with applications linking to new openssl, old libp11, and vice versa
22 case "`$PKG_CONFIG --modversion --silence-errors libcrypto || \
23 $PKG_CONFIG --modversion openssl`" in
24- 3.0.*) # Predicted engines directory prefix for OpenSSL 3.x
25+ 3.*) # Predicted engines directory prefix for OpenSSL 3.x
26 LIBP11_LT_OLDEST="3"
27 debian_ssl_prefix="openssl-3.0.0";;
28 1.1.*) # Predicted engines directory prefix for OpenSSL 1.1.x
diff --git a/meta-oe/recipes-support/libp11/libp11_0.4.12.bb b/meta-oe/recipes-support/libp11/libp11_0.4.12.bb
index 223778200..cc4a138e2 100644
--- a/meta-oe/recipes-support/libp11/libp11_0.4.12.bb
+++ b/meta-oe/recipes-support/libp11/libp11_0.4.12.bb
@@ -9,7 +9,10 @@ LICENSE = "LGPL-2.0-or-later"
9LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29" 9LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29"
10DEPENDS = "libtool openssl" 10DEPENDS = "libtool openssl"
11 11
12SRC_URI = "git://github.com/OpenSC/libp11.git;branch=master;protocol=https" 12SRC_URI = "git://github.com/OpenSC/libp11.git;branch=master;protocol=https \
13 file://0001-detect-correct-openssl-3.x.patch \
14"
15
13SRCREV = "53d65dc48cf436694f7edcfc805414e608e8a2bf" 16SRCREV = "53d65dc48cf436694f7edcfc805414e608e8a2bf"
14 17
15UPSTREAM_CHECK_GITTAGREGEX = "libp11-(?P<pver>\d+(\.\d+)+)" 18UPSTREAM_CHECK_GITTAGREGEX = "libp11-(?P<pver>\d+(\.\d+)+)"
diff --git a/meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch b/meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch
new file mode 100644
index 000000000..f0fd2a4aa
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch
@@ -0,0 +1,53 @@
1From 9426ac3d232e2f90c571979a2166c5e1328967d1 Mon Sep 17 00:00:00 2001
2From: Hans de Goede <j.w.r.degoede@hhs.nl>
3Date: Tue, 15 Oct 2013 14:39:04 +0200
4Subject: [PATCH] Fix missing prototype compiler warnings
5
6Signed-off-by: Kamil Dudka <kdudka@redhat.com>
7
8Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/30e5556d1c9323e9f1887b28d42581c2954b53c9]
9
10Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
11---
12 lib/append.c | 2 ++
13 lib/output.c | 1 +
14 lib/wrapper.c | 1 +
15 3 files changed, 4 insertions(+)
16
17diff --git a/lib/append.c b/lib/append.c
18index 13e1ace..e8bd89d 100644
19--- a/lib/append.c
20+++ b/lib/append.c
21@@ -13,6 +13,8 @@
22 #include <internal.h>
23
24 #include <stdio.h>
25+#include <stdlib.h>
26+#include <string.h>
27 #include <errno.h>
28 #include <fcntl.h>
29 #include <sys/param.h>
30diff --git a/lib/output.c b/lib/output.c
31index a2db929..a5262ee 100644
32--- a/lib/output.c
33+++ b/lib/output.c
34@@ -13,6 +13,7 @@
35 #include <internal.h>
36
37 #include <stdio.h>
38+#include <stdlib.h>
39 #include <pwd.h>
40 #include <grp.h>
41 #include <time.h>
42diff --git a/lib/wrapper.c b/lib/wrapper.c
43index 4cd0652..44cc435 100644
44--- a/lib/wrapper.c
45+++ b/lib/wrapper.c
46@@ -13,6 +13,7 @@
47 #include <internal.h>
48
49 #include <stdio.h>
50+#include <stdlib.h>
51 #include <sys/param.h>
52 #include <dirent.h>
53 #include <errno.h>
diff --git a/meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch b/meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch
new file mode 100644
index 000000000..b1ecb552b
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch
@@ -0,0 +1,44 @@
1From c0a89709860acae5ef67727db7b23db385703bf6 Mon Sep 17 00:00:00 2001
2From: Huzaifa Sidhpurwala <huzaifas@fedoraproject.org>
3Date: Tue, 15 Oct 2013 14:39:05 +0200
4Subject: [PATCH] Fix invalid memory de-reference issue
5
6Bug: https://bugzilla.redhat.com/551415
7
8Signed-off-by: Kamil Dudka <kdudka@redhat.com>
9
10Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/560911b694055b0c677431cf85d4d0d5ebd1a3fd]
11
12Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
13---
14 lib/libtar.h | 1 +
15 lib/util.c | 4 +---
16 2 files changed, 2 insertions(+), 3 deletions(-)
17
18diff --git a/lib/libtar.h b/lib/libtar.h
19index 55f509a..7fc4d03 100644
20--- a/lib/libtar.h
21+++ b/lib/libtar.h
22@@ -172,6 +172,7 @@ int th_write(TAR *t);
23 #define TH_ISDIR(t) ((t)->th_buf.typeflag == DIRTYPE \
24 || S_ISDIR((mode_t)oct_to_int((t)->th_buf.mode)) \
25 || ((t)->th_buf.typeflag == AREGTYPE \
26+ && strlen((t)->th_buf.name) \
27 && ((t)->th_buf.name[strlen((t)->th_buf.name) - 1] == '/')))
28 #define TH_ISFIFO(t) ((t)->th_buf.typeflag == FIFOTYPE \
29 || S_ISFIFO((mode_t)oct_to_int((t)->th_buf.mode)))
30diff --git a/lib/util.c b/lib/util.c
31index 31e8315..11438ef 100644
32--- a/lib/util.c
33+++ b/lib/util.c
34@@ -148,9 +148,7 @@ oct_to_int(char *oct)
35 {
36 int i;
37
38- sscanf(oct, "%o", &i);
39-
40- return i;
41+ return sscanf(oct, "%o", &i) == 1 ? i : 0;
42 }
43
44
diff --git a/meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch b/meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch
new file mode 100644
index 000000000..627c27016
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch
@@ -0,0 +1,101 @@
1From d998b9f75c79aab68255dace641dd30db239eff6 Mon Sep 17 00:00:00 2001
2From: Kamil Dudka <kdudka@redhat.com>
3Date: Tue, 15 Oct 2013 19:48:41 -0400
4Subject: [PATCH] fix file descriptor leaks reported by cppcheck
5
6Bug: https://bugzilla.redhat.com/785760
7
8Authored by Kamil Dudka <kdudka@redhat.com>.
9
10Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/abd0274e6b2f708e9eaa29414b07b3f542cec694]
11
12Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
13---
14 lib/append.c | 14 +++++++++-----
15 lib/extract.c | 4 ++++
16 libtar/libtar.c | 3 +++
17 3 files changed, 16 insertions(+), 5 deletions(-)
18
19diff --git a/lib/append.c b/lib/append.c
20index e8bd89d..ff58532 100644
21--- a/lib/append.c
22+++ b/lib/append.c
23@@ -216,6 +216,7 @@ tar_append_regfile(TAR *t, const char *realname)
24 int filefd;
25 int i, j;
26 size_t size;
27+ int rv = -1;
28
29 filefd = open(realname, O_RDONLY);
30 if (filefd == -1)
31@@ -234,25 +235,28 @@ tar_append_regfile(TAR *t, const char *realname)
32 {
33 if (j != -1)
34 errno = EINVAL;
35- return -1;
36+ goto fail;
37 }
38 if (tar_block_write(t, &block) == -1)
39- return -1;
40+ goto fail;
41 }
42
43 if (i > 0)
44 {
45 j = read(filefd, &block, i);
46 if (j == -1)
47- return -1;
48+ goto fail;
49 memset(&(block[i]), 0, T_BLOCKSIZE - i);
50 if (tar_block_write(t, &block) == -1)
51- return -1;
52+ goto fail;
53 }
54
55+ /* success! */
56+ rv = 0;
57+fail:
58 close(filefd);
59
60- return 0;
61+ return rv;
62 }
63
64
65diff --git a/lib/extract.c b/lib/extract.c
66index 36357e7..9fc6ad5 100644
67--- a/lib/extract.c
68+++ b/lib/extract.c
69@@ -228,13 +228,17 @@ tar_extract_regfile(TAR *t, char *realname)
70 {
71 if (k != -1)
72 errno = EINVAL;
73+ close(fdout);
74 return -1;
75 }
76
77 /* write block to output file */
78 if (write(fdout, buf,
79 ((i > T_BLOCKSIZE) ? T_BLOCKSIZE : i)) == -1)
80+ {
81+ close(fdout);
82 return -1;
83+ }
84 }
85
86 /* close output file */
87diff --git a/libtar/libtar.c b/libtar/libtar.c
88index 9fa92b2..bb5644c 100644
89--- a/libtar/libtar.c
90+++ b/libtar/libtar.c
91@@ -83,7 +83,10 @@ gzopen_frontend(char *pathname, int oflags, int mode)
92 return -1;
93
94 if ((oflags & O_CREAT) && fchmod(fd, mode))
95+ {
96+ close(fd);
97 return -1;
98+ }
99
100 gzf = gzdopen(fd, gzoflags);
101 if (!gzf)
diff --git a/meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch b/meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch
new file mode 100644
index 000000000..90809ad84
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch
@@ -0,0 +1,26 @@
1From f6c5cba59444ecda9bbc22b8e8e57fd1015a688d Mon Sep 17 00:00:00 2001
2From: Huzaifa Sidhpurwala <huzaifas@fedoraproject.org>
3Date: Tue, 15 Oct 2013 20:02:58 -0400
4Subject: [PATCH] fix memleak on tar_open() failure
5
6Authored by Huzaifa Sidhpurwala <huzaifas@fedoraproject.org>.
7
8Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/36629a41208375f5105427e98078127551692028]
9
10Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
11---
12 lib/handle.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/lib/handle.c b/lib/handle.c
16index 33a262c..002d23c 100644
17--- a/lib/handle.c
18+++ b/lib/handle.c
19@@ -82,6 +82,7 @@ tar_open(TAR **t, const char *pathname, tartype_t *type,
20 (*t)->fd = (*((*t)->type->openfunc))(pathname, oflags, mode);
21 if ((*t)->fd == -1)
22 {
23+ libtar_hash_free((*t)->h, NULL);
24 free(*t);
25 return -1;
26 }
diff --git a/meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch b/meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch
new file mode 100644
index 000000000..f88bcbf9c
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch
@@ -0,0 +1,119 @@
1From e3888e452aee72e0d658185ac20e8e63bed1aff8 Mon Sep 17 00:00:00 2001
2From: Huzaifa Sidhpurwala <huzaifas@fedoraproject.org>
3Date: Tue, 15 Oct 2013 20:05:04 -0400
4Subject: [PATCH] fix memleaks in libtar sample program
5
6Authored by Huzaifa Sidhpurwala <huzaifas@fedoraproject.org>.
7
8Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/f3c711cf3054ff366a1a3500cdc8c64ecc2d2da6]
9
10Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
11---
12 libtar/libtar.c | 29 ++++++++++++++++++-----------
13 1 file changed, 18 insertions(+), 11 deletions(-)
14
15diff --git a/libtar/libtar.c b/libtar/libtar.c
16index bb5644c..23f8741 100644
17--- a/libtar/libtar.c
18+++ b/libtar/libtar.c
19@@ -253,6 +253,7 @@ extract(char *tarfile, char *rootdir)
20 if (tar_extract_all(t, rootdir) != 0)
21 {
22 fprintf(stderr, "tar_extract_all(): %s\n", strerror(errno));
23+ tar_close(t);
24 return -1;
25 }
26
27@@ -270,12 +271,13 @@ extract(char *tarfile, char *rootdir)
28
29
30 void
31-usage()
32+usage(void *rootdir)
33 {
34 printf("Usage: %s [-C rootdir] [-g] [-z] -x|-t filename.tar\n",
35 progname);
36 printf(" %s [-C rootdir] [-g] [-z] -c filename.tar ...\n",
37 progname);
38+ free(rootdir);
39 exit(-1);
40 }
41
42@@ -292,6 +294,7 @@ main(int argc, char *argv[])
43 int c;
44 int mode = 0;
45 libtar_list_t *l;
46+ int return_code = -2;
47
48 progname = basename(argv[0]);
49
50@@ -313,17 +316,17 @@ main(int argc, char *argv[])
51 break;
52 case 'c':
53 if (mode)
54- usage();
55+ usage(rootdir);
56 mode = MODE_CREATE;
57 break;
58 case 'x':
59 if (mode)
60- usage();
61+ usage(rootdir);
62 mode = MODE_EXTRACT;
63 break;
64 case 't':
65 if (mode)
66- usage();
67+ usage(rootdir);
68 mode = MODE_LIST;
69 break;
70 #ifdef HAVE_LIBZ
71@@ -332,7 +335,7 @@ main(int argc, char *argv[])
72 break;
73 #endif /* HAVE_LIBZ */
74 default:
75- usage();
76+ usage(rootdir);
77 }
78
79 if (!mode || ((argc - optind) < (mode == MODE_CREATE ? 2 : 1)))
80@@ -341,7 +344,7 @@ main(int argc, char *argv[])
81 printf("argc - optind == %d\tmode == %d\n", argc - optind,
82 mode);
83 #endif
84- usage();
85+ usage(rootdir);
86 }
87
88 #ifdef DEBUG
89@@ -351,21 +354,25 @@ main(int argc, char *argv[])
90 switch (mode)
91 {
92 case MODE_EXTRACT:
93- return extract(argv[optind], rootdir);
94+ return_code = extract(argv[optind], rootdir);
95+ break;
96 case MODE_CREATE:
97 tarfile = argv[optind];
98 l = libtar_list_new(LIST_QUEUE, NULL);
99 for (c = optind + 1; c < argc; c++)
100 libtar_list_add(l, argv[c]);
101- return create(tarfile, rootdir, l);
102+ return_code = create(tarfile, rootdir, l);
103+ libtar_list_free(l, NULL);
104+ break;
105 case MODE_LIST:
106- return list(argv[optind]);
107+ return_code = list(argv[optind]);
108+ break;
109 default:
110 break;
111 }
112
113- /* NOTREACHED */
114- return -2;
115+ free(rootdir);
116+ return return_code;
117 }
118
119
diff --git a/meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch b/meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch
new file mode 100644
index 000000000..beba45405
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch
@@ -0,0 +1,89 @@
1From edbee9832475347183a841a8fd5be71f74e10392 Mon Sep 17 00:00:00 2001
2From: Kamil Dudka <kdudka@redhat.com>
3Date: Wed, 23 Oct 2013 15:04:22 +0200
4Subject: [PATCH] decode: avoid using a static buffer in th_get_pathname()
5
6A solution suggested by Chris Frey:
7https://lists.feep.net:8080/pipermail/libtar/2013-October/000377.html
8
9Note this can break programs that expect sizeof(TAR) to be fixed.
10
11Authored by Kamil Dudka <kdudka@redhat.com>.
12
13Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/ec613af2e9371d7a3e1f7c7a6822164a4255b4d1]
14
15Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
16---
17 lib/decode.c | 24 +++++++++++++++++-------
18 lib/handle.c | 1 +
19 lib/libtar.h | 3 +++
20 3 files changed, 21 insertions(+), 7 deletions(-)
21
22diff --git a/lib/decode.c b/lib/decode.c
23index c16ea2d..edb2185 100644
24--- a/lib/decode.c
25+++ b/lib/decode.c
26@@ -26,20 +26,30 @@
27 char *
28 th_get_pathname(TAR *t)
29 {
30- static TLS_THREAD char filename[MAXPATHLEN];
31-
32 if (t->th_buf.gnu_longname)
33 return t->th_buf.gnu_longname;
34
35- if (t->th_buf.prefix[0] != '\0')
36+ /* allocate the th_pathname buffer if not already */
37+ if (t->th_pathname == NULL)
38+ {
39+ t->th_pathname = malloc(MAXPATHLEN * sizeof(char));
40+ if (t->th_pathname == NULL)
41+ /* out of memory */
42+ return NULL;
43+ }
44+
45+ if (t->th_buf.prefix[0] == '\0')
46+ {
47+ snprintf(t->th_pathname, MAXPATHLEN, "%.100s", t->th_buf.name);
48+ }
49+ else
50 {
51- snprintf(filename, sizeof(filename), "%.155s/%.100s",
52+ snprintf(t->th_pathname, MAXPATHLEN, "%.155s/%.100s",
53 t->th_buf.prefix, t->th_buf.name);
54- return filename;
55 }
56
57- snprintf(filename, sizeof(filename), "%.100s", t->th_buf.name);
58- return filename;
59+ /* will be deallocated in tar_close() */
60+ return t->th_pathname;
61 }
62
63
64diff --git a/lib/handle.c b/lib/handle.c
65index 002d23c..a19c046 100644
66--- a/lib/handle.c
67+++ b/lib/handle.c
68@@ -122,6 +122,7 @@ tar_close(TAR *t)
69 libtar_hash_free(t->h, ((t->oflags & O_ACCMODE) == O_RDONLY
70 ? free
71 : (libtar_freefunc_t)tar_dev_free));
72+ free(t->th_pathname);
73 free(t);
74
75 return i;
76diff --git a/lib/libtar.h b/lib/libtar.h
77index 7fc4d03..08a8e0f 100644
78--- a/lib/libtar.h
79+++ b/lib/libtar.h
80@@ -85,6 +85,9 @@ typedef struct
81 int options;
82 struct tar_header th_buf;
83 libtar_hash_t *h;
84+
85+ /* introduced in libtar 1.2.21 */
86+ char *th_pathname;
87 }
88 TAR;
89
diff --git a/meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch b/meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch
new file mode 100644
index 000000000..2d8f21171
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch
@@ -0,0 +1,30 @@
1From bc8ec7d940d7ffc870638521bd134098d2efa5df Mon Sep 17 00:00:00 2001
2From: Chris Frey <cdfrey@foursquare.net>
3Date: Thu, 24 Oct 2013 17:55:12 -0400
4Subject: [PATCH] Check for NULL before freeing th_pathname
5
6Thanks to Harald Koch for pointing out that AIX 4 and 5 still need this.
7
8Authored by Chris Frey <cdfrey@foursquare.net>.
9
10Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/495d0c0eabc5648186e7d58ad54b508d14af38f4]
11
12Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
13---
14 lib/handle.c | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17diff --git a/lib/handle.c b/lib/handle.c
18index a19c046..28a7dc2 100644
19--- a/lib/handle.c
20+++ b/lib/handle.c
21@@ -122,7 +122,8 @@ tar_close(TAR *t)
22 libtar_hash_free(t->h, ((t->oflags & O_ACCMODE) == O_RDONLY
23 ? free
24 : (libtar_freefunc_t)tar_dev_free));
25- free(t->th_pathname);
26+ if (t->th_pathname != NULL)
27+ free(t->th_pathname);
28 free(t);
29
30 return i;
diff --git a/meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch b/meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch
new file mode 100644
index 000000000..edbd636b2
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch
@@ -0,0 +1,26 @@
1From c64dfdc6ec5bc752aafd1ac16a380f47602197c4 Mon Sep 17 00:00:00 2001
2From: Chris Frey <cdfrey@foursquare.net>
3Date: Thu, 24 Oct 2013 17:58:47 -0400
4Subject: [PATCH] Added stdlib.h for malloc() in lib/decode.c
5
6Authored by Chris Frey <cdfrey@foursquare.net>.
7
8Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/20aa09bd7775094a2beb0f136c2c7d9e9fd6c7e6]
9
10Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
11---
12 lib/decode.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/lib/decode.c b/lib/decode.c
16index edb2185..35312be 100644
17--- a/lib/decode.c
18+++ b/lib/decode.c
19@@ -13,6 +13,7 @@
20 #include <internal.h>
21
22 #include <stdio.h>
23+#include <stdlib.h>
24 #include <sys/param.h>
25 #include <pwd.h>
26 #include <grp.h>
diff --git a/meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch b/meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch
new file mode 100644
index 000000000..7b39df425
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch
@@ -0,0 +1,100 @@
1From b469d621c0143e652c51bb238fd2060135aa2009 Mon Sep 17 00:00:00 2001
2From: Kamil Dudka <kdudka@redhat.com>
3Date: Tue, 6 Nov 2018 17:24:05 +0100
4Subject: [PATCH] libtar: fix programming mistakes detected by static analysis
5
6Authored by Kamil Dudka <kdudka@redhat.com>.
7
8meta-openembedded uses Debian's release tarball [1]. Debian uses
9repo.or.cz/libtar.git as their upstream [2]. repo.or.cz/libtar.git has
10been inactive since 2013 [3].
11
12Upstream-Status: Inactive-Upstream [lastrelease: 2013 lastcommit: 2013]
13
14[1] https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtar/libtar_1.2.20.bb?h=master#n8
15[2] http://svn.kibibyte.se/libtar/trunk/debian/control (rev 51; not tagged)
16[3] https://repo.or.cz/libtar.git/shortlog/refs/heads/master
17
18Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
19---
20 lib/append.c | 7 +++++++
21 lib/wrapper.c | 11 +++++++----
22 libtar/libtar.c | 1 +
23 3 files changed, 15 insertions(+), 4 deletions(-)
24
25diff --git a/lib/append.c b/lib/append.c
26index ff58532..6386a50 100644
27--- a/lib/append.c
28+++ b/lib/append.c
29@@ -110,9 +110,16 @@ tar_append_file(TAR *t, const char *realname, const char *savename)
30 td->td_dev = s.st_dev;
31 td->td_h = libtar_hash_new(256, (libtar_hashfunc_t)ino_hash);
32 if (td->td_h == NULL)
33+ {
34+ free(td);
35 return -1;
36+ }
37 if (libtar_hash_add(t->h, td) == -1)
38+ {
39+ libtar_hash_free(td->td_h, free);
40+ free(td);
41 return -1;
42+ }
43 }
44 libtar_hashptr_reset(&hp);
45 if (libtar_hash_getkey(td->td_h, &hp, &(s.st_ino),
46diff --git a/lib/wrapper.c b/lib/wrapper.c
47index 44cc435..2d3f5b9 100644
48--- a/lib/wrapper.c
49+++ b/lib/wrapper.c
50@@ -97,6 +97,7 @@ tar_append_tree(TAR *t, char *realdir, char *savedir)
51 struct dirent *dent;
52 DIR *dp;
53 struct stat s;
54+ int ret = -1;
55
56 #ifdef DEBUG
57 printf("==> tar_append_tree(0x%lx, \"%s\", \"%s\")\n",
58@@ -130,24 +131,26 @@ tar_append_tree(TAR *t, char *realdir, char *savedir)
59 dent->d_name);
60
61 if (lstat(realpath, &s) != 0)
62- return -1;
63+ goto fail;
64
65 if (S_ISDIR(s.st_mode))
66 {
67 if (tar_append_tree(t, realpath,
68 (savedir ? savepath : NULL)) != 0)
69- return -1;
70+ goto fail;
71 continue;
72 }
73
74 if (tar_append_file(t, realpath,
75 (savedir ? savepath : NULL)) != 0)
76- return -1;
77+ goto fail;
78 }
79
80+ ret = 0;
81+fail:
82 closedir(dp);
83
84- return 0;
85+ return ret;
86 }
87
88
89diff --git a/libtar/libtar.c b/libtar/libtar.c
90index 23f8741..ac339e7 100644
91--- a/libtar/libtar.c
92+++ b/libtar/libtar.c
93@@ -92,6 +92,7 @@ gzopen_frontend(char *pathname, int oflags, int mode)
94 if (!gzf)
95 {
96 errno = ENOMEM;
97+ close(fd);
98 return -1;
99 }
100
diff --git a/meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch b/meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch
new file mode 100644
index 000000000..93b35cbcd
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch
@@ -0,0 +1,160 @@
1From 2c81f47508fa6bce9df84e3b43dfb16dffb742a0 Mon Sep 17 00:00:00 2001
2From: Raphael Geissert <geissert@debian.org>
3Date: Thu, 12 Sep 2024 15:51:05 +0300
4Subject: [PATCH] Avoid directory traversal when extracting archives
5
6Description of the vulnerability from the NIST CVE tracker [1]:
7
8 Multiple directory traversal vulnerabilities in the (1)
9 tar_extract_glob and (2) tar_extract_all functions in libtar 1.2.20
10 and earlier allow remote attackers to overwrite arbitrary files via
11 a .. (dot dot) in a crafted tar file.
12
13Imported from the Debian libtar package 1.2.20-8 [2]. Original Debian
14description:
15
16 Author: Raphael Geissert <geissert@debian.org>
17 Bug-Debian: https://bugs.debian.org/731860
18 Description: Avoid directory traversal when extracting archives
19 by skipping over leading slashes and any prefix containing ".." components.
20 Forwarded: yes
21
22meta-openembedded uses Debian's release tarball [3]. Debian uses
23repo.or.cz/libtar.git as their upstream [4]. repo.or.cz/libtar.git has
24been inactive since 2013 [5].
25
26CVE: CVE-2013-4420
27
28Upstream-Status: Inactive-Upstream [lastrelease: 2013 lastcommit: 2013]
29
30Comments: Added the commit message
31
32[1] https://nvd.nist.gov/vuln/detail/CVE-2013-4420
33[2] https://sources.debian.org/patches/libtar/1.2.20-8/CVE-2013-4420.patch/
34[3] https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtar/libtar_1.2.20.bb?h=master#n8
35[4] http://svn.kibibyte.se/libtar/trunk/debian/control (rev 51; not tagged)
36[5] https://repo.or.cz/libtar.git/shortlog/refs/heads/master
37
38Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
39---
40 lib/decode.c | 33 +++++++++++++++++++++++++++++++--
41 lib/extract.c | 8 ++++----
42 lib/internal.h | 1 +
43 lib/output.c | 4 ++--
44 4 files changed, 38 insertions(+), 8 deletions(-)
45
46diff --git a/lib/decode.c b/lib/decode.c
47index 35312be..edd5f2e 100644
48--- a/lib/decode.c
49+++ b/lib/decode.c
50@@ -22,13 +22,42 @@
51 # include <string.h>
52 #endif
53
54+char *
55+safer_name_suffix (char const *file_name)
56+{
57+ char const *p, *t;
58+ p = t = file_name;
59+ while (*p == '/') t = ++p;
60+ while (*p)
61+ {
62+ while (p[0] == '.' && p[0] == p[1] && p[2] == '/')
63+ {
64+ p += 3;
65+ t = p;
66+ }
67+ /* advance pointer past the next slash */
68+ while (*p && (p++)[0] != '/');
69+ }
70+
71+ if (!*t)
72+ {
73+ t = ".";
74+ }
75+
76+ if (t != file_name)
77+ {
78+ /* TODO: warn somehow that the path was modified */
79+ }
80+ return (char*)t;
81+}
82+
83
84 /* determine full path name */
85 char *
86 th_get_pathname(TAR *t)
87 {
88 if (t->th_buf.gnu_longname)
89- return t->th_buf.gnu_longname;
90+ return safer_name_suffix(t->th_buf.gnu_longname);
91
92 /* allocate the th_pathname buffer if not already */
93 if (t->th_pathname == NULL)
94@@ -50,7 +79,7 @@ th_get_pathname(TAR *t)
95 }
96
97 /* will be deallocated in tar_close() */
98- return t->th_pathname;
99+ return safer_name_suffix(t->th_pathname);
100 }
101
102
103diff --git a/lib/extract.c b/lib/extract.c
104index 9fc6ad5..4ff1a95 100644
105--- a/lib/extract.c
106+++ b/lib/extract.c
107@@ -302,14 +302,14 @@ tar_extract_hardlink(TAR * t, char *realname)
108 if (mkdirhier(dirname(filename)) == -1)
109 return -1;
110 libtar_hashptr_reset(&hp);
111- if (libtar_hash_getkey(t->h, &hp, th_get_linkname(t),
112+ if (libtar_hash_getkey(t->h, &hp, safer_name_suffix(th_get_linkname(t)),
113 (libtar_matchfunc_t)libtar_str_match) != 0)
114 {
115 lnp = (char *)libtar_hashptr_data(&hp);
116 linktgt = &lnp[strlen(lnp) + 1];
117 }
118 else
119- linktgt = th_get_linkname(t);
120+ linktgt = safer_name_suffix(th_get_linkname(t));
121
122 #ifdef DEBUG
123 printf(" ==> extracting: %s (link to %s)\n", filename, linktgt);
124@@ -347,9 +347,9 @@ tar_extract_symlink(TAR *t, char *realname)
125
126 #ifdef DEBUG
127 printf(" ==> extracting: %s (symlink to %s)\n",
128- filename, th_get_linkname(t));
129+ filename, safer_name_suffix(th_get_linkname(t)));
130 #endif
131- if (symlink(th_get_linkname(t), filename) == -1)
132+ if (symlink(safer_name_suffix(th_get_linkname(t)), filename) == -1)
133 {
134 #ifdef DEBUG
135 perror("symlink()");
136diff --git a/lib/internal.h b/lib/internal.h
137index da7be7f..f05ca4f 100644
138--- a/lib/internal.h
139+++ b/lib/internal.h
140@@ -21,3 +21,4 @@
141 #define TLS_THREAD
142 #endif
143
144+char* safer_name_suffix(char const*);
145diff --git a/lib/output.c b/lib/output.c
146index a5262ee..af754f1 100644
147--- a/lib/output.c
148+++ b/lib/output.c
149@@ -124,9 +124,9 @@ th_print_long_ls(TAR *t)
150 else
151 printf(" link to ");
152 if ((t->options & TAR_GNU) && t->th_buf.gnu_longlink != NULL)
153- printf("%s", t->th_buf.gnu_longlink);
154+ printf("%s", safer_name_suffix(t->th_buf.gnu_longlink));
155 else
156- printf("%.100s", t->th_buf.linkname);
157+ printf("%.100s", safer_name_suffix(t->th_buf.linkname));
158 }
159
160 putchar('\n');
diff --git a/meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch b/meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch
new file mode 100644
index 000000000..0a2773fae
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch
@@ -0,0 +1,42 @@
1From e590423f62cf5bc922ff4a1f7eab9bf7d65ee472 Mon Sep 17 00:00:00 2001
2From: Kamil Dudka <kdudka@redhat.com>
3Date: Tue, 4 Oct 2022 10:39:35 +0200
4Subject: [PATCH] free memory allocated by gnu_long* fields
5
6Authored by Kamil Dudka <kdudka@redhat.com>.
7
8meta-openembedded uses Debian's release tarball [1]. Debian uses
9repo.or.cz/libtar.git as their upstream [2]. repo.or.cz/libtar.git has
10been inactive since 2013 [3].
11
12CVE: CVE-2021-33640 CVE-2021-33645 CVE-2021-33646
13
14Upstream-Status: Inactive-Upstream [lastrelease: 2013 lastcommit: 2013]
15
16[1] https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtar/libtar_1.2.20.bb?h=master#n8
17[2] http://svn.kibibyte.se/libtar/trunk/debian/control (rev 51; not tagged)
18[3] https://repo.or.cz/libtar.git/shortlog/refs/heads/master
19
20Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
21---
22 lib/handle.c | 7 +++++--
23 1 file changed, 5 insertions(+), 2 deletions(-)
24
25diff --git a/lib/handle.c b/lib/handle.c
26index 28a7dc2..18bd8dc 100644
27--- a/lib/handle.c
28+++ b/lib/handle.c
29@@ -122,8 +122,11 @@ tar_close(TAR *t)
30 libtar_hash_free(t->h, ((t->oflags & O_ACCMODE) == O_RDONLY
31 ? free
32 : (libtar_freefunc_t)tar_dev_free));
33- if (t->th_pathname != NULL)
34- free(t->th_pathname);
35+
36+ free(t->th_pathname);
37+ free(t->th_buf.gnu_longname);
38+ free(t->th_buf.gnu_longlink);
39+
40 free(t);
41
42 return i;
diff --git a/meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch b/meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch
new file mode 100644
index 000000000..a61cc3b6a
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch
@@ -0,0 +1,52 @@
1From c778d234c396e78bacef7c9bff0dd2bb9fb6aac8 Mon Sep 17 00:00:00 2001
2From: shixuantong <1726671442@qq.com>
3Date: Wed, 6 Apr 2022 17:40:57 +0800
4Subject: [PATCH] Ensure that sz is greater than 0.
5
6Authored by shixuantong <1726671442@qq.com>.
7
8meta-openembedded uses Debian's release tarball [1]. Debian uses
9repo.or.cz/libtar.git as their upstream [2]. repo.or.cz/libtar.git has
10been inactive since 2013 [3].
11
12CVE: CVE-2021-33643 CVE-2021-33644
13
14Upstream-Status: Inactive-Upstream [lastrelease: 2013 lastcommit: 2013]
15
16[1] https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtar/libtar_1.2.20.bb?h=master#n8
17[2] http://svn.kibibyte.se/libtar/trunk/debian/control (rev 51; not tagged)
18[3] https://repo.or.cz/libtar.git/shortlog/refs/heads/master
19
20Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
21---
22 lib/block.c | 10 ++++++++++
23 1 file changed, 10 insertions(+)
24
25diff --git a/lib/block.c b/lib/block.c
26index 092bc28..f12c4bc 100644
27--- a/lib/block.c
28+++ b/lib/block.c
29@@ -118,6 +118,11 @@ th_read(TAR *t)
30 if (TH_ISLONGLINK(t))
31 {
32 sz = th_get_size(t);
33+ if ((int)sz <= 0)
34+ {
35+ errno = EINVAL;
36+ return -1;
37+ }
38 blocks = (sz / T_BLOCKSIZE) + (sz % T_BLOCKSIZE ? 1 : 0);
39 if (blocks > ((size_t)-1 / T_BLOCKSIZE))
40 {
41@@ -168,6 +173,11 @@ th_read(TAR *t)
42 if (TH_ISLONGNAME(t))
43 {
44 sz = th_get_size(t);
45+ if ((int)sz <= 0)
46+ {
47+ errno = EINVAL;
48+ return -1;
49+ }
50 blocks = (sz / T_BLOCKSIZE) + (sz % T_BLOCKSIZE ? 1 : 0);
51 if (blocks > ((size_t)-1 / T_BLOCKSIZE))
52 {
diff --git a/meta-oe/recipes-support/libtar/libtar_1.2.20.bb b/meta-oe/recipes-support/libtar/libtar_1.2.20.bb
index f93d9c09a..c7501ac68 100644
--- a/meta-oe/recipes-support/libtar/libtar_1.2.20.bb
+++ b/meta-oe/recipes-support/libtar/libtar_1.2.20.bb
@@ -8,6 +8,18 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=61cbac6719ae682ce6cd45b5c11e21af"
8SRC_URI = "${DEBIAN_MIRROR}/main/libt/${BPN}/${BPN}_${PV}.orig.tar.gz \ 8SRC_URI = "${DEBIAN_MIRROR}/main/libt/${BPN}/${BPN}_${PV}.orig.tar.gz \
9 file://fix_libtool_sysroot.patch \ 9 file://fix_libtool_sysroot.patch \
10 file://0002-Do-not-strip-libtar.patch \ 10 file://0002-Do-not-strip-libtar.patch \
11 file://0003-Fix-missing-prototype-compiler-warnings.patch \
12 file://0004-Fix-invalid-memory-de-reference-issue.patch \
13 file://0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch \
14 file://0006-fix-memleak-on-tar_open-failure.patch \
15 file://0007-fix-memleaks-in-libtar-sample-program.patch \
16 file://0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch \
17 file://0009-Check-for-NULL-before-freeing-th_pathname.patch \
18 file://0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch \
19 file://0011-libtar-fix-programming-mistakes-detected-by-static-a.patch \
20 file://CVE-2021-33643-CVE-2021-33644.patch \
21 file://CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch \
22 file://CVE-2013-4420.patch \
11 " 23 "
12 24
13S = "${WORKDIR}/${BPN}" 25S = "${WORKDIR}/${BPN}"
diff --git a/meta-oe/recipes-support/lio-utils/lio-utils/0001-Makefiles-Respect-environment-variables-and-add-LDFL.patch b/meta-oe/recipes-support/lio-utils/lio-utils/0001-Makefiles-Respect-environment-variables-and-add-LDFL.patch
deleted file mode 100644
index 86edcc2e4..000000000
--- a/meta-oe/recipes-support/lio-utils/lio-utils/0001-Makefiles-Respect-environment-variables-and-add-LDFL.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From 2cc2315eecaa48fd24792aaa889dc7d9fb96978b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 Mar 2017 22:18:44 -0700
4Subject: [PATCH] Makefiles: Respect environment variables and add LDFLAGS to
5 linker cmdline
6
7Fixes QA errors about GNU_HASH
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Pending
12
13 mib-modules/Makefile | 10 +++++-----
14 tools/Makefile | 2 +-
15 2 files changed, 6 insertions(+), 6 deletions(-)
16
17diff --git a/mib-modules/Makefile b/mib-modules/Makefile
18index 0d54c9b..051d4d2 100644
19--- a/mib-modules/Makefile
20+++ b/mib-modules/Makefile
21@@ -17,13 +17,13 @@ TARG = iscsiTargetMib.so
22 OBJS = iscsiTargetMib.o iscsiMib.o scsiMib.o ipsAuthMib.o \
23 iscsiAuthData.o
24
25-CC = gcc
26-CFLAGS = -I$(INCLDIR) -I$(INCLDIR)/agent -I$(INCLDIR)/agent/mibgroup -shared -fPIC
27+CC ?= gcc
28+CFLAGS += -I$(INCLDIR) -I$(INCLDIR)/agent -I$(INCLDIR)/agent/mibgroup -shared -fPIC
29 CFLAGS += -I../include -Wall -Werror
30 #CFLAGS +=$(AUTO_CFLAGS)
31
32-LD = gcc -shared
33-
34+LD ?= gcc
35+LDFLAGS += -shared
36 INSTALL = install
37
38 all: $(TARG)
39@@ -32,7 +32,7 @@ all: $(TARG)
40 $(CC) $(CFLAGS) -o $@ -c $<
41
42 $(TARG): $(OBJS)
43- $(LD) -o $@ $(OBJS)
44+ $(LD) -o $@ $(OBJS) $(LDFLAGS)
45
46 clean:
47 rm -f $(OBJS) $(TARG)
48diff --git a/tools/Makefile b/tools/Makefile
49index 79ed3cd..ffd9bf3 100644
50--- a/tools/Makefile
51+++ b/tools/Makefile
52@@ -6,7 +6,7 @@ ISCSI_NAME_OBJS = $(ISCSI_NAME_SRCS:.c=.o)
53 all:: $(ISCSI_NAME)
54
55 $(ISCSI_NAME): $(ISCSI_NAME_OBJS)
56- $(CC) -o $@ $(CFLAGS) $(ISCSI_NAME_OBJS)
57+ $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(ISCSI_NAME_OBJS)
58
59 clean:
60 rm -f $(ISCSI_NAME_OBJS) $(ISCSI_NAME)
61--
622.12.0
63
diff --git a/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb b/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb
deleted file mode 100644
index 844e5acf9..000000000
--- a/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb
+++ /dev/null
@@ -1,75 +0,0 @@
1SUMMARY = "lio-utils"
2DESCRIPTION = "a simple low-level configuration tool set for the Target+iSCSI (LIO)"
3HOMEPAGE = "http://linux-iscsi.org/index.php/Lio-utils"
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df"
6
7PV = "4.1+git"
8
9SRC_URI = "git://github.com/Datera/lio-utils.git;branch=master;protocol=https \
10 file://0001-Makefiles-Respect-environment-variables-and-add-LDFL.patch \
11 "
12SRCREV = "0ac9091c1ff7a52d5435a4f4449e82637142e06e"
13S = "${WORKDIR}/git"
14
15inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "distutils", "", d)}
16
17EXTRA_OEMAKE += "DESTDIR=${D}"
18
19do_compile() {
20 cd ${S}/tcm-py
21 distutils_do_compile
22
23 cd ${S}/lio-py
24 distutils_do_compile
25
26 if test -d ${S}/tools; then
27 oe_runmake -C ${S}/tools
28 fi
29}
30
31do_install() {
32 cd ${S}/tcm-py
33 distutils_do_install
34
35 cd ${S}/lio-py
36 distutils_do_install
37
38 SITE_PACKAGES=${D}/${PYTHON_SITEPACKAGES_DIR}
39 install -d ${D}/${sbindir}
40 for var in tcm_node tcm_dump tcm_loop tcm_fabric lio_dump lio_node; do
41 if [ ! -h ${D}/${sbindir}/${var} ];then
42 chmod a+x ${SITE_PACKAGES}/${var}.py
43 ln -s ${PYTHON_SITEPACKAGES_DIR}/${var}.py ${D}/${sbindir}/${var}
44 fi
45 done
46
47 if test -d ${S}/tools; then
48 oe_runmake -C ${S}/tools install
49 fi
50
51 install -d ${D}/etc/target/
52 install -d ${D}/etc/init.d/
53 install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/
54 install -m 755 ${S}/conf/tcm_start.default ${D}/etc/target/tcm_start.sh
55 install -m 755 ${S}/conf/lio_start.default ${D}/etc/target/lio_start.sh
56}
57
58SKIP_RECIPE[lio-utils] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"
59
60RDEPENDS:${PN} += "python-stringold python-subprocess python-shell \
61 python-datetime python-textutils python-crypt python-netclient python-email \
62 bash"
63
64FILES:${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*"
65
66# http://errors.yoctoproject.org/Errors/Details/184712/
67# python-native/python: can't open file 'setup.py': [Errno 2] No such file or directory
68CLEANBROKEN = "1"
69
70python() {
71 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
72 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
73}
74
75
diff --git a/meta-oe/recipes-support/lvm2/lvm2.bb b/meta-oe/recipes-support/lvm2/lvm2.bb
index f1a1aae2c..f905a5ac9 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2.bb
@@ -57,13 +57,16 @@ LVM2_PACKAGECONFIG:append:class-target = " \
57" 57"
58 58
59PACKAGECONFIG[dbus] = "--enable-dbus-service,--disable-dbus-service,,python3-dbus python3-pyudev" 59PACKAGECONFIG[dbus] = "--enable-dbus-service,--disable-dbus-service,,python3-dbus python3-pyudev"
60PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev,${PN}-udevrules" 60PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev,"
61 61
62PACKAGES =+ "libdevmapper" 62PACKAGES =+ "libdevmapper"
63FILES:libdevmapper = " \ 63FILES:libdevmapper = " \
64 ${libdir}/libdevmapper.so.* \ 64 ${libdir}/libdevmapper.so.* \
65 ${sbindir}/dmsetup \ 65 ${sbindir}/dmsetup \
66 ${sbindir}/dmstats \ 66 ${sbindir}/dmstats \
67 ${nonarch_base_libdir}/udev/rules.d/10-dm.rules \
68 ${nonarch_base_libdir}/udev/rules.d/13-dm-disk.rules \
69 ${nonarch_base_libdir}/udev/rules.d/95-dm-notify.rules \
67" 70"
68 71
69FILES:${PN} += " \ 72FILES:${PN} += " \
@@ -71,7 +74,13 @@ FILES:${PN} += " \
71 ${systemd_system_unitdir} \ 74 ${systemd_system_unitdir} \
72 ${PYTHON_SITEPACKAGES_DIR}/lvmdbusd \ 75 ${PYTHON_SITEPACKAGES_DIR}/lvmdbusd \
73 ${datadir}/dbus-1/system-services/com.redhat.lvmdbus1.service \ 76 ${datadir}/dbus-1/system-services/com.redhat.lvmdbus1.service \
77 ${nonarch_base_libdir}/udev/rules.d/11-dm-lvm.rules \
78 ${nonarch_base_libdir}/udev/rules.d/69-dm-lvm.rules \
74" 79"
80# Remove /lib/udev from FILES:${PN} so that any new rules files that are added
81# upstream will have to be explicitly added to either FILES:${PN} or
82# FILES:libdevmapper.
83FILES:${PN}:remove = "${nonarch_base_libdir}/udev"
75 84
76FILES:${PN}-scripts = " \ 85FILES:${PN}-scripts = " \
77 ${sbindir}/blkdeactivate \ 86 ${sbindir}/blkdeactivate \
@@ -79,11 +88,8 @@ FILES:${PN}-scripts = " \
79 ${sbindir}/lvmconf \ 88 ${sbindir}/lvmconf \
80 ${sbindir}/lvmdump \ 89 ${sbindir}/lvmdump \
81" 90"
82# Specified explicitly for the udev rules, just in case that it does not get picked 91
83# up automatically:
84FILES:${PN}-udevrules = "${nonarch_base_libdir}/udev/rules.d"
85RDEPENDS:${PN} = "bash" 92RDEPENDS:${PN} = "bash"
86RDEPENDS:${PN}-udevrules = "libdevmapper"
87RDEPENDS:${PN}:append:class-target = " libdevmapper" 93RDEPENDS:${PN}:append:class-target = " libdevmapper"
88RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper" 94RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper"
89 95
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 059ab6999..b46ef2570 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -18,9 +18,9 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \
18 file://0001-include-libgen.h-for-basename.patch \ 18 file://0001-include-libgen.h-for-basename.patch \
19 " 19 "
20 20
21SRCREV = "6de3937ac517a3ecfd6d8d90f3f055dab631157e" 21SRCREV = "207990a8770208151b2f39b51526580a9dca24c4"
22S = "${WORKDIR}/git" 22S = "${WORKDIR}/git"
23PV = "2.03.26" 23PV = "2.03.27"
24 24
25UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)" 25UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"
26 26
diff --git a/meta-oe/recipes-support/monit/monit_5.34.0.bb b/meta-oe/recipes-support/monit/monit_5.34.2.bb
index 7c3869789..5502a15b0 100644
--- a/meta-oe/recipes-support/monit/monit_5.34.0.bb
+++ b/meta-oe/recipes-support/monit/monit_5.34.2.bb
@@ -15,7 +15,7 @@ SRC_URI = " \
15 file://monitrc \ 15 file://monitrc \
16" 16"
17 17
18SRC_URI[sha256sum] = "37f514cd8973bbce104cb8517ff3fc504052a083703eee0d0e873db26b919820" 18SRC_URI[sha256sum] = "291ca3d898e9b425b6d0c1768728fecd6c1cf4c268c79db15fda26285ad5b832"
19 19
20DEPENDS = "zlib bison-native libnsl2 flex-native openssl virtual/crypt" 20DEPENDS = "zlib bison-native libnsl2 flex-native openssl virtual/crypt"
21 21
diff --git a/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch b/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
index 74ae1530c..909fd77ba 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
@@ -1,7 +1,7 @@
1From 1e1ba9ecc16895bf472eae345d44631b65629611 Mon Sep 17 00:00:00 2001 1From 68160e86472b197107c60bf6e5a3d126040e85b6 Mon Sep 17 00:00:00 2001
2From: Benjamin Marzinski <bmarzins@redhat.com> 2From: Benjamin Marzinski <bmarzins@redhat.com>
3Date: Thu, 13 Apr 2017 07:22:23 -0500 3Date: Thu, 13 Apr 2017 07:22:23 -0500
4Subject: [PATCH 01/12] RH: fixup udev rules for redhat 4Subject: [PATCH] RH: fixup udev rules for redhat
5 5
6The multipath rules need to run after scsi_id is run. This means moving 6The multipath rules need to run after scsi_id is run. This means moving
7them after 60-persistent-storage.rules for redhat. Redhat also uses a 7them after 60-persistent-storage.rules for redhat. Redhat also uses a
@@ -18,17 +18,20 @@ Rebase to 0.9.8
18Signed-off-by: Changqing Li <changqing.li@windriver.com> 18Signed-off-by: Changqing Li <changqing.li@windriver.com>
19 19
20Upstream-Status: Pending 20Upstream-Status: Pending
21
22Rebase to 0.10.0
23Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
21--- 24---
22 Makefile.inc | 2 +- 25 Makefile.inc | 2 +-
23 kpartx/kpartx.rules | 2 +- 26 kpartx/kpartx.rules.in | 2 +-
24 multipath/Makefile | 4 ++-- 27 multipath/Makefile | 4 ++--
25 3 files changed, 4 insertions(+), 4 deletions(-) 28 3 files changed, 4 insertions(+), 4 deletions(-)
26 29
27diff --git a/Makefile.inc b/Makefile.inc 30diff --git a/Makefile.inc b/Makefile.inc
28index 5668e638..de89b21f 100644 31index 729618bd..69521882 100644
29--- a/Makefile.inc 32--- a/Makefile.inc
30+++ b/Makefile.inc 33+++ b/Makefile.inc
31@@ -59,7 +59,7 @@ tmpfilesdir := $(systemd_prefix)lib/tmpfiles.d 34@@ -62,7 +62,7 @@ tmpfilesdir := $(systemd_prefix)lib/tmpfiles.d
32 modulesloaddir := $(systemd_prefix)lib/modules-load.d 35 modulesloaddir := $(systemd_prefix)lib/modules-load.d
33 libudevdir := $(systemd_prefix)lib/udev 36 libudevdir := $(systemd_prefix)lib/udev
34 udevrulesdir := $(libudevdir)/rules.d 37 udevrulesdir := $(libudevdir)/rules.d
@@ -37,16 +40,16 @@ index 5668e638..de89b21f 100644
37 mandir := $(usr_prefix)share/man 40 mandir := $(usr_prefix)share/man
38 LIB := $(if $(shell test -d /lib64 && echo 1),lib64,lib) 41 LIB := $(if $(shell test -d /lib64 && echo 1),lib64,lib)
39 syslibdir := $(prefix)$(LIB) 42 syslibdir := $(prefix)$(LIB)
40diff --git a/kpartx/kpartx.rules b/kpartx/kpartx.rules 43diff --git a/kpartx/kpartx.rules.in b/kpartx/kpartx.rules.in
41index 1969dee0..d2b28233 100644 44index 9d879609..2049eb8f 100644
42--- a/kpartx/kpartx.rules 45--- a/kpartx/kpartx.rules.in
43+++ b/kpartx/kpartx.rules 46+++ b/kpartx/kpartx.rules.in
44@@ -39,6 +39,6 @@ LABEL="mpath_kpartx_end" 47@@ -39,6 +39,6 @@ LABEL="mpath_kpartx_end"
45 GOTO="kpartx_end" 48 GOTO="kpartx_end"
46 49
47 LABEL="run_kpartx" 50 LABEL="run_kpartx"
48-RUN+="/sbin/kpartx -un -p -part /dev/$name" 51-RUN+="@BINDIR@/kpartx -un -p -part /dev/$name"
49+RUN+="/sbin/kpartx -un /dev/$name" 52+RUN+="@BINDIR@/kpartx -un /dev/$name"
50 53
51 LABEL="kpartx_end" 54 LABEL="kpartx_end"
52diff --git a/multipath/Makefile b/multipath/Makefile 55diff --git a/multipath/Makefile b/multipath/Makefile
diff --git a/meta-oe/recipes-support/multipath-tools/files/0001-libmultipath-always-use-glibc-basename.patch b/meta-oe/recipes-support/multipath-tools/files/0001-libmultipath-always-use-glibc-basename.patch
deleted file mode 100644
index 0365a7ef6..000000000
--- a/meta-oe/recipes-support/multipath-tools/files/0001-libmultipath-always-use-glibc-basename.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 389286b25a903be62ce7f964246824fcc20c4c67 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 26 Mar 2024 18:56:55 -0700
4Subject: [PATCH] libmultipath: always use glibc basename()
5
6There is a use of basename() which expects it to be GNU version of
7basename, which is not available in other libcs e.g. musl on Linux
8therefore provide a version for such cases
9
10Upstream-Status: Submitted [https://github.com/opensvc/multipath-tools/pull/84]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 libmultipath/configure.c | 13 +++++++++++++
14 1 file changed, 13 insertions(+)
15
16diff --git a/libmultipath/configure.c b/libmultipath/configure.c
17index 4ecf6ba4..e81cc67c 100644
18--- a/libmultipath/configure.c
19+++ b/libmultipath/configure.c
20@@ -43,6 +43,19 @@
21 #include "sysfs.h"
22 #include "io_err_stat.h"
23
24+#ifndef __GLIBC__
25+/*
26+ * glibc's non-destructive version of basename()
27+ * License: LGPL-2.1-or-later
28+ */
29+static const char *__basename(const char *filename)
30+{
31+ char *p = strrchr(filename, '/');
32+ return p ? p + 1 : filename;
33+}
34+#define basename(x) __basename(x)
35+#endif
36+
37 /* group paths in pg by host adapter
38 */
39 int group_by_host_adapter(struct pathgroup *pgp, vector adapters)
40--
412.44.0
42
diff --git a/meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch b/meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch
index 4b24bd2d3..a57828049 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch
@@ -1,7 +1,7 @@
1From bb6db01cc19940bb5162c1cc0c9b5f8e4c209822 Mon Sep 17 00:00:00 2001 1From e3449e163d7fe9bf1e188f0e28962f0659e9652d Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 1 Mar 2024 10:34:06 +0800 3Date: Fri, 1 Mar 2024 10:34:06 +0800
4Subject: [PATCH 02/12] RH: Remove the property blacklist exception builtin 4Subject: [PATCH] RH: Remove the property blacklist exception builtin
5 5
6Multipath set the default property blacklist exceptions to 6Multipath set the default property blacklist exceptions to
7(ID_SCSI_VPD|ID_WWN). This has the effect of blacklisting some internal 7(ID_SCSI_VPD|ID_WWN). This has the effect of blacklisting some internal
@@ -13,21 +13,19 @@ it.
13 13
14Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> 14Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
15 15
16Upsteam-Status: Pending 16Upstream-Status: Pending
17 17
18[OP: Rebase to 0.9.3] 18[OP: Rebase to 0.9.3]
19Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> 19Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
20 20
21Rebase to 0.9.8 21Rebase to 0.9.8
22Signed-off-by: Changqing Li <changqing.li@windriver.com> 22Signed-off-by: Changqing Li <changqing.li@windriver.com>
23
24Upstream-Status: Pending
25--- 23---
26 libmultipath/blacklist.c | 16 +++++----------- 24 libmultipath/blacklist.c | 16 +++++-----------
27 1 file changed, 5 insertions(+), 11 deletions(-) 25 1 file changed, 5 insertions(+), 11 deletions(-)
28 26
29diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c 27diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c
30index 75100b20..4fdaca76 100644 28index 17e1b54a..2cfb18b8 100644
31--- a/libmultipath/blacklist.c 29--- a/libmultipath/blacklist.c
32+++ b/libmultipath/blacklist.c 30+++ b/libmultipath/blacklist.c
33@@ -221,15 +221,6 @@ setup_default_blist (struct config * conf) 31@@ -221,15 +221,6 @@ setup_default_blist (struct config * conf)
diff --git a/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch b/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch
index 54b3bdc86..b11fb2c72 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch
@@ -1,7 +1,7 @@
1From de8ee3480ec7479ed014c197a9d747403f6e0237 Mon Sep 17 00:00:00 2001 1From 06a411b15e131eb4ebc2df95dc10fcff944bead6 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 23 Nov 2018 17:25:15 +0800 3Date: Fri, 23 Nov 2018 17:25:15 +0800
4Subject: [PATCH 03/12] RH: don't start without a config file 4Subject: [PATCH] RH: don't start without a config file
5 5
6If /etc/multipath.conf doesn't exist, don't start multipathd and blacklist 6If /etc/multipath.conf doesn't exist, don't start multipathd and blacklist
7all devices when running multipath. A completely blank configuration file 7all devices when running multipath. A completely blank configuration file
@@ -28,7 +28,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
28 5 files changed, 23 insertions(+) 28 5 files changed, 23 insertions(+)
29 29
30diff --git a/libmultipath/config.c b/libmultipath/config.c 30diff --git a/libmultipath/config.c b/libmultipath/config.c
31index 83fa7369..8a3a8f37 100644 31index 0e3a5cc1..3fbfcc85 100644
32--- a/libmultipath/config.c 32--- a/libmultipath/config.c
33+++ b/libmultipath/config.c 33+++ b/libmultipath/config.c
34@@ -26,6 +26,7 @@ 34@@ -26,6 +26,7 @@
@@ -39,7 +39,7 @@ index 83fa7369..8a3a8f37 100644
39 39
40 /* 40 /*
41 * We don't support re-initialization after 41 * We don't support re-initialization after
42@@ -959,6 +960,23 @@ int _init_config (const char *file, struct config *conf) 42@@ -959,6 +960,23 @@ int init_config__ (const char *file, struct config *conf)
43 } 43 }
44 factorize_hwtable(conf->hwtable, builtin_hwtable_size, file); 44 factorize_hwtable(conf->hwtable, builtin_hwtable_size, file);
45 validate_pctable(conf->overrides, 0, file); 45 validate_pctable(conf->overrides, 0, file);
@@ -64,7 +64,7 @@ index 83fa7369..8a3a8f37 100644
64 64
65 conf->processed_main_config = 1; 65 conf->processed_main_config = 1;
66diff --git a/libmultipath/config.h b/libmultipath/config.h 66diff --git a/libmultipath/config.h b/libmultipath/config.h
67index 384193ab..158cebf0 100644 67index 94cdf252..534b6142 100644
68--- a/libmultipath/config.h 68--- a/libmultipath/config.h
69+++ b/libmultipath/config.h 69+++ b/libmultipath/config.h
70@@ -10,6 +10,7 @@ 70@@ -10,6 +10,7 @@
@@ -76,7 +76,7 @@ index 384193ab..158cebf0 100644
76 enum devtypes { 76 enum devtypes {
77 DEV_NONE, 77 DEV_NONE,
78diff --git a/multipath/multipath.rules.in b/multipath/multipath.rules.in 78diff --git a/multipath/multipath.rules.in b/multipath/multipath.rules.in
79index 780bf852..2c518378 100644 79index 2ac1972f..cc248231 100644
80--- a/multipath/multipath.rules.in 80--- a/multipath/multipath.rules.in
81+++ b/multipath/multipath.rules.in 81+++ b/multipath/multipath.rules.in
82@@ -9,6 +9,7 @@ IMPORT{cmdline}="nompath" 82@@ -9,6 +9,7 @@ IMPORT{cmdline}="nompath"
@@ -88,7 +88,7 @@ index 780bf852..2c518378 100644
88 ENV{DEVTYPE}!="partition", GOTO="test_dev" 88 ENV{DEVTYPE}!="partition", GOTO="test_dev"
89 IMPORT{parent}="DM_MULTIPATH_DEVICE_PATH" 89 IMPORT{parent}="DM_MULTIPATH_DEVICE_PATH"
90diff --git a/multipathd/multipathd.8.in b/multipathd/multipathd.8.in 90diff --git a/multipathd/multipathd.8.in b/multipathd/multipathd.8.in
91index f1cab3ff..5ae21db1 100644 91index 7bc8806e..315884eb 100644
92--- a/multipathd/multipathd.8.in 92--- a/multipathd/multipathd.8.in
93+++ b/multipathd/multipathd.8.in 93+++ b/multipathd/multipathd.8.in
94@@ -49,6 +49,8 @@ map regains its maximum performance and redundancy. 94@@ -49,6 +49,8 @@ map regains its maximum performance and redundancy.
@@ -101,7 +101,7 @@ index f1cab3ff..5ae21db1 100644
101 . 101 .
102 .\" ---------------------------------------------------------------------------- 102 .\" ----------------------------------------------------------------------------
103diff --git a/multipathd/multipathd.service.in b/multipathd/multipathd.service.in 103diff --git a/multipathd/multipathd.service.in b/multipathd/multipathd.service.in
104index 6d03ff71..0cd85102 100644 104index 646001e6..979e6f12 100644
105--- a/multipathd/multipathd.service.in 105--- a/multipathd/multipathd.service.in
106+++ b/multipathd/multipathd.service.in 106+++ b/multipathd/multipathd.service.in
107@@ -5,6 +5,7 @@ Before=local-fs-pre.target blk-availability.service shutdown.target 107@@ -5,6 +5,7 @@ Before=local-fs-pre.target blk-availability.service shutdown.target
diff --git a/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch b/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch
index 91477a44c..6556d4af8 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch
@@ -1,7 +1,7 @@
1From f1b74f21875d6d9f0a5ac3d67df40a28b167052a Mon Sep 17 00:00:00 2001 1From dd4f005ab3b38cee2776dcb0a0661c5a01befd00 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 26 Nov 2018 09:19:17 +0800 3Date: Mon, 26 Nov 2018 09:19:17 +0800
4Subject: [PATCH 04/12] RH: use rpm optflags if present 4Subject: [PATCH] RH: use rpm optflags if present
5 5
6Use the passed in optflags when compiling as an RPM, and keep the 6Use the passed in optflags when compiling as an RPM, and keep the
7default flags as close as possible to the current fedora flags, while 7default flags as close as possible to the current fedora flags, while
@@ -16,15 +16,18 @@ Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
16 16
17Rebase to 0.9.8 17Rebase to 0.9.8
18Signed-off-by: Changqing Li <changqing.li@windriver.com> 18Signed-off-by: Changqing Li <changqing.li@windriver.com>
19
20Rebase to 0.10.0
21Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
19--- 22---
20 Makefile.inc | 12 ++++++++++-- 23 Makefile.inc | 12 ++++++++++--
21 1 file changed, 10 insertions(+), 2 deletions(-) 24 1 file changed, 10 insertions(+), 2 deletions(-)
22 25
23diff --git a/Makefile.inc b/Makefile.inc 26diff --git a/Makefile.inc b/Makefile.inc
24index de89b21f..6ac632ff 100644 27index 69521882..2127f208 100644
25--- a/Makefile.inc 28--- a/Makefile.inc
26+++ b/Makefile.inc 29+++ b/Makefile.inc
27@@ -95,7 +95,15 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo 30@@ -99,7 +99,15 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo
28 MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \ 31 MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \
29 echo "modprobe@dm_multipath.service") 32 echo "modprobe@dm_multipath.service")
30 33
@@ -38,18 +41,18 @@ index de89b21f..6ac632ff 100644
38+ -Werror=implicit-function-declaration -Wno-sign-compare \ 41+ -Werror=implicit-function-declaration -Wno-sign-compare \
39+ -Wno-unused-parameter -Werror=cast-qual \ 42+ -Wno-unused-parameter -Werror=cast-qual \
40+ -Werror=discarded-qualifiers 43+ -Werror=discarded-qualifiers
41 WARNFLAGS := -Werror -Wall -Wextra -Wformat=2 $(WFORMATOVERFLOW) -Werror=implicit-int \ 44
42 -Werror=implicit-function-declaration -Werror=format-security \ 45 # Set WARN_ONLY=1 to avoid compilation erroring out due to warnings. Useful during development.
43 $(WNOCLOBBERED) -Werror=cast-qual $(ERROR_DISCARDED_QUALIFIERS) $(W_URCU_TYPE_LIMITS) 46 WARN_ONLY :=
44@@ -105,7 +113,7 @@ CPPFLAGS := $(FORTIFY_OPT) $(CPPFLAGS) $(D_URCU_VERSION) \ 47@@ -115,7 +123,7 @@ CPPFLAGS := $(FORTIFY_OPT) $(CPPFLAGS) $(D_URCU_VERSION) \
45 -DRUNTIME_DIR=\"$(runtimedir)\" -DCONFIG_DIR=\"$(configdir)\" \ 48 -DRUNTIME_DIR=\"$(runtimedir)\" -DCONFIG_DIR=\"$(TGTDIR)$(configdir)\" \
46 -DDEFAULT_CONFIGFILE=\"$(configfile)\" -DSTATE_DIR=\"$(statedir)\" \ 49 -DDEFAULT_CONFIGFILE=\"$(TGTDIR)$(configfile)\" -DSTATE_DIR=\"$(TGTDIR)$(statedir)\" \
47 -DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP 50 -DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP
48-CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe 51-CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \
49+CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) -pipe 52+CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) -pipe \
53 -fexceptions
50 BIN_CFLAGS := -fPIE -DPIE 54 BIN_CFLAGS := -fPIE -DPIE
51 LIB_CFLAGS := -fPIC 55 LIB_CFLAGS := -fPIC
52 SHARED_FLAGS := -shared
53-- 56--
542.25.1 572.25.1
55 58
diff --git a/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch b/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch
index c6089612b..36a7d4774 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch
@@ -1,7 +1,7 @@
1From 8f52504859704466667e042baf437c2b6272ffb9 Mon Sep 17 00:00:00 2001 1From 30b85a61d665137ed1bca0d3e3d011c72758a192 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 26 Nov 2018 09:55:12 +0800 3Date: Mon, 26 Nov 2018 09:55:12 +0800
4Subject: [PATCH 05/12] RH: add mpathconf 4Subject: [PATCH] RH: add mpathconf
5 5
6mpathconf is a program (largely based on lvmcomf) to help users 6mpathconf is a program (largely based on lvmcomf) to help users
7configure /etc/multipath.conf and enable or disable multipathing. It 7configure /etc/multipath.conf and enable or disable multipathing. It
@@ -29,10 +29,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
29 create mode 100644 multipath/mpathconf.8 29 create mode 100644 multipath/mpathconf.8
30 30
31diff --git a/libmultipath/config.c b/libmultipath/config.c 31diff --git a/libmultipath/config.c b/libmultipath/config.c
32index 8a3a8f37..a40b41ab 100644 32index 3fbfcc85..fbaaca8c 100644
33--- a/libmultipath/config.c 33--- a/libmultipath/config.c
34+++ b/libmultipath/config.c 34+++ b/libmultipath/config.c
35@@ -962,6 +962,7 @@ int _init_config (const char *file, struct config *conf) 35@@ -962,6 +962,7 @@ int init_config__ (const char *file, struct config *conf)
36 validate_pctable(conf->overrides, 0, file); 36 validate_pctable(conf->overrides, 0, file);
37 } else { 37 } else {
38 condlog(0, "/etc/multipath.conf does not exist, blacklisting all devices."); 38 condlog(0, "/etc/multipath.conf does not exist, blacklisting all devices.");
diff --git a/meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch b/meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch
index 8df7de3b4..04160eaac 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch
@@ -1,7 +1,7 @@
1From f93248d8e3598ccdc42b6d639107917c9cda268c Mon Sep 17 00:00:00 2001 1From bd65cdc704666dd4153779c74cdbb2cac6efea71 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 26 Sep 2019 16:29:48 +0800 3Date: Thu, 26 Sep 2019 16:29:48 +0800
4Subject: [PATCH 06/12] RH: add wwids from kernel cmdline mpath.wwids with -A 4Subject: [PATCH] RH: add wwids from kernel cmdline mpath.wwids with -A
5 5
6This patch adds another option to multipath, "-A", which reads 6This patch adds another option to multipath, "-A", which reads
7/proc/cmdline for mpath.wwid=<WWID> options, and adds any wwids it finds 7/proc/cmdline for mpath.wwid=<WWID> options, and adds any wwids it finds
@@ -27,7 +27,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
27 2 files changed, 45 insertions(+) 27 2 files changed, 45 insertions(+)
28 28
29diff --git a/libmultipath/wwids.c b/libmultipath/wwids.c 29diff --git a/libmultipath/wwids.c b/libmultipath/wwids.c
30index 591cd09b..b01f1b85 100644 30index aac18c04..68f8e373 100644
31--- a/libmultipath/wwids.c 31--- a/libmultipath/wwids.c
32+++ b/libmultipath/wwids.c 32+++ b/libmultipath/wwids.c
33@@ -439,3 +439,47 @@ int unmark_failed_wwid(const char *wwid) 33@@ -439,3 +439,47 @@ int unmark_failed_wwid(const char *wwid)
@@ -79,7 +79,7 @@ index 591cd09b..b01f1b85 100644
79+ return ret; 79+ return ret;
80+} 80+}
81diff --git a/libmultipath/wwids.h b/libmultipath/wwids.h 81diff --git a/libmultipath/wwids.h b/libmultipath/wwids.h
82index 0c6ee54d..e32a0b0e 100644 82index ee47ad9f..1ed0d85e 100644
83--- a/libmultipath/wwids.h 83--- a/libmultipath/wwids.h
84+++ b/libmultipath/wwids.h 84+++ b/libmultipath/wwids.h
85@@ -17,6 +17,7 @@ int remember_wwid(char *wwid); 85@@ -17,6 +17,7 @@ int remember_wwid(char *wwid);
diff --git a/meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch b/meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch
index c64b8aeab..b435e6d67 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch
@@ -1,7 +1,7 @@
1From 49d0b0279f54ceb96878e8e72e828efbb84a534c Mon Sep 17 00:00:00 2001 1From 9f1075f82ecd39a9960f868eef890baf2ba36d4e Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 1 Mar 2024 11:45:10 +0800 3Date: Fri, 1 Mar 2024 11:45:10 +0800
4Subject: [PATCH 07/12] RH: warn on invalid regex instead of failing 4Subject: [PATCH] RH: warn on invalid regex instead of failing
5 5
6multipath.conf used to allow "*" as a match everything regular expression, 6multipath.conf used to allow "*" as a match everything regular expression,
7instead of requiring ".*". Instead of erroring when the old style 7instead of requiring ".*". Instead of erroring when the old style
@@ -23,7 +23,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
23 1 file changed, 34 insertions(+), 6 deletions(-) 23 1 file changed, 34 insertions(+), 6 deletions(-)
24 24
25diff --git a/libmultipath/dict.c b/libmultipath/dict.c 25diff --git a/libmultipath/dict.c b/libmultipath/dict.c
26index 5af036b7..e494419d 100644 26index a06a6138..a734ba9b 100644
27--- a/libmultipath/dict.c 27--- a/libmultipath/dict.c
28+++ b/libmultipath/dict.c 28+++ b/libmultipath/dict.c
29@@ -189,6 +189,34 @@ set_str_noslash(vector strvec, void *ptr, const char *file, int line_nr) 29@@ -189,6 +189,34 @@ set_str_noslash(vector strvec, void *ptr, const char *file, int line_nr)
@@ -61,7 +61,7 @@ index 5af036b7..e494419d 100644
61 static int 61 static int
62 set_yes_no(vector strvec, void *ptr, const char *file, int line_nr) 62 set_yes_no(vector strvec, void *ptr, const char *file, int line_nr)
63 { 63 {
64@@ -1798,7 +1826,7 @@ ble_ ## option ## _handler (struct config *conf, vector strvec, \ 64@@ -1854,7 +1882,7 @@ ble_ ## option ## _handler (struct config *conf, vector strvec, \
65 if (!conf->option) \ 65 if (!conf->option) \
66 return 1; \ 66 return 1; \
67 \ 67 \
@@ -70,7 +70,7 @@ index 5af036b7..e494419d 100644
70 if (!buff) \ 70 if (!buff) \
71 return 1; \ 71 return 1; \
72 \ 72 \
73@@ -1818,7 +1846,7 @@ ble_ ## option ## _ ## name ## _handler (struct config *conf, vector strvec, \ 73@@ -1874,7 +1902,7 @@ ble_ ## option ## _ ## name ## _handler (struct config *conf, vector strvec, \
74 if (!conf->option) \ 74 if (!conf->option) \
75 return 1; \ 75 return 1; \
76 \ 76 \
@@ -79,7 +79,7 @@ index 5af036b7..e494419d 100644
79 if (!buff) \ 79 if (!buff) \
80 return 1; \ 80 return 1; \
81 \ 81 \
82@@ -1924,16 +1952,16 @@ device_handler(struct config *conf, vector strvec, const char *file, 82@@ -1980,16 +2008,16 @@ device_handler(struct config *conf, vector strvec, const char *file,
83 return 0; 83 return 0;
84 } 84 }
85 85
diff --git a/meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch b/meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch
index 1fa1f3be2..9ea255cbc 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch
@@ -1,7 +1,7 @@
1From fcba3e0d4c8448a2510025acb255c7335413bf56 Mon Sep 17 00:00:00 2001 1From 87e19d273c46fe78933627fc4e8046e3a76da47a Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 26 Nov 2018 11:12:01 +0800 3Date: Mon, 26 Nov 2018 11:12:01 +0800
4Subject: [PATCH 08/12] RH: reset default find_mutipaths value to off 4Subject: [PATCH] RH: reset default find_mutipaths value to off
5 5
6Upstream has changed to default find_multipaths to "strict". For now 6Upstream has changed to default find_multipaths to "strict". For now
7Redhat will retain the previous default of "off". 7Redhat will retain the previous default of "off".
@@ -17,10 +17,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h 19diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h
20index 64b633f2..a06a8a41 100644 20index 02f7e57c..98dd66f7 100644
21--- a/libmultipath/defaults.h 21--- a/libmultipath/defaults.h
22+++ b/libmultipath/defaults.h 22+++ b/libmultipath/defaults.h
23@@ -23,7 +23,7 @@ 23@@ -24,7 +24,7 @@
24 #define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF 24 #define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF
25 #define DEFAULT_VERBOSITY 2 25 #define DEFAULT_VERBOSITY 2
26 #define DEFAULT_REASSIGN_MAPS 0 26 #define DEFAULT_REASSIGN_MAPS 0
diff --git a/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch b/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch
index 041b79a9a..661e38f68 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch
@@ -1,7 +1,7 @@
1From 7452549e572b1c40aefe25524bf4bbbf34c952e5 Mon Sep 17 00:00:00 2001 1From c22c897e7c55fc0b8c5bdd113a0357654ee895ae Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Tue, 4 Jun 2019 11:39:39 +0800 3Date: Tue, 4 Jun 2019 11:39:39 +0800
4Subject: [PATCH 09/12] multipath-tools: modify create-config.mk for 4Subject: [PATCH] multipath-tools: modify create-config.mk for
5 cross-compilation 5 cross-compilation
6 6
7Do not look for systemd info on the host, and allow us to pass in CFLAGS 7Do not look for systemd info on the host, and allow us to pass in CFLAGS
@@ -21,7 +21,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
21 1 file changed, 4 deletions(-) 21 1 file changed, 4 deletions(-)
22 22
23diff --git a/create-config.mk b/create-config.mk 23diff --git a/create-config.mk b/create-config.mk
24index 4d318b96..a65975ba 100644 24index 8bd2c20c..40d2446a 100644
25--- a/create-config.mk 25--- a/create-config.mk
26+++ b/create-config.mk 26+++ b/create-config.mk
27@@ -127,10 +127,6 @@ ifeq ($(ENABLE_DMEVENTS_POLL),0) 27@@ -127,10 +127,6 @@ ifeq ($(ENABLE_DMEVENTS_POLL),0)
diff --git a/meta-oe/recipes-support/multipath-tools/files/0010-Subject-PATCH-Always-use-devmapper.patch b/meta-oe/recipes-support/multipath-tools/files/0010-Always-use-devmapper.patch
index b48720b8a..cf053680f 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0010-Subject-PATCH-Always-use-devmapper.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0010-Always-use-devmapper.patch
@@ -1,7 +1,7 @@
1From 5d2fa3c5975266a6c02214afa6254e6eeeb1baad Mon Sep 17 00:00:00 2001 1From c34c65a3f5ddec22cb417872f90c2c9540a1847b Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 26 Nov 2018 11:17:41 +0800 3Date: Mon, 26 Nov 2018 11:17:41 +0800
4Subject: [PATCH 10/12] Subject: [PATCH] Always use devmapper 4Subject: [PATCH] Always use devmapper
5 5
6Do not try to compute several _API_ make variables 6Do not try to compute several _API_ make variables
7from host information when cross-compiling. 7from host information when cross-compiling.
@@ -21,7 +21,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
21 1 file changed, 8 insertions(+), 28 deletions(-) 21 1 file changed, 8 insertions(+), 28 deletions(-)
22 22
23diff --git a/create-config.mk b/create-config.mk 23diff --git a/create-config.mk b/create-config.mk
24index a65975ba..8ba592f4 100644 24index 40d2446a..f5eb2803 100644
25--- a/create-config.mk 25--- a/create-config.mk
26+++ b/create-config.mk 26+++ b/create-config.mk
27@@ -79,34 +79,14 @@ URCU_VERSION = $(shell \ 27@@ -79,34 +79,14 @@ URCU_VERSION = $(shell \
diff --git a/meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch b/meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch
index abaea2cfb..0c5015142 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch
@@ -1,7 +1,7 @@
1From 949070286692dfff89213792571da233fe82e440 Mon Sep 17 00:00:00 2001 1From 698361847e6fae321bc277a5fc518b2bd55751b8 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@cn.fujitsu.com> 2From: Wang Mingyu <wangmy@cn.fujitsu.com>
3Date: Sun, 10 May 2020 21:22:53 +0800 3Date: Sun, 10 May 2020 21:22:53 +0800
4Subject: [PATCH 11/12] fix bug of do_compile and do_install 4Subject: [PATCH] fix bug of do_compile and do_install
5 5
6when multiple processes make run in parallel, 6when multiple processes make run in parallel,
7because of dependency error will occur. 7because of dependency error will occur.
@@ -18,10 +18,10 @@ Upstream-Status: Pending
18 1 file changed, 10 insertions(+) 18 1 file changed, 10 insertions(+)
19 19
20diff --git a/Makefile b/Makefile 20diff --git a/Makefile b/Makefile
21index 4df5f161..065249c2 100644 21index f06f7faa..690dc050 100644
22--- a/Makefile 22--- a/Makefile
23+++ b/Makefile 23+++ b/Makefile
24@@ -91,6 +91,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath 24@@ -94,6 +94,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath
25 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath 25 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath
26 mpathpersist multipathd: libmpathpersist 26 mpathpersist multipathd: libmpathpersist
27 27
diff --git a/meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch b/meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch
index 2f774940d..f47d8afe4 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch
@@ -1,7 +1,7 @@
1From 7a46f43682641436464579d8bf76c382e71ea557 Mon Sep 17 00:00:00 2001 1From 69ee17207574ca032c3cb46a3db99736de3eedf8 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 25 May 2020 23:22:55 -0700 3Date: Mon, 25 May 2020 23:22:55 -0700
4Subject: [PATCH 12/12] add explicit dependency on libraries 4Subject: [PATCH] add explicit dependency on libraries
5 5
6[snip] 6[snip]
7gcc/i686-overc-linux/10.1.0/ld: cannot find -lmpathpersist 7gcc/i686-overc-linux/10.1.0/ld: cannot find -lmpathpersist
@@ -24,10 +24,10 @@ Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
24 1 file changed, 1 insertion(+) 24 1 file changed, 1 insertion(+)
25 25
26diff --git a/Makefile b/Makefile 26diff --git a/Makefile b/Makefile
27index 065249c2..0444c2ea 100644 27index 690dc050..b775f949 100644
28--- a/Makefile 28--- a/Makefile
29+++ b/Makefile 29+++ b/Makefile
30@@ -90,6 +90,7 @@ libmultipath: libmpathutil 30@@ -93,6 +93,7 @@ libmultipath: libmpathutil
31 libmpathpersist libmpathvalid multipath multipathd: libmultipath 31 libmpathpersist libmpathvalid multipath multipathd: libmultipath
32 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath 32 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath
33 mpathpersist multipathd: libmpathpersist 33 mpathpersist multipathd: libmpathpersist
diff --git a/meta-oe/recipes-support/multipath-tools/files/multipathd.oe b/meta-oe/recipes-support/multipath-tools/files/multipathd.oe
index 3bdf875e3..3bdf875e3 100755..100644
--- a/meta-oe/recipes-support/multipath-tools/files/multipathd.oe
+++ b/meta-oe/recipes-support/multipath-tools/files/multipathd.oe
diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.9.8.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.10.0.bb
index 374cda3b4..18874e909 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.9.8.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.10.0.bb
@@ -41,15 +41,14 @@ SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=ma
41 file://0007-RH-warn-on-invalid-regex-instead-of-failing.patch \ 41 file://0007-RH-warn-on-invalid-regex-instead-of-failing.patch \
42 file://0008-RH-reset-default-find_mutipaths-value-to-off.patch \ 42 file://0008-RH-reset-default-find_mutipaths-value-to-off.patch \
43 file://0009-multipath-tools-modify-create-config.mk-for-cross-co.patch \ 43 file://0009-multipath-tools-modify-create-config.mk-for-cross-co.patch \
44 file://0010-Subject-PATCH-Always-use-devmapper.patch \ 44 file://0010-Always-use-devmapper.patch \
45 file://0011-fix-bug-of-do_compile-and-do_install.patch \ 45 file://0011-fix-bug-of-do_compile-and-do_install.patch \
46 file://0012-add-explicit-dependency-on-libraries.patch \ 46 file://0012-add-explicit-dependency-on-libraries.patch \
47 file://0001-libmultipath-always-use-glibc-basename.patch \
48 " 47 "
49 48
50LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" 49LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
51 50
52SRCREV = "3daacfdfd110b24a3a7d5a276dcf8512b7039199" 51SRCREV = "ee3a70175a8a9045e5c309d5392300922e2a0625"
53 52
54S = "${WORKDIR}/git" 53S = "${WORKDIR}/git"
55 54
@@ -73,6 +72,7 @@ ARM_INSTRUCTION_SET:armv5 = "arm"
73EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \ 72EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
74 OPTFLAGS="${CFLAGS}" \ 73 OPTFLAGS="${CFLAGS}" \
75 prefix=${prefix} \ 74 prefix=${prefix} \
75 etc_prefix=${sysconfdir} \
76 bindir=${base_sbindir} \ 76 bindir=${base_sbindir} \
77 LIB=${base_libdir} libdir=${base_libdir}/multipath \ 77 LIB=${base_libdir} libdir=${base_libdir}/multipath \
78 usrlibdir=${libdir} \ 78 usrlibdir=${libdir} \
diff --git a/meta-oe/recipes-support/opencv/opencv_4.9.0.bb b/meta-oe/recipes-support/opencv/opencv_4.10.0.bb
index 1a873ddef..07bdb37b7 100644
--- a/meta-oe/recipes-support/opencv/opencv_4.9.0.bb
+++ b/meta-oe/recipes-support/opencv/opencv_4.10.0.bb
@@ -10,8 +10,8 @@ ARM_INSTRUCTION_SET:armv5 = "arm"
10 10
11DEPENDS = "libtool swig-native bzip2 zlib glib-2.0 libwebp" 11DEPENDS = "libtool swig-native bzip2 zlib glib-2.0 libwebp"
12 12
13SRCREV_opencv = "dad8af6b17f8e60d7b95a1203a1b4d22f56574cf" 13SRCREV_opencv = "a7d942b681c5edd0cc27407d8e4d3dbf36c7a40e"
14SRCREV_contrib = "c7602a8f74205e44389bd6a4e8d727d32e7e27b4" 14SRCREV_contrib = "1aab1f34815a58a5a63aee6d510fe234129754a2"
15SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26" 15SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26"
16SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d" 16SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d"
17SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12" 17SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12"
diff --git a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.16.1.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.17.0.bb
index 1d86f1abc..04e43d99c 100644
--- a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.16.1.bb
+++ b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.17.0.bb
@@ -10,7 +10,7 @@ DEPENDS = "nlohmann-json"
10 10
11SRC_URI = "git://github.com/open-telemetry/opentelemetry-cpp.git;protocol=https;branch=main \ 11SRC_URI = "git://github.com/open-telemetry/opentelemetry-cpp.git;protocol=https;branch=main \
12 file://0001-Fix-build-with-clang-19.patch" 12 file://0001-Fix-build-with-clang-19.patch"
13SRCREV = "baecbb95bd63df53e0af16e87bc683967962c5f8" 13SRCREV = "fa0a5200ddbe9ae6f487a228e658aedc102dab56"
14 14
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16inherit cmake pkgconfig lib_package 16inherit cmake pkgconfig lib_package
diff --git a/meta-oe/recipes-support/remmina/remmina_1.4.35.bb b/meta-oe/recipes-support/remmina/remmina_1.4.36.bb
index 0cad52df3..62e7d5811 100644
--- a/meta-oe/recipes-support/remmina/remmina_1.4.35.bb
+++ b/meta-oe/recipes-support/remmina/remmina_1.4.36.bb
@@ -25,7 +25,7 @@ DEPENDS = " \
25DEPENDS:append:libc-musl = " libexecinfo" 25DEPENDS:append:libc-musl = " libexecinfo"
26LDFLAGS:append:libc-musl = " -lexecinfo" 26LDFLAGS:append:libc-musl = " -lexecinfo"
27 27
28SRCREV = "2a455eadd6462457d08c2d066c5c245e0dee3bf9" 28SRCREV = "17cf7956b9f925fa788083a2db8d5e669f86bfaf"
29SRC_URI = "git://gitlab.com/Remmina/Remmina;protocol=https;branch=master" 29SRC_URI = "git://gitlab.com/Remmina/Remmina;protocol=https;branch=master"
30S = "${WORKDIR}/git" 30S = "${WORKDIR}/git"
31 31
diff --git a/meta-oe/recipes-support/snapper/snapper/0001-Include-linux-types.h-for-__u16-__u32-__u64-type.patch b/meta-oe/recipes-support/snapper/snapper/0001-Include-linux-types.h-for-__u16-__u32-__u64-type.patch
new file mode 100644
index 000000000..ec8594629
--- /dev/null
+++ b/meta-oe/recipes-support/snapper/snapper/0001-Include-linux-types.h-for-__u16-__u32-__u64-type.patch
@@ -0,0 +1,30 @@
1From d103eaeae169708ca567f092182a89b79e5ab9db Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 20 Oct 2024 07:52:33 -0700
4Subject: [PATCH 1/2] Include linux/types.h for __u16/__u32/__u64 type
5
6This header is included indirectly with glibc but when using musl
7it ends up with compilation failure
8
9BcachefsUtils.cc:85:20: error: use of undeclared identifier '__u32'
10 85 | args.dirfd = (__u32) fddst;
11 | ^
12
13Upstream-Status: Submitted [https://github.com/openSUSE/snapper/pull/945]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 snapper/BcachefsUtils.cc | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/snapper/BcachefsUtils.cc b/snapper/BcachefsUtils.cc
20index e9163ffb..1d328a78 100644
21--- a/snapper/BcachefsUtils.cc
22+++ b/snapper/BcachefsUtils.cc
23@@ -24,6 +24,7 @@
24
25 #include <cstring>
26 #include <cerrno>
27+#include <linux/types.h>
28 #include <sys/stat.h>
29 #include <sys/ioctl.h>
30
diff --git a/meta-oe/recipes-support/snapper/snapper/0002-Use-statvfs-instead-of-statvfs64.patch b/meta-oe/recipes-support/snapper/snapper/0002-Use-statvfs-instead-of-statvfs64.patch
new file mode 100644
index 000000000..b915fda25
--- /dev/null
+++ b/meta-oe/recipes-support/snapper/snapper/0002-Use-statvfs-instead-of-statvfs64.patch
@@ -0,0 +1,37 @@
1From 0b39f4484553c796cb300fb4933ea314e91d913b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 20 Oct 2024 07:55:23 -0700
4Subject: [PATCH 2/2] Use statvfs instead of statvfs64
5
6when using LFS64 these functions are same and also
7on 64bit systems they are same. musl is using 64bit off_t
8by default and does not define LFS64 variants of these functions
9and it ends up in build errors
10
11Taken from Alpine Linux: [https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/snapper/statvfs64.patch]
12
13Upstream-Status: Submitted [https://github.com/openSUSE/snapper/pull/945]
14
15Signed-off-by: Markus Volk <f_l_k@t-online.de>
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 snapper/FileUtils.cc | 6 +++---
19 1 file changed, 3 insertions(+), 3 deletions(-)
20
21diff --git a/snapper/FileUtils.cc b/snapper/FileUtils.cc
22index d4034279..4c8578a1 100644
23--- a/snapper/FileUtils.cc
24+++ b/snapper/FileUtils.cc
25@@ -387,9 +387,9 @@ namespace snapper
26 std::pair<unsigned long long, unsigned long long>
27 SDir::statvfs() const
28 {
29- struct statvfs64 fsbuf;
30- if (fstatvfs64(dirfd, &fsbuf) != 0)
31- SN_THROW(IOErrorException(sformat("statvfs64 failed path:%s errno:%d (%s)", base_path.c_str(),
32+ struct statvfs fsbuf;
33+ if (fstatvfs(dirfd, &fsbuf) != 0)
34+ SN_THROW(IOErrorException(sformat("statvfs failed path:%s errno:%d (%s)", base_path.c_str(),
35 errno, stringerror(errno).c_str())));
36
37 // f_bavail is used (not f_bfree) since df seems to do the
diff --git a/meta-oe/recipes-support/snapper/snapper_0.11.2.bb b/meta-oe/recipes-support/snapper/snapper_0.11.2.bb
new file mode 100644
index 000000000..d8987eead
--- /dev/null
+++ b/meta-oe/recipes-support/snapper/snapper_0.11.2.bb
@@ -0,0 +1,41 @@
1SUMMARY = "Snapper is a tool for Linux file system snapshot management"
2HOMEPAGE = "https://github.com/openSUSE/snapper"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
5
6DEPENDS = "acl boost btrfs-tools dbus e2fsprogs json-c libxml2 lvm2 ncurses zlib"
7
8# Build separation is slightly broken
9inherit autotools-brokensep pkgconfig gettext
10
11SRC_URI = " \
12 git://github.com/openSUSE/snapper.git;protocol=https;branch=master \
13 file://0001-Include-linux-types.h-for-__u16-__u32-__u64-type.patch \
14 file://0002-Use-statvfs-instead-of-statvfs64.patch \
15"
16SRCREV = "6c603565f36e9996d85045c8012cd04aba5f3708"
17
18S = "${WORKDIR}/git"
19
20EXTRA_OECONF += "--disable-zypp"
21
22PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'api-documentation systemd pam', d)}"
23PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam"
24PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd"
25PACKAGECONFIG[api-documentation] = "--enable-doc,--disable-doc,libxslt-native docbook-xsl-stylesheets-native"
26
27# Avoid HOSTTOOLS path in binaries
28export DIFFBIN = "${bindir}/diff"
29export RMBIN = "${bindir}/rm"
30export TOUCHBIN = "${bindir}/touch"
31export CPBIN = "${bindir}/cp"
32
33do_install:append() {
34 install -d ${D}${sysconfdir}/sysconfig
35 install -m0644 ${S}/data/default-config ${D}${sysconfdir}/sysconfig/snapper
36}
37
38FILES:${PN} += "${nonarch_libdir} ${systemd_system_unitdir} ${datadir}"
39
40# bash is needed for the testsuite
41RDEPENDS:${PN} = "bash diffutils util-linux util-linux-mount"
diff --git a/meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch b/meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch
deleted file mode 100644
index f21ad5d70..000000000
--- a/meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 896d77dd949b52d6ea5798e5a038ba97d6b802be Mon Sep 17 00:00:00 2001
2From: Peter Marko <peter.marko@siemens.com>
3Date: Thu, 4 Apr 2024 15:44:18 +0200
4Subject: [PATCH] macros: guard ipv6 code with SYSLOG_NG_ENABLE_IPV6
5
6With ipv6 disabled, there are linking errors currently.
7This fixes it by not using the symbols when IPv6 is disabled.
8
9Solves #4810 with my config options
10https://github.com/openembedded/meta-openembedded/blob/2487e65ee3842b6ae0c7a2628985be6189ed9ebf/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb
11
12Upstream-Status: Submitted [https://github.com/syslog-ng/syslog-ng/pull/4880]
13
14Signed-off-by: Peter Marko <peter.marko@siemens.com>
15---
16 lib/template/macros.c | 2 ++
17 1 file changed, 2 insertions(+)
18
19diff --git a/lib/template/macros.c b/lib/template/macros.c
20index 54142706c..fcb83637f 100644
21--- a/lib/template/macros.c
22+++ b/lib/template/macros.c
23@@ -277,12 +277,14 @@ _get_originating_ip_protocol(const LogMessage *msg)
24 return 0;
25 if (g_sockaddr_inet_check(msg->saddr))
26 return 4;
27+#if SYSLOG_NG_ENABLE_IPV6
28 if (g_sockaddr_inet6_check(msg->saddr))
29 {
30 if (g_sockaddr_inet6_is_v4_mapped(msg->saddr))
31 return 4;
32 return 6;
33 }
34+#endif
35 return 0;
36 }
37
38--
392.30.2
40
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb b/meta-oe/recipes-support/syslog-ng/syslog-ng_4.7.0.bb
index ab4a8d182..588a38126 100644
--- a/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb
+++ b/meta-oe/recipes-support/syslog-ng/syslog-ng_4.7.0.bb
@@ -13,7 +13,7 @@ LICENSE = "GPL-2.0-only & LGPL-2.1-only"
13LIC_FILES_CHKSUM = "file://COPYING;md5=924958cefc9f7de3e0b818832b8a1cec" 13LIC_FILES_CHKSUM = "file://COPYING;md5=924958cefc9f7de3e0b818832b8a1cec"
14 14
15# util-linux added to get libuuid 15# util-linux added to get libuuid
16DEPENDS = "libpcre flex glib-2.0 openssl util-linux bison-native curl" 16DEPENDS = "libpcre flex glib-2.0 openssl util-linux bison-native curl json-c"
17 17
18SRC_URI = "https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.tar.gz \ 18SRC_URI = "https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.tar.gz \
19 file://syslog-ng.conf.systemd \ 19 file://syslog-ng.conf.systemd \
@@ -23,11 +23,10 @@ SRC_URI = "https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.ta
23 file://syslog-ng-tmp.conf \ 23 file://syslog-ng-tmp.conf \
24 file://syslog-ng.service-the-syslog-ng-service.patch \ 24 file://syslog-ng.service-the-syslog-ng-service.patch \
25 file://0001-Fix-buildpaths-warning.patch \ 25 file://0001-Fix-buildpaths-warning.patch \
26 file://0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch \
27" 26"
28SRC_URI:append:powerpc64le = " file://0001-plugin.c-workaround-powerpc64le-segfaults-error.patch" 27SRC_URI:append:powerpc64le = " file://0001-plugin.c-workaround-powerpc64le-segfaults-error.patch"
29 28
30SRC_URI[sha256sum] = "b69e3360dfb96a754a4e1cbead4daef37128b1152a23572356db4ab64a475d4f" 29SRC_URI[sha256sum] = "b601265362c633a25f26c497a7e57592739d5a583b7963b722ff58f01b853506"
31 30
32UPSTREAM_CHECK_URI = "https://github.com/balabit/syslog-ng/releases" 31UPSTREAM_CHECK_URI = "https://github.com/balabit/syslog-ng/releases"
33 32
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch
new file mode 100644
index 000000000..3d76aa4e4
--- /dev/null
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch
@@ -0,0 +1,33 @@
1From fff1b1773bff2ef7c3b867ab019d69faa36c010d Mon Sep 17 00:00:00 2001
2From: Michael Catanzaro <mcatanzaro@redhat.com>
3Date: Wed, 3 Jul 2024 13:36:54 -0700
4Subject: [PATCH] WebKitDOMEventTarget.h:95: Warning: WebKit2WebExtension:
5 invalid "scope" annotation: only valid on callback parameters
6 https://bugs.webkit.org/show_bug.cgi?id=276180
7
8Unreviewed build fix.
9
10Emmanuele recommends using (type gpointer) for the GCallback parameter
11of webkit_dom_event_target_remove_event_listener, since it won't be
12called and is therefore not functioning as a callback.
13
14* Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h:
15
16Canonical link: https://commits.webkit.org/280639@main
17Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/fff1b1773bff2ef7c3b867ab019d69faa36c010d]
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 .../InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h
24+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h
25@@ -92,7 +92,7 @@ WEBKIT_DEPRECATED gboolean webkit_dom_e
26 * webkit_dom_event_target_remove_event_listener:
27 * @target: A #WebKitDOMEventTarget
28 * @event_name: A #gchar
29- * @handler: (scope call): A #GCallback
30+ * @handler: (type gpointer): A #GCallback
31 * @use_capture: A #gboolean
32 *
33 * Returns: a #gboolean
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb
index 9493d8642..01eefe13d 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb
@@ -16,6 +16,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz \
16 file://0001-LowLevelInterpreter.cpp-339-21-error-t6-was-not-decl.patch \ 16 file://0001-LowLevelInterpreter.cpp-339-21-error-t6-was-not-decl.patch \
17 file://30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch \ 17 file://30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch \
18 file://0001-Fix-build-issues-with-latest-Clang.patch \ 18 file://0001-Fix-build-issues-with-latest-Clang.patch \
19 file://fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch \
19 " 20 "
20SRC_URI[sha256sum] = "dc82d042ecaca981a4852357c06e5235743319cf10a94cd36ad41b97883a0b54" 21SRC_URI[sha256sum] = "dc82d042ecaca981a4852357c06e5235743319cf10a94cd36ad41b97883a0b54"
21 22
@@ -93,9 +94,8 @@ EXTRA_OECMAKE = " \
93 -DENABLE_MINIBROWSER=ON \ 94 -DENABLE_MINIBROWSER=ON \
94 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \ 95 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \
95 " 96 "
96# Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of the 97# pass -g1 to massively reduce the size of the debug symbols (4.3GB to 700M at time of writing)
97# debug symbols (4.3GB to 700M at time of writing) 98DEBUG_LEVELFLAG = "-g1"
98DEBUG_FLAGS:append = "${@oe.utils.vartrue('DEBUG_BUILD', '', ' -g1', d)}"
99 99
100# Javascript JIT is not supported on ARC 100# Javascript JIT is not supported on ARC
101EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF " 101EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF "
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.5.bb b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.5.bb
index 994adef3a..50c387d25 100644
--- a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.5.bb
+++ b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.5.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=352791d62092ea8104f085042de7f4d0"
12 12
13SECTION = "libs" 13SECTION = "libs"
14 14
15SRC_URI = "http://www.aleksey.com/xmlsec/download/${BP}.tar.gz \ 15SRC_URI = "https://github.com/lsh123/xmlsec/releases/download/${PR}/${BP}.tar.gz \
16 file://fix-ltmain.sh.patch \ 16 file://fix-ltmain.sh.patch \
17 file://change-finding-path-of-nss.patch \ 17 file://change-finding-path-of-nss.patch \
18 file://makefile-ptest.patch \ 18 file://makefile-ptest.patch \
diff --git a/meta-oe/recipes-test/catch2/catch2_3.7.0.bb b/meta-oe/recipes-test/catch2/catch2_3.7.1.bb
index 2d571a9cf..35cdab5e8 100644
--- a/meta-oe/recipes-test/catch2/catch2_3.7.0.bb
+++ b/meta-oe/recipes-test/catch2/catch2_3.7.1.bb
@@ -5,7 +5,7 @@ LICENSE = "BSL-1.0"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
6 6
7SRC_URI = "git://github.com/catchorg/Catch2.git;branch=devel;protocol=https" 7SRC_URI = "git://github.com/catchorg/Catch2.git;branch=devel;protocol=https"
8SRCREV = "31588bb4f56b638dd5afc28d3ebff9b9dcefb88d" 8SRCREV = "fa43b77429ba76c462b1898d6cd2f2d7a9416b14"
9 9
10S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
11 11
@@ -16,6 +16,7 @@ do_install:append() {
16 rm ${D}${datadir}/Catch2/gdbinit 16 rm ${D}${datadir}/Catch2/gdbinit
17 rmdir ${D}${datadir}/Catch2/ 17 rmdir ${D}${datadir}/Catch2/
18} 18}
19
19# Header-only library 20# Header-only library
20RDEPENDS:${PN}-dev = "" 21RDEPENDS:${PN}-dev = ""
21RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" 22RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
diff --git a/meta-perl/conf/layer.conf b/meta-perl/conf/layer.conf
index fb1fe8845..057fb05b2 100644
--- a/meta-perl/conf/layer.conf
+++ b/meta-perl/conf/layer.conf
@@ -15,4 +15,4 @@ LAYERVERSION_perl-layer = "1"
15 15
16LAYERDEPENDS_perl-layer = "core openembedded-layer" 16LAYERDEPENDS_perl-layer = "core openembedded-layer"
17 17
18LAYERSERIES_COMPAT_perl-layer = "styhead" 18LAYERSERIES_COMPAT_perl-layer = "styhead walnascar"
diff --git a/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb b/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb
index a5d28265d..28dbf1399 100644
--- a/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb
+++ b/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Constructs and (by default) mails MIME messages. \
3 It is entirely driven from the command line, it is \ 3 It is entirely driven from the command line, it is \
4 designed to be used by other programs, or people who act \ 4 designed to be used by other programs, or people who act \
5 like programs." 5 like programs."
6HOMEPAGE = "http://search.cpan.org/~rosch/mime-construct/mime-construct" 6HOMEPAGE = "https://metacpan.org/release/ROSCH/mime-construct-1.11/view/mime-construct"
7SECTION = "mail" 7SECTION = "mail"
8LICENSE = "GPL-2.0-or-later" 8LICENSE = "GPL-2.0-or-later"
9LIC_FILES_CHKSUM = "file://debian/copyright;md5=5e2e5da619ac8ef8c84767ccc4656e96" 9LIC_FILES_CHKSUM = "file://debian/copyright;md5=5e2e5da619ac8ef8c84767ccc4656e96"
@@ -12,7 +12,6 @@ SRC_URI = "${CPAN_MIRROR}/authors/id/R/RO/ROSCH/mime-construct-${PV}.tar.gz \
12 file://fix-mime-construct-help-return-value.patch \ 12 file://fix-mime-construct-help-return-value.patch \
13" 13"
14 14
15SRC_URI[md5sum] = "73834ea780fbea81b89dbd9b2fb54f58"
16SRC_URI[sha256sum] = "4cd7bb61b51d41192d1498c1051aa6a4ccd75aeb09b71d2ec706a7084a4a9303" 15SRC_URI[sha256sum] = "4cd7bb61b51d41192d1498c1051aa6a4ccd75aeb09b71d2ec706a7084a4a9303"
17 16
18inherit cpan 17inherit cpan
diff --git a/meta-perl/recipes-perl/adduser/adduser_3.118.bb b/meta-perl/recipes-perl/adduser/adduser_3.118.bb
index 3ac2211aa..431b41a2d 100644
--- a/meta-perl/recipes-perl/adduser/adduser_3.118.bb
+++ b/meta-perl/recipes-perl/adduser/adduser_3.118.bb
@@ -11,7 +11,6 @@ SRC_URI = "https://launchpad.net/debian/+archive/primary/+sourcefiles/adduser/${
11 file://0001-adduser-set-default-shell-with-sbin-nologin.patch \ 11 file://0001-adduser-set-default-shell-with-sbin-nologin.patch \
12" 12"
13 13
14SRC_URI[md5sum] = "44ba2475ebdaafc9613236bdda321c97"
15SRC_URI[sha256sum] = "3e9eea661c9aac6b2c791bfcc1de3a9c6a422d45c8f3d38ed417737ed3166ffc" 14SRC_URI[sha256sum] = "3e9eea661c9aac6b2c791bfcc1de3a9c6a422d45c8f3d38ed417737ed3166ffc"
16 15
17S = "${WORKDIR}/${BPN}" 16S = "${WORKDIR}/${BPN}"
diff --git a/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb b/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb
index d87df0974..cef17fb40 100644
--- a/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb
+++ b/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb
@@ -7,13 +7,12 @@ program. It is guaranteed to find the *smallest possible* set of \
7differences. \ 7differences. \
8" 8"
9SECTION = "libs" 9SECTION = "libs"
10HOMEPAGE = "http://search.cpan.org/~nedkonz/Algorithm-Diff/" 10HOMEPAGE = "https://metacpan.org/release/NEDKONZ/Algorithm-Diff-1.15"
11 11
12LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 12LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
13LIC_FILES_CHKSUM = "file://lib/Algorithm/Diff.pm;beginline=406;endline=409;md5=d393b8ad3b8994b9d0ae9299b8a8a1ee" 13LIC_FILES_CHKSUM = "file://lib/Algorithm/Diff.pm;beginline=406;endline=409;md5=d393b8ad3b8994b9d0ae9299b8a8a1ee"
14 14
15SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEDKONZ/Algorithm-Diff-${PV}.tar.gz" 15SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEDKONZ/Algorithm-Diff-${PV}.tar.gz"
16SRC_URI[md5sum] = "457cd497a0411a88b47d3741eb176071"
17SRC_URI[sha256sum] = "aa848b75ad3ecc32d31e8651909551e851cceef74a32822c7a3cb35c259f5190" 16SRC_URI[sha256sum] = "aa848b75ad3ecc32d31e8651909551e851cceef74a32822c7a3cb35c259f5190"
18 17
19S = "${WORKDIR}/Algorithm-Diff-${PV}" 18S = "${WORKDIR}/Algorithm-Diff-${PV}"
diff --git a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb
index ee7c4d750..835fd2f6c 100644
--- a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb
+++ b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb
@@ -4,7 +4,7 @@ DESCRIPTION = "The Authen::Radius module provides a simple class that \
4 Radius server. \ 4 Radius server. \
5" 5"
6 6
7HOMEPAGE = "http://search.cpan.org/~manowar/RadiusPerl" 7HOMEPAGE = "https://metacpan.org/release/MANOWAR/RadiusPerl"
8SECTION = "libs" 8SECTION = "libs"
9 9
10LICENSE = "Artistic-2.0" 10LICENSE = "Artistic-2.0"
@@ -12,11 +12,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=78ab6ea0cba1f1ec1680ebb149e3bc11"
12 12
13DEPENDS = "perl" 13DEPENDS = "perl"
14 14
15SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MANOWAR/RadiusPerl-${PV}.tar.gz \ 15SRC_URI = "${CPAN_MIRROR}/authors/id/M/MA/MANOWAR/RadiusPerl-${PV}.tar.gz \
16 file://test.pl-adjust-for-ptest.patch \ 16 file://test.pl-adjust-for-ptest.patch \
17 file://run-ptest \ 17 file://run-ptest \
18" 18"
19SRC_URI[md5sum] = "d1fe2d6ecf7ea99299e4e3a8f945aad8"
20SRC_URI[sha256sum] = "3b276506986ccaa4949d92b13ce053a0017ad11562a991cc753364923fe81ca7" 19SRC_URI[sha256sum] = "3b276506986ccaa4949d92b13ce053a0017ad11562a991cc753364923fe81ca7"
21 20
22S = "${WORKDIR}/Authen-Radius-${PV}" 21S = "${WORKDIR}/Authen-Radius-${PV}"
diff --git a/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb b/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.1700.bb
index a9eec6950..f0913c5b5 100644
--- a/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb
+++ b/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.1700.bb
@@ -2,7 +2,7 @@ SUMMARY = "SASL Authentication framework for Perl"
2DESCRIPTION = "SASL is a generic mechanism for authentication used by several network \ 2DESCRIPTION = "SASL is a generic mechanism for authentication used by several network \
3protocols. Authen::SASL provides an implementation framework that all \ 3protocols. Authen::SASL provides an implementation framework that all \
4protocols should be able to share." 4protocols should be able to share."
5HOMEPAGE = "http://search.cpan.org/dist/Authen-SASL/" 5HOMEPAGE = "https://metacpan.org/dist/Authen-SASL/"
6SECTION = "libs" 6SECTION = "libs"
7 7
8LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 8LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
@@ -11,11 +11,10 @@ LIC_FILES_CHKSUM = "file://lib/Authen/SASL/Perl.pm;beginline=1;endline=3;md5=171
11DEPENDS = "perl" 11DEPENDS = "perl"
12RDEPENDS:${PN} = "libdigest-hmac-perl" 12RDEPENDS:${PN} = "libdigest-hmac-perl"
13 13
14SRC_URI = "http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-${PV}.tar.gz \ 14SRC_URI = "${CPAN_MIRROR}/authors/id/E/EH/EHUELS/Authen-SASL-${PV}.tar.gz \
15 file://run-ptest \ 15 file://run-ptest \
16 " 16 "
17SRC_URI[md5sum] = "7c03a689d4c689e5a9e2f18a1c586b2f" 17SRC_URI[sha256sum] = "b86d5a576b8d387aee24f39f47a54afd14bb66b09003db5065001f1de03a8ece"
18SRC_URI[sha256sum] = "6614fa7518f094f853741b63c73f3627168c5d3aca89b1d02b1016dc32854e09"
19 18
20S = "${WORKDIR}/Authen-SASL-${PV}" 19S = "${WORKDIR}/Authen-SASL-${PV}"
21 20
diff --git a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb
index a51d327a3..e37101d72 100644
--- a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb
+++ b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb
@@ -8,14 +8,13 @@ a dozen capturing modules to use in any particular situation and just use \
8this one." 8this one."
9SECTION = "libs" 9SECTION = "libs"
10 10
11HOMEPAGE = "http://search.cpan.org/~dagolden/Capture-Tiny/" 11HOMEPAGE = "https://metacpan.org/dist/Capture-Tiny"
12 12
13LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 13LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
14LIC_FILES_CHKSUM = "file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f" 14LIC_FILES_CHKSUM = "file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f"
15 15
16SRCNAME = "Capture-Tiny" 16SRCNAME = "Capture-Tiny"
17SRC_URI = "${CPAN_MIRROR}/authors/id/D/DA/DAGOLDEN/${SRCNAME}-${PV}.tar.gz" 17SRC_URI = "${CPAN_MIRROR}/authors/id/D/DA/DAGOLDEN/${SRCNAME}-${PV}.tar.gz"
18SRC_URI[md5sum] = "f5d24083ad270f8326dd659dd83eeb54"
19SRC_URI[sha256sum] = "6c23113e87bad393308c90a207013e505f659274736638d8c79bac9c67cc3e19" 18SRC_URI[sha256sum] = "6c23113e87bad393308c90a207013e505f659274736638d8c79bac9c67cc3e19"
20 19
21S = "${WORKDIR}/${SRCNAME}-${PV}" 20S = "${WORKDIR}/${SRCNAME}-${PV}"
diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.66.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.66.bb
index 94fb4393c..42100acec 100644
--- a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.66.bb
+++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.66.bb
@@ -2,13 +2,13 @@ DESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing a
2HTTP requests and responses. Major features including processing form \ 2HTTP requests and responses. Major features including processing form \
3submissions, file uploads, reading and writing cookies, query string generation \ 3submissions, file uploads, reading and writing cookies, query string generation \
4and manipulation, and processing and preparing HTTP headers." 4and manipulation, and processing and preparing HTTP headers."
5HOMEPAGE = "http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod" 5HOMEPAGE = "https://metacpan.org/pod/CGI"
6SECTION = "libs" 6SECTION = "libs"
7LICENSE = "Artistic-2.0 | GPL-2.0-only" 7LICENSE = "Artistic-2.0 | GPL-2.0-only"
8 8
9LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb"
10 10
11SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz" 11SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz"
12 12
13SRC_URI[sha256sum] = "4697437688a193e3f02556e1d223015590c1f2800b40becf83dc12d5cc5ed8e1" 13SRC_URI[sha256sum] = "4697437688a193e3f02556e1d223015590c1f2800b40becf83dc12d5cc5ed8e1"
14 14
diff --git a/meta-perl/recipes-perl/libconfig-tiny/libconfig-tiny-perl_2.30.bb b/meta-perl/recipes-perl/libconfig-tiny/libconfig-tiny-perl_2.30.bb
index ccdc1e0cb..f232c3585 100644
--- a/meta-perl/recipes-perl/libconfig-tiny/libconfig-tiny-perl_2.30.bb
+++ b/meta-perl/recipes-perl/libconfig-tiny/libconfig-tiny-perl_2.30.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Config::Tiny is a Perl class to read and write .ini \
3configuration files with as little code as possible, reducing load time and \ 3configuration files with as little code as possible, reducing load time and \
4memory overhead." 4memory overhead."
5 5
6HOMEPAGE = "https://search.cpan.org/dist/Config-Tiny" 6HOMEPAGE = "https://metacpan.org/dist/Config-Tiny"
7SECTION = "libraries" 7SECTION = "libraries"
8 8
9LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 9LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
@@ -13,7 +13,7 @@ RDEPENDS:${PN} += "perl"
13 13
14S = "${WORKDIR}/Config-Tiny-${PV}" 14S = "${WORKDIR}/Config-Tiny-${PV}"
15 15
16SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Config-Tiny-${PV}.tgz" 16SRC_URI = "${CPAN_MIRROR}/authors/id/R/RS/RSAVAGE/Config-Tiny-${PV}.tgz"
17 17
18SRC_URI[sha256sum] = "b2f7345619b3b8e636dd39ea010731c9dc2bfb8f022bcbd86ae6ad17866e110d" 18SRC_URI[sha256sum] = "b2f7345619b3b8e636dd39ea010731c9dc2bfb8f022bcbd86ae6ad17866e110d"
19 19
diff --git a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.319.bb b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.319.bb
index 5c3701f16..8331a1d4a 100644
--- a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.319.bb
+++ b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.319.bb
@@ -6,7 +6,7 @@ DESCRIPTION = "Config::AutoConf is intended to provide the same opportunities to
6developers as GNU Autoconf <http://www.gnu.org/software/autoconf/> does for \ 6developers as GNU Autoconf <http://www.gnu.org/software/autoconf/> does for \
7Shell developers." 7Shell developers."
8 8
9HOMEPAGE= "https://metacpan.org/release/Config-AutoConf" 9HOMEPAGE = "https://metacpan.org/release/Config-AutoConf"
10 10
11SECTION = "libs" 11SECTION = "libs"
12LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 12LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
@@ -16,7 +16,6 @@ file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf
16 16
17SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Config-AutoConf-${PV}.tar.gz" 17SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Config-AutoConf-${PV}.tar.gz"
18 18
19SRC_URI[md5sum] = "eeeab8cc93eef7dd2e2c343ecdf247b7"
20SRC_URI[sha256sum] = "304f66cc2653264c0fe127d21669e86d3d18cd72f2574d8f5131beec31a0a33e" 19SRC_URI[sha256sum] = "304f66cc2653264c0fe127d21669e86d3d18cd72f2574d8f5131beec31a0a33e"
21RDEPENDS:${PN} += "libcapture-tiny-perl" 20RDEPENDS:${PN} += "libcapture-tiny-perl"
22RDEPENDS:${PN} += "perl-module-base" 21RDEPENDS:${PN} += "perl-module-base"
diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb
index d64fc296e..dd6cd8041 100644
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb
@@ -1,9 +1,10 @@
1SUMMARY = "Guess OpenSSL include path" 1SUMMARY = "Guess OpenSSL include path"
2SECTION = "libs" 2SECTION = "libs"
3HOMEPAGE = "https://metacpan.org/pod/Crypt::OpenSSL::Guess"
3LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 4LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=ea914cc2718e8d53bd7744d96e66c03c" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=ea914cc2718e8d53bd7744d96e66c03c"
5 6
6SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Guess-${PV}.tar.gz " 7SRC_URI = "${CPAN_MIRROR}/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-${PV}.tar.gz"
7 8
8SRC_URI[sha256sum] = "1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d" 9SRC_URI[sha256sum] = "1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d"
9 10
diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.17.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.17.bb
index c15d41713..c55f7f768 100644
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.17.bb
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.17.bb
@@ -1,10 +1,11 @@
1SUMMARY = "Crypt::OpenSSL::Random - OpenSSL/LibreSSL pseudo-random number generator access" 1SUMMARY = "Crypt::OpenSSL::Random - OpenSSL/LibreSSL pseudo-random number generator access"
2SECTION = "libs" 2SECTION = "libs"
3HOMEPAGE = "https://metacpan.org/pod/Crypt::OpenSSL::Random"
3LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 4LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
4 5
5LIC_FILES_CHKSUM = "file://LICENSE;md5=9e876d4149406d88b4ff1b37645363ad" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=9e876d4149406d88b4ff1b37645363ad"
6 7
7SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-${PV}.tar.gz " 8SRC_URI = "${CPAN_MIRROR}/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-${PV}.tar.gz"
8SRC_URI[sha256sum] = "a571b24181baaa76c96704e92acffc6934ff593e380dade274db4e43c140ad51" 9SRC_URI[sha256sum] = "a571b24181baaa76c96704e92acffc6934ff593e380dade274db4e43c140ad51"
9 10
10S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}" 11S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}"
diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.33.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.33.bb
index aa8d138f2..36f96d59c 100644
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.33.bb
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.33.bb
@@ -1,9 +1,10 @@
1SUMMARY = "Crypt Openssl RSA cpan module" 1SUMMARY = "Crypt Openssl RSA cpan module"
2SECTION = "libs" 2SECTION = "libs"
3HOMEPAGE = "https://metacpan.org/pod/Crypt::OpenSSL::RSA"
3LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 4LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a67ceecc5d9a91a5a0d003ba50c26346" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=a67ceecc5d9a91a5a0d003ba50c26346"
5 6
6SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz \ 7SRC_URI = "${CPAN_MIRROR}/authors/id/T/TO/TODDR/Crypt-OpenSSL-RSA-${PV}.tar.gz \
7" 8"
8 9
9SRC_URI[sha256sum] = "bdbe630f6d6f540325746ad99977272ac8664ff81bd19f0adaba6d6f45efd864" 10SRC_URI[sha256sum] = "bdbe630f6d6f540325746ad99977272ac8664ff81bd19f0adaba6d6f45efd864"
diff --git a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb
index 7951e0ddb..f44020986 100644
--- a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb
+++ b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb
@@ -2,13 +2,14 @@ DESCRIPTION = "lib-curses provides an interface between Perl programs and \
2the curses library." 2the curses library."
3 3
4SECTION = "libs" 4SECTION = "libs"
5HOMEPAGE = "https://metacpan.org/pod/Curses"
5LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 6LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
6 7
7LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=0b37356c5e9e28080a3422d82af8af09" 8LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=0b37356c5e9e28080a3422d82af8af09"
8 9
9DEPENDS += "perl ncurses " 10DEPENDS += "perl ncurses "
10 11
11SRC_URI = "http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-${PV}.tar.gz \ 12SRC_URI = "${CPAN_MIRROR}/authors/id/G/GI/GIRAFFED/Curses-${PV}.tar.gz \
12 file://0001-testtyp.c-Use-proper-prototype-for-main-function.patch \ 13 file://0001-testtyp.c-Use-proper-prototype-for-main-function.patch \
13 " 14 "
14 15
diff --git a/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb b/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb
index 4493a7e5e..f52d0034f 100644
--- a/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb
+++ b/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb
@@ -7,7 +7,7 @@ of each line shows the printable characters \
7(all others are shown as single dots).\ 7(all others are shown as single dots).\
8" 8"
9 9
10HOMEPAGE = "http://search.cpan.org/~ftassin/Data-HexDump-0.02/lib/Data/HexDump.pm" 10HOMEPAGE = "https://metacpan.org/pod/Data::HexDump"
11SECTION = "libs" 11SECTION = "libs"
12 12
13LICENSE = "Artistic-1.0" 13LICENSE = "Artistic-1.0"
@@ -15,10 +15,9 @@ LIC_FILES_CHKSUM = "file://lib/Data/HexDump.pm;beginline=215;endline=217;md5=bf1
15 15
16DEPENDS = "perl" 16DEPENDS = "perl"
17 17
18SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FT/FTASSIN/Data-HexDump-${PV}.tar.gz \ 18SRC_URI = "${CPAN_MIRROR}/authors/id/F/FT/FTASSIN/Data-HexDump-${PV}.tar.gz \
19 file://run-ptest \ 19 file://run-ptest \
20" 20"
21SRC_URI[md5sum] = "467b7183d1062ab4a502b50c34e7d67f"
22SRC_URI[sha256sum] = "1a9d843e7f667c1c6f77c67af5d77e7462ff23b41937cb17454d03535cd9be70" 21SRC_URI[sha256sum] = "1a9d843e7f667c1c6f77c67af5d77e7462ff23b41937cb17454d03535cd9be70"
23 22
24S = "${WORKDIR}/Data-HexDump-${PV}" 23S = "${WORKDIR}/Data-HexDump-${PV}"
diff --git a/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.14.bb b/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.14.bb
index 1dcecd0dc..e8450c7ac 100644
--- a/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.14.bb
+++ b/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.14.bb
@@ -10,7 +10,6 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
10LIC_FILES_CHKSUM = "file://README;beginline=53;endline=55;md5=935dadb9423774f53548e5cd5055d41a" 10LIC_FILES_CHKSUM = "file://README;beginline=53;endline=55;md5=935dadb9423774f53548e5cd5055d41a"
11 11
12SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Devel-GlobalDestruction-${PV}.tar.gz" 12SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Devel-GlobalDestruction-${PV}.tar.gz"
13SRC_URI[md5sum] = "24221ba322cf2dc46a1fc99b53e2380b"
14SRC_URI[sha256sum] = "34b8a5f29991311468fe6913cadaba75fd5d2b0b3ee3bb41fe5b53efab9154ab" 13SRC_URI[sha256sum] = "34b8a5f29991311468fe6913cadaba75fd5d2b0b3ee3bb41fe5b53efab9154ab"
15 14
16S = "${WORKDIR}/Devel-GlobalDestruction-${PV}" 15S = "${WORKDIR}/Devel-GlobalDestruction-${PV}"
diff --git a/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb b/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.05.bb
index 43b7f4d5a..5bbabf24d 100644
--- a/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb
+++ b/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.05.bb
@@ -1,18 +1,17 @@
1SUMMARY = "Keyed-Hashing for Message Authentication" 1SUMMARY = "Keyed-Hashing for Message Authentication"
2DESCRIPTION = "Keyed-Hashing for Message Authentication" 2DESCRIPTION = "Keyed-Hashing for Message Authentication"
3HOMEPAGE = "http://search.cpan.org/~gaas/Digest-HMAC-1.03/" 3HOMEPAGE = "https://metacpan.org/pod/Digest::HMAC"
4SECTION = "libs" 4SECTION = "libs"
5 5
6LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 6LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
7LIC_FILES_CHKSUM = "file://README;beginline=13;endline=17;md5=da980cdc026faa065e5d5004115334e6" 7LIC_FILES_CHKSUM = "file://README;beginline=6;endline=9;md5=6321739e9ccbf74ee5dd2eb82c42d609"
8 8
9RDEPENDS:${PN} = "libdigest-sha1-perl perl-module-extutils-makemaker perl-module-digest-md5" 9RDEPENDS:${PN} = "libdigest-sha1-perl perl-module-extutils-makemaker perl-module-digest-md5"
10 10
11SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-${PV}.tar.gz \ 11SRC_URI = "${CPAN_MIRROR}/authors/id/A/AR/ARODLAND/Digest-HMAC-${PV}.tar.gz \
12 file://run-ptest \ 12 file://run-ptest \
13 " 13 "
14SRC_URI[md5sum] = "e6a5d6f552da16eacb5157ea4369ff9d" 14SRC_URI[sha256sum] = "215cb59cba610745cfb2d4b3f8ef756d590e57e3ad7986a992e87c4969fcdc7a"
15SRC_URI[sha256sum] = "3bc72c6d3ff144d73aefb90e9a78d33612d58cf1cd1631ecfb8985ba96da4a59"
16 15
17S = "${WORKDIR}/Digest-HMAC-${PV}" 16S = "${WORKDIR}/Digest-HMAC-${PV}"
18 17
diff --git a/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb b/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
index df89c9bcd..dbfe8d3d2 100644
--- a/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
+++ b/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
@@ -1,15 +1,14 @@
1SUMMARY = "Perl interface to the SHA-1 algorithm " 1SUMMARY = "Perl interface to the SHA-1 algorithm "
2DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm" 2DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm"
3HOMEPAGE = "http://search.cpan.org/~gaas/Digest-SHA1-2.13/" 3HOMEPAGE = "https://metacpan.org/pod/Digest::SHA1"
4SECTION = "libs" 4SECTION = "libs"
5 5
6LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 6LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
7LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a" 7LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a"
8 8
9SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \ 9SRC_URI = "${CPAN_MIRROR}/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \
10 file://run-ptest \ 10 file://run-ptest \
11 " 11 "
12SRC_URI[md5sum] = "bd22388f268434f2b24f64e28bf1aa35"
13SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc" 12SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc"
14 13
15S = "${WORKDIR}/Digest-SHA1-${PV}" 14S = "${WORKDIR}/Digest-SHA1-${PV}"
diff --git a/meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb b/meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb
index 79fff9d52..f88a418a4 100644
--- a/meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb
+++ b/meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb
@@ -3,15 +3,14 @@ DESCRIPTION = "Perl maintains environment variables in a special hash named %ENV
3For when this access method is inconvenient, the Perl module Env allows environment \ 3For when this access method is inconvenient, the Perl module Env allows environment \
4variables to be treated as scalar or array variables." 4variables to be treated as scalar or array variables."
5 5
6HOMEPAGE = "http://search.cpan.org/~flora/Env/" 6HOMEPAGE = "https://metacpan.org/dist/Env/"
7SECTION = "libs" 7SECTION = "libs"
8LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 8LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
9 9
10LIC_FILES_CHKSUM = "file://LICENSE;md5=76c1cbf18db56b3340d91cb947943bd3" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=76c1cbf18db56b3340d91cb947943bd3"
11 11
12SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Env-${PV}.tar.gz" 12SRC_URI = "${CPAN_MIRROR}/authors/id/F/FL/FLORA/Env-${PV}.tar.gz"
13 13
14SRC_URI[md5sum] = "fdba5c0690e66972c96fee112cf5f25c"
15SRC_URI[sha256sum] = "d94a3d412df246afdc31a2199cbd8ae915167a3f4684f7b7014ce1200251ebb0" 14SRC_URI[sha256sum] = "d94a3d412df246afdc31a2199cbd8ae915167a3f4684f7b7014ce1200251ebb0"
16 15
17S = "${WORKDIR}/Env-${PV}" 16S = "${WORKDIR}/Env-${PV}"
diff --git a/meta-perl/recipes-perl/liberror/liberror-perl_0.17029.bb b/meta-perl/recipes-perl/liberror/liberror-perl_0.17029.bb
index e54bb11cc..83baf2a02 100644
--- a/meta-perl/recipes-perl/liberror/liberror-perl_0.17029.bb
+++ b/meta-perl/recipes-perl/liberror/liberror-perl_0.17029.bb
@@ -31,9 +31,8 @@ RDEPENDS:${PN}-ptest += " \
31 perl-module-test-more \ 31 perl-module-test-more \
32" 32"
33 33
34SRC_URI = "http://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-${PV}.tar.gz" 34SRC_URI = "${CPAN_MIRROR}/authors/id/S/SH/SHLOMIF/Error-${PV}.tar.gz"
35 35
36SRC_URI[md5sum] = "6732b1c6207e4a9a3e2987c88368039a"
37SRC_URI[sha256sum] = "1a23f7913032aed6d4b68321373a3899ca66590f4727391a091ec19c95bf7adc" 36SRC_URI[sha256sum] = "1a23f7913032aed6d4b68321373a3899ca66590f4727391a091ec19c95bf7adc"
38 37
39S = "${WORKDIR}/Error-${PV}" 38S = "${WORKDIR}/Error-${PV}"
diff --git a/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb
index a58d96582..b6e80cd88 100644
--- a/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb
+++ b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb
@@ -2,13 +2,12 @@ SUMMARY = "ExtUtils::Config - A wrapper for perl's configuration"
2DESCRIPTION = "ExtUtils::Config is an abstraction around the %Config hash." 2DESCRIPTION = "ExtUtils::Config is an abstraction around the %Config hash."
3SECTION = "libs" 3SECTION = "libs"
4 4
5HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Config/" 5HOMEPAGE = "https://metacpan.org/dist/ExtUtils-Config"
6 6
7LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 7LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=1932ab4d8b84c25fd7967aa18088e57e" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=1932ab4d8b84c25fd7967aa18088e57e"
9 9
10SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Config-${PV}.tar.gz" 10SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Config-${PV}.tar.gz"
11SRC_URI[md5sum] = "565a7b09c7cac5907a25bbe2c959a717"
12SRC_URI[sha256sum] = "ae5104f634650dce8a79b7ed13fb59d67a39c213a6776cfdaa3ee749e62f1a8c" 11SRC_URI[sha256sum] = "ae5104f634650dce8a79b7ed13fb59d67a39c213a6776cfdaa3ee749e62f1a8c"
13 12
14S = "${WORKDIR}/ExtUtils-Config-${PV}" 13S = "${WORKDIR}/ExtUtils-Config-${PV}"
diff --git a/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.27.bb b/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.27.bb
index 45b772650..c7accb317 100644
--- a/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.27.bb
+++ b/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.27.bb
@@ -6,7 +6,7 @@ It can generate the necessary options to the Module::Build constructor or \
6to ExtUtils::MakeMaker's WriteMakefile function." 6to ExtUtils::MakeMaker's WriteMakefile function."
7SECTION = "libs" 7SECTION = "libs"
8 8
9HOMEPAGE = "http://search.cpan.org/~smueller/ExtUtils-CppGuess/" 9HOMEPAGE = "https://metacpan.org/pod/ExtUtils::CppGuess"
10 10
11LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 11LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
12LIC_FILES_CHKSUM = "file://README;beginline=81;endline=84;md5=84c0390b90ea8c6702ce659b67bed699" 12LIC_FILES_CHKSUM = "file://README;beginline=81;endline=84;md5=84c0390b90ea8c6702ce659b67bed699"
diff --git a/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.028.bb b/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.028.bb
index 3ee9df730..e03496d78 100644
--- a/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.028.bb
+++ b/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.028.bb
@@ -2,7 +2,7 @@ SUMMARY = "ExtUtils::Helpers - Various portability utilities for module builders
2DESCRIPTION = "This module provides various portable helper function for module building modules." 2DESCRIPTION = "This module provides various portable helper function for module building modules."
3SECTION = "libs" 3SECTION = "libs"
4 4
5HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Helpers/" 5HOMEPAGE = "https://metacpan.org/pod/ExtUtils::Helpers"
6 6
7LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 7LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=c0280160e4f26faafef507664884bf63" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=c0280160e4f26faafef507664884bf63"
diff --git a/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb
index 07dab4e16..25de3fc5d 100644
--- a/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb
+++ b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb
@@ -3,13 +3,12 @@ DESCRIPTION = "This module tries to make install path resolution as easy \
3as possible." 3as possible."
4SECTION = "libs" 4SECTION = "libs"
5 5
6HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-InstallPaths/" 6HOMEPAGE = "https://metacpan.org/pod/ExtUtils::InstallPaths"
7 7
8LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 8LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=b6fa54d873ce6bcf4809ea88bdf97769" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=b6fa54d873ce6bcf4809ea88bdf97769"
10 10
11SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-${PV}.tar.gz" 11SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-${PV}.tar.gz"
12SRC_URI[md5sum] = "9a8d66aab1ffec98ea260faf03ac612b"
13SRC_URI[sha256sum] = "84735e3037bab1fdffa3c2508567ad412a785c91599db3c12593a50a1dd434ed" 12SRC_URI[sha256sum] = "84735e3037bab1fdffa3c2508567ad412a785c91599db3c12593a50a1dd434ed"
14 13
15S = "${WORKDIR}/ExtUtils-InstallPaths-${PV}" 14S = "${WORKDIR}/ExtUtils-InstallPaths-${PV}"
diff --git a/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb b/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb
index 43b5b60ef..c3a85f6f4 100644
--- a/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb
+++ b/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb
@@ -7,14 +7,13 @@ and variables to Perl values."
7 7
8SECTION = "libs" 8SECTION = "libs"
9 9
10HOMEPAGE = "http://metapan.org/release/ExtUtils-ParseXS/" 10HOMEPAGE = "https://metacpan.org/release/SMUELLER/ExtUtils-ParseXS-3.35"
11 11
12LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 12LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
13LIC_FILES_CHKSUM = "file://README;beginline=120;endline=129;md5=eb858f0e3b1b0bee0c05b86a474ae2b6" 13LIC_FILES_CHKSUM = "file://README;beginline=120;endline=129;md5=eb858f0e3b1b0bee0c05b86a474ae2b6"
14 14
15SRCNAME = "ExtUtils-ParseXS" 15SRCNAME = "ExtUtils-ParseXS"
16SRC_URI = "${CPAN_MIRROR}/authors/id/S/SM/SMUELLER/${SRCNAME}-${PV}.tar.gz" 16SRC_URI = "${CPAN_MIRROR}/authors/id/S/SM/SMUELLER/${SRCNAME}-${PV}.tar.gz"
17SRC_URI[md5sum] = "2ae41036d85e98e1369645724962dd16"
18SRC_URI[sha256sum] = "41def0511278a2a8ba9afa25ccab45b0453f75e7fd774e8644b5f9a57cc4ee1c" 17SRC_URI[sha256sum] = "41def0511278a2a8ba9afa25ccab45b0453f75e7fd774e8644b5f9a57cc4ee1c"
19 18
20S = "${WORKDIR}/${SRCNAME}-${PV}" 19S = "${WORKDIR}/${SRCNAME}-${PV}"
diff --git a/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.19.bb b/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.19.bb
index 1012ae952..7a6a9aadd 100644
--- a/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.19.bb
+++ b/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.19.bb
@@ -4,16 +4,16 @@ DESCRIPTION = "This module provides subroutines to read or write \
4 reading the list of filenames in a directory. \ 4 reading the list of filenames in a directory. \
5" 5"
6SECTION = "libs" 6SECTION = "libs"
7HOMEPAGE = "https://metacpan.org/release/URI/File-Slurp-9999.19"
7LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 8LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
8 9
9LIC_FILES_CHKSUM = "file://README;beginline=37;endline=41;md5=255fbd5f98a90d51d9908d31271ae4d4" 10LIC_FILES_CHKSUM = "file://README;beginline=37;endline=41;md5=255fbd5f98a90d51d9908d31271ae4d4"
10SRC_URI = "http://search.cpan.org/CPAN/authors/id/U/UR/URI/File-Slurp-${PV}.tar.gz" 11SRC_URI = "${CPAN_MIRROR}/authors/id/U/UR/URI/File-Slurp-${PV}.tar.gz"
11 12
12S = "${WORKDIR}/File-Slurp-${PV}" 13S = "${WORKDIR}/File-Slurp-${PV}"
13 14
14inherit cpan 15inherit cpan
15 16
16SRC_URI[md5sum] = "7d584cd15c4f8b9547765eff8c4ef078"
17SRC_URI[sha256sum] = "ce29ebe995097ebd6e9bc03284714cdfa0c46dc94f6b14a56980747ea3253643" 17SRC_URI[sha256sum] = "ce29ebe995097ebd6e9bc03284714cdfa0c46dc94f6b14a56980747ea3253643"
18 18
19BBCLASSEXTEND="native" 19BBCLASSEXTEND="native"
diff --git a/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb
index e29abb3e3..410ce8046 100644
--- a/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb
+++ b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb
@@ -6,7 +6,7 @@ errors, write functions don't return any meaningful value."
6SECTION = "libs" 6SECTION = "libs"
7LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 7LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
8 8
9HOMEPAGE= "https://metacpan.org/release/File-Slurper" 9HOMEPAGE = "https://metacpan.org/release/File-Slurper"
10 10
11LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ 11LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
12file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61" 12file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61"
diff --git a/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb
index 216d7c413..64330ceea 100644
--- a/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb
+++ b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb
@@ -1,5 +1,5 @@
1DESCRIPTION = "This package contains the Parser.pm module with friends." 1DESCRIPTION = "This package contains the Parser.pm module with friends."
2HOMEPAGE = "https://metacpan.org/release/HTML-Parser" 2HOMEPAGE = "https://metacpan.org/release/GAAS/HTML-Parser-3.72"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 4LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
5 5
@@ -7,9 +7,8 @@ LIC_FILES_CHKSUM = "file://README;md5=b0459e4426b94753b9a9b8a15f1223b8"
7 7
8DEPENDS += "perl" 8DEPENDS += "perl"
9 9
10SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-${PV}.tar.gz" 10SRC_URI = "${CPAN_MIRROR}/authors/id/G/GA/GAAS/HTML-Parser-${PV}.tar.gz"
11 11
12SRC_URI[md5sum] = "eb7505e5f626913350df9dd4a03d54a8"
13SRC_URI[sha256sum] = "ec28c7e1d9e67c45eca197077f7cdc41ead1bb4c538c7f02a3296a4bb92f608b" 12SRC_URI[sha256sum] = "ec28c7e1d9e67c45eca197077f7cdc41ead1bb4c538c7f02a3296a4bb92f608b"
14 13
15S = "${WORKDIR}/HTML-Parser-${PV}" 14S = "${WORKDIR}/HTML-Parser-${PV}"
diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb b/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb
index c871b97c3..a0ce7c0b2 100644
--- a/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb
+++ b/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb
@@ -8,7 +8,6 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
8LIC_FILES_CHKSUM = "file://README;beginline=62;endline=66;md5=aa91eed6adfe182d2af676954f06a7c9" 8LIC_FILES_CHKSUM = "file://README;beginline=62;endline=66;md5=aa91eed6adfe182d2af676954f06a7c9"
9 9
10SRC_URI = "${CPAN_MIRROR}/authors/id/P/PE/PETDANCE/HTML-Tagset-${PV}.tar.gz" 10SRC_URI = "${CPAN_MIRROR}/authors/id/P/PE/PETDANCE/HTML-Tagset-${PV}.tar.gz"
11SRC_URI[md5sum] = "d2bfa18fe1904df7f683e96611e87437"
12SRC_URI[sha256sum] = "adb17dac9e36cd011f5243881c9739417fd102fce760f8de4e9be4c7131108e2" 11SRC_URI[sha256sum] = "adb17dac9e36cd011f5243881c9739417fd102fce760f8de4e9be4c7131108e2"
13 12
14S = "${WORKDIR}/HTML-Tagset-${PV}" 13S = "${WORKDIR}/HTML-Tagset-${PV}"
diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
index d2c151bf5..7bdebcd37 100644
--- a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
+++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
@@ -6,7 +6,7 @@ libwww-perl distribution, but are now unbundled in order to facilitate \
6a separate development track." 6a separate development track."
7SECTION = "libs" 7SECTION = "libs"
8 8
9HOMEPAGE = "http://www.cpan.org/authors/id/C/CJ/CJM/HTML-Tree-${PV}.readme" 9HOMEPAGE = "https://metacpan.org/release/CJM/HTML-Tree-5.03/source/README"
10 10
11LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 11LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242" 12LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242"
@@ -14,7 +14,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242"
14SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz \ 14SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz \
15 file://bin-htmltree-fix-shebang.patch \ 15 file://bin-htmltree-fix-shebang.patch \
16" 16"
17SRC_URI[md5sum] = "d9271d60b872ed6fbe68b2d0fe8c450e"
18SRC_URI[sha256sum] = "7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f" 17SRC_URI[sha256sum] = "7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f"
19 18
20S = "${WORKDIR}/HTML-Tree-${PV}" 19S = "${WORKDIR}/HTML-Tree-${PV}"
@@ -26,6 +25,13 @@ export PERL_USE_UNSAFE_INC = "1"
26DEPENDS += "libmodule-build-perl-native \ 25DEPENDS += "libmodule-build-perl-native \
27" 26"
28 27
28do_install:append() {
29 sed -i \
30 -e 's|${TMPDIR}||g' \
31 `find ${D}/usr/share/doc/perl/html/site/lib/HTML/ -type f` \
32 `find ${D}/usr/lib/perl5 -type f -name .packlist`
33}
34
29RPROVIDES:${PN} = " libhtml-element-perl \ 35RPROVIDES:${PN} = " libhtml-element-perl \
30 libhtml-tree-assubs-perl \ 36 libhtml-tree-assubs-perl \
31 libhtml-tree-perl \ 37 libhtml-tree-perl \
diff --git a/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb b/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb
index e88d60d13..c16c358fc 100644
--- a/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb
+++ b/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb
@@ -11,13 +11,12 @@ directly, since they effect the current unit of compilation. \
11 11
12SECTION = "libs" 12SECTION = "libs"
13 13
14HOMEPAGE = "https://metacpan.org/pod/Import-Into/" 14HOMEPAGE = "https://metacpan.org/pod/Import::Into"
15 15
16LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 16LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
17LIC_FILES_CHKSUM = "file://README;beginline=209;endline=223;md5=3cf363f1e405dea6db2c6cd0ef23680c" 17LIC_FILES_CHKSUM = "file://README;beginline=209;endline=223;md5=3cf363f1e405dea6db2c6cd0ef23680c"
18 18
19SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Import-Into-${PV}.tar.gz" 19SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Import-Into-${PV}.tar.gz"
20SRC_URI[md5sum] = "70f2f3b08a5b706ee382a8448c346cb1"
21SRC_URI[sha256sum] = "decb259bc2ff015fe3dac85e4a287d4128e9b0506a0b2c5fa7244836a68b1084" 20SRC_URI[sha256sum] = "decb259bc2ff015fe3dac85e4a287d4128e9b0506a0b2c5fa7244836a68b1084"
22 21
23S = "${WORKDIR}/Import-Into-${PV}" 22S = "${WORKDIR}/Import-Into-${PV}"
diff --git a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.089.bb b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.089.bb
index e745cecaf..689c46b90 100644
--- a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.089.bb
+++ b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.089.bb
@@ -6,7 +6,7 @@ needs to write a full-featured SSL client or server application: \
6multiple SSL contexts, cipher selection, certificate verification, and \ 6multiple SSL contexts, cipher selection, certificate verification, and \
7SSL version selection. As an extra bonus, it works perfectly with \ 7SSL version selection. As an extra bonus, it works perfectly with \
8mod_perl." 8mod_perl."
9HOMEPAGE = "http://search.cpan.org/dist/IO-Socket-SSL/" 9HOMEPAGE = "https://metacpan.org/dist/IO-Socket-SSL"
10SECTION = "libs" 10SECTION = "libs"
11 11
12LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 12LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
diff --git a/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb b/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb
index b74593923..5c5ccf7db 100644
--- a/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb
+++ b/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb
@@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=01406e4ff2e60d88d42ef1caebdd0011"
10 10
11 11
12SRC_URI = "${CPAN_MIRROR}/authors/id/D/DS/DSKOLL/IO-stringy-${PV}.tar.gz" 12SRC_URI = "${CPAN_MIRROR}/authors/id/D/DS/DSKOLL/IO-stringy-${PV}.tar.gz"
13SRC_URI[md5sum] = "e91acf0a800b190d13585a47de775bdd"
14SRC_URI[sha256sum] = "8c67fd6608c3c4e74f7324f1404a856c331dbf48d9deda6aaa8296ea41bf199d" 13SRC_URI[sha256sum] = "8c67fd6608c3c4e74f7324f1404a856c331dbf48d9deda6aaa8296ea41bf199d"
15 14
16S = "${WORKDIR}/IO-stringy-${PV}" 15S = "${WORKDIR}/IO-stringy-${PV}"
diff --git a/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb b/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb
index 203db7b10..43a6ff652 100644
--- a/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb
+++ b/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb
@@ -2,7 +2,7 @@ SUMMARY = "IPC::Signal - Utility functions dealing with signals"
2DESCRIPTION = "IPC::Signal - This module contains utility functions for \ 2DESCRIPTION = "IPC::Signal - This module contains utility functions for \
3dealing with signals." 3dealing with signals."
4 4
5HOMEPAGE = "http://search.cpan.org/~rosch/IPC-Signal-1.00/" 5HOMEPAGE = "https://metacpan.org/release/ROSCH/IPC-Signal-1.00"
6SECTION = "libs" 6SECTION = "libs"
7 7
8LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 8LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
@@ -10,9 +10,8 @@ LIC_FILES_CHKSUM = "file://README;beginline=16;endline=18;md5=f36550f59a0ae5e6e3
10 10
11S = "${WORKDIR}/IPC-Signal-${PV}" 11S = "${WORKDIR}/IPC-Signal-${PV}"
12 12
13SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/IPC-Signal-${PV}.tar.gz" 13SRC_URI = "${CPAN_MIRROR}/authors/id/R/RO/ROSCH/IPC-Signal-${PV}.tar.gz"
14 14
15SRC_URI[md5sum] = "4cebf17fdf1785eaf8c151bf2e8c360a"
16SRC_URI[sha256sum] = "7c21f9c8c2d0c0f0f0f46e77de7c3d879dd562668ddf0525875c38cef2076fd0" 15SRC_URI[sha256sum] = "7c21f9c8c2d0c0f0f0f46e77de7c3d879dd562668ddf0525875c38cef2076fd0"
17 16
18inherit cpan 17inherit cpan
diff --git a/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb b/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb
index 1e4b56353..9774ac55d 100644
--- a/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb
+++ b/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb
@@ -4,14 +4,13 @@ functions for retrieving message strings from databases constructed to \
4internationalize software." 4internationalize software."
5SECTION = "libs" 5SECTION = "libs"
6 6
7HOMEPAGE = "http://search.cpan.org/~pvandry/Locale-gettext-${PV}/" 7HOMEPAGE = "https://metacpan.org/pod/Locale::gettext"
8 8
9LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 9LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
10LIC_FILES_CHKSUM = "file://README;md5=d028249c2d08dca6ca6c5bb43b56d926" 10LIC_FILES_CHKSUM = "file://README;md5=d028249c2d08dca6ca6c5bb43b56d926"
11 11
12SRC_URI = "${CPAN_MIRROR}/authors/id/P/PV/PVANDRY/Locale-gettext-${PV}.tar.gz" 12SRC_URI = "${CPAN_MIRROR}/authors/id/P/PV/PVANDRY/Locale-gettext-${PV}.tar.gz"
13 13
14SRC_URI[md5sum] = "bc652758af65c24500f1d06a77415019"
15SRC_URI[sha256sum] = "909d47954697e7c04218f972915b787bd1244d75e3bd01620bc167d5bbc49c15" 14SRC_URI[sha256sum] = "909d47954697e7c04218f972915b787bd1244d75e3bd01620bc167d5bbc49c15"
16 15
17S = "${WORKDIR}/Locale-gettext-${PV}" 16S = "${WORKDIR}/Locale-gettext-${PV}"
diff --git a/meta-perl/recipes-perl/libmime/libmime-charset-perl_1.013.1.bb b/meta-perl/recipes-perl/libmime/libmime-charset-perl_1.013.1.bb
index 27ed41e99..a39081851 100644
--- a/meta-perl/recipes-perl/libmime/libmime-charset-perl_1.013.1.bb
+++ b/meta-perl/recipes-perl/libmime/libmime-charset-perl_1.013.1.bb
@@ -1,7 +1,7 @@
1SUMMARY = "MIME::Charset - Charset Information for MIME." 1SUMMARY = "MIME::Charset - Charset Information for MIME."
2DESCRIPTION = "MIME::Charset provides information about character sets used for MIME \ 2DESCRIPTION = "MIME::Charset provides information about character sets used for MIME \
3messages on Internet." 3messages on Internet."
4HOMEPAGE = "http://search.cpan.org/~nezumi/MIME-Charset-${PV}/" 4HOMEPAGE = "https://metacpan.org/release/NEZUMI/MIME-Charset-1.013.1"
5SECTION = "libs" 5SECTION = "libs"
6 6
7LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 7LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
diff --git a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.26.bb b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.26.bb
index fa4ad6fc4..9b4dc1cab 100644
--- a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.26.bb
+++ b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.26.bb
@@ -5,13 +5,13 @@ is transmitted. Sometimes real knowledge about a mime-type is need.\
5\n\ 5\n\
6This module maintains a set of MIME::Type objects, which each describe \ 6This module maintains a set of MIME::Type objects, which each describe \
7one known mime type." 7one known mime type."
8HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}" 8HOMEPAGE = "https://metacpan.org/release/MARKOV/MIME-Types-2.26"
9SECTION = "libraries" 9SECTION = "libraries"
10 10
11LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 11LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
12LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" 12LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8"
13 13
14SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ 14SRC_URI = "${CPAN_MIRROR}/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \
15 file://run-ptest \ 15 file://run-ptest \
16 " 16 "
17SRC_URI[sha256sum] = "bc738483cb4cdb47d61e85fe9304fa929aa9ab927e3171ec2ba2ab1cd7cefdff" 17SRC_URI[sha256sum] = "bc738483cb4cdb47d61e85fe9304fa929aa9ab927e3171ec2ba2ab1cd7cefdff"
diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb
index 860185007..bab9c5c95 100644
--- a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb
+++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb
@@ -7,7 +7,7 @@ Whereas Module::Build has over 6,700 lines of code; this module has less than \
7120, yet supports the features needed by most distributions." 7120, yet supports the features needed by most distributions."
8SECTION = "libs" 8SECTION = "libs"
9 9
10HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/" 10HOMEPAGE = "https://metacpan.org/release/LEONT/Module-Build-Tiny-0.048"
11 11
12LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 12LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
13LIC_FILES_CHKSUM = "file://LICENSE;md5=2b9e8b5e2bd19fcc97ac84b78a271a64" 13LIC_FILES_CHKSUM = "file://LICENSE;md5=2b9e8b5e2bd19fcc97ac84b78a271a64"
@@ -21,6 +21,13 @@ S = "${WORKDIR}/Module-Build-Tiny-${PV}"
21 21
22inherit cpan_build ptest-perl 22inherit cpan_build ptest-perl
23 23
24do_install:append() {
25 sed -i \
26 -e 's|${TMPDIR}||g' \
27 `find ${D}/usr/lib/perl5 -type f -name .packlist`
28}
29
30
24RDEPENDS:${PN} += " \ 31RDEPENDS:${PN} += " \
25 libextutils-config-perl \ 32 libextutils-config-perl \
26 libextutils-helpers-perl \ 33 libextutils-helpers-perl \
diff --git a/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb b/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb
index 538fa30d3..fac74ba97 100644
--- a/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb
+++ b/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb
@@ -17,7 +17,6 @@ LIC_FILES_CHKSUM = "file://README;beginline=322;endline=325;md5=086450ce010f6fda
17 17
18SRCNAME = "Module-Pluggable" 18SRCNAME = "Module-Pluggable"
19SRC_URI = "${CPAN_MIRROR}/authors/id/S/SI/SIMONW/${SRCNAME}-${PV}.tar.gz" 19SRC_URI = "${CPAN_MIRROR}/authors/id/S/SI/SIMONW/${SRCNAME}-${PV}.tar.gz"
20SRC_URI[md5sum] = "87ce2971662efd0b69a81bb4dc9ea76c"
21SRC_URI[sha256sum] = "b3f2ad45e4fd10b3fb90d912d78d8b795ab295480db56dc64e86b9fa75c5a6df" 20SRC_URI[sha256sum] = "b3f2ad45e4fd10b3fb90d912d78d8b795ab295480db56dc64e86b9fa75c5a6df"
22 21
23 22
diff --git a/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.016.bb b/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.016.bb
index 205df6802..0ed61ac3a 100644
--- a/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.016.bb
+++ b/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.016.bb
@@ -14,14 +14,13 @@ are applied on any Perl version where the bugs exist, except for a case where \
14one of the bugs cannot be adequately worked around in pure Perl." 14one of the bugs cannot be adequately worked around in pure Perl."
15SECTION = "libs" 15SECTION = "libs"
16 16
17HOMEPAGE = "http://search.cpan.org/~zefram/Module-Runtime/" 17HOMEPAGE = "https://metacpan.org/dist/Module-Runtime"
18 18
19LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 19LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
20LIC_FILES_CHKSUM = "file://README;beginline=36;endline=44;md5=9416434672a57853d6181f3da9094963" 20LIC_FILES_CHKSUM = "file://README;beginline=36;endline=44;md5=9416434672a57853d6181f3da9094963"
21 21
22SRCNAME = "Module-Runtime" 22SRCNAME = "Module-Runtime"
23SRC_URI = "${CPAN_MIRROR}/authors/id/Z/ZE/ZEFRAM/${SRCNAME}-${PV}.tar.gz" 23SRC_URI = "${CPAN_MIRROR}/authors/id/Z/ZE/ZEFRAM/${SRCNAME}-${PV}.tar.gz"
24SRC_URI[md5sum] = "d3d47222fa2e3dfcb4526f6cc8437b20"
25SRC_URI[sha256sum] = "68302ec646833547d410be28e09676db75006f4aa58a11f3bdb44ffe99f0f024" 24SRC_URI[sha256sum] = "68302ec646833547d410be28e09676db75006f4aa58a11f3bdb44ffe99f0f024"
26 25
27UPSTREAM_CHECK_REGEX = "Module\-Runtime\-(?P<pver>(\d+\.\d+)).tar" 26UPSTREAM_CHECK_REGEX = "Module\-Runtime\-(?P<pver>(\d+\.\d+)).tar"
diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.46.bb b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.47.bb
index 18ba6336f..e83701397 100644
--- a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.46.bb
+++ b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.47.bb
@@ -1,5 +1,5 @@
1DESCRIPTION = "This package contains the DNS.pm module with friends." 1DESCRIPTION = "This package contains the DNS.pm module with friends."
2HOMEPAGE = "http://www.net-dns.org/" 2HOMEPAGE = "https://metacpan.org/pod/Net::DNS"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "MIT" 4LICENSE = "MIT"
5 5
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://README;beginline=252;endline=269;md5=de95b6a896d5f861
7 7
8DEPENDS += "perl" 8DEPENDS += "perl"
9 9
10SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz" 10SRC_URI = "${CPAN_MIRROR}/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz"
11 11
12SRC_URI[sha256sum] = "91b65cd0f12461802c61ca5474f87b3e29f5182d2e1b3a2ea70702a3efb4a743" 12SRC_URI[sha256sum] = "fec3dab10ac82dbac26b1ae2e367909256f420835d96cda7dc1b508e29938f0b"
13 13
14UPSTREAM_CHECK_REGEX = "Net\-DNS\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" 14UPSTREAM_CHECK_REGEX = "Net\-DNS\-(?P<pver>(\d+\.\d+))(?!_\d+).tar"
15 15
diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb
index fe7bb3326..ba79922ba 100644
--- a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb
+++ b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb
@@ -5,8 +5,7 @@ SECTION = "libs"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://README;beginline=165;endline=192;md5=6ef523fa09e8c272675839e21de16bde" 6LIC_FILES_CHKSUM = "file://README;beginline=165;endline=192;md5=6ef523fa09e8c272675839e21de16bde"
7 7
8SRC_URI = "https://cpan.metacpan.org/authors/id/W/WI/WILLEM/Net-DNS-SEC-${PV}.tar.gz" 8SRC_URI = "${CPAN_MIRROR}/authors/id/W/WI/WILLEM/Net-DNS-SEC-${PV}.tar.gz"
9SRC_URI[md5sum] = "ffa55a9898192c9d4c623cb1357eba9b"
10SRC_URI[sha256sum] = "37a47d4def72d7338f3cc7cd807ec19bd9e2ae638ae656fa536cf0314801989e" 9SRC_URI[sha256sum] = "37a47d4def72d7338f3cc7cd807ec19bd9e2ae638ae656fa536cf0314801989e"
11 10
12DEPENDS += "openssl" 11DEPENDS += "openssl"
diff --git a/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb b/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb
index a77381dce..a7793200a 100644
--- a/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb
+++ b/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://README;beginline=3;endline=5;md5=4d6588c2fa0d38ae162f
11 11
12SRC_URI = "${CPAN_MIRROR}/authors/id/M/MA/MARSCHAP/perl-ldap-${PV}.tar.gz" 12SRC_URI = "${CPAN_MIRROR}/authors/id/M/MA/MARSCHAP/perl-ldap-${PV}.tar.gz"
13 13
14SRC_URI[md5sum] = "d091ed00302f0276069bca9df9478744"
15SRC_URI[sha256sum] = "e2f389fe3e7a9e4b61488692919ad723b98f3b479b5288f610daa8c27995b351" 14SRC_URI[sha256sum] = "e2f389fe3e7a9e4b61488692919ad723b98f3b479b5288f610daa8c27995b351"
16 15
17S = "${WORKDIR}/perl-ldap-${PV}" 16S = "${WORKDIR}/perl-ldap-${PV}"
diff --git a/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb b/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb
index 4c4faab4d..f56b5a26e 100644
--- a/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb
+++ b/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb
@@ -6,14 +6,13 @@ Turbo Fredriksson's PHP-IDN. \
6" 6"
7SECTION = "libs" 7SECTION = "libs"
8LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 8LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
9HOMEPAGE = "http://search.cpan.org/dist/Net-LibIDN/" 9HOMEPAGE = "https://metacpan.org/dist/Net-LibIDN/"
10DEPENDS += "libidn" 10DEPENDS += "libidn"
11# We must need glibc-gconvs to enable charset related functions, 11# We must need glibc-gconvs to enable charset related functions,
12# such as Net::LibIDN::idn_to_ascii(). 12# such as Net::LibIDN::idn_to_ascii().
13RDEPENDS:${PN}:append:libc-glibc = " glibc-gconvs" 13RDEPENDS:${PN}:append:libc-glibc = " glibc-gconvs"
14 14
15SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-${PV}.tar.gz" 15SRC_URI = "${CPAN_MIRROR}/authors/id/T/TH/THOR/Net-LibIDN-${PV}.tar.gz"
16SRC_URI[md5sum] = "c3e4de2065009d67bcb1df0afb473e12"
17SRC_URI[sha256sum] = "2f8acc9442b3866ec7dc63cd449fc693ae3e930d5d3e5e9430fbb6f393bdbb17" 16SRC_URI[sha256sum] = "2f8acc9442b3866ec7dc63cd449fc693ae3e930d5d3e5e9430fbb6f393bdbb17"
18 17
19SRC_URI += "file://libidn-wr-cross-compile.patch" 18SRC_URI += "file://libidn-wr-cross-compile.patch"
diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb
index 5d0eccd84..d09f756fb 100644
--- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb
+++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb
@@ -4,7 +4,7 @@ web pages on SSL servers (for symmetry, same API is offered for \
4accessing http servers, too), a sslcat() function for writing your own \ 4accessing http servers, too), a sslcat() function for writing your own \
5clients, and finally access to the SSL api of SSLeay/OpenSSL package \ 5clients, and finally access to the SSL api of SSLeay/OpenSSL package \
6so you can write servers or clients for more complicated applications." 6so you can write servers or clients for more complicated applications."
7HOMEPAGE = "http://search.cpan.org/dist/Net-SSLeay/" 7HOMEPAGE = "https://metacpan.org/dist/Net-SSLeay"
8SECTION = "libs" 8SECTION = "libs"
9 9
10LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 10LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
@@ -23,11 +23,10 @@ RDEPENDS:${PN} += "\
23 zlib \ 23 zlib \
24" 24"
25 25
26SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-${PV}.tar.gz \ 26SRC_URI = "${CPAN_MIRROR}/authors/id/M/MI/MIKEM/Net-SSLeay-${PV}.tar.gz \
27 file://no-exec-on-configure.patch \ 27 file://no-exec-on-configure.patch \
28 file://run-ptest \ 28 file://run-ptest \
29 " 29 "
30SRC_URI[md5sum] = "d602bdce4e0531c6efc276e3e429ca69"
31SRC_URI[sha256sum] = "9d8188b9fb1cae3bd791979c20554925d5e94a138d00414f1a6814549927b0c8" 30SRC_URI[sha256sum] = "9d8188b9fb1cae3bd791979c20554925d5e94a138d00414f1a6814549927b0c8"
32 31
33S = "${WORKDIR}/Net-SSLeay-${PV}" 32S = "${WORKDIR}/Net-SSLeay-${PV}"
diff --git a/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb
index d1365f269..2e79a3b1c 100644
--- a/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb
+++ b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb
@@ -8,14 +8,13 @@ These interactive features include the ability to specify a time-out and to \
8wait for patterns to appear in the input stream, such as the prompt from a \ 8wait for patterns to appear in the input stream, such as the prompt from a \
9shell." 9shell."
10 10
11HOMEPAGE = "http://search.cpan.org/dist/Net-Telnet/" 11HOMEPAGE = "https://metacpan.org/dist/Net-Telnet"
12SECTION = "Development/Libraries" 12SECTION = "Development/Libraries"
13 13
14LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 14LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
15LIC_FILES_CHKSUM = "file://README;beginline=4;endline=7;md5=e94ab3b72335e3cdadd6c1ff736dd714" 15LIC_FILES_CHKSUM = "file://README;beginline=4;endline=7;md5=e94ab3b72335e3cdadd6c1ff736dd714"
16 16
17SRC_URI = "http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-${PV}.tar.gz" 17SRC_URI = "${CPAN_MIRROR}/authors/id/J/JR/JROGERS/Net-Telnet-${PV}.tar.gz"
18SRC_URI[md5sum] = "c8573c57a2d9469f038c40ac284b1e5f"
19SRC_URI[sha256sum] = "677f68ba2cd2a824fae323fa82e183bf7e3d03c3c499c91d923bd6283796a743" 18SRC_URI[sha256sum] = "677f68ba2cd2a824fae323fa82e183bf7e3d03c3c499c91d923bd6283796a743"
20 19
21S = "${WORKDIR}/Net-Telnet-${PV}" 20S = "${WORKDIR}/Net-Telnet-${PV}"
diff --git a/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb b/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb
index 643a704a1..d9424ed4d 100644
--- a/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb
+++ b/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb
@@ -2,7 +2,7 @@ SUMMARY = "Interpret and act on wait() status values"
2DESCRIPTION = "This module contains functions for interpreting and acting \ 2DESCRIPTION = "This module contains functions for interpreting and acting \
3on wait status values." 3on wait status values."
4 4
5HOMEPAGE = "http://search.cpan.org/~rosch/Proc-WaitStat/" 5HOMEPAGE = "https://metacpan.org/dist/Proc-WaitStat"
6SECTION = "libraries" 6SECTION = "libraries"
7 7
8LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 8LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
@@ -12,9 +12,8 @@ RDEPENDS:${PN} += "perl libipc-signal-perl"
12 12
13S = "${WORKDIR}/Proc-WaitStat-${PV}" 13S = "${WORKDIR}/Proc-WaitStat-${PV}"
14 14
15SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/Proc-WaitStat-${PV}.tar.gz" 15SRC_URI = "${CPAN_MIRROR}/authors/id/R/RO/ROSCH/Proc-WaitStat-${PV}.tar.gz"
16 16
17SRC_URI[md5sum] = "b911bd579b6b142391b21de1efa30c95"
18SRC_URI[sha256sum] = "d07563f5e787909d16e7390241e877f49ab739b1de9d0e2ea1a41bd0bf4474bc" 17SRC_URI[sha256sum] = "d07563f5e787909d16e7390241e877f49ab739b1de9d0e2ea1a41bd0bf4474bc"
19 18
20inherit cpan 19inherit cpan
diff --git a/meta-perl/recipes-perl/librole/librole-tiny-perl_2.002004.bb b/meta-perl/recipes-perl/librole/librole-tiny-perl_2.002004.bb
index c5efc1535..8ccd269e6 100644
--- a/meta-perl/recipes-perl/librole/librole-tiny-perl_2.002004.bb
+++ b/meta-perl/recipes-perl/librole/librole-tiny-perl_2.002004.bb
@@ -9,7 +9,6 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
9LIC_FILES_CHKSUM = "file://README;beginline=197;endline=234;md5=26df7e7c20551fb1906e2286624f0b71" 9LIC_FILES_CHKSUM = "file://README;beginline=197;endline=234;md5=26df7e7c20551fb1906e2286624f0b71"
10 10
11SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Role-Tiny-${PV}.tar.gz" 11SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Role-Tiny-${PV}.tar.gz"
12SRC_URI[md5sum] = "9ee45591befa3d0b1094ac75d282b6ba"
13SRC_URI[sha256sum] = "d7bdee9e138a4f83aa52d0a981625644bda87ff16642dfa845dcb44d9a242b45" 12SRC_URI[sha256sum] = "d7bdee9e138a4f83aa52d0a981625644bda87ff16642dfa845dcb44d9a242b45"
14 13
15S = "${WORKDIR}/Role-Tiny-${PV}" 14S = "${WORKDIR}/Role-Tiny-${PV}"
diff --git a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
index cf290d990..6b1c4e8c0 100644
--- a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
+++ b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
@@ -28,7 +28,6 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c195
28 file://${COMMON_LICENSE_DIR}/LGPL-2.1-or-later;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \ 28 file://${COMMON_LICENSE_DIR}/LGPL-2.1-or-later;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \
29" 29"
30 30
31SRC_URI[md5sum] = "a6bc06b3f7749f7d77a2b1bd13402821"
32SRC_URI[sha256sum] = "16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea61d6afa" 31SRC_URI[sha256sum] = "16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea61d6afa"
33 32
34S = "${WORKDIR}/Unix-Statgrab-${PV}" 33S = "${WORKDIR}/Unix-Statgrab-${PV}"
diff --git a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb
index 80c21b2b1..5a779a673 100644
--- a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb
+++ b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb
@@ -29,7 +29,6 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
29LIC_FILES_CHKSUM = "file://README;beginline=246;endline=262;md5=43be558cf4f19823cdd6af22135cf5f8" 29LIC_FILES_CHKSUM = "file://README;beginline=246;endline=262;md5=43be558cf4f19823cdd6af22135cf5f8"
30 30
31SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/strictures-${PV}.tar.gz" 31SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/strictures-${PV}.tar.gz"
32SRC_URI[md5sum] = "35c14fd25320f32ff40e977feae95d0d"
33SRC_URI[sha256sum] = "09d57974a6d1b2380c802870fed471108f51170da81458e2751859f2714f8d57" 32SRC_URI[sha256sum] = "09d57974a6d1b2380c802870fed471108f51170da81458e2751859f2714f8d57"
34 33
35S = "${WORKDIR}/strictures-${PV}" 34S = "${WORKDIR}/strictures-${PV}"
diff --git a/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001013.bb b/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001013.bb
index d51ab2171..10f0fa204 100644
--- a/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001013.bb
+++ b/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001013.bb
@@ -14,7 +14,6 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
14LIC_FILES_CHKSUM = "file://LICENSE;md5=003fa970662359a43ac2c2961108b0f1" 14LIC_FILES_CHKSUM = "file://LICENSE;md5=003fa970662359a43ac2c2961108b0f1"
15 15
16SRC_URI = "${CPAN_MIRROR}/authors/id/F/FR/FREW/Sub-Exporter-Progressive-${PV}.tar.gz" 16SRC_URI = "${CPAN_MIRROR}/authors/id/F/FR/FREW/Sub-Exporter-Progressive-${PV}.tar.gz"
17SRC_URI[md5sum] = "72cf6acdd2a0a8b105821a4db98e4ebe"
18SRC_URI[sha256sum] = "d535b7954d64da1ac1305b1fadf98202769e3599376854b2ced90c382beac056" 17SRC_URI[sha256sum] = "d535b7954d64da1ac1305b1fadf98202769e3599376854b2ced90c382beac056"
19 18
20S = "${WORKDIR}/Sub-Exporter-Progressive-${PV}" 19S = "${WORKDIR}/Sub-Exporter-Progressive-${PV}"
diff --git a/meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb b/meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb
index 3a0de9757..1981ae4a9 100644
--- a/meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb
+++ b/meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb
@@ -17,7 +17,6 @@ CPAN_AUTHOR = "DAGOLDEN"
17 17
18SRC_URI = "${CPAN_MIRROR}/authors/id/D/DA/${CPAN_AUTHOR}/${CPAN_PACKAGE}-${PV}.tar.gz" 18SRC_URI = "${CPAN_MIRROR}/authors/id/D/DA/${CPAN_AUTHOR}/${CPAN_PACKAGE}-${PV}.tar.gz"
19 19
20SRC_URI[md5sum] = "6c6a174861fd160e8d5871a86df00baf"
21SRC_URI[sha256sum] = "b4f3f63b80f680a421332d8851ddbe5a8e72fcaa74d5d1d98f3c8cc4a3ece293" 20SRC_URI[sha256sum] = "b4f3f63b80f680a421332d8851ddbe5a8e72fcaa74d5d1d98f3c8cc4a3ece293"
22 21
23S = "${WORKDIR}/${CPAN_PACKAGE}-${PV}" 22S = "${WORKDIR}/${CPAN_PACKAGE}-${PV}"
diff --git a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
index f4ce3131d..3f184badf 100644
--- a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
+++ b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
@@ -6,7 +6,7 @@ handy functions for working with terminals. One of the main goals is to \
6have the functions as portable as possible, so you can just plug in 'use \ 6have the functions as portable as possible, so you can just plug in 'use \
7Term::ReadKey' on any architecture and have a good likelihood of it \ 7Term::ReadKey' on any architecture and have a good likelihood of it \
8working." 8working."
9HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV}" 9HOMEPAGE = "https://metacpan.org/release/JSTOWE/TermReadKey-2.38"
10SECTION = "libraries" 10SECTION = "libraries"
11 11
12LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 12LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
@@ -14,7 +14,6 @@ LIC_FILES_CHKSUM = "file://README;md5=c275db663c8489a5709ebb22b185add5"
14 14
15SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz" 15SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz"
16 16
17SRC_URI[md5sum] = "b2b4aab7a0e6bddb7ac3b21ba637482c"
18SRC_URI[sha256sum] = "5a645878dc570ac33661581fbb090ff24ebce17d43ea53fd22e105a856a47290" 17SRC_URI[sha256sum] = "5a645878dc570ac33661581fbb090ff24ebce17d43ea53fd22e105a856a47290"
19 18
20S = "${WORKDIR}/TermReadKey-${PV}" 19S = "${WORKDIR}/TermReadKey-${PV}"
diff --git a/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb b/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb
index d74a34729..fe178b46c 100644
--- a/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb
+++ b/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb
@@ -16,7 +16,7 @@ run when any forked children exit."
16SECTION = "libs" 16SECTION = "libs"
17LICENSE = "LGPL-2.1-only" 17LICENSE = "LGPL-2.1-only"
18 18
19HOMEPAGE= "https://metacpan.org/release/Test-NoWarnings" 19HOMEPAGE = "https://metacpan.org/release/ADAMK/Test-NoWarnings-1.04"
20 20
21LIC_FILES_CHKSUM = "file://LICENSE;md5=d8045f3b8f929c1cb29a1e3fd737b499" 21LIC_FILES_CHKSUM = "file://LICENSE;md5=d8045f3b8f929c1cb29a1e3fd737b499"
22 22
@@ -25,7 +25,6 @@ CPAN_AUTHOR = "ADAMK"
25 25
26SRC_URI = "${CPAN_MIRROR}/authors/id/A/AD/${CPAN_AUTHOR}/${CPAN_PACKAGE}-${PV}.tar.gz" 26SRC_URI = "${CPAN_MIRROR}/authors/id/A/AD/${CPAN_AUTHOR}/${CPAN_PACKAGE}-${PV}.tar.gz"
27 27
28SRC_URI[md5sum] = "682ed043f7d3e38f3dfd8745fd21c49a"
29SRC_URI[sha256sum] = "638a57658cb119af1fe5b15e73d47c2544dcfef84af0c6b1b2e97f08202b686c" 28SRC_URI[sha256sum] = "638a57658cb119af1fe5b15e73d47c2544dcfef84af0c6b1b2e97f08202b686c"
30 29
31RDEPENDS:${PN} += "perl-module-test-builder perl-module-test-more perl-module-test-tester" 30RDEPENDS:${PN} += "perl-module-test-builder perl-module-test-more perl-module-test-tester"
diff --git a/meta-perl/recipes-perl/libtest/libtest-warn-perl_0.37.bb b/meta-perl/recipes-perl/libtest/libtest-warn-perl_0.37.bb
index 5148fbeb0..0f0816df9 100644
--- a/meta-perl/recipes-perl/libtest/libtest-warn-perl_0.37.bb
+++ b/meta-perl/recipes-perl/libtest/libtest-warn-perl_0.37.bb
@@ -7,7 +7,7 @@ the time to go take a look. \
7" 7"
8 8
9SECTION = "libs" 9SECTION = "libs"
10HOMEPAGE= "https://metacpan.org/release/Test-Warn" 10HOMEPAGE = "https://metacpan.org/release/Test-Warn"
11 11
12LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 12LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
13LIC_FILES_CHKSUM = "file://README;beginline=73;endline=78;md5=42b423d91c92ba59c215835a2ee9b57a" 13LIC_FILES_CHKSUM = "file://README;beginline=73;endline=78;md5=42b423d91c92ba59c215835a2ee9b57a"
diff --git a/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb b/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb
index 29118129a..8f16aa1ec 100644
--- a/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb
+++ b/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb
@@ -10,14 +10,13 @@ width of the first character of the given string and mbswidth() gives the \
10width of the whole given string." 10width of the whole given string."
11SECTION = "libs" 11SECTION = "libs"
12 12
13HOMEPAGE = "http://search.cpan.org/~kubota/Text-CharWidth-${PV}/" 13HOMEPAGE = "https://metacpan.org/release/KUBOTA/Text-CharWidth-0.04"
14 14
15LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 15LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
16LIC_FILES_CHKSUM = "file://README;md5=d8d54c8c500cbdd57a4c15911d9d96db" 16LIC_FILES_CHKSUM = "file://README;md5=d8d54c8c500cbdd57a4c15911d9d96db"
17 17
18SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-CharWidth-${PV}.tar.gz" 18SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-CharWidth-${PV}.tar.gz"
19 19
20SRC_URI[md5sum] = "37a723df0580c0758c0ee67b37336c15"
21SRC_URI[sha256sum] = "abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8" 20SRC_URI[sha256sum] = "abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8"
22 21
23S = "${WORKDIR}/Text-CharWidth-${PV}" 22S = "${WORKDIR}/Text-CharWidth-${PV}"
diff --git a/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb b/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb
index 9dfadde8e..9c473d15a 100644
--- a/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb
+++ b/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb
@@ -6,7 +6,7 @@ faster than shelling out to a system's diff executable for small files, \
6and generally slower on larger files." 6and generally slower on larger files."
7SECTION = "libs" 7SECTION = "libs"
8 8
9HOMEPAGE = "http://search.cpan.org/~ovid/Text-Diff/" 9HOMEPAGE = "https://metacpan.org/release/OVID/Text-Diff-1.41"
10 10
11LICENSE = "Artistic-1.0 | GPL-2.0-or-later" 11LICENSE = "Artistic-1.0 | GPL-2.0-or-later"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3" 12LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
@@ -14,7 +14,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
14SRC_URI = "${CPAN_MIRROR}/authors/id/O/OV/OVID/Text-Diff-${PV}.tar.gz \ 14SRC_URI = "${CPAN_MIRROR}/authors/id/O/OV/OVID/Text-Diff-${PV}.tar.gz \
15 file://run-ptest \ 15 file://run-ptest \
16 " 16 "
17SRC_URI[md5sum] = "30d56e6dd5551ca16b8e16cc7299dc21"
18SRC_URI[sha256sum] = "a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa" 17SRC_URI[sha256sum] = "a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa"
19 18
20S = "${WORKDIR}/Text-Diff-${PV}" 19S = "${WORKDIR}/Text-Diff-${PV}"
diff --git a/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb b/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb
index 1e8405cab..80c976561 100644
--- a/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb
+++ b/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb
@@ -8,13 +8,13 @@ Settings of fromcode and tocode and their permitted combinations are \
8implementation-dependent. Valid values are specified in the system \ 8implementation-dependent. Valid values are specified in the system \
9documentation." 9documentation."
10SECTION = "libs" 10SECTION = "libs"
11HOMEPAGE = "https://metacpan.org/pod/Text::Iconv"
11LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 12LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
12LIC_FILES_CHKSUM = "file://README;beginline=3;endline=6;md5=fadf2919c7128e887d26b4d905f90649" 13LIC_FILES_CHKSUM = "file://README;beginline=3;endline=6;md5=fadf2919c7128e887d26b4d905f90649"
13RRECOMMENDS:${PN}:append:libc-glibc = " glibc-gconvs" 14RRECOMMENDS:${PN}:append:libc-glibc = " glibc-gconvs"
14 15
15SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-${PV}.tar.gz" 16SRC_URI = "${CPAN_MIRROR}/authors/id/M/MP/MPIOTR/Text-Iconv-${PV}.tar.gz"
16 17
17SRC_URI[md5sum] = "81b26e069eaebb084e91ea3c009b67ae"
18SRC_URI[sha256sum] = "5b80b7d5e709d34393bcba88971864a17b44a5bf0f9e4bcee383d029e7d2d5c3" 18SRC_URI[sha256sum] = "5b80b7d5e709d34393bcba88971864a17b44a5bf0f9e4bcee383d029e7d2d5c3"
19 19
20S = "${WORKDIR}/Text-Iconv-${PV}" 20S = "${WORKDIR}/Text-Iconv-${PV}"
diff --git a/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb b/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb
index 017e951d3..7bc2e234a 100644
--- a/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb
+++ b/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb
@@ -11,14 +11,13 @@ characters). Also, minimal handling of languages which doesn't use \
11whitespaces between words (like Chinese and Japanese) is supported." 11whitespaces between words (like Chinese and Japanese) is supported."
12SECTION = "libs" 12SECTION = "libs"
13 13
14HOMEPAGE = "http://search.cpan.org/~kubota/Text-WrapI18N-${PV}/" 14HOMEPAGE = "https://metacpan.org/release/KUBOTA/Text-WrapI18N-0.06"
15 15
16LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 16LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
17LIC_FILES_CHKSUM = "file://README;md5=080862e1e40cdcddef4393e137285858" 17LIC_FILES_CHKSUM = "file://README;md5=080862e1e40cdcddef4393e137285858"
18 18
19SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-WrapI18N-${PV}.tar.gz" 19SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-WrapI18N-${PV}.tar.gz"
20 20
21SRC_URI[md5sum] = "0799c16a00926e6c18d400c2e2861d5f"
22SRC_URI[sha256sum] = "4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488" 21SRC_URI[sha256sum] = "4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488"
23 22
24S = "${WORKDIR}/Text-WrapI18N-${PV}" 23S = "${WORKDIR}/Text-WrapI18N-${PV}"
diff --git a/meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb b/meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb
index a7a998c35..ae922d9dd 100644
--- a/meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb
+++ b/meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb
@@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://README;beginline=5;endline=9;md5=b5e8b1099b86b86fbc31
12 12
13SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEZUMI/Unicode-LineBreak-${PV}.tar.gz" 13SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEZUMI/Unicode-LineBreak-${PV}.tar.gz"
14 14
15SRC_URI[md5sum] = "003d6da7a13700e069afed9238c864b9"
16SRC_URI[sha256sum] = "486762e4cacddcc77b13989f979a029f84630b8175e7fef17989e157d4b6318a" 15SRC_URI[sha256sum] = "486762e4cacddcc77b13989f979a029f84630b8175e7fef17989e157d4b6318a"
17 16
18S = "${WORKDIR}/Unicode-LineBreak-${PV}" 17S = "${WORKDIR}/Unicode-LineBreak-${PV}"
diff --git a/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb b/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb
index 7962d22c9..4393fbd91 100644
--- a/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb
+++ b/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb
@@ -8,12 +8,11 @@ of putting all characters into a single event. \
8" 8"
9SECTION = "libs" 9SECTION = "libs"
10LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 10LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
11HOMEPAGE = "http://search.cpan.org/dist/XML-Filter-BufferText/" 11HOMEPAGE = "https://metacpan.org/dist/XML-Filter-BufferText"
12DEPENDS += "libxml-sax-perl-native" 12DEPENDS += "libxml-sax-perl-native"
13RDEPENDS:${PN} += "libxml-sax-perl" 13RDEPENDS:${PN} += "libxml-sax-perl"
14 14
15SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RB/RBERJON/XML-Filter-BufferText-${PV}.tar.gz" 15SRC_URI = "${CPAN_MIRROR}/authors/id/R/RB/RBERJON/XML-Filter-BufferText-${PV}.tar.gz"
16SRC_URI[md5sum] = "2992c0387632583b966ab9c965b25512"
17SRC_URI[sha256sum] = "8fd2126d3beec554df852919f4739e689202cbba6a17506e9b66ea165841a75c" 16SRC_URI[sha256sum] = "8fd2126d3beec554df852919f4739e689202cbba6a17506e9b66ea165841a75c"
18 17
19LIC_FILES_CHKSUM = "file://BufferText.pm;beginline=88;endline=90;md5=497aa6d79cc84c3d769a2a0016bee928" 18LIC_FILES_CHKSUM = "file://BufferText.pm;beginline=88;endline=90;md5=497aa6d79cc84c3d769a2a0016bee928"
diff --git a/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb b/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb
index f184b89e5..e0ed6e7c3 100644
--- a/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb
+++ b/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb
@@ -6,7 +6,7 @@ The module is split into several packages which are not described in this \
6section; unless stated otherwise, you only need to use XML::LibXML; in \ 6section; unless stated otherwise, you only need to use XML::LibXML; in \
7your programs." 7your programs."
8 8
9HOMEPAGE = "http://search.cpan.org/dist/XML-LibXML-1.99/" 9HOMEPAGE = "https://metacpan.org/dist/XML-LibXML"
10SECTION = "libs" 10SECTION = "libs"
11LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 11LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
12DEPENDS += "libxml2 \ 12DEPENDS += "libxml2 \
@@ -22,7 +22,7 @@ RDEPENDS:${PN} += "\
22 zlib \ 22 zlib \
23" 23"
24 24
25SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-${PV}.tar.gz;name=libxml \ 25SRC_URI = "${CPAN_MIRROR}/authors/id/S/SH/SHLOMIF/XML-LibXML-${PV}.tar.gz;name=libxml \
26 file://disable-libxml2-check.patch \ 26 file://disable-libxml2-check.patch \
27 file://fix-CATALOG-conditional-compile.patch \ 27 file://fix-CATALOG-conditional-compile.patch \
28 file://using-DOCB-conditional.patch \ 28 file://using-DOCB-conditional.patch \
diff --git a/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.57.bb b/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.57.bb
index 487a5c22c..d4a027e6d 100644
--- a/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.57.bb
+++ b/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.57.bb
@@ -8,12 +8,11 @@ the AxKit XML Application Server. \
8" 8"
9SECTION = "libs" 9SECTION = "libs"
10LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 10LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
11HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/" 11HOMEPAGE = "https://metacpan.org/dist/XML-SAX-Writer"
12DEPENDS += "libxml-filter-buffertext-perl-native" 12DEPENDS += "libxml-filter-buffertext-perl-native"
13RDEPENDS:${PN} += "libxml-filter-buffertext-perl" 13RDEPENDS:${PN} += "libxml-filter-buffertext-perl"
14 14
15SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz" 15SRC_URI = "${CPAN_MIRROR}/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz"
16SRC_URI[md5sum] = "3e3023c648e3003c04de2fb04435f8bd"
17SRC_URI[sha256sum] = "3d61d07ef43b0126f5b4de4f415a256fa859fa88dc4fdabaad70b7be7c682cf0" 16SRC_URI[sha256sum] = "3d61d07ef43b0126f5b4de4f415a256fa859fa88dc4fdabaad70b7be7c682cf0"
18 17
19LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e" 18LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e"
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 92e64908b..ee8f957cc 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -16,6 +16,7 @@ PTESTS_FAST_META_PYTHON = "\
16 python3-blinker \ 16 python3-blinker \
17 python3-cachetools \ 17 python3-cachetools \
18 python3-cbor2 \ 18 python3-cbor2 \
19 python3-configobj \
19 python3-click \ 20 python3-click \
20 python3-dasbus \ 21 python3-dasbus \
21 python3-dominate \ 22 python3-dominate \
@@ -42,16 +43,20 @@ PTESTS_FAST_META_PYTHON = "\
42 python3-multidict \ 43 python3-multidict \
43 python3-netaddr \ 44 python3-netaddr \
44 python3-ordered-set \ 45 python3-ordered-set \
46 python3-outcome \
45 python3-parse \ 47 python3-parse \
46 python3-parse-type \ 48 python3-parse-type \
47 python3-platformdirs \ 49 python3-platformdirs \
48 python3-polyline \ 50 python3-polyline \
49 python3-portalocker \ 51 python3-portalocker \
52 python3-portion \
50 python3-precise-runner \ 53 python3-precise-runner \
51 python3-prettytable \ 54 python3-prettytable \
55 python3-propcache \
52 python3-pydantic \ 56 python3-pydantic \
53 python3-pydantic-core \ 57 python3-pydantic-core \
54 python3-pylint \ 58 python3-pylint \
59 python3-python-multipart \
55 python3-ptyprocess \ 60 python3-ptyprocess \
56 python3-py-cpuinfo \ 61 python3-py-cpuinfo \
57 python3-pyasn1-modules \ 62 python3-pyasn1-modules \
@@ -67,10 +72,12 @@ PTESTS_FAST_META_PYTHON = "\
67 python3-semver \ 72 python3-semver \
68 python3-serpent \ 73 python3-serpent \
69 python3-service-identity \ 74 python3-service-identity \
75 python3-setproctitle \
70 python3-simpleeval \ 76 python3-simpleeval \
71 python3-smpplib \ 77 python3-smpplib \
72 python3-soupsieve \ 78 python3-soupsieve \
73 python3-sqlparse \ 79 python3-sqlparse \
80 python3-starlette \
74 python3-tomli-w \ 81 python3-tomli-w \
75 python3-tomlkit \ 82 python3-tomlkit \
76 python3-trustme \ 83 python3-trustme \
@@ -96,6 +103,7 @@ PTESTS_SLOW_META_PYTHON = "\
96 python3-lz4 \ 103 python3-lz4 \
97 python3-marshmallow \ 104 python3-marshmallow \
98 python3-pillow \ 105 python3-pillow \
106 python3-pint \
99 python3-pytest-localserver \ 107 python3-pytest-localserver \
100 python3-scrypt \ 108 python3-scrypt \
101 python3-traitlets \ 109 python3-traitlets \
@@ -107,7 +115,5 @@ PTESTS_PROBLEMS_META_PYTHON ="\
107 python3-betamax \ 115 python3-betamax \
108 python3-dnspython \ 116 python3-dnspython \
109 python3-fastjsonschema \ 117 python3-fastjsonschema \
110 python3-pint \
111 python3-pyzmq \ 118 python3-pyzmq \
112 python3-whoosh \
113" 119"
diff --git a/meta-python/conf/layer.conf b/meta-python/conf/layer.conf
index aaf620a43..cae3931b8 100644
--- a/meta-python/conf/layer.conf
+++ b/meta-python/conf/layer.conf
@@ -14,6 +14,6 @@ LAYERVERSION_meta-python = "1"
14 14
15LAYERDEPENDS_meta-python = "core (>= 12) openembedded-layer" 15LAYERDEPENDS_meta-python = "core (>= 12) openembedded-layer"
16 16
17LAYERSERIES_COMPAT_meta-python = "styhead" 17LAYERSERIES_COMPAT_meta-python = "styhead walnascar"
18 18
19LICENSE_PATH += "${LAYERDIR}/licenses" 19LICENSE_PATH += "${LAYERDIR}/licenses"
diff --git a/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb b/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb
index 60ac18155..4bd8fed68 100644
--- a/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb
+++ b/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb
@@ -9,7 +9,6 @@ RDEPENDS:${PN} += " \
9 python3-logging \ 9 python3-logging \
10" 10"
11 11
12SRC_URI[md5sum] = "49f5f292ef1b60944ae92ca426a5e550"
13SRC_URI[sha256sum] = "f2e2749aceadce6b27ca52e2b0a64af99797746a8681e1a2963f72007c14cb14" 12SRC_URI[sha256sum] = "f2e2749aceadce6b27ca52e2b0a64af99797746a8681e1a2963f72007c14cb14"
14 13
15inherit pypi setuptools3 14inherit pypi setuptools3
diff --git a/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.0.0.bb b/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.0.0.bb
index 0297cb8c2..9fc1d6c0d 100644
--- a/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.0.0.bb
+++ b/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.0.0.bb
@@ -4,7 +4,6 @@ LICENSE = "MIT"
4 4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393"
6 6
7SRC_URI[md5sum] = "27e01514ef06dc9fa0798d3dcb7de47c"
8SRC_URI[sha256sum] = "fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095" 7SRC_URI[sha256sum] = "fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095"
9 8
10inherit pypi setuptools3 9inherit pypi setuptools3
diff --git a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb
index 359a2918c..040f1acc9 100644
--- a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb
+++ b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb
@@ -4,7 +4,6 @@ LICENSE = "Apache-2.0"
4 4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6 6
7SRC_URI[md5sum] = "d60bdffbd9c920f005fdc5e05a8b94cd"
8SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926" 7SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926"
9 8
10inherit pypi setuptools3 9inherit pypi setuptools3
diff --git a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.20.0.bb b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.21.0.bb
index 6a0a66aef..6a22f2170 100644
--- a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.20.0.bb
+++ b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.21.0.bb
@@ -2,7 +2,7 @@ SUMMARY = "Python bindings for the Apache Thrift RPC system"
2LICENSE = "Apache-2.0" 2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" 3LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515"
4 4
5SRC_URI[sha256sum] = "4dd662eadf6b8aebe8a41729527bd69adf6ceaa2a8681cbef64d1273b3e8feba" 5SRC_URI[sha256sum] = "5e6f7c50f936ebfa23e924229afc95eb219f8c8e5a83202dd4a391244803e402"
6 6
7inherit pypi setuptools3 7inherit pypi setuptools3
8 8
diff --git a/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb b/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb
index 23c216504..b2b4695d2 100644
--- a/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb
+++ b/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb
@@ -16,7 +16,6 @@ S = "${WORKDIR}/telepathy-python-${PV}"
16 16
17inherit autotools python3native 17inherit autotools python3native
18 18
19SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017"
20SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376" 19SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376"
21 20
22FILES:${PN} += "\ 21FILES:${PN} += "\
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 8850f8eb9..8ee1cdc10 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -452,7 +452,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
452 python3-websocket-client \ 452 python3-websocket-client \
453 python3-werkzeug \ 453 python3-werkzeug \
454 python3-werkzeug \ 454 python3-werkzeug \
455 python3-whoosh \
456 python3-wrapt \ 455 python3-wrapt \
457 python3-wtforms \ 456 python3-wtforms \
458 python3-xlrd \ 457 python3-xlrd \
@@ -466,6 +465,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
466 python3-yappi \ 465 python3-yappi \
467 python3-yarl \ 466 python3-yarl \
468 python3-zopeinterface \ 467 python3-zopeinterface \
468 python3-zstandard \
469 telepathy-python3 \ 469 telepathy-python3 \
470 unattended-upgrades \ 470 unattended-upgrades \
471" 471"
@@ -524,7 +524,6 @@ RDEPENDS:packagegroup-meta-python3-ptest = "\
524 python3-unidiff-ptest \ 524 python3-unidiff-ptest \
525 python3-uritemplate-ptest \ 525 python3-uritemplate-ptest \
526 python3-webcolors-ptest \ 526 python3-webcolors-ptest \
527 python3-whoosh-ptest \
528 python3-wpa-supplicant \ 527 python3-wpa-supplicant \
529 python3-xlrd-ptest \ 528 python3-xlrd-ptest \
530 python3-xmltodict-ptest \ 529 python3-xmltodict-ptest \
diff --git a/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb b/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb
index ed4e58850..cf800c958 100644
--- a/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb
+++ b/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb
@@ -4,7 +4,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=a53cbc7cb75660694e
4 4
5PYPI_PACKAGE_EXT = "tar.bz2" 5PYPI_PACKAGE_EXT = "tar.bz2"
6 6
7SRC_URI[md5sum] = "7c87da94656b620dfe532ca63d642eb8"
8SRC_URI[sha256sum] = "b2d701b25ad3f9a1542057f3eb492c5c1d7dbe2b8d1e8f763043dcc14ee1d933" 7SRC_URI[sha256sum] = "b2d701b25ad3f9a1542057f3eb492c5c1d7dbe2b8d1e8f763043dcc14ee1d933"
9 8
10inherit pypi setuptools3 9inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python-django-south.inc b/meta-python/recipes-devtools/python/python-django-south.inc
deleted file mode 100644
index 28eb84c56..000000000
--- a/meta-python/recipes-devtools/python/python-django-south.inc
+++ /dev/null
@@ -1,17 +0,0 @@
1SUMMARY = "Migrations for Django"
2DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features."
3HOMEPAGE = "http://south.aeracode.org/"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e"
6
7SRC_URI[md5sum] = "c76a9758b2011bc3b6c39f881bba2f66"
8SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4"
9
10PYPI_PACKAGE = "South"
11inherit pypi
12
13BBCLASSEXTEND = "native nativesdk"
14
15RDEPENDS:${PN} += "\
16 python3-django \
17 "
diff --git a/meta-python/recipes-devtools/python/python-flask-bootstrap.inc b/meta-python/recipes-devtools/python/python-flask-bootstrap.inc
deleted file mode 100644
index 24c76ce94..000000000
--- a/meta-python/recipes-devtools/python/python-flask-bootstrap.inc
+++ /dev/null
@@ -1,14 +0,0 @@
1DESCRIPTION = "An extension that includes Bootstrap in your project, without any boilerplate code."
2LICENSE = "Apache-2.0 & MIT & BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a03749709f06118a17349deb5a210619"
4
5SRC_URI[md5sum] = "e40d50f5c5b6438c1c6200a6f2871f81"
6SRC_URI[sha256sum] = "cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8"
7
8PYPI_PACKAGE = "Flask-Bootstrap"
9
10RDEPENDS:${PN} += "\
11 python3-dominate \
12 python3-flask \
13 python3-visitor \
14 "
diff --git a/meta-python/recipes-devtools/python/python-flask-sijax.inc b/meta-python/recipes-devtools/python/python-flask-sijax.inc
deleted file mode 100644
index 239c843fc..000000000
--- a/meta-python/recipes-devtools/python/python-flask-sijax.inc
+++ /dev/null
@@ -1,12 +0,0 @@
1DESCRIPTION = "An extension for the Flask microframework that adds Sijax support."
2HOMEPAGE = "https://github.com/spantaleev/flask-sijax"
3LICENSE = "BSD-3-Clause"
4
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=266adc7b911b7c84b837bf77196e1ba6"
6
7PYPI_PACKAGE = "Flask-Sijax"
8RDEPENDS:${PN} += " \
9 python3-flask \
10 python3-sijax \
11 python3-werkzeug \
12"
diff --git a/meta-python/recipes-devtools/python/python-flask-xstatic.inc b/meta-python/recipes-devtools/python/python-flask-xstatic.inc
deleted file mode 100644
index 8434d2610..000000000
--- a/meta-python/recipes-devtools/python/python-flask-xstatic.inc
+++ /dev/null
@@ -1,16 +0,0 @@
1DESCRIPTION = "XStatic support for flask"
2LICENSE = "BSD-2-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=659968f6ebd4b70b6c3190d20b4a924c"
4
5SRC_URI[md5sum] = "2f56023e1444c8bd1fec41afe93de743"
6SRC_URI[sha256sum] = "226ea8e97065a9488b59bfe5c94af4c6e2ea70a25052e301fb231a1381490133"
7
8FILESEXTRAPATHS:prepend := "${THISDIR}/python-flask-xstatic:"
9SRC_URI += "file://remove-pip-requires.patch"
10
11PYPI_PACKAGE = "Flask-XStatic"
12
13RDEPENDS:${PN} += "\
14 python3-flask \
15 python3-xstatic \
16 "
diff --git a/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb b/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb
index 3d7765607..96c83b3fa 100644
--- a/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb
+++ b/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = " \
7" 7"
8 8
9SRC_URI = "https://github.com/vpelletier/${BPN}/releases/download/${PV}/libusb1-${PV}.tar.gz" 9SRC_URI = "https://github.com/vpelletier/${BPN}/releases/download/${PV}/libusb1-${PV}.tar.gz"
10SRC_URI[md5sum] = "7b4f094786d1dfc8d011c7649d8ccb97"
11SRC_URI[sha256sum] = "4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c" 10SRC_URI[sha256sum] = "4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c"
12 11
13S = "${WORKDIR}/libusb1-${PV}" 12S = "${WORKDIR}/libusb1-${PV}"
diff --git a/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest b/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest
index 8d2017d39..951c73a6c 100644
--- a/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest
@@ -1,3 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2 2
3pytest --automake 3pytest --automake --deselect tests/test_asgi.py::test_baize_stream_response
diff --git a/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb b/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb
index e65519ec3..023f22790 100644
--- a/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb
+++ b/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb
@@ -20,6 +20,7 @@ RDEPENDS:${PN}-ptest += " \
20 python3-httpx \ 20 python3-httpx \
21 python3-pytest \ 21 python3-pytest \
22 python3-pytest-asyncio \ 22 python3-pytest-asyncio \
23 python3-starlette \
23 python3-unittest-automake-output \ 24 python3-unittest-automake-output \
24" 25"
25 26
diff --git a/meta-python/recipes-devtools/python/python3-aiohappyeyeballs_2.4.0.bb b/meta-python/recipes-devtools/python/python3-aiohappyeyeballs_2.4.3.bb
index 940492283..e06bd7178 100644
--- a/meta-python/recipes-devtools/python/python3-aiohappyeyeballs_2.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-aiohappyeyeballs_2.4.3.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiohappyeyeballs"
4LICENSE = "PSF-2.0" 4LICENSE = "PSF-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
6 6
7SRC_URI[sha256sum] = "55a1714f084e63d49639800f95716da97a1f173d46a16dfcfda0016abb93b6b2" 7SRC_URI[sha256sum] = "75cf88a15106a5002a8eb1dab212525c00d1f4c0fa96e551c9fbe6f09a621586"
8 8
9inherit pypi python_poetry_core 9inherit pypi python_poetry_core
10 10
diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.10.5.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.10.10.bb
index f167b9d6e..02c53ff91 100644
--- a/meta-python/recipes-devtools/python/python3-aiohttp_3.10.5.bb
+++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.10.10.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiohttp"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41"
6 6
7SRC_URI[sha256sum] = "f071854b47d39591ce9a17981c46790acb30518e2f83dfca8db2dfa091178691" 7SRC_URI[sha256sum] = "0631dd7c9f0822cc61c88586ca76d5b5ada26538097d0f1df510b082bad3411a"
8 8
9PYPI_PACKAGE = "aiohttp" 9PYPI_PACKAGE = "aiohttp"
10inherit python_setuptools_build_meta pypi 10inherit python_setuptools_build_meta pypi
diff --git a/meta-python/recipes-devtools/python/python3-aioresponses_0.7.6.bb b/meta-python/recipes-devtools/python/python3-aioresponses_0.7.6.bb
new file mode 100644
index 000000000..a99c80f59
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-aioresponses_0.7.6.bb
@@ -0,0 +1,25 @@
1SUMMARY = "Mock out requests made by ClientSession from aiohttp package"
2HOMEPAGE = "https://github.com/pnuckowski/aioresponses"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=b22b40d5974300051216633098387c57"
5
6SRC_URI[sha256sum] = "f795d9dbda2d61774840e7e32f5366f45752d1adc1b74c9362afd017296c7ee1"
7
8DEPENDS += "python3-pbr-native"
9
10inherit setuptools3 pypi
11
12RDEPENDS:${PN} += "python3-aiohttp \
13 python3-asyncio \
14 python3-core \
15 python3-json \
16 python3-math \
17 python3-multidict \
18 python3-netclient \
19 python3-packaging \
20 python3-unittest \
21 python3-yarl"
22
23# optionally needs asynctest asynctest.case ddt but recipes do not exist for them
24
25PYPI_PACKAGE = "aioresponses"
diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.13.2.bb b/meta-python/recipes-devtools/python/python3-alembic_1.13.3.bb
index 6f8fb8c33..f046c3ebc 100644
--- a/meta-python/recipes-devtools/python/python3-alembic_1.13.2.bb
+++ b/meta-python/recipes-devtools/python/python3-alembic_1.13.3.bb
@@ -2,11 +2,9 @@ DESCRIPTION = "A database migration tool for SQLAlchemy"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=00f8f5c8aab58c3e1cd61525a6675174" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=00f8f5c8aab58c3e1cd61525a6675174"
4 4
5inherit pypi setuptools3 5inherit pypi python_setuptools_build_meta
6 6
7SRC_URI[sha256sum] = "1ff0ae32975f4fd96028c39ed9bb3c867fe3af956bd7bb37343b54c9fe7445ef" 7SRC_URI[sha256sum] = "203503117415561e203aa14541740643a611f641517f0209fcae63e9fa09f1a2"
8
9PYPI_PACKAGE = "alembic"
10 8
11RDEPENDS:${PN} += "\ 9RDEPENDS:${PN} += "\
12 python3-dateutil \ 10 python3-dateutil \
diff --git a/meta-python/recipes-devtools/python/python3-anyio_4.4.0.bb b/meta-python/recipes-devtools/python/python3-anyio_4.6.0.bb
index 28c76cbf5..57f071251 100644
--- a/meta-python/recipes-devtools/python/python3-anyio_4.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-anyio_4.6.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c0a769411d2af7894099e8ff75058c9f"
5 5
6inherit pypi python_setuptools_build_meta 6inherit pypi python_setuptools_build_meta
7 7
8SRC_URI[sha256sum] = "5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94" 8SRC_URI[sha256sum] = "137b4559cbb034c477165047febb6ff83f390fc3b20bf181c1fc0a728cb8beeb"
9 9
10DEPENDS += " \ 10DEPENDS += " \
11 python3-setuptools-scm-native \ 11 python3-setuptools-scm-native \
diff --git a/meta-python/recipes-devtools/python/python3-apiflask_2.1.1.bb b/meta-python/recipes-devtools/python/python3-apiflask_2.2.1.bb
index 94f2e37a8..d6e88beec 100644
--- a/meta-python/recipes-devtools/python/python3-apiflask_2.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-apiflask_2.2.1.bb
@@ -3,16 +3,14 @@ HOMEPAGE = "https://github.com/apiflask/apiflask"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5f89d1b0dec37448d4f4163dc3c40e64" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=5f89d1b0dec37448d4f4163dc3c40e64"
5 5
6inherit pypi setuptools3 6inherit pypi python_setuptools_build_meta
7 7
8PYPI_PACKAGE = "APIFlask" 8SRC_URI[sha256sum] = "9c7573fedbb75524396c5733d4b0c150d1839a5d52b905c15b6a36e030c44908"
9
10SRC_URI[sha256sum] = "88db5a539cc155e35d9636d99b434d00ca6c0b23e7c87c8321ec9dc980535366"
11 9
12RDEPENDS:${PN} += "\ 10RDEPENDS:${PN} += "\
11 python3-apispec \
13 python3-flask \ 12 python3-flask \
13 python3-flask-httpauth \
14 python3-flask-marshmallow \ 14 python3-flask-marshmallow \
15 python3-webargs \ 15 python3-webargs \
16 python3-flask-httpauth \
17 python3-apispec \
18 " 16 "
diff --git a/meta-python/recipes-devtools/python/python3-apispec_6.6.1.bb b/meta-python/recipes-devtools/python/python3-apispec_6.7.0.bb
index 90d7ee271..670c791db 100644
--- a/meta-python/recipes-devtools/python/python3-apispec_6.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-apispec_6.7.0.bb
@@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a75956865b40c80a37c1e864716592b4"
5 5
6inherit pypi python_setuptools_build_meta 6inherit pypi python_setuptools_build_meta
7 7
8SRC_URI[sha256sum] = "f5caa47cee75fe03b9c50b5594048b4c052eeca2c212e0dac12dbb6175d9a659" 8SRC_URI[sha256sum] = "fa2cf1063bb227ed6f7f66b019f320d7dc0a7cb02acdf166a160e2381f4b2c39"
9 9
10RDEPENDS:${PN} += "python3-packaging" 10RDEPENDS:${PN} += "python3-packaging"
diff --git a/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb b/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb
index ad07b3b08..eab39312a 100644
--- a/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb
+++ b/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb
@@ -6,7 +6,6 @@ SRC_URI += " \
6 file://run-ptest \ 6 file://run-ptest \
7" 7"
8 8
9SRC_URI[md5sum] = "d6bca12613174185dd9abc8a29f4f012"
10SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41" 9SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"
11 10
12inherit pypi setuptools3 ptest 11inherit pypi setuptools3 ptest
diff --git a/meta-python/recipes-devtools/python/python3-argcomplete_3.5.0.bb b/meta-python/recipes-devtools/python/python3-argcomplete_3.5.1.bb
index a5cf6298a..531399d36 100644
--- a/meta-python/recipes-devtools/python/python3-argcomplete_3.5.0.bb
+++ b/meta-python/recipes-devtools/python/python3-argcomplete_3.5.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/kislyuk/argcomplete"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2ee41112a44fe7014dce33e26468ba93" 4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2ee41112a44fe7014dce33e26468ba93"
5 5
6SRC_URI[sha256sum] = "4349400469dccfb7950bb60334a680c58d88699bff6159df61251878dc6bf74b" 6SRC_URI[sha256sum] = "eb1ee355aa2557bd3d0145de7b06b2a45b0ce461e1e7813f5d066039ab4177b4"
7 7
8PYPI_PACKAGE = "argcomplete" 8PYPI_PACKAGE = "argcomplete"
9 9
diff --git a/meta-python/recipes-devtools/python/python3-argexec_1.0.3.bb b/meta-python/recipes-devtools/python/python3-argexec_1.0.3.bb
index 017a7e954..64ed8ad8d 100644
--- a/meta-python/recipes-devtools/python/python3-argexec_1.0.3.bb
+++ b/meta-python/recipes-devtools/python/python3-argexec_1.0.3.bb
@@ -4,7 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ea70b07c354e36056bd35e17c9c3face"
4 4
5inherit pypi setuptools3 5inherit pypi setuptools3
6 6
7SRC_URI[md5sum] = "448635948823309312ea9f70b30b6c2d"
8SRC_URI[sha256sum] = "61f9ae9322e38ae64996848421afbdb018239a99c4e796fe064f172d6c98c3bf" 7SRC_URI[sha256sum] = "61f9ae9322e38ae64996848421afbdb018239a99c4e796fe064f172d6c98c3bf"
9 8
10DEPENDS += "python3-setuptools-scm-native" 9DEPENDS += "python3-setuptools-scm-native"
diff --git a/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb b/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb
index 833732bd4..6b740e6f8 100644
--- a/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb
+++ b/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "http://github.com/mbr/asciitree"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a985ccb0df374f2a8cab75010bf8db73" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=a985ccb0df374f2a8cab75010bf8db73"
5 5
6SRC_URI[md5sum] = "2570b31e563b69da1aff54509db8ac6a"
7SRC_URI[sha256sum] = "4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e" 6SRC_URI[sha256sum] = "4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e"
8 7
9inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.3.2.bb b/meta-python/recipes-devtools/python/python3-astroid_3.3.5.bb
index e5f05bd0e..cfa58e7ee 100644
--- a/meta-python/recipes-devtools/python/python3-astroid_3.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-astroid_3.3.5.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
4LICENSE = "LGPL-2.1-only" 4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
6 6
7SRC_URI[sha256sum] = "99e9b5b602cbb005434084309213d6af32bf7a9b743c836749168b8e2b330cbd" 7SRC_URI[sha256sum] = "5cfc40ae9f68311075d27ef68a4841bdc5cc7f6cf86671b49f00607d30188e2d"
8 8
9inherit pypi python_setuptools_build_meta 9inherit pypi python_setuptools_build_meta
10 10
diff --git a/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.9.bb b/meta-python/recipes-devtools/python/python3-asyncinotify_4.2.0.bb
index 0946dd2a3..839d32596 100644
--- a/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.9.bb
+++ b/meta-python/recipes-devtools/python/python3-asyncinotify_4.2.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://gitlab.com/Taywee/asyncinotify"
3LICENSE = "MPL-2.0" 3LICENSE = "MPL-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=f75d2927d3c1ed2414ef72048f5ad640" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=f75d2927d3c1ed2414ef72048f5ad640"
5 5
6SRC_URI[sha256sum] = "d0fc2c9af487b6ac2a3bd7db7b5139de54afcc3660720f80d7324b122a27c1c7" 6SRC_URI[sha256sum] = "dac1d75e16a4919c6eab84a90ff51218db622c5524a84a5c501a0b62ea7ec7ea"
7 7
8inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
9 9
diff --git a/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb b/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb
index 01dfe5154..d73e83de5 100644
--- a/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb
@@ -6,7 +6,6 @@ inherit setuptools3 pypi features_check
6 6
7REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" 7REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
8 8
9SRC_URI[md5sum] = "60153055e76ceaacdfbaeafb03d61dd9"
10SRC_URI[sha256sum] = "fe3ceb2ba5f541330c07ca1bd7ae792468d625bad1acf5354a3a7a0b9fd87521" 9SRC_URI[sha256sum] = "fe3ceb2ba5f541330c07ca1bd7ae792468d625bad1acf5354a3a7a0b9fd87521"
11 10
12RDEPENDS:${PN} += "python3-asyncio python3-pygobject" 11RDEPENDS:${PN} += "python3-asyncio python3-pygobject"
diff --git a/meta-python/recipes-devtools/python/python3-backcall_0.2.0.bb b/meta-python/recipes-devtools/python/python3-backcall_0.2.0.bb
index d1ac486c0..42a7cb987 100644
--- a/meta-python/recipes-devtools/python/python3-backcall_0.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-backcall_0.2.0.bb
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=40e56b724d016484a7f790ec826d3ffc"
5 5
6PYPI_PACKAGE = "backcall" 6PYPI_PACKAGE = "backcall"
7 7
8SRC_URI[md5sum] = "1f4c9a370c78743406296f48e56e8821"
9SRC_URI[sha256sum] = "5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e" 8SRC_URI[sha256sum] = "5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e"
10 9
11inherit pypi python_flit_core 10inherit pypi python_flit_core
diff --git a/meta-python/recipes-devtools/python/python3-bandit_1.7.9.bb b/meta-python/recipes-devtools/python/python3-bandit_1.7.10.bb
index 730bf116a..8e88d8c7c 100644
--- a/meta-python/recipes-devtools/python/python3-bandit_1.7.9.bb
+++ b/meta-python/recipes-devtools/python/python3-bandit_1.7.10.bb
@@ -2,7 +2,7 @@ SUMMARY = "Security oriented static analyser for python code."
2LICENSE = "Apache-2.0" 2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
4 4
5SRC_URI[sha256sum] = "7c395a436743018f7be0a4cbb0a4ea9b902b6d87264ddecf8cfdc73b4f78ff61" 5SRC_URI[sha256sum] = "59ed5caf5d92b6ada4bf65bc6437feea4a9da1093384445fed4d472acc6cff7b"
6 6
7DEPENDS = "python3-pbr-native python3-git python3-pbr python3-pyyaml python3-six python3-stevedore" 7DEPENDS = "python3-pbr-native python3-git python3-pbr python3-pyyaml python3-six python3-stevedore"
8 8
diff --git a/meta-python/recipes-devtools/python/python3-betamax_0.9.0.bb b/meta-python/recipes-devtools/python/python3-betamax_0.9.0.bb
index a0454686e..68572d98b 100644
--- a/meta-python/recipes-devtools/python/python3-betamax_0.9.0.bb
+++ b/meta-python/recipes-devtools/python/python3-betamax_0.9.0.bb
@@ -3,13 +3,18 @@ HOMEPAGE = "https://github.com/betamaxpy/betamax"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=61c15f0c146c5fb1a8ce8ba2f310d73c" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=61c15f0c146c5fb1a8ce8ba2f310d73c"
5 5
6PV .= "+git"
7
8SRCREV = "8f3d284103676a43d1481b5cffae96f3a601e0be"
6SRC_URI += " \ 9SRC_URI += " \
7 file://run-ptest \ 10 file://run-ptest \
11 git://github.com/betamaxpy/betamax;protocol=https;branch=main \
8 file://0001-Drop-ptests-fixtures-and-recorde_modes.patch \ 12 file://0001-Drop-ptests-fixtures-and-recorde_modes.patch \
9" 13"
10SRC_URI[sha256sum] = "82316e1679bc6879e3c83318d016b54b7c9225ff08c4462de4813e22038d5f94"
11 14
12inherit pypi setuptools3 ptest 15S = "${WORKDIR}/git"
16
17inherit setuptools3 ptest
13 18
14RDEPENDS:${PN} += " \ 19RDEPENDS:${PN} += " \
15 python3-requests \ 20 python3-requests \
diff --git a/meta-python/recipes-devtools/python/python3-bitarray_2.9.2.bb b/meta-python/recipes-devtools/python/python3-bitarray_2.9.3.bb
index 7d7be0b1a..c19307cc9 100644
--- a/meta-python/recipes-devtools/python/python3-bitarray_2.9.2.bb
+++ b/meta-python/recipes-devtools/python/python3-bitarray_2.9.3.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/ilanschnell/bitarray"
4LICENSE = "PSF-2.0" 4LICENSE = "PSF-2.0"
5LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d" 5LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d"
6 6
7SRC_URI[sha256sum] = "a8f286a51a32323715d77755ed959f94bef13972e9a2fe71b609e40e6d27957e" 7SRC_URI[sha256sum] = "9eff55cf189b0c37ba97156a00d640eb7392db58a8049be6f26ff2712b93fa89"
8 8
9inherit setuptools3 pypi 9inherit setuptools3 pypi
10 10
diff --git a/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb b/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb
index bb1d7c2b1..c0150c790 100644
--- a/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
+++ b/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/hbldh/bleak"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
5 5
6SRCREV = "c746071a3fcc3b5e69db6d6b23445ec3505d7730" 6SRCREV = "2e6890f68f6718b4f92e602b9b926aa3d107b556"
7PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop" 7PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"
8 8
9inherit pypi python_poetry_core ptest 9inherit pypi python_poetry_core ptest
diff --git a/meta-python/recipes-devtools/python/python3-cantools_39.4.5.bb b/meta-python/recipes-devtools/python/python3-cantools_39.4.9.bb
index f4f16c155..bf1b4867c 100644
--- a/meta-python/recipes-devtools/python/python3-cantools_39.4.5.bb
+++ b/meta-python/recipes-devtools/python/python3-cantools_39.4.9.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/eerimoq/cantools"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd"
5 5
6SRC_URI[sha256sum] = "594f2ae80deadb8c6b08e8e1322d42e258f40d42c80d6886d84e0143f90b5a23" 6SRC_URI[sha256sum] = "5559da0a9b7a0f9e68eb8010b27615f7960be19656f4217374c76993c71f9167"
7 7
8PYPI_PACKAGE = "cantools" 8PYPI_PACKAGE = "cantools"
9 9
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb
index 37c3ab647..6dd9f0cd1 100644
--- a/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb
+++ b/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb
@@ -3,7 +3,7 @@ LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" 3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8"
4DEPENDS += "python3-setuptools-scm-native" 4DEPENDS += "python3-setuptools-scm-native"
5 5
6SRC_URI[sha256sum] = "1c533c50dde86bef1c6950602054a0ffa3c376e8b0e20c7b8f5b108793f6983e" 6SRC_URI[sha256sum] = "b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09"
7SRC_URI += " \ 7SRC_URI += " \
8 file://run-ptest \ 8 file://run-ptest \
9" 9"
diff --git a/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb b/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb
index b3e1328c7..7f19cc345 100644
--- a/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb
+++ b/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb
@@ -4,7 +4,6 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" 4LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
5 5
6SRC_URI += "file://0001-Update-Versioneer-to-0.22.patch" 6SRC_URI += "file://0001-Update-Versioneer-to-0.22.patch"
7SRC_URI[md5sum] = "ab68ed404401421819c81cc6c0677a87"
8SRC_URI[sha256sum] = "87eacf9d7298973a25d7615ef57d4782aebf913a532bba4b28a37e366e975daf" 7SRC_URI[sha256sum] = "87eacf9d7298973a25d7615ef57d4782aebf913a532bba4b28a37e366e975daf"
9 8
10inherit pypi setuptools3 9inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest b/meta-python/recipes-devtools/python/python3-configobj/run-ptest
index 8d2017d39..8d2017d39 100644..100755
--- a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-configobj/run-ptest
diff --git a/meta-python/recipes-devtools/python/python3-configobj_5.0.8.bb b/meta-python/recipes-devtools/python/python3-configobj_5.0.8.bb
deleted file mode 100644
index 96e579c78..000000000
--- a/meta-python/recipes-devtools/python/python3-configobj_5.0.8.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1SUMMARY = "Config file reading, writing and validation."
2SECTION = "devel/python"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3d6f99b84d9a94610c62e48fa2e59e72"
5
6PYPI_PACKAGE = "configobj"
7SRC_URI[sha256sum] = "6f704434a07dc4f4dc7c9a745172c1cad449feb548febd9f7fe362629c627a97"
8
9inherit pypi python_setuptools_build_meta
10
11RDEPENDS:${PN} += " \
12 python3-pprint \
13 python3-six \
14"
diff --git a/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb b/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb
new file mode 100644
index 000000000..d41d71a4e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb
@@ -0,0 +1,27 @@
1SUMMARY = "Config file reading, writing and validation."
2SECTION = "devel/python"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=e2df3cb285297a24cd1097dfe6e96f95"
5
6SRC_URI[sha256sum] = "03c881bbf23aa07bccf1b837005975993c4ab4427ba57f959afdd9d1a2386848"
7
8inherit pypi python_setuptools_build_meta ptest
9
10SRC_URI += " \
11 file://run-ptest \
12"
13
14RDEPENDS:${PN} += " \
15 python3-pprint \
16 python3-six \
17"
18
19RDEPENDS:${PN}-ptest += " \
20 python3-pytest \
21 python3-unittest-automake-output \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/tests
26 cp -rf ${S}/src/tests/* ${D}${PTEST_PATH}/tests/
27}
diff --git a/meta-python/recipes-devtools/python/python3-coverage_7.6.1.bb b/meta-python/recipes-devtools/python/python3-coverage_7.6.2.bb
index 7749158f5..c87cfdd16 100644
--- a/meta-python/recipes-devtools/python/python3-coverage_7.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-coverage_7.6.2.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://coverage.readthedocs.io"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93"
5 5
6SRC_URI[sha256sum] = "953510dfb7b12ab69d20135a0662397f077c59b1e6379a768e97c59d852ee51d" 6SRC_URI[sha256sum] = "a5f81e68aa62bc0cfca04f7b19eaa8f9c826b53fc82ab9e2121976dc74f131f3"
7 7
8inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
9 9
diff --git a/meta-python/recipes-devtools/python/python3-cytoolz_0.12.3.bb b/meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb
index f9c9704d7..15fb1733a 100644
--- a/meta-python/recipes-devtools/python/python3-cytoolz_0.12.3.bb
+++ b/meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb
@@ -5,7 +5,7 @@ SECTION = "devel/python"
5LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d422ebce3e9c6447563bd410e9b22f2e" 6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d422ebce3e9c6447563bd410e9b22f2e"
7 7
8SRC_URI[sha256sum] = "4503dc59f4ced53a54643272c61dc305d1dbbfbd7d6bdf296948de9f34c3a282" 8SRC_URI[sha256sum] = "eb453b30182152f9917a5189b7d99046b6ce90cdf8aeb0feff4b2683e600defd"
9 9
10inherit pypi setuptools3 10inherit pypi setuptools3
11 11
diff --git a/meta-python/recipes-devtools/python/python3-dbus-fast_2.24.2.bb b/meta-python/recipes-devtools/python/python3-dbus-fast_2.24.3.bb
index ccac69924..bf267ed86 100644
--- a/meta-python/recipes-devtools/python/python3-dbus-fast_2.24.2.bb
+++ b/meta-python/recipes-devtools/python/python3-dbus-fast_2.24.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/bluetooth-devices/dbus-fast"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=729e372b5ea0168438e4fd4a00a04947" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=729e372b5ea0168438e4fd4a00a04947"
5 5
6SRC_URI[sha256sum] = "20c517dc70dbc940b8bf2e0f079abf3dfe821fdda3013641a17e3d8f18e131ae" 6SRC_URI[sha256sum] = "9042a1b565ecac4f8e04df79376de1d1d31e4c82eddb6e71e8b8d82d0c94dd3d"
7 7
8PYPI_PACKAGE = "dbus_fast" 8PYPI_PACKAGE = "dbus_fast"
9 9
diff --git a/meta-python/recipes-devtools/python/python3-dill_0.3.8.bb b/meta-python/recipes-devtools/python/python3-dill_0.3.9.bb
index 3481ec06b..bc5a7e500 100644
--- a/meta-python/recipes-devtools/python/python3-dill_0.3.8.bb
+++ b/meta-python/recipes-devtools/python/python3-dill_0.3.9.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/dill/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a41509b57cc475ed93f8cb1dbbfaeec1" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=a41509b57cc475ed93f8cb1dbbfaeec1"
5 5
6SRC_URI[sha256sum] = "3ebe3c479ad625c4553aca177444d89b486b1d84982eeacded644afc0cf797ca" 6SRC_URI[sha256sum] = "81aa267dddf68cbfe8029c42ca9ec6a4ab3b22371d1c450abc54422577b4512c"
7 7
8inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
9 9
diff --git a/meta-python/recipes-devtools/python/python3-distlib_0.3.8.bb b/meta-python/recipes-devtools/python/python3-distlib_0.3.9.bb
index 41a66479c..33e79d53e 100644
--- a/meta-python/recipes-devtools/python/python3-distlib_0.3.8.bb
+++ b/meta-python/recipes-devtools/python/python3-distlib_0.3.9.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/pypa/distlib"
6LICENSE = "PSF-2.0" 6LICENSE = "PSF-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc" 7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc"
8 8
9SRC_URI[sha256sum] = "1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64" 9SRC_URI[sha256sum] = "a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403"
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12inherit pypi python_setuptools_build_meta 12inherit pypi python_setuptools_build_meta
diff --git a/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb b/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb
index 10519111f..8237cf034 100644
--- a/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb
@@ -1,2 +1,16 @@
1require python-django-south.inc 1SUMMARY = "Migrations for Django"
2inherit setuptools3 2DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features."
3HOMEPAGE = "http://south.aeracode.org/"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e"
6
7SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4"
8
9PYPI_PACKAGE = "South"
10inherit pypi setuptools3
11
12BBCLASSEXTEND = "native nativesdk"
13
14RDEPENDS:${PN} += "\
15 python3-django \
16 "
diff --git a/meta-python/recipes-devtools/python/python-django.inc b/meta-python/recipes-devtools/python/python3-django.inc
index d9ab3fd21..d9ab3fd21 100644
--- a/meta-python/recipes-devtools/python/python-django.inc
+++ b/meta-python/recipes-devtools/python/python3-django.inc
diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.16.bb b/meta-python/recipes-devtools/python/python3-django_4.2.16.bb
index 9254e8b00..564e8741e 100644
--- a/meta-python/recipes-devtools/python/python3-django_4.2.16.bb
+++ b/meta-python/recipes-devtools/python/python3-django_4.2.16.bb
@@ -1,4 +1,4 @@
1require python-django.inc 1require python3-django.inc
2inherit setuptools3 2inherit setuptools3
3 3
4SRC_URI[sha256sum] = "6f1616c2786c408ce86ab7e10f792b8f15742f7b7b7460243929cb371e7f1dad" 4SRC_URI[sha256sum] = "6f1616c2786c408ce86ab7e10f792b8f15742f7b7b7460243929cb371e7f1dad"
diff --git a/meta-python/recipes-devtools/python/python3-django_5.0.9.bb b/meta-python/recipes-devtools/python/python3-django_5.0.9.bb
index b3fb301ed..2de483216 100644
--- a/meta-python/recipes-devtools/python/python3-django_5.0.9.bb
+++ b/meta-python/recipes-devtools/python/python3-django_5.0.9.bb
@@ -1,4 +1,4 @@
1require python-django.inc 1require python3-django.inc
2inherit python_setuptools_build_meta 2inherit python_setuptools_build_meta
3 3
4SRC_URI[sha256sum] = "6333870d342329b60174da3a60dbd302e533f3b0bb0971516750e974a99b5a39" 4SRC_URI[sha256sum] = "6333870d342329b60174da3a60dbd302e533f3b0bb0971516750e974a99b5a39"
diff --git a/meta-python/recipes-devtools/python/python3-dnspython_2.6.1.bb b/meta-python/recipes-devtools/python/python3-dnspython_2.7.0.bb
index 13e31afe7..e9ca31c3a 100644
--- a/meta-python/recipes-devtools/python/python3-dnspython_2.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-dnspython_2.7.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.dnspython.org/"
3LICENSE = "ISC" 3LICENSE = "ISC"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34"
5 5
6SRC_URI[sha256sum] = "e8f0f9c23a7b7cb99ded64e6c3a6f3e701d78f50c55e002b839dea7225cff7cc" 6SRC_URI[sha256sum] = "ce9c432eda0dc91cf618a5cedf1a4e142651196bbcd2c80e89ed5a907e5cfaf1"
7 7
8inherit pypi python_hatchling ptest 8inherit pypi python_hatchling ptest
9 9
diff --git a/meta-python/recipes-devtools/python/python3-docopt_0.6.2.bb b/meta-python/recipes-devtools/python/python3-docopt_0.6.2.bb
index a2432068c..2f03bd37b 100644
--- a/meta-python/recipes-devtools/python/python3-docopt_0.6.2.bb
+++ b/meta-python/recipes-devtools/python/python3-docopt_0.6.2.bb
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=09b77fb74986791a3d4a0e746a37d88f"
5 5
6inherit setuptools3 pypi 6inherit setuptools3 pypi
7 7
8SRC_URI[md5sum] = "4bc74561b37fad5d3e7d037f82a4c3b1"
9SRC_URI[sha256sum] = "49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491" 8SRC_URI[sha256sum] = "49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"
10 9
11BBCLASSEXTEND = "native nativesdk" 10BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-dominate/58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch b/meta-python/recipes-devtools/python/python3-dominate/58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch
new file mode 100644
index 000000000..e3d0d485e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-dominate/58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch
@@ -0,0 +1,40 @@
1From 58f7d7fdb171f80ed6ce97e6ca4409723975c47f Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
3Date: Sat, 3 Aug 2024 16:07:38 +0200
4Subject: [PATCH] Update tests for docstring dedenting in Python 3.13
5
6Update the `get_expected()` function to account for the fact that
7Python 3.13 automatically dedents all the docstrings, and therefore
8does not require explicitly removing the indent (which effectively
9removes too much indent).
10
11Fixes #199
12
13Upstream-Status: Submitted [https://github.com/Knio/dominate/pull/202]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 tests/test_svg.py | 7 ++++++-
17 1 file changed, 6 insertions(+), 1 deletion(-)
18
19diff --git a/tests/test_svg.py b/tests/test_svg.py
20index e5bbec3..ea7d98f 100644
21--- a/tests/test_svg.py
22+++ b/tests/test_svg.py
23@@ -1,3 +1,5 @@
24+import sys
25+
26 import dominate.svg
27 from dominate.tags import *
28 from dominate.svg import *
29@@ -14,7 +16,10 @@ def base():
30
31
32 def get_expected(func):
33- return func.__doc__.replace('\n ', '\n').strip()
34+ doc = func.__doc__
35+ if sys.version_info < (3, 13):
36+ doc = doc.replace('\n ', '\n')
37+ return doc.strip()
38
39
40 def output_test(func):
diff --git a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb
index 054d5236e..cce304498 100644
--- a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb
+++ b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb
@@ -7,6 +7,7 @@ SRC_URI[sha256sum] = "558284687d9b8aae1904e3d6051ad132dd4a8c0cf551b37ea4e7e42a31
7inherit pypi ptest python_setuptools_build_meta 7inherit pypi ptest python_setuptools_build_meta
8 8
9SRC_URI += " \ 9SRC_URI += " \
10 file://58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch \
10 file://run-ptest \ 11 file://run-ptest \
11" 12"
12 13
diff --git a/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb b/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb
index 335461c43..6ec72d02a 100644
--- a/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb
+++ b/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb
@@ -2,7 +2,6 @@ DESCRIPTION = "Programmatically open and editor, capture the result"
2LICENSE = "Apache-2.0" 2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
4 4
5SRC_URI[md5sum] = "0e52648a4a6e7c89e3be44e9456530b4"
6SRC_URI[sha256sum] = "51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b" 5SRC_URI[sha256sum] = "51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b"
7 6
8PYPI_PACKAGE = "python-editor" 7PYPI_PACKAGE = "python-editor"
diff --git a/meta-python/recipes-devtools/python/python3-elementpath_4.4.0.bb b/meta-python/recipes-devtools/python/python3-elementpath_4.5.0.bb
index e095cb8a3..937d96860 100644
--- a/meta-python/recipes-devtools/python/python3-elementpath_4.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-elementpath_4.5.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/sissaschool/elementpath"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5dbb7fb7d72da3921202dd7b995d3ecf" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=5dbb7fb7d72da3921202dd7b995d3ecf"
5 5
6SRC_URI[sha256sum] = "dfc4b8ca3d87966dcb0df40b5b6d04a98f053683271930fad9e7fa000924dfb2" 6SRC_URI[sha256sum] = "affdc8de95af1a4c10d1d2ed79c6fa56b59c26c7fce64b73497569e9dea46998"
7 7
8PYPI_PACKAGE = "elementpath" 8PYPI_PACKAGE = "elementpath"
9inherit pypi setuptools3 9inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb b/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb
index 0f548cf86..1137e744c 100644
--- a/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb
+++ b/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb
@@ -1,14 +1,20 @@
1SUMMARY = "The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3." 1SUMMARY = "eth-hash: The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3"
2HOMEPAGE = "https://github.com/ethereum/eth-hash" 2HOMEPAGE = "https://github.com/ethereum/eth-hash"
3SECTION = "devel/python"
4LICENSE = "MIT" 3LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3d7bdfe69b1ffbde073ca6e96f5c53f7" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=3d7bdfe69b1ffbde073ca6e96f5c53f7"
6 5
7SRC_URI[sha256sum] = "bacdc705bfd85dadd055ecd35fd1b4f846b671add101427e089a4ca2e8db310a" 6SRC_URI[sha256sum] = "bacdc705bfd85dadd055ecd35fd1b4f846b671add101427e089a4ca2e8db310a"
8 7
9inherit pypi setuptools3 8inherit pypi python_setuptools_build_meta
10 9
11RDEPENDS:${PN} = "\ 10PACKAGECONFIG ?= ""
12 python3-logging \ 11PACKAGECONFIG[dev] = ",,,python3-build python3-bumpversion python3-ipython python3-pre-commit python3-pytest python3-pytest-xdist python3-sphinx python3-sphinx_rtd_theme python3-towncrier python3-tox python3-twine python3-wheel"
13 python3-pycryptodome \ 12PACKAGECONFIG[docs] = ",,,python3-sphinx python3-sphinx_rtd_theme python3-towncrier"
14" 13PACKAGECONFIG[pycryptodome] = ",,,python3-pycryptodome"
14PACKAGECONFIG[pysha3python-version-smaller-3-dot-9] = ",,,python3-pysha3"
15PACKAGECONFIG[pysha3python-version-bigger--equals-3-dot-9] = ",,,python3-safe-pysha3"
16PACKAGECONFIG[test] = ",,,python3-pytest python3-pytest-xdist"
17
18RDEPENDS:${PN} += "python3-core python3-logging python3-pycryptodome"
19
20PYPI_PACKAGE = "eth-hash"
diff --git a/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch b/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch
new file mode 100644
index 000000000..f8a268309
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch
@@ -0,0 +1,27 @@
1From d19ad6cc086684ee74db250f5fd35227c98e678a Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
3Date: Thu, 6 Jun 2024 10:29:29 +0200
4Subject: [PATCH] Add new thread attributes from Python 3.13
5
6Does not fix https://github.com/eventlet/eventlet/issues/964 yet
7Upstream-Status: Backport [https://github.com/eventlet/eventlet/pull/965]
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 eventlet/green/thread.py | 7 +++++++
11 1 file changed, 7 insertions(+)
12
13diff --git a/eventlet/green/thread.py b/eventlet/green/thread.py
14index 053a1c3c6..384b3c290 100644
15--- a/eventlet/green/thread.py
16+++ b/eventlet/green/thread.py
17@@ -118,3 +118,10 @@ def stack_size(size=None):
18
19 if hasattr(__thread, 'daemon_threads_allowed'):
20 daemon_threads_allowed = __thread.daemon_threads_allowed
21+
22+if hasattr(__thread, 'start_joinable_thread'):
23+ start_joinable_thread = __thread.start_joinable_thread
24+ _shutdown = __thread._shutdown
25+ _make_thread_handle = __thread._make_thread_handle
26+ _ThreadHandle = __thread._ThreadHandle
27+ _get_main_thread_ident = __thread._get_main_thread_ident
diff --git a/meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb b/meta-python/recipes-devtools/python/python3-eventlet_0.37.0.bb
index b521162d2..df23162e0 100644
--- a/meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb
+++ b/meta-python/recipes-devtools/python/python3-eventlet_0.37.0.bb
@@ -4,7 +4,8 @@ SECTION = "devel/python"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778"
6 6
7SRC_URI[sha256sum] = "d227fe76a63d9e6a6cef53beb8ad0b2dc40a5e7737c801f4b474cfae1db07bc5" 7SRC_URI += "file://d19ad6cc086684ee74db250f5fd35227c98e678a.patch"
8SRC_URI[sha256sum] = "fa49bf5a549cdbaa06919679979ea022ac8f8f3cf0499f26849a1cd8e64c30b1"
8 9
9inherit pypi python_hatchling 10inherit pypi python_hatchling
10 11
diff --git a/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb b/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb
index 2099d791d..3053ca5d7 100644
--- a/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb
@@ -3,7 +3,6 @@ SECTION = "devel/python"
3LICENSE = "LGPL-2.1-only" 3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c73b943dc75f6f65e007c56ac6515c8f" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=c73b943dc75f6f65e007c56ac6515c8f"
5 5
6SRC_URI[md5sum] = "0b85b418018746d63ed66b55465697a9"
7SRC_URI[sha256sum] = "cdca0a65ad48e08320672affe38c3dd4ea15e27821e5e1db9fa2b34299bdd41e" 6SRC_URI[sha256sum] = "cdca0a65ad48e08320672affe38c3dd4ea15e27821e5e1db9fa2b34299bdd41e"
8 7
9SRC_URI += " file://0001-setup.py-Don-t-hardcode-swig-and-fann2-binary-locati.patch" 8SRC_URI += " file://0001-setup.py-Don-t-hardcode-swig-and-fann2-binary-locati.patch"
diff --git a/meta-python/recipes-devtools/python/python3-filelock_3.16.0.bb b/meta-python/recipes-devtools/python/python3-filelock_3.16.1.bb
index 0aac54a15..abafa1245 100644
--- a/meta-python/recipes-devtools/python/python3-filelock_3.16.0.bb
+++ b/meta-python/recipes-devtools/python/python3-filelock_3.16.1.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://py-filelock.readthedocs.io/"
6LICENSE = "Unlicense" 6LICENSE = "Unlicense"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
8 8
9SRC_URI[sha256sum] = "81de9eb8453c769b63369f87f11131a7ab04e367f8d97ad39dc230daa07e3bec" 9SRC_URI[sha256sum] = "c249fbfcd5db47e5e2d6d62198e565475ee65e4831e2561c8e313fa7eb961435"
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12inherit pypi python_hatchling 12inherit pypi python_hatchling
diff --git a/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb b/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb
index 877c75436..7553ce74a 100644
--- a/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb
@@ -1,2 +1,15 @@
1DESCRIPTION = "An extension that includes Bootstrap in your project, without any boilerplate code."
2LICENSE = "Apache-2.0 & MIT & BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a03749709f06118a17349deb5a210619"
4
5SRC_URI[sha256sum] = "cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8"
6
7PYPI_PACKAGE = "Flask-Bootstrap"
8
1inherit pypi setuptools3 9inherit pypi setuptools3
2require python-flask-bootstrap.inc 10
11RDEPENDS:${PN} += "\
12 python3-dominate \
13 python3-flask \
14 python3-visitor \
15 "
diff --git a/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb b/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb
index 76c6fb773..93ecf0845 100644
--- a/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://README.rst;md5=bd59445a234a0c8250b39178d42e3148"
6 6
7PYPI_PACKAGE = "Flask-Jsonpify" 7PYPI_PACKAGE = "Flask-Jsonpify"
8 8
9SRC_URI[md5sum] = "8a10e37942c43d93d107644a3fe77d98"
10SRC_URI[sha256sum] = "8ac4c732aa5b11d9f6c2de58065d3b669f139518ca8f529bce943817e2fedbfb" 9SRC_URI[sha256sum] = "8ac4c732aa5b11d9f6c2de58065d3b669f139518ca8f529bce943817e2fedbfb"
11 10
12inherit pypi setuptools3 11inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb b/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb
index 35bcbc00a..f7044b314 100644
--- a/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ff00db41c47ec84b4567a8b3c246a959"
6 6
7PYPI_PACKAGE = "Flask-JWT" 7PYPI_PACKAGE = "Flask-JWT"
8 8
9SRC_URI[md5sum] = "878ad79a12afa70ad38a12d5ffd2dc1e"
10SRC_URI[sha256sum] = "49c0672fbde0f1cd3374bd834918d28956e3c521c7e00089cdc5380d323bd0ad" 9SRC_URI[sha256sum] = "49c0672fbde0f1cd3374bd834918d28956e3c521c7e00089cdc5380d323bd0ad"
11 10
12inherit pypi setuptools3 11inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb b/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb
index 1aca3a161..66f3936cd 100644
--- a/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb
@@ -4,7 +4,6 @@ HOMEPAGE = " https://github.com/rduplain/flask-email"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=5b16dfa6d3f275ace5985bb92949f770" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=5b16dfa6d3f275ace5985bb92949f770"
6 6
7SRC_URI[md5sum] = "04b35a42a44ec7aa724ec8ce55e2e08e"
8SRC_URI[sha256sum] = "22e5eb9a940bf407bcf30410ecc3708f3c56cc44b29c34e1726fe85006935f41" 7SRC_URI[sha256sum] = "22e5eb9a940bf407bcf30410ecc3708f3c56cc44b29c34e1726fe85006935f41"
9 8
10PYPI_PACKAGE = "Flask-Mail" 9PYPI_PACKAGE = "Flask-Mail"
diff --git a/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb b/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb
index 3855909fb..3d5846148 100644
--- a/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb
@@ -2,7 +2,6 @@ DESCRIPTION = "Easily create navigation for Flask applications."
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2729ee82259d601d90d28b0574d12416" 3LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2729ee82259d601d90d28b0574d12416"
4 4
5SRC_URI[md5sum] = "4d51cfd06d58f8d0fe85775a6696c0e5"
6SRC_URI[sha256sum] = "44e40b755380a1e68ab521a2f9174de259a2c94ddcdaabf36b3aca2e110a33f4" 5SRC_URI[sha256sum] = "44e40b755380a1e68ab521a2f9174de259a2c94ddcdaabf36b3aca2e110a33f4"
7 6
8PYPI_PACKAGE = "flask-nav" 7PYPI_PACKAGE = "flask-nav"
diff --git a/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb b/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb
index 1cd4a4b69..1e751b9e5 100644
--- a/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb
@@ -5,7 +5,6 @@ SECTION = "devel/python"
5LICENSE = "BSD-2-Clause" 5LICENSE = "BSD-2-Clause"
6LIC_FILES_CHKSUM = "file://flask_pymongo/wrappers.py;beginline=1;endline=24;md5=424c4e1047d28e01b4e4634a069c019d" 6LIC_FILES_CHKSUM = "file://flask_pymongo/wrappers.py;beginline=1;endline=24;md5=424c4e1047d28e01b4e4634a069c019d"
7 7
8SRC_URI[md5sum] = "94df71e6800b1d7915cc91a74b70f959"
9SRC_URI[sha256sum] = "620eb02dc8808a5fcb90f26cab6cba9d6bf497b15032ae3ca99df80366e33314" 8SRC_URI[sha256sum] = "620eb02dc8808a5fcb90f26cab6cba9d6bf497b15032ae3ca99df80366e33314"
10 9
11PYPI_PACKAGE = "Flask-PyMongo" 10PYPI_PACKAGE = "Flask-PyMongo"
diff --git a/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb b/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb
index e9a65c4ae..d518a1877 100644
--- a/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb
@@ -1,4 +1,17 @@
1DESCRIPTION = "An extension for the Flask microframework that adds Sijax support."
2HOMEPAGE = "https://github.com/spantaleev/flask-sijax"
3LICENSE = "BSD-3-Clause"
4
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=266adc7b911b7c84b837bf77196e1ba6"
6
7SRC_URI[sha256sum] = "fb2bf2d4f75408185102195055d75549fee8d9c9e954dca2427186925cdc429f"
8
9PYPI_PACKAGE = "Flask-Sijax"
10
1inherit pypi setuptools3 11inherit pypi setuptools3
2require python-flask-sijax.inc
3 12
4SRC_URI[sha256sum] = "fb2bf2d4f75408185102195055d75549fee8d9c9e954dca2427186925cdc429f" \ No newline at end of file 13RDEPENDS:${PN} += " \
14 python3-flask \
15 python3-sijax \
16 python3-werkzeug \
17"
diff --git a/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb b/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb
index 9ac321dec..a51ead3c8 100644
--- a/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb
@@ -2,7 +2,6 @@ DESCRIPTION = "Flexible and efficient upload handling for Flask"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://PKG-INFO;md5=b712ac634b39469660c9bdfb8d03421c" 3LIC_FILES_CHKSUM = "file://PKG-INFO;md5=b712ac634b39469660c9bdfb8d03421c"
4 4
5SRC_URI[md5sum] = "e5eee34aa92b64a4d22847672b3858a1"
6SRC_URI[sha256sum] = "53ecbd6033667d50ae02b63adebbaa33c7fc56c09e5293025810cf9d841ecb02" 5SRC_URI[sha256sum] = "53ecbd6033667d50ae02b63adebbaa33c7fc56c09e5293025810cf9d841ecb02"
7 6
8PYPI_PACKAGE = "Flask-Uploads" 7PYPI_PACKAGE = "Flask-Uploads"
diff --git a/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb b/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb
index ac449361a..65be459b7 100644
--- a/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb
@@ -6,7 +6,6 @@ HOMEPAGE = " https://github.com/lingthio/Flask-User"
6LICENSE = "BSD-2-Clause" 6LICENSE = "BSD-2-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a" 7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a"
8 8
9SRC_URI[md5sum] = "f7965e66ca139c8436896da07e66c21f"
10SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c83b302" 9SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c83b302"
11 10
12PYPI_PACKAGE = "Flask-User" 11PYPI_PACKAGE = "Flask-User"
diff --git a/meta-python/recipes-devtools/python/python-flask-xstatic/remove-pip-requires.patch b/meta-python/recipes-devtools/python/python3-flask-xstatic/remove-pip-requires.patch
index ba06d670e..ba06d670e 100644
--- a/meta-python/recipes-devtools/python/python-flask-xstatic/remove-pip-requires.patch
+++ b/meta-python/recipes-devtools/python/python3-flask-xstatic/remove-pip-requires.patch
diff --git a/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb b/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb
index 5412befdb..c4cad466a 100644
--- a/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb
@@ -1,2 +1,16 @@
1DESCRIPTION = "XStatic support for flask"
2LICENSE = "BSD-2-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=659968f6ebd4b70b6c3190d20b4a924c"
4
5SRC_URI[sha256sum] = "226ea8e97065a9488b59bfe5c94af4c6e2ea70a25052e301fb231a1381490133"
6
7SRC_URI += "file://remove-pip-requires.patch"
8
9PYPI_PACKAGE = "Flask-XStatic"
10
11RDEPENDS:${PN} += "\
12 python3-flask \
13 python3-xstatic \
14 "
15
1inherit pypi setuptools3 16inherit pypi setuptools3
2require python-flask-xstatic.inc
diff --git a/meta-python/recipes-devtools/python/python3-freezegun/1777174bb97c0b514033a09b820078b0d117f4a8.patch b/meta-python/recipes-devtools/python/python3-freezegun/1777174bb97c0b514033a09b820078b0d117f4a8.patch
new file mode 100644
index 000000000..4604da2b5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-freezegun/1777174bb97c0b514033a09b820078b0d117f4a8.patch
@@ -0,0 +1,37 @@
1From 1777174bb97c0b514033a09b820078b0d117f4a8 Mon Sep 17 00:00:00 2001
2From: Bert Blommers <info@bertblommers.nl>
3Date: Fri, 28 Jun 2024 19:21:04 +0000
4Subject: [PATCH] Admin: Support Python 3.13
5
6Upstream-Status: Backport [https://github.com/spulec/freezegun/pull/550]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 .github/workflows/ci.yaml | 9 ++++++---
10 tests/test_datetimes.py | 6 +++---
11 2 files changed, 9 insertions(+), 6 deletions(-)
12
13diff --git a/tests/test_datetimes.py b/tests/test_datetimes.py
14index a6f1989..b75ad3b 100644
15--- a/tests/test_datetimes.py
16+++ b/tests/test_datetimes.py
17@@ -534,17 +534,17 @@ def test_method_decorator_works_on_unittest(self) -> None:
18 @freeze_time('2013-04-09', as_kwarg='frozen_time')
19 def test_method_decorator_works_on_unittest_kwarg_frozen_time(self, frozen_time: Any) -> None:
20 self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today())
21- self.assertEqual(datetime.date(2013, 4, 9), frozen_time.time_to_freeze.today())
22+ assert frozen_time.time_to_freeze.today().strftime('%Y-%m-%d') == "2013-04-09"
23
24 @freeze_time('2013-04-09', as_kwarg='hello')
25 def test_method_decorator_works_on_unittest_kwarg_hello(self, **kwargs: Any) -> None:
26 self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today())
27- self.assertEqual(datetime.date(2013, 4, 9), kwargs.get('hello').time_to_freeze.today()) # type: ignore
28+ assert kwargs.get("hello").time_to_freeze.today().strftime('%Y-%m-%d') == "2013-04-09" # type: ignore
29
30 @freeze_time(lambda: datetime.date(year=2013, month=4, day=9), as_kwarg='frozen_time')
31 def test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func(self, frozen_time: Any) -> None:
32 self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today())
33- self.assertEqual(datetime.date(2013, 4, 9), frozen_time.time_to_freeze.today())
34+ assert frozen_time.time_to_freeze.today().strftime('%Y-%m-%d') == "2013-04-09"
35
36
37 @freeze_time('2013-04-09')
diff --git a/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb b/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
index 8b5750df4..431843bde 100644
--- a/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
@@ -9,6 +9,7 @@ inherit pypi python_setuptools_build_meta ptest
9 9
10SRC_URI += " \ 10SRC_URI += " \
11 file://run-ptest \ 11 file://run-ptest \
12 file://1777174bb97c0b514033a09b820078b0d117f4a8.patch \
12" 13"
13 14
14RDEPENDS:${PN}-ptest += " \ 15RDEPENDS:${PN}-ptest += " \
diff --git a/meta-python/recipes-devtools/python/python3-fsspec_2024.9.0.bb b/meta-python/recipes-devtools/python/python3-fsspec_2024.9.0.bb
index 49ca4b3e9..1073f9480 100644
--- a/meta-python/recipes-devtools/python/python3-fsspec_2024.9.0.bb
+++ b/meta-python/recipes-devtools/python/python3-fsspec_2024.9.0.bb
@@ -20,3 +20,5 @@ RDEPENDS:${PN}-ptest += "\
20 python3-numpy \ 20 python3-numpy \
21 python3-requests \ 21 python3-requests \
22" 22"
23
24BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb b/meta-python/recipes-devtools/python/python3-gcovr_8.2.bb
index 517124742..bbafa36ac 100644
--- a/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb
+++ b/meta-python/recipes-devtools/python/python3-gcovr_8.2.bb
@@ -2,10 +2,10 @@ DESCRIPTION = "generate GCC code coverage reports"
2HOMEPAGE = "https://gcovr.com" 2HOMEPAGE = "https://gcovr.com"
3SECTION = "devel/python" 3SECTION = "devel/python"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5a58ca91c1758a53f896ba89d8aaac2" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b307623752f2e1189349885b95b326e5"
6 6
7SRC_URI = "git://github.com/gcovr/gcovr.git;branch=main;protocol=https" 7SRC_URI = "git://github.com/gcovr/gcovr.git;branch=main;protocol=https"
8SRCREV = "c4b74b0859611283be646d590c7915e787911b6f" 8SRCREV = "045fb8d51806bd7f9e3df4e4edffa3bb816cf77f"
9 9
10S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
11 11
diff --git a/meta-python/recipes-devtools/python/python3-geojson/py3.13.patch b/meta-python/recipes-devtools/python/python3-geojson/py3.13.patch
new file mode 100644
index 000000000..45618fa6d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-geojson/py3.13.patch
@@ -0,0 +1,38 @@
1From c13afff339e6b78f442785cc95f0eb66ddab3e7b Mon Sep 17 00:00:00 2001
2From: Bas Couwenberg <sebastic@xs4all.nl>
3Date: Fri, 4 Oct 2024 16:18:34 +0200
4Subject: [PATCH] Don't fail with Python 3.13. (#228)
5
6Upstream-Status: Backport [https://github.com/jazzband/geojson/commit/c13afff339e6b78f442785cc95f0eb66ddab3e7b]
7Signed-off-by: Alexander Kanavin <alex@linutronix.de>
8---
9 .github/workflows/test.yml | 2 +-
10 README.rst | 2 +-
11 setup.py | 5 +++--
12 tox.ini | 2 +-
13 4 files changed, 6 insertions(+), 5 deletions(-)
14
15diff --git a/setup.py b/setup.py
16index 95b2823..004d3eb 100644
17--- a/setup.py
18+++ b/setup.py
19@@ -17,8 +17,8 @@
20
21
22 major_version, minor_version = sys.version_info[:2]
23-if not (major_version == 3 and 7 <= minor_version <= 12):
24- sys.stderr.write("Sorry, only Python 3.7 - 3.12 are "
25+if not (major_version == 3 and 7 <= minor_version <= 13):
26+ sys.stderr.write("Sorry, only Python 3.7 - 3.13 are "
27 "supported at this time.\n")
28 exit(1)
29
30@@ -53,6 +53,7 @@
31 "Programming Language :: Python :: 3.10",
32 "Programming Language :: Python :: 3.11",
33 "Programming Language :: Python :: 3.12",
34+ "Programming Language :: Python :: 3.13",
35 "Topic :: Scientific/Engineering :: GIS",
36 ]
37 )
38
diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb b/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb
index 742f921e5..36f5fa09e 100644
--- a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb
@@ -9,6 +9,7 @@ inherit pypi setuptools3 ptest
9 9
10SRC_URI += " \ 10SRC_URI += " \
11 file://run-ptest \ 11 file://run-ptest \
12 file://py3.13.patch \
12" 13"
13 14
14RDEPENDS:${PN}-ptest += " \ 15RDEPENDS:${PN}-ptest += " \
diff --git a/meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch b/meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch
deleted file mode 100644
index 1171322e2..000000000
--- a/meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch
+++ /dev/null
@@ -1,263 +0,0 @@
1From 43f132103cedfd92b85173bcdacfbabd5916d9fc Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Wed, 27 Dec 2023 14:52:16 +0100
4Subject: [PATCH] src: fix python 3.12 builds
5
6This is a backport for 3.1.x versions provided separately in https://github.com/aleaxit/gmpy/issues/446
7
8Upstream-Status: Inappropriate [can be dropped when 2.2.x is released]
9
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 src/gmpy2_convert.h | 21 +++++++
13 src/gmpy2_convert_gmp.c | 129 +++++++++++++-------------------------
14 src/gmpy2_convert_utils.c | 2 +-
15 3 files changed, 65 insertions(+), 87 deletions(-)
16
17diff --git a/src/gmpy2_convert.h b/src/gmpy2_convert.h
18index f887d47..3e8cb2b 100644
19--- a/src/gmpy2_convert.h
20+++ b/src/gmpy2_convert.h
21@@ -142,6 +142,27 @@ extern "C" {
22 #define IS_TYPE_COMPLEX_ONLY(x) ((x > OBJ_TYPE_REAL) && \
23 (x < OBJ_TYPE_COMPLEX))
24
25+/* Compatibility macros (to work with PyLongObject internals).
26+ */
27+
28+#if PY_VERSION_HEX >= 0x030C0000
29+# define TAG_FROM_SIGN_AND_SIZE(is_neg, size) ((is_neg?2:(size==0)) | (((size_t)size) << 3))
30+# define _PyLong_SetSignAndDigitCount(obj, is_neg, size) (obj->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(is_neg, size))
31+#elif PY_VERSION_HEX >= 0x030900A4
32+# define _PyLong_SetSignAndDigitCount(obj, is_neg, size) (Py_SET_SIZE(obj, (is_neg?-1:1)*size))
33+#else
34+# define _PyLong_SetSignAndDigitCount(obj, is_neg, size) (Py_SIZE(obj) = (is_neg?-1:1)*size)
35+#endif
36+
37+#if PY_VERSION_HEX >= 0x030C0000
38+# define GET_OB_DIGIT(obj) obj->long_value.ob_digit
39+# define _PyLong_IsNegative(obj) ((obj->long_value.lv_tag & 3) == 2)
40+# define _PyLong_DigitCount(obj) (obj->long_value.lv_tag >> 3)
41+#else
42+# define GET_OB_DIGIT(obj) obj->ob_digit
43+# define _PyLong_IsNegative(obj) (Py_SIZE(obj) < 0)
44+# define _PyLong_DigitCount(obj) (_PyLong_IsNegative(obj)? -Py_SIZE(obj):Py_SIZE(obj))
45+#endif
46
47 /* Since the macros are used in gmpy2's codebase, these functions are skipped
48 * until they are needed for the C API in the future.
49diff --git a/src/gmpy2_convert_gmp.c b/src/gmpy2_convert_gmp.c
50index cf0891e..8b8df81 100644
51--- a/src/gmpy2_convert_gmp.c
52+++ b/src/gmpy2_convert_gmp.c
53@@ -59,33 +59,24 @@ GMPy_MPZ_From_PyIntOrLong(PyObject *obj, CTXT_Object *context)
54 }
55 #endif
56
57- switch (Py_SIZE(templong)) {
58- case -1:
59- mpz_set_si(result->z, -(sdigit)templong->ob_digit[0]);
60+ len = _PyLong_DigitCount(templong);
61+ negative = _PyLong_IsNegative(templong);
62+
63+ switch (len) {
64+ case 1:
65+ mpz_set_si(result->z, (sdigit)GET_OB_DIGIT(templong)[0]);
66 break;
67 case 0:
68 mpz_set_si(result->z, 0);
69 break;
70- case 1:
71- mpz_set_si(result->z, templong->ob_digit[0]);
72- break;
73 default:
74- mpz_set_si(result->z, 0);
75-
76- if (Py_SIZE(templong) < 0) {
77- len = - Py_SIZE(templong);
78- negative = 1;
79- } else {
80- len = Py_SIZE(templong);
81- negative = 0;
82- }
83-
84- mpz_import(result->z, len, -1, sizeof(templong->ob_digit[0]), 0,
85- sizeof(templong->ob_digit[0])*8 - PyLong_SHIFT, templong->ob_digit);
86+ mpz_import(result->z, len, -1, sizeof(GET_OB_DIGIT(templong)[0]), 0,
87+ sizeof(GET_OB_DIGIT(templong)[0])*8 - PyLong_SHIFT,
88+ GET_OB_DIGIT(templong));
89+ }
90
91- if (negative) {
92- mpz_neg(result->z, result->z);
93- }
94+ if (negative) {
95+ mpz_neg(result->z, result->z);
96 }
97 return result;
98 }
99@@ -105,33 +96,24 @@ mpz_set_PyIntOrLong(mpz_t z, PyObject *obj)
100 }
101 #endif
102
103- switch (Py_SIZE(templong)) {
104- case -1:
105- mpz_set_si(z, -(sdigit)templong->ob_digit[0]);
106+ len = _PyLong_DigitCount(templong);
107+ negative = _PyLong_IsNegative(templong);
108+
109+ switch (len) {
110+ case 1:
111+ mpz_set_si(z, (sdigit)GET_OB_DIGIT(templong)[0]);
112 break;
113 case 0:
114 mpz_set_si(z, 0);
115 break;
116- case 1:
117- mpz_set_si(z, templong->ob_digit[0]);
118- break;
119 default:
120- mpz_set_si(z, 0);
121-
122- if (Py_SIZE(templong) < 0) {
123- len = - Py_SIZE(templong);
124- negative = 1;
125- } else {
126- len = Py_SIZE(templong);
127- negative = 0;
128- }
129-
130- mpz_import(z, len, -1, sizeof(templong->ob_digit[0]), 0,
131- sizeof(templong->ob_digit[0])*8 - PyLong_SHIFT, templong->ob_digit);
132+ mpz_import(z, len, -1, sizeof(GET_OB_DIGIT(templong)[0]), 0,
133+ sizeof(GET_OB_DIGIT(templong)[0])*8 - PyLong_SHIFT,
134+ GET_OB_DIGIT(templong));
135+ }
136
137- if (negative) {
138- mpz_neg(z, z);
139- }
140+ if (negative) {
141+ mpz_neg(z, z);
142 }
143 return;
144 }
145@@ -186,12 +168,7 @@ GMPy_PyLong_From_MPZ(MPZ_Object *obj, CTXT_Object *context)
146
147 /* Assume gmp uses limbs as least as large as the builtin longs do */
148
149- if (mpz_sgn(obj->z) < 0) {
150- negative = 1;
151- } else {
152- negative = 0;
153- }
154-
155+ negative = mpz_sgn(obj->z) < 0;
156 size = (mpz_sizeinbase(obj->z, 2) + PyLong_SHIFT - 1) / PyLong_SHIFT;
157
158 if (!(result = _PyLong_New(size))) {
159@@ -200,31 +177,20 @@ GMPy_PyLong_From_MPZ(MPZ_Object *obj, CTXT_Object *context)
160 /* LCOV_EXCL_STOP */
161 }
162
163- mpz_export(result->ob_digit, &count, -1, sizeof(result->ob_digit[0]), 0,
164- sizeof(result->ob_digit[0])*8 - PyLong_SHIFT, obj->z);
165+ mpz_export(GET_OB_DIGIT(result), &count, -1, sizeof(GET_OB_DIGIT(result)[0]), 0,
166+ sizeof(GET_OB_DIGIT(result)[0])*8 - PyLong_SHIFT, obj->z);
167
168 if (count == 0) {
169- result->ob_digit[0] = 0;
170+ GET_OB_DIGIT(result)[0] = 0;
171 }
172
173 /* long_normalize() is file-static so we must reimplement it */
174 /* longobjp = long_normalize(longobjp); */
175- while ((size>0) && (result->ob_digit[size-1] == 0)) {
176+ while ((size>0) && (GET_OB_DIGIT(result)[size-1] == 0)) {
177 size--;
178 }
179-#if PY_VERSION_HEX >= 0x030900A4
180- Py_SET_SIZE(result, size);
181-#else
182- Py_SIZE(result) = size;
183-#endif
184
185- if (negative) {
186-#if PY_VERSION_HEX >= 0x030900A4
187- Py_SET_SIZE(result, - Py_SIZE(result));
188-#else
189- Py_SIZE(result) = - Py_SIZE(result);
190-#endif
191- }
192+ _PyLong_SetSignAndDigitCount(result, negative, size);
193 return (PyObject*)result;
194 }
195
196@@ -476,33 +442,24 @@ GMPy_XMPZ_From_PyIntOrLong(PyObject *obj, CTXT_Object *context)
197 }
198 #endif
199
200- switch (Py_SIZE(templong)) {
201- case -1:
202- mpz_set_si(result->z, -(sdigit)templong->ob_digit[0]);
203+ len = _PyLong_DigitCount(templong);
204+ negative = _PyLong_IsNegative(templong);
205+
206+ switch (len) {
207+ case 1:
208+ mpz_set_si(result->z, (sdigit)GET_OB_DIGIT(templong)[0]);
209 break;
210 case 0:
211 mpz_set_si(result->z, 0);
212 break;
213- case 1:
214- mpz_set_si(result->z, templong->ob_digit[0]);
215- break;
216 default:
217- mpz_set_si(result->z, 0);
218-
219- if (Py_SIZE(templong) < 0) {
220- len = - Py_SIZE(templong);
221- negative = 1;
222- } else {
223- len = Py_SIZE(templong);
224- negative = 0;
225- }
226-
227- mpz_import(result->z, len, -1, sizeof(templong->ob_digit[0]), 0,
228- sizeof(templong->ob_digit[0])*8 - PyLong_SHIFT, templong->ob_digit);
229+ mpz_import(result->z, len, -1, sizeof(GET_OB_DIGIT(templong)[0]), 0,
230+ sizeof(GET_OB_DIGIT(templong)[0])*8 - PyLong_SHIFT,
231+ GET_OB_DIGIT(templong));
232+ }
233
234- if (negative) {
235- mpz_neg(result->z, result->z);
236- }
237+ if (negative) {
238+ mpz_neg(result->z, result->z);
239 }
240 return result;
241 }
242@@ -639,7 +596,7 @@ GMPy_MPQ_From_PyStr(PyObject *s, int base, CTXT_Object *context)
243 }
244
245 cp = PyBytes_AsString(ascii_str);
246-
247+
248 {
249 char *whereslash = strchr((char*)cp, '/');
250 char *wheredot = strchr((char*)cp, '.');
251diff --git a/src/gmpy2_convert_utils.c b/src/gmpy2_convert_utils.c
252index d676eaf..8908d17 100644
253--- a/src/gmpy2_convert_utils.c
254+++ b/src/gmpy2_convert_utils.c
255@@ -123,7 +123,7 @@ static unsigned long
256 GMPy_Integer_AsUnsignedLongWithType_v2(PyObject *x, int xtype)
257 {
258 if IS_TYPE_PyInteger(xtype) {
259- if (Py_SIZE(x) < 0) {
260+ if (_PyLong_IsNegative(((PyLongObject*)x))) {
261 VALUE_ERROR("n must be > 0");
262 return (unsigned long)-1;
263 }
diff --git a/meta-python/recipes-devtools/python/python3-gmpy2_2.1.5.bb b/meta-python/recipes-devtools/python/python3-gmpy2_2.2.1.bb
index d9e9bd50e..15599bfad 100644
--- a/meta-python/recipes-devtools/python/python3-gmpy2_2.1.5.bb
+++ b/meta-python/recipes-devtools/python/python3-gmpy2_2.2.1.bb
@@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
6 6
7DEPENDS += "gmp mpfr libmpc" 7DEPENDS += "gmp mpfr libmpc"
8 8
9PYPI_PACKAGE = "gmpy2" 9SRC_URI[sha256sum] = "e83e07567441b78cb87544910cb3cc4fe94e7da987e93ef7622e76fb96650432"
10SRC_URI[sha256sum] = "bc297f1fd8c377ae67a4f493fc0f926e5d1b157e5c342e30a4d84dc7b9f95d96"
11 10
12inherit pypi setuptools3 python3native 11inherit pypi python_setuptools_build_meta python3native
13SRC_URI += "file://0001-src-fix-python-3.12-builds.patch"
14 12
15BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-gnupg_0.5.2.bb b/meta-python/recipes-devtools/python/python3-gnupg_0.5.3.bb
index b69e2c465..8c231dce1 100644
--- a/meta-python/recipes-devtools/python/python3-gnupg_0.5.2.bb
+++ b/meta-python/recipes-devtools/python/python3-gnupg_0.5.3.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dabe659eadd6d97325b1582e41cfc11" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dabe659eadd6d97325b1582e41cfc11"
5 5
6PYPI_PACKAGE = "python-gnupg" 6PYPI_PACKAGE = "python-gnupg"
7SRC_URI[sha256sum] = "01d8013931c9fa3f45824bbea7054c03d6e11f258a72e7e086e168dbcb91854c" 7SRC_URI[sha256sum] = "290d8ddb9cd63df96cfe9284b9b265f19fd6e145e5582dc58fd7271f026d0a47"
8 8
9inherit pypi python_setuptools_build_meta 9inherit pypi python_setuptools_build_meta
10 10
diff --git a/meta-python/recipes-devtools/python/python3-google-auth_2.30.0.bb b/meta-python/recipes-devtools/python/python3-google-auth_2.35.0.bb
index c51be1650..f0ef3c677 100644
--- a/meta-python/recipes-devtools/python/python3-google-auth_2.30.0.bb
+++ b/meta-python/recipes-devtools/python/python3-google-auth_2.35.0.bb
@@ -5,21 +5,23 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
5 5
6inherit pypi setuptools3 ptest 6inherit pypi setuptools3 ptest
7 7
8SRC_URI[sha256sum] = "ab630a1320f6720909ad76a7dbdb6841cdf5c66b328d690027e4867bdfb16688" 8SRC_URI[sha256sum] = "f4c64ed4e01e8e8b646ef34c018f8bf3338df0c8e37d8b3bba40e7f574a3278a"
9
10SRC_URI += " \ 9SRC_URI += " \
11 file://run-ptest \ 10 file://run-ptest \
12" 11"
13 12
13PYPI_PACKAGE = "google_auth"
14
14RDEPENDS:${PN}-ptest += " \ 15RDEPENDS:${PN}-ptest += " \
16 python3-aioresponses \
15 python3-cryptography \ 17 python3-cryptography \
16 python3-flask \ 18 python3-flask \
17 python3-freezegun \ 19 python3-freezegun \
18 python3-grpcio \ 20 python3-grpcio \
19 python3-mock \ 21 python3-mock \
20 python3-oauth2client \
21 python3-pyopenssl \ 22 python3-pyopenssl \
22 python3-pytest \ 23 python3-pytest \
24 python3-pytest-asyncio \
23 python3-pytest-localserver \ 25 python3-pytest-localserver \
24 python3-pyu2f \ 26 python3-pyu2f \
25 python3-requests \ 27 python3-requests \
diff --git a/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb b/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb
index 50c1ebd15..e3da33a23 100644
--- a/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb
@@ -2,7 +2,6 @@ DESCRIPTION = "This is a library for polling gpsd in Python3"
2HOMEPAGE = "https://github.com/MartijnBraam/gpsd-py3" 2HOMEPAGE = "https://github.com/MartijnBraam/gpsd-py3"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://setup.py;beginline=10;endline=10;md5=c2d9994c57f0444e39f1dab19af50254" 4LIC_FILES_CHKSUM = "file://setup.py;beginline=10;endline=10;md5=c2d9994c57f0444e39f1dab19af50254"
5SRC_URI[md5sum] = "041ce56e8879e2104b4d54c8119cd529"
6SRC_URI[sha256sum] = "2908d3bd78dfb6720ecfe22f97e139b5a4a198f38df3a77215cf644a33513192" 5SRC_URI[sha256sum] = "2908d3bd78dfb6720ecfe22f97e139b5a4a198f38df3a77215cf644a33513192"
7 6
8PYPI_PACKAGE = "gpsd-py3" 7PYPI_PACKAGE = "gpsd-py3"
diff --git a/meta-python/recipes-devtools/python/python3-greenlet_3.0.3.bb b/meta-python/recipes-devtools/python/python3-greenlet_3.1.1.bb
index a79db0049..c7a38b9a1 100644
--- a/meta-python/recipes-devtools/python/python3-greenlet_3.0.3.bb
+++ b/meta-python/recipes-devtools/python/python3-greenlet_3.1.1.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT & PSF-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=e95668d68e4329085c7ab3535e6a7aee \ 4LIC_FILES_CHKSUM = "file://LICENSE;md5=e95668d68e4329085c7ab3535e6a7aee \
5 file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" 5 file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a"
6 6
7SRC_URI[sha256sum] = "43374442353259554ce33599da8b692d5aa96f8976d567d4badf263371fbe491" 7SRC_URI[sha256sum] = "4ce3ac6cdb6adf7946475d7ef31777c26d94bccc377e070a7986bd2d5c515467"
8 8
9inherit pypi python_setuptools_build_meta 9inherit pypi python_setuptools_build_meta
10 10
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.62.2.bb b/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.66.2.bb
index ed5ede425..dce7737b2 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.62.2.bb
+++ b/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.66.2.bb
@@ -8,8 +8,9 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62
8inherit pypi setuptools3 8inherit pypi setuptools3
9 9
10DEPENDS += "python3-grpcio" 10DEPENDS += "python3-grpcio"
11PYPI_PACKAGE = "grpcio_channelz"
11 12
12SRC_URI[sha256sum] = "6e4ac2c43d76b245c5f66d98f523db08786b186128a655ee6f20a30a7e68e4f9" 13SRC_URI[sha256sum] = "4904c7837523436624895d9062694f290b7f33383b296a1ec7c497b6e4c7ed19"
13 14
14RDEPENDS:${PN} = "python3-grpcio" 15RDEPENDS:${PN} = "python3-grpcio"
15 16
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.62.2.bb b/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.66.2.bb
index 478c5b33e..c89d69bbd 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.62.2.bb
+++ b/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.66.2.bb
@@ -8,8 +8,9 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62
8inherit pypi setuptools3 8inherit pypi setuptools3
9 9
10DEPENDS += "python3-grpcio" 10DEPENDS += "python3-grpcio"
11PYPI_PACKAGE = "grpcio_reflection"
11 12
12SRC_URI[sha256sum] = "2dd44806d68d0006636529bda573012b19a42281478c2d051cdaaebb91e2516c" 13SRC_URI[sha256sum] = "add827e2deb56e96803c82ace1d4e77fa0c8ec3747d6398e9951f739d71067d4"
13 14
14RDEPENDS:${PN} = "python3-grpcio" 15RDEPENDS:${PN} = "python3-grpcio"
15 16
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.66.2.bb
index e05b8734d..6765bed04 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb
+++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.66.2.bb
@@ -7,12 +7,14 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62
7 7
8inherit pypi setuptools3 8inherit pypi setuptools3
9 9
10PYPI_PACKAGE = "grpcio_tools"
11
10DEPENDS += "python3-grpcio" 12DEPENDS += "python3-grpcio"
11 13
12SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ 14SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \
13 file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ 15 file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \
14 " 16 "
15SRC_URI[sha256sum] = "5fd5e1582b678e6b941ee5f5809340be5e0724691df5299aae8226640f94e18f" 17SRC_URI[sha256sum] = "4a36e07913d26ba5ccfd2685ba63ca97f26b08c249d2cc9e74dda37efa49d7e4"
16 18
17RDEPENDS:${PN} = "python3-grpcio" 19RDEPENDS:${PN} = "python3-grpcio"
18 20
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch
index 5cd94dee9..a2bd294a0 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch
+++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch
@@ -1,4 +1,4 @@
1From 252aa78526287fe033c5656cd166e551fa5daa88 Mon Sep 17 00:00:00 2001 1From 0760579b4890b48ea3ab36e48f1f6fb3e7ed05f5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 30 Jan 2023 10:31:10 -0800 3Date: Mon, 30 Jan 2023 10:31:10 -0800
4Subject: [PATCH] Include missing <cstdint> header 4Subject: [PATCH] Include missing <cstdint> header
@@ -11,7 +11,6 @@ int32_t.
11 11
12Upstream-Status: Submitted [https://code-review.googlesource.com/c/re2/+/60970] 12Upstream-Status: Submitted [https://code-review.googlesource.com/c/re2/+/60970]
13Signed-off-by: Khem Raj <raj.khem@gmail.com> 13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14
15--- 14---
16 third_party/re2/util/pcre.h | 1 + 15 third_party/re2/util/pcre.h | 1 +
17 1 file changed, 1 insertion(+) 16 1 file changed, 1 insertion(+)
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
index 82f15f88c..63ec2e23d 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
+++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
@@ -1,4 +1,4 @@
1From 7335a36d0b5c1c597566f9aa3f458a5b6817c3b4 Mon Sep 17 00:00:00 2001 1From ee0e37b02d0d28279e103653688bf7203275ec47 Mon Sep 17 00:00:00 2001
2From: aurel32 <aurelien@aurel32.net> 2From: aurel32 <aurelien@aurel32.net>
3Date: Fri, 22 Mar 2024 14:21:13 -0700 3Date: Fri, 22 Mar 2024 14:21:13 -0700
4Subject: [PATCH] PR #1644: unscaledcycleclock: remove RISC-V support 4Subject: [PATCH] PR #1644: unscaledcycleclock: remove RISC-V support
@@ -77,6 +77,3 @@ index 5e232c1..83552fc 100644
77 #define ABSL_INTERNAL_UNSCALED_CYCLECLOCK_FREQUENCY_IS_CPU_FREQUENCY 77 #define ABSL_INTERNAL_UNSCALED_CYCLECLOCK_FREQUENCY_IS_CPU_FREQUENCY
78 #endif 78 #endif
79 #endif 79 #endif
80--
812.44.0
82
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch
index d830d9228..ff5a8f298 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch
+++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch
@@ -1,4 +1,4 @@
1From 3359a87a71307336100b84e66b69bad385cd3cfc Mon Sep 17 00:00:00 2001 1From eee5daeb5b53b0c4a013aa5887a726434ec81600 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com> 2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Mon, 6 May 2024 01:36:39 +0200 3Date: Mon, 6 May 2024 01:36:39 +0200
4Subject: [PATCH] crypto: use _Generic only if !defined(__cplusplus) 4Subject: [PATCH] crypto: use _Generic only if !defined(__cplusplus)
@@ -43,18 +43,17 @@ third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in
43 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); 43 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
44 | ^~~~~~~~~~~~~~~~~~~ 44 | ^~~~~~~~~~~~~~~~~~~
45 45
46Upstream-Status: Submitted [https://boringssl-review.googlesource.com/c/boringssl/+/68227 crypto: use _Generic only if !defined(__cplusplus)]
46Signed-off-by: Martin Jansa <martin.jansa@gmail.com> 47Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
47--- 48---
48Upstream-Status: Submitted [https://boringssl-review.googlesource.com/c/boringssl/+/68227 crypto: use _Generic only if !defined(__cplusplus)]
49
50 crypto/internal.h | 4 ++-- 49 crypto/internal.h | 4 ++--
51 1 file changed, 2 insertions(+), 2 deletions(-) 50 1 file changed, 2 insertions(+), 2 deletions(-)
52 51
53diff --git a/crypto/internal.h b/crypto/internal.h 52diff --git a/crypto/internal.h b/crypto/internal.h
54index a77102d76..30d6826dd 100644 53index f93c2e5..2fca2fb 100644
55--- a/crypto/internal.h 54--- a/crypto/internal.h
56+++ b/crypto/internal.h 55+++ b/crypto/internal.h
57@@ -1176,7 +1176,7 @@ static inline uint64_t CRYPTO_rotr_u64(uint64_t value, int shift) { 56@@ -1193,7 +1193,7 @@ static inline uint64_t CRYPTO_rotr_u64(uint64_t value, int shift) {
58 57
59 // CRYPTO_addc_* returns |x + y + carry|, and sets |*out_carry| to the carry 58 // CRYPTO_addc_* returns |x + y + carry|, and sets |*out_carry| to the carry
60 // bit. |carry| must be zero or one. 59 // bit. |carry| must be zero or one.
@@ -63,7 +62,7 @@ index a77102d76..30d6826dd 100644
63 62
64 #define CRYPTO_GENERIC_ADDC(x, y, carry, out_carry) \ 63 #define CRYPTO_GENERIC_ADDC(x, y, carry, out_carry) \
65 (_Generic((x), \ 64 (_Generic((x), \
66@@ -1228,7 +1228,7 @@ static inline uint64_t CRYPTO_addc_u64(uint64_t x, uint64_t y, uint64_t carry, 65@@ -1245,7 +1245,7 @@ static inline uint64_t CRYPTO_addc_u64(uint64_t x, uint64_t y, uint64_t carry,
67 66
68 // CRYPTO_subc_* returns |x - y - borrow|, and sets |*out_borrow| to the borrow 67 // CRYPTO_subc_* returns |x - y - borrow|, and sets |*out_borrow| to the borrow
69 // bit. |borrow| must be zero or one. 68 // bit. |borrow| must be zero or one.
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch
index 0b512b1d0..39f9fafba 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch
+++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch
@@ -1,4 +1,4 @@
1From b3bca013007a4a66703573d243e433f22e1e6684 Mon Sep 17 00:00:00 2001 1From e2c78c555ab3d9509c4ade511e2f711eb7188626 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Wed, 15 May 2024 16:55:09 +0800 3Date: Wed, 15 May 2024 16:55:09 +0800
4Subject: [PATCH] target.h: define proper macro for ppc/ppc64 4Subject: [PATCH] target.h: define proper macro for ppc/ppc64
@@ -18,7 +18,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
18 1 file changed, 4 insertions(+) 18 1 file changed, 4 insertions(+)
19 19
20diff --git a/third_party/boringssl-with-bazel/src/include/openssl/target.h b/third_party/boringssl-with-bazel/src/include/openssl/target.h 20diff --git a/third_party/boringssl-with-bazel/src/include/openssl/target.h b/third_party/boringssl-with-bazel/src/include/openssl/target.h
21index 29b1dc6..d779813 100644 21index 2760f52..e743402 100644
22--- a/third_party/boringssl-with-bazel/src/include/openssl/target.h 22--- a/third_party/boringssl-with-bazel/src/include/openssl/target.h
23+++ b/third_party/boringssl-with-bazel/src/include/openssl/target.h 23+++ b/third_party/boringssl-with-bazel/src/include/openssl/target.h
24@@ -54,6 +54,10 @@ 24@@ -54,6 +54,10 @@
@@ -32,6 +32,3 @@ index 29b1dc6..d779813 100644
32 #else 32 #else
33 // The list above enumerates the platforms that BoringSSL supports. For these 33 // The list above enumerates the platforms that BoringSSL supports. For these
34 // platforms we keep a reasonable bar of not breaking them: automated test 34 // platforms we keep a reasonable bar of not breaking them: automated test
35--
362.25.1
37
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch
index 34ef7874e..584723e6d 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch
+++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch
@@ -1,4 +1,4 @@
1From 671618df3e48619f0c7a5a3acd8982374a5e43db Mon Sep 17 00:00:00 2001 1From f84421d8ee06890e2c98c0f7c9ec6c73f88e77c3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 12 Feb 2023 21:25:04 -0800 3Date: Sun, 12 Feb 2023 21:25:04 -0800
4Subject: [PATCH] zlib: Include unistd.h for open/close C APIs 4Subject: [PATCH] zlib: Include unistd.h for open/close C APIs
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch b/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch
index f39a9616d..1daebfa19 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch
+++ b/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch
@@ -1,4 +1,4 @@
1From 102dcce6610e6606fffd3a4986f84eb52177f8c8 Mon Sep 17 00:00:00 2001 1From a2ec96a96ff7ba016e800212a942b9f29f255415 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 13 Mar 2021 10:26:25 -0800 3Date: Sat, 13 Mar 2021 10:26:25 -0800
4Subject: [PATCH] An all-in-one patch that fixes several issues: 4Subject: [PATCH] An all-in-one patch that fixes several issues:
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.66.1.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.66.2.bb
index fb91f345b..7c5176736 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio_1.66.1.bb
+++ b/meta-python/recipes-devtools/python/python3-grpcio_1.66.2.bb
@@ -13,7 +13,7 @@ SRC_URI += "file://0001-Include-missing-cstdint-header.patch \
13 file://0001-target.h-define-proper-macro-for-ppc-ppc64.patch \ 13 file://0001-target.h-define-proper-macro-for-ppc-ppc64.patch \
14 file://0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch \ 14 file://0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch \
15 " 15 "
16SRC_URI[sha256sum] = "35334f9c9745add3e357e3372756fd32d925bd52c41da97f4dfdafbde0bf0ee2" 16SRC_URI[sha256sum] = "563588c587b75c34b928bc428548e5b00ea38c46972181a4d8b75ba7e3f24231"
17 17
18RDEPENDS:${PN} = "python3-protobuf" 18RDEPENDS:${PN} = "python3-protobuf"
19 19
diff --git a/meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb b/meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb
index 8d825c865..3c819a934 100644
--- a/meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb
@@ -11,9 +11,11 @@ SRC_URI += " \
11 file://run-ptest \ 11 file://run-ptest \
12" 12"
13 13
14# python-misc for wsgiref
14RDEPENDS:${PN}-ptest += " \ 15RDEPENDS:${PN}-ptest += " \
15 python3-eventlet \ 16 python3-eventlet \
16 python3-gevent \ 17 python3-gevent \
18 python3-misc \
17 python3-pytest \ 19 python3-pytest \
18 python3-unittest-automake-output \ 20 python3-unittest-automake-output \
19" 21"
diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
index 0b8555734..de2f09ec8 100644
--- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
+++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
@@ -1,4 +1,4 @@
1From 6f8cee826ef9309c174aa97cb6af2ba532ed9dba Mon Sep 17 00:00:00 2001 1From 59d1cc34739a18a32d3250973af2357c41d8d156 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Thu, 28 Jan 2021 18:44:10 -0800 3Date: Thu, 28 Jan 2021 18:44:10 -0800
4Subject: [PATCH] setup_build.py: avoid absolute path 4Subject: [PATCH] setup_build.py: avoid absolute path
@@ -9,16 +9,15 @@ Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803]
9 9
10Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 10Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
11Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> 11Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
12
13--- 12---
14 setup_build.py | 2 +- 13 setup_build.py | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
16 15
17diff --git a/setup_build.py b/setup_build.py 16diff --git a/setup_build.py b/setup_build.py
18index 78c6677..64db7f7 100644 17index a041fa6..4d44215 100644
19--- a/setup_build.py 18--- a/setup_build.py
20+++ b/setup_build.py 19+++ b/setup_build.py
21@@ -21,7 +21,7 @@ from setup_configure import BuildConfig 20@@ -20,7 +20,7 @@ from setup_configure import BuildConfig
22 21
23 22
24 def localpath(*args): 23 def localpath(*args):
diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb
index 1cf5f5638..a84dd2882 100644
--- a/meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb
+++ b/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c"
6 6
7SRC_URI[sha256sum] = "7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9" 7SRC_URI[sha256sum] = "326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13dbbcbfdf"
8 8
9SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch" 9SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch"
10 10
diff --git a/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb b/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb
index 4a7ce1e5b..55f4c8b0a 100644
--- a/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb
+++ b/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb
@@ -12,13 +12,13 @@ SRC_URI += " \
12 file://run-ptest \ 12 file://run-ptest \
13" 13"
14 14
15RDEPENDS:${PN} += "python3-html"
16
15RDEPENDS:${PN}-ptest += " \ 17RDEPENDS:${PN}-ptest += " \
16 python3-pytest \ 18 python3-pytest \
17 python3-unittest-automake-output \ 19 python3-unittest-automake-output \
18" 20"
19 21
20RDEPENDS:${PN} += "python3-cgitb"
21
22do_install_ptest() { 22do_install_ptest() {
23 install -d ${D}${PTEST_PATH}/test 23 install -d ${D}${PTEST_PATH}/test
24 cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ 24 cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
diff --git a/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb b/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb
index d6272a07c..94fbe0455 100644
--- a/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb
@@ -2,7 +2,6 @@ SUMMARY = "HTML parser based on the WHATWG HTML specifcation"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c"
4 4
5SRC_URI[md5sum] = "6748742e2ec4cb99287a6bc82bcfe2b0"
6SRC_URI[sha256sum] = "b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f" 5SRC_URI[sha256sum] = "b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f"
7 6
8inherit pypi setuptools3 7inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-httpcore_1.0.5.bb b/meta-python/recipes-devtools/python/python3-httpcore_1.0.6.bb
index 6b0f8af4d..43c5629a2 100644
--- a/meta-python/recipes-devtools/python/python3-httpcore_1.0.5.bb
+++ b/meta-python/recipes-devtools/python/python3-httpcore_1.0.6.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1c1f23b073da202e1f4f9e426490210c"
5 5
6inherit pypi python_hatchling 6inherit pypi python_hatchling
7 7
8SRC_URI[sha256sum] = "34a38e2f9291467ee3b44e89dd52615370e152954ba21721378a87b2960f7a61" 8SRC_URI[sha256sum] = "73f6dbd6eb8c21bbf7ef8efad555481853f5f6acdeaff1edb0694289269ee17f"
9 9
10DEPENDS += "\ 10DEPENDS += "\
11 python3-hatch-fancy-pypi-readme-native \ 11 python3-hatch-fancy-pypi-readme-native \
diff --git a/meta-python/recipes-devtools/python/python3-httptools_0.6.1.bb b/meta-python/recipes-devtools/python/python3-httptools_0.6.2.bb
index 4192697df..73378baff 100644
--- a/meta-python/recipes-devtools/python/python3-httptools_0.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-httptools_0.6.2.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e"
5 5
6inherit pypi setuptools3 ptest 6inherit pypi setuptools3 ptest
7 7
8SRC_URI[sha256sum] = "c6e26c30455600b95d94b1b836085138e82f177351454ee841c148f93a9bad5a" 8SRC_URI[sha256sum] = "ae694efefcb61317c79b2fa1caebc122060992408e389bb00889567e463a47f1"
9 9
10SRC_URI += " \ 10SRC_URI += " \
11 file://run-ptest \ 11 file://run-ptest \
diff --git a/meta-python/recipes-devtools/python/python3-huey_2.5.1.bb b/meta-python/recipes-devtools/python/python3-huey_2.5.2.bb
index 471fd6cc2..7829555b9 100644
--- a/meta-python/recipes-devtools/python/python3-huey_2.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-huey_2.5.2.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5cac039fcc82f01141cc170b48f315d4"
5 5
6PYPI_PACKAGE = "huey" 6PYPI_PACKAGE = "huey"
7 7
8SRC_URI[sha256sum] = "8a323783ab434a095a4e72b8c48c5b8f957f9031fa860474a390a0927e957112" 8SRC_URI[sha256sum] = "df33db474c05414ed40ee2110e9df692369871734da22d74ffb035a4bd74047f"
9 9
10RDEPENDS:${PN} += " \ 10RDEPENDS:${PN} += " \
11 python3-datetime \ 11 python3-datetime \
diff --git a/meta-python/recipes-devtools/python/python3-humanize_4.10.0.bb b/meta-python/recipes-devtools/python/python3-humanize_4.11.0.bb
index a8668e148..ede3dc417 100644
--- a/meta-python/recipes-devtools/python/python3-humanize_4.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-humanize_4.11.0.bb
@@ -5,7 +5,7 @@ SECTION = "devel/python"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d" 6LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d"
7 7
8SRC_URI[sha256sum] = "06b6eb0293e4b85e8d385397c5868926820db32b9b654b932f57fa41c23c9978" 8SRC_URI[sha256sum] = "e66f36020a2d5a974c504bd2555cf770621dbdbb6d82f94a6857c0b1ea2608be"
9 9
10inherit pypi python_hatchling 10inherit pypi python_hatchling
11 11
diff --git a/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb b/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb
index 9fbd5157a..7804152d9 100644
--- a/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb
@@ -4,12 +4,12 @@ LICENSE = "LGPL-2.1-or-later"
4SECTION = "devel/python" 4SECTION = "devel/python"
5LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 5LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
6 6
7inherit setuptools3 pypi 7inherit python_setuptools_build_meta pypi
8 8
9SRC_URI += "file://0001-Do-not-override-const-qualifier.patch" 9SRC_URI += "file://0001-Do-not-override-const-qualifier.patch"
10SRC_URI[sha256sum] = "3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d" 10SRC_URI[sha256sum] = "3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d"
11 11
12PYPI_PACKAGE = "inflate64" 12DEPENDS += "python3-setuptools-scm-native"
13 13
14RDEPENDS:${PN} += "\ 14RDEPENDS:${PN} += "\
15 python3-core \ 15 python3-core \
diff --git a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
index 5c6f4e235..ba1d0ec53 100644
--- a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
@@ -4,7 +4,6 @@ LICENSE = "MIT"
4SECTION = "devel/python" 4SECTION = "devel/python"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=2fb6fa1a6f1792d78de19ad1bb653c31" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=2fb6fa1a6f1792d78de19ad1bb653c31"
6 6
7SRC_URI[md5sum] = "c3287d4f0e3bdf625a52d655cc514403"
8SRC_URI[sha256sum] = "1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417" 7SRC_URI[sha256sum] = "1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417"
9 8
10inherit pypi setuptools3 ptest 9inherit pypi setuptools3 ptest
diff --git a/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb b/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb
index 796213fc6..643878934 100644
--- a/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb
+++ b/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/phihag/ipaddress"
3LICENSE = "Python-2.0" 3LICENSE = "Python-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=7f538584cc3407bf76042def7168548a" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=7f538584cc3407bf76042def7168548a"
5 5
6SRC_URI[md5sum] = "aaee67a8026782af1831148beb0d9060"
7SRC_URI[sha256sum] = "b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2" 6SRC_URI[sha256sum] = "b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2"
8 7
9inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb
index 36d0b9ae2..6e65d622a 100644
--- a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb
+++ b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb
@@ -9,7 +9,6 @@ HOMEPAGE = "https://github.com/autocracy/python-ipy"
9LICENSE = "BSD-3-Clause" 9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6" 10LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6"
11 11
12SRC_URI[md5sum] = "d6cf83e7f418ebbd23324ba1c658b907"
13SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a" 12SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a"
14 13
15inherit pypi setuptools3_legacy ptest 14inherit pypi setuptools3_legacy ptest
diff --git a/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb b/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb
index 3261d8047..2a25d1d91 100644
--- a/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb
@@ -8,7 +8,6 @@ PYPI_PACKAGE = "ipython_genutils"
8UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ipython_genutils" 8UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ipython_genutils"
9UPSTREAM_CHECK_REGEX = "/ipython_genutils/(?P<pver>(\d+[\.\-_]*)+)" 9UPSTREAM_CHECK_REGEX = "/ipython_genutils/(?P<pver>(\d+[\.\-_]*)+)"
10 10
11SRC_URI[md5sum] = "5a4f9781f78466da0ea1a648f3e1f79f"
12SRC_URI[sha256sum] = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8" 11SRC_URI[sha256sum] = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8"
13 12
14inherit setuptools3 pypi 13inherit setuptools3 pypi
diff --git a/meta-python/recipes-devtools/python/python3-ipython_8.27.0.bb b/meta-python/recipes-devtools/python/python3-ipython_8.28.0.bb
index 94e731b88..f290971cb 100644
--- a/meta-python/recipes-devtools/python/python3-ipython_8.27.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ipython_8.28.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://ipython.org"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f" 4LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f"
5 5
6SRC_URI[sha256sum] = "0b99a2dc9f15fd68692e898e5568725c6d49c527d36a9fb5960ffbdeaa82ff7e" 6SRC_URI[sha256sum] = "0d0d15ca1e01faeb868ef56bc7ee5a0de5bd66885735682e8a322ae289a13d1a"
7 7
8RDEPENDS:${PN} = "\ 8RDEPENDS:${PN} = "\
9 python3-setuptools \ 9 python3-setuptools \
diff --git a/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb b/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb
index afabe14a8..d20c9ad42 100644
--- a/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bd236e1f590973467a427bb354be0f46"
9 9
10inherit pypi setuptools3 ptest 10inherit pypi setuptools3 ptest
11 11
12SRC_URI[md5sum] = "e05bdb60fa80f25bc60e73e0c6b7c5dc"
13SRC_URI[sha256sum] = "472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8" 12SRC_URI[sha256sum] = "472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8"
14 13
15RDEPENDS:${PN} += "python3-compression python3-io python3-pprint python3-shell" 14RDEPENDS:${PN} += "python3-compression python3-io python3-pprint python3-shell"
diff --git a/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb b/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb
index b9c1c4e38..c3c39ad38 100644
--- a/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb
@@ -2,7 +2,6 @@ DESCRIPTION = "Kconfiglib is a Kconfig implementation in Python"
2LICENSE = "ISC" 2LICENSE = "ISC"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=712177a72a3937909543eda3ad1bfb7c" 3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=712177a72a3937909543eda3ad1bfb7c"
4 4
5SRC_URI[md5sum] = "4ad68618824d4bad1d1de1d7eb838bba"
6SRC_URI[sha256sum] = "bed2cc2216f538eca4255a83a4588d8823563cdd50114f86cf1a2674e602c93c" 5SRC_URI[sha256sum] = "bed2cc2216f538eca4255a83a4588d8823563cdd50114f86cf1a2674e602c93c"
7 6
8inherit pypi setuptools3 7inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb b/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb
index 749b6c8c9..5a2d7d950 100644
--- a/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1744b320500cc2e3112964d00cce7aa4"
6 6
7inherit pypi setuptools3 7inherit pypi setuptools3
8 8
9SRC_URI[md5sum] = "d2a0e10437cfa5c2d09458a84fb58d05"
10SRC_URI[sha256sum] = "add82567c50c8bc648c14195bf544a5ce7c1f76761536956c3d2978970179ef3" 9SRC_URI[sha256sum] = "add82567c50c8bc648c14195bf544a5ce7c1f76761536956c3d2978970179ef3"
11 10
12PYPI_PACKAGE = "Keras_Preprocessing" 11PYPI_PACKAGE = "Keras_Preprocessing"
diff --git a/meta-python/recipes-devtools/python/python3-libconf_2.0.1.bb b/meta-python/recipes-devtools/python/python3-libconf_2.0.1.bb
index 80bc59d97..a4ee7bddd 100644
--- a/meta-python/recipes-devtools/python/python3-libconf_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-libconf_2.0.1.bb
@@ -5,7 +5,6 @@ LICENSE = "MIT"
5 5
6LIC_FILES_CHKSUM = "file://LICENSE;md5=05f696c084eaaf5d75bc150f70975758" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=05f696c084eaaf5d75bc150f70975758"
7 7
8SRC_URI[md5sum] = "e212611cbf6a696e05742a983b3a0c57"
9SRC_URI[sha256sum] = "2f907258953ba60a95a82d5633726b47c81f2d5cf8d8801b092579016d757f4a" 8SRC_URI[sha256sum] = "2f907258953ba60a95a82d5633726b47c81f2d5cf8d8801b092579016d757f4a"
10 9
11inherit pypi setuptools3 10inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-libevdev_0.11.bb b/meta-python/recipes-devtools/python/python3-libevdev_0.11.bb
index 5ad2a5995..8c05df38e 100644
--- a/meta-python/recipes-devtools/python/python3-libevdev_0.11.bb
+++ b/meta-python/recipes-devtools/python/python3-libevdev_0.11.bb
@@ -5,7 +5,6 @@ SECTION = "devel/python"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d94c10c546b419eddc6296157ec40747" 6LIC_FILES_CHKSUM = "file://COPYING;md5=d94c10c546b419eddc6296157ec40747"
7 7
8SRC_URI[md5sum] = "34b48098c1fba26de79a0d67a17a588a"
9SRC_URI[sha256sum] = "e9ca006a4df2488a60bd9a740011ee948d81904be2364f017e560169508f560f" 8SRC_URI[sha256sum] = "e9ca006a4df2488a60bd9a740011ee948d81904be2364f017e560169508f560f"
10 9
11inherit pypi setuptools3 10inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb b/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb
index af738e08e..37025cb4d 100644
--- a/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb
+++ b/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb
@@ -6,7 +6,6 @@ HOMEPAGE = "https://pypi.org/project/lockfile/"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=2340dffbbfea534b58f1349984eeef72" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=2340dffbbfea534b58f1349984eeef72"
8 8
9SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9"
10SRC_URI[sha256sum] = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799" 9SRC_URI[sha256sum] = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"
11 10
12inherit pypi setuptools3 11inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-lorem_0.1.1.bb b/meta-python/recipes-devtools/python/python3-lorem_0.1.1.bb
index 97b3e7236..288ce0c84 100644
--- a/meta-python/recipes-devtools/python/python3-lorem_0.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-lorem_0.1.1.bb
@@ -2,7 +2,6 @@ DESCRIPTION = "Generator for random text that looks like Latin"
2HOMEPAGE = "https://github.com/sfischer13/python-lorem" 2HOMEPAGE = "https://github.com/sfischer13/python-lorem"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5301c01b2bcdeedba23645f94db2f179" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=5301c01b2bcdeedba23645f94db2f179"
5SRC_URI[md5sum] = "e3f0064a94c13e19780eb724affdb426"
6SRC_URI[sha256sum] = "785f4109a241fc2891e59705e85d065f6e6d3ed6ad91750a8cb54d4f3e59d934" 5SRC_URI[sha256sum] = "785f4109a241fc2891e59705e85d065f6e6d3ed6ad91750a8cb54d4f3e59d934"
7 6
8SRC_URI += "\ 7SRC_URI += "\
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-address-openssl-3.x-build-issue.patch b/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-address-openssl-3.x-build-issue.patch
deleted file mode 100644
index c67e50803..000000000
--- a/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-address-openssl-3.x-build-issue.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 0d824e5c2ab13e761ffaeabdccf9513d5b8f280d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 8 Oct 2021 11:18:35 +0200
4Subject: [PATCH] setup.py: address openssl 3.x build issue
5
6swig throws:
7| /home/alex/development/poky/build-metaoe/tmp/work/x86_64-linux/python3-m2crypto-native/0.38.0-r0/recipe-sysroot-native/usr/include/openssl/macros.h:155: Error: CPP #error ""OPENSSL_API_COMPAT expresses an impossible API compatibility level"". Use the -cpperraswarn option to continue swig processing.
8
9I'm not sure why; upstream should take a look.
10
11Upstream-Status: Inappropriate [workaround]
12Signed-off-by: Alexander Kanavin <alex@linutronix.de>
13---
14 setup.py | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/setup.py b/setup.py
18index 2c65404..74704bc 100644
19--- a/setup.py
20+++ b/setup.py
21@@ -192,6 +192,7 @@ class _M2CryptoBuildExt(build_ext.build_ext):
22
23 self.swig_opts.append('-includeall')
24 self.swig_opts.append('-modern')
25+ self.swig_opts.append('-cpperraswarn')
26 self.swig_opts.append('-builtin')
27
28 # These two lines are a workaround for
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch b/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch
deleted file mode 100644
index 0baadfcaa..000000000
--- a/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From dfb83a41aaeae326e9b6f02b233af375bc7b8815 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Fri, 29 Mar 2013 15:17:17 +0100
4Subject: [PATCH] setup.py: link in sysroot, not in host directories
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7
8Upstream-Status: Pending [Unknown]
9---
10 setup.py | 6 +++---
11 1 file changed, 3 insertions(+), 3 deletions(-)
12
13--- a/setup.py
14+++ b/setup.py
15@@ -135,6 +135,7 @@ class _M2CryptoBuildExt(build_ext.build_
16 self.set_undefined_options('build', ('bundledlls', 'bundledlls'))
17
18 self.libraries = ['ssl', 'crypto']
19+ self.openssl = os.environ.get( "STAGING_DIR" )
20 if sys.platform == 'win32':
21 self.libraries = ['ssleay32', 'libeay32']
22 if self.openssl and openssl_version(self.openssl,
23@@ -159,8 +160,8 @@ class _M2CryptoBuildExt(build_ext.build_
24
25 if self.openssl is not None:
26 log.debug('self.openssl = %s', self.openssl)
27- openssl_library_dir = os.path.join(self.openssl, 'lib')
28- openssl_include_dir = os.path.join(self.openssl, 'include')
29+ openssl_library_dir = os.environ.get( "STAGING_LIBDIR" )
30+ openssl_include_dir = os.environ.get( "STAGING_INCDIR" )
31
32 self.library_dirs.append(openssl_library_dir)
33 self.include_dirs.append(openssl_include_dir)
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/avoid-host-contamination.patch b/meta-python/recipes-devtools/python/python3-m2crypto/avoid-host-contamination.patch
deleted file mode 100644
index 3cd6f7c27..000000000
--- a/meta-python/recipes-devtools/python/python3-m2crypto/avoid-host-contamination.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1Filter out '/usr/include' for swig to avoid host contamination issue.
2
3Upstream-Status: Inappropriate [cross compile specific]
4
5Signed-off-by: Kai Kang <kai.kang@windriver.com>
6---
7 setup.py | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
9
10diff --git a/setup.py b/setup.py
11index 5a12981..389d49f 100644
12--- a/setup.py
13+++ b/setup.py
14@@ -153,7 +153,8 @@ class _M2CryptoBuildExt(build_ext.build_ext):
15 self.swig_opts.append('-py3')
16
17 # swig seems to need the default header file directories
18- self.swig_opts.extend(['-I%s' % i for i in _get_additional_includes()])
19+ self.swig_opts.extend(['-I%s' % i for i in _get_additional_includes()
20+ if i != '/usr/include'])
21
22 log.debug('self.include_dirs = %s', self.include_dirs)
23 log.debug('self.library_dirs = %s', self.library_dirs)
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch b/meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch
deleted file mode 100644
index 77ef7e557..000000000
--- a/meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1Do not compute platform, this does not work in cross compile environment
2since it pokes at the system for getting architecture values
3
4Upstream-Status: Inappropriate
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7--- a/setup.py
8+++ b/setup.py
9@@ -169,24 +169,6 @@ class _M2CryptoBuildExt(build_ext.build_
10 log.debug('self.include_dirs = %s', self.include_dirs)
11 log.debug('self.library_dirs = %s', self.library_dirs)
12
13- if platform.system() == "Linux":
14- # For RedHat-based distros, the '-D__{arch}__' option for
15- # Swig needs to be normalized, particularly on i386.
16- mach = platform.machine().lower()
17- if mach in ('i386', 'i486', 'i586', 'i686'):
18- arch = '__i386__'
19- elif mach in ('ppc64', 'powerpc64', 'ppc64le', 'ppc64el'):
20- arch = '__powerpc64__'
21- elif mach in ('ppc', 'powerpc'):
22- arch = '__powerpc__'
23- else:
24- arch = '__%s__' % mach
25- self.swig_opts.append('-D%s' % arch)
26- if mach in ('ppc64le', 'ppc64el'):
27- self.swig_opts.append('-D_CALL_ELF=2')
28- if mach in ('arm64_be'):
29- self.swig_opts.append('-D__AARCH64EB__')
30-
31 self.swig_opts.extend(['-I%s' % i for i in self.include_dirs])
32
33 # Some Linux distributor has added the following line in
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.42.0.bb
index 1d8c22d19..6b178cd12 100644
--- a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
+++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.42.0.bb
@@ -4,17 +4,9 @@ HOMEPAGE = "https://gitlab.com/m2crypto/m2crypto"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e" 5LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e"
6 6
7FILESEXTRAPATHS:prepend := "${THISDIR}/python-m2crypto:" 7SRC_URI[sha256sum] = "42b62df2caf623161b1d643a7235464c2fe2a3105049ebc498a6d47dc08f64b4"
8 8
9SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch \ 9inherit pypi siteinfo python_setuptools_build_meta
10 file://cross-compile-platform.patch \
11 file://avoid-host-contamination.patch \
12 file://0001-setup.py-address-openssl-3.x-build-issue.patch \
13 "
14SRC_URI[sha256sum] = "bbfd113ec55708c05816252a4f09e4237df4f3bbfc8171cbbc33057d257bbb30"
15
16PYPI_PACKAGE = "M2Crypto"
17inherit pypi siteinfo setuptools3
18 10
19DEPENDS += "openssl swig-native" 11DEPENDS += "openssl swig-native"
20RDEPENDS:${PN} += "\ 12RDEPENDS:${PN} += "\
diff --git a/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb b/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb
index 7ebf9f141..f212f8d8d 100644
--- a/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb
@@ -8,12 +8,10 @@ HOMEPAGE = "https://github.com/supervisor/meld3"
8LICENSE = "BSD-4-Clause" 8LICENSE = "BSD-4-Clause"
9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9e7581cef5645475fcefebdc15ed7abf" 9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9e7581cef5645475fcefebdc15ed7abf"
10 10
11SRC_URI[md5sum] = "1add16caefc9e6b82ef4f40532cb4918"
12SRC_URI[sha256sum] = "3ea266994f1aa83507679a67b493b852c232a7905e29440a6b868558cad5e775" 11SRC_URI[sha256sum] = "3ea266994f1aa83507679a67b493b852c232a7905e29440a6b868558cad5e775"
13 12
14inherit pypi setuptools3 13inherit pypi setuptools3
15 14
16RDEPENDS:${PN} += " \ 15RDEPENDS:${PN} += " \
17 python3-cgitb \
18 python3-xml \ 16 python3-xml \
19" 17"
diff --git a/meta-python/recipes-devtools/python/python3-msm_0.8.8.bb b/meta-python/recipes-devtools/python/python3-msm_0.8.8.bb
index 966ff86de..a3bbd5d1a 100644
--- a/meta-python/recipes-devtools/python/python3-msm_0.8.8.bb
+++ b/meta-python/recipes-devtools/python/python3-msm_0.8.8.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/MycroftAI/mycroft-skills-manager"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa"
5 5
6SRC_URI[md5sum] = "cf1fc0d1d86af68003cae53c71ec6288"
7SRC_URI[sha256sum] = "a502aee54917cd394217b31c977a1ba3d9541a0120e0a045c49fd77b328e4a29" 6SRC_URI[sha256sum] = "a502aee54917cd394217b31c977a1ba3d9541a0120e0a045c49fd77b328e4a29"
8 7
9inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb b/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb
index 6346152ae..1132e9ba5 100644
--- a/meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb
+++ b/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb
@@ -8,7 +8,7 @@ inherit pypi python_setuptools_build_meta ptest
8 8
9PV .= "+git" 9PV .= "+git"
10 10
11SRCREV = "a9b281b2ef4ab25d95d6b268aa88c428e75c3696" 11SRCREV = "4140e63780dc6dd600a1837cb9b4c5198c3dcd68"
12PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https" 12PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https"
13S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
14 14
diff --git a/meta-python/recipes-devtools/python/python3-nmap_1.6.0.bb b/meta-python/recipes-devtools/python/python3-nmap_1.9.1.bb
index 2293e3ddf..25e382088 100644
--- a/meta-python/recipes-devtools/python/python3-nmap_1.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-nmap_1.9.1.bb
@@ -8,7 +8,7 @@ DEPENDS += "python3-wheel-native"
8 8
9PYPI_PACKAGE = "python3-nmap" 9PYPI_PACKAGE = "python3-nmap"
10 10
11SRC_URI[sha256sum] = "892b5091cde429fabfb8ba63382b2db8fd795193ba147558d0a7d5534c956255" 11SRC_URI[sha256sum] = "8465cfb013f5cdfa8a1050c40cdae600b581ee32f1864ec404927aee49b4262c"
12 12
13inherit pypi setuptools3 13inherit pypi setuptools3
14 14
diff --git a/meta-python/recipes-devtools/python/python3-outcome/run-ptest b/meta-python/recipes-devtools/python/python3-outcome/run-ptest
new file mode 100644
index 000000000..8d2017d39
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-outcome/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb b/meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb
new file mode 100644
index 000000000..971430187
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb
@@ -0,0 +1,34 @@
1SUMMARY = "Capture the outcome of Python function calls."
2HOMEPAGE = "https://github.com/python-trio/outcome"
3LICENSE = "Apache-2.0 & MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=fa7b86389e58dd4087a8d2b833e5fe96 \
5 file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \
6 file://LICENSE.MIT;md5=e62ba5042d5983462ad229f5aec1576c"
7
8SRC_URI[sha256sum] = "9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8"
9
10inherit pypi setuptools3 ptest
11
12SRC_URI += " \
13 file://run-ptest \
14"
15
16RDEPENDS:${PN}-ptest += " \
17 python3-pytest \
18 python3-pytest-asyncio \
19 python3-unittest-automake-output \
20 python3-outcome \
21"
22
23RDEPENDS:${PN} += " \
24 python3-asyncio \
25 python3-attrs \
26 python3-core \
27 python3-pytest \
28 python3-typing-extensions \
29"
30
31do_install_ptest() {
32 install -d ${D}${PTEST_PATH}/tests
33 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
34}
diff --git a/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb b/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb
index 3af9349d4..8535cd445 100644
--- a/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb
+++ b/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/MycroftAI/padaos"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://README.md;md5=b51c3e8e53a7cd95c13c5aab6cbc8e67" 4LIC_FILES_CHKSUM = "file://README.md;md5=b51c3e8e53a7cd95c13c5aab6cbc8e67"
5 5
6SRC_URI[md5sum] = "dbf852015ef87a6694549779fb475b52"
7SRC_URI[sha256sum] = "2ac05fcbc826873c574568aa5ce09945d6ea987bee10399e766eb8f7c6356d72" 6SRC_URI[sha256sum] = "2ac05fcbc826873c574568aa5ce09945d6ea987bee10399e766eb8f7c6356d72"
8 7
9inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-padatious_0.4.8.bb b/meta-python/recipes-devtools/python/python3-padatious_0.4.8.bb
index fef6376ef..3e4cb1c90 100644
--- a/meta-python/recipes-devtools/python/python3-padatious_0.4.8.bb
+++ b/meta-python/recipes-devtools/python/python3-padatious_0.4.8.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/MycroftAI/padatious"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://README.md;md5=cc85c733dffe81e8a7fde2e8f8a6a404" 4LIC_FILES_CHKSUM = "file://README.md;md5=cc85c733dffe81e8a7fde2e8f8a6a404"
5 5
6SRC_URI[md5sum] = "7dd2f1830737dc142aa199f77dacf32e"
7SRC_URI[sha256sum] = "e471f251b94e8cadf6e4214f0f3b7b36678848aaa8c51cd5638ab23ecb716f75" 6SRC_URI[sha256sum] = "e471f251b94e8cadf6e4214f0f3b7b36678848aaa8c51cd5638ab23ecb716f75"
8 7
9inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb b/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb
index 1fc967d95..de33e4eb6 100644
--- a/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb
+++ b/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/krig/parallax/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://COPYING;md5=52c67ffa6102f288a0347f8c5802fd18" 4LIC_FILES_CHKSUM = "file://COPYING;md5=52c67ffa6102f288a0347f8c5802fd18"
5 5
6SRC_URI[md5sum] = "e312397b083426af84db7076dc2a28d7"
7SRC_URI[sha256sum] = "c16703202ff67aed4740c0727df304abe9f3e7851e653533b24de21b338d9081" 6SRC_URI[sha256sum] = "c16703202ff67aed4740c0727df304abe9f3e7851e653533b24de21b338d9081"
8 7
9inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-paramiko_3.4.1.bb b/meta-python/recipes-devtools/python/python3-paramiko_3.5.0.bb
index 498bb6d01..8ccf939f7 100644
--- a/meta-python/recipes-devtools/python/python3-paramiko_3.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-paramiko_3.5.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/paramiko/paramiko/"
3LICENSE = "LGPL-2.1-only" 3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=fd0120fc2e9f841c73ac707a30389af5" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=fd0120fc2e9f841c73ac707a30389af5"
5 5
6SRC_URI[sha256sum] = "8b15302870af7f6652f2e038975c1d2973f06046cb5d7d65355668b3ecbece0c" 6SRC_URI[sha256sum] = "ad11e540da4f55cedda52931f1a3f812a8238a7af7f62a60de538cd80bb28124"
7 7
8PYPI_PACKAGE = "paramiko" 8PYPI_PACKAGE = "paramiko"
9 9
diff --git a/meta-python/recipes-devtools/python/python3-passlib_1.7.4.bb b/meta-python/recipes-devtools/python/python3-passlib_1.7.4.bb
index 8b66e2592..6f862804c 100644
--- a/meta-python/recipes-devtools/python/python3-passlib_1.7.4.bb
+++ b/meta-python/recipes-devtools/python/python3-passlib_1.7.4.bb
@@ -9,7 +9,6 @@ HOMEPAGE = "https://foss.heptapod.net/python-libs/passlib/wikis/home"
9LICENSE = "BSD-3-Clause" 9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=c8449c5e10474d113ab787ed2753bafe" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=c8449c5e10474d113ab787ed2753bafe"
11 11
12SRC_URI[md5sum] = "3a229cbd00dfb33e99885b43325e0591"
13SRC_URI[sha256sum] = "defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04" 12SRC_URI[sha256sum] = "defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04"
14 13
15inherit pypi setuptools3 14inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb b/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb
index 27f32bf1a..e3405939c 100644
--- a/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb
@@ -3,19 +3,22 @@ HOMEPAGE = "https://pylonsproject.org/"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://license.txt;md5=1798f29d55080c60365e6283cb49779c" 4LIC_FILES_CHKSUM = "file://license.txt;md5=1798f29d55080c60365e6283cb49779c"
5 5
6inherit pypi 6inherit pypi python_setuptools_build_meta
7
7PYPI_PACKAGE = "PasteDeploy" 8PYPI_PACKAGE = "PasteDeploy"
8 9
9SRC_URI[sha256sum] = "9ddbaf152f8095438a9fe81f82c78a6714b92ae8e066bed418b6a7ff6a095a95" 10SRC_URI[sha256sum] = "9ddbaf152f8095438a9fe81f82c78a6714b92ae8e066bed418b6a7ff6a095a95"
10 11
11S = "${WORKDIR}/PasteDeploy-${PV}"
12
13inherit setuptools3
14
15# Uncomment this line to enable all the optional features. 12# Uncomment this line to enable all the optional features.
16#PACKAGECONFIG ?= "paste docs" 13#PACKAGECONFIG ?= "paste docs"
17PACKAGECONFIG[paste] = ",,,python3-paste" 14PACKAGECONFIG[paste] = ",,,python3-paste"
18PACKAGECONFIG[docs] = ",,,python3-sphinx python3-pylons-sphinx-themes" 15PACKAGECONFIG[docs] = ",,,python3-sphinx python3-pylons-sphinx-themes"
19 16
20DEPENDS= "python3 python3-setuptools-scm-native python3-pytest-runner-native" 17RDEPENDS:${PN} += " \
21RDEPENDS:${PN} += "python3-core python3-misc python3-netclient python3-pkgutil python3-setuptools python3-threading python3-core" 18 python3-core \
19 python3-misc \
20 python3-netclient \
21 python3-pkgutil \
22 python3-setuptools \
23 python3-threading \
24"
diff --git a/meta-python/recipes-devtools/python/python3-pdm-backend_2.3.3.bb b/meta-python/recipes-devtools/python/python3-pdm-backend_2.4.2.bb
index e78f1957a..903caad6e 100644
--- a/meta-python/recipes-devtools/python/python3-pdm-backend_2.3.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pdm-backend_2.4.2.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
4SECTION = "devel/python" 4SECTION = "devel/python"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=4a564297b3c5b629a528b92fd8ff61ea" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=4a564297b3c5b629a528b92fd8ff61ea"
6 6
7SRC_URI[sha256sum] = "a8616f628ec84353d7a0ba86b228dcf01bab5debc9e4d1a29e5311a52425d594" 7SRC_URI[sha256sum] = "1f833e527ae172f34b4b84e2fcf1f65859a2a5ca746e496d8313b3ea6539969f"
8 8
9inherit pypi python_setuptools_build_meta 9inherit pypi python_setuptools_build_meta
10 10
diff --git a/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb b/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb
new file mode 100644
index 000000000..f20f11ff4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb
@@ -0,0 +1,13 @@
1SUMMARY = "pdm plugin to publish locked dependencies as optional-dependencies"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a"
4
5SRC_URI[sha256sum] = "b784135abf62b93ce0a11332ee24723a2699b7f266fddb7950a5b70c93df6214"
6
7inherit pypi python_setuptools_build_meta
8
9DEPENDS += " python3-pdm-backend-native"
10
11PYPI_PACKAGE = "pdm_build_locked"
12
13BBCLASSEXTEND += "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-pdm_2.16.1.bb b/meta-python/recipes-devtools/python/python3-pdm_2.19.2.bb
index 91ec75938..29c70d18e 100644
--- a/meta-python/recipes-devtools/python/python3-pdm_2.16.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pdm_2.19.2.bb
@@ -4,12 +4,13 @@ LICENSE = "MIT"
4SECTION = "devel/python" 4SECTION = "devel/python"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2"
6 6
7SRC_URI[sha256sum] = "b8680028b3aff3af8e15b483467da36bb9f02fcd402cf939da8ab6375d955131" 7SRC_URI[sha256sum] = "efb39264569181d0375536ef81c556648f16b540d429a53715730490a2283567"
8 8
9inherit pypi python_setuptools_build_meta 9inherit pypi python_setuptools_build_meta
10 10
11DEPENDS += " \ 11DEPENDS += " \
12 python3-pdm-backend-native \ 12 python3-pdm-backend-native \
13 python3-pdm-build-locked-native \
13" 14"
14 15
15BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb b/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb
index 68507e248..6c7fe4df3 100644
--- a/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb
@@ -4,7 +4,6 @@ SECTION = "devel/python"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://README.rst;md5=d8ebbbe831259ce010179d2f310b0f3e" 5LIC_FILES_CHKSUM = "file://README.rst;md5=d8ebbbe831259ce010179d2f310b0f3e"
6 6
7SRC_URI[md5sum] = "a03bb494859e87b42601b61b1b043a0c"
8SRC_URI[sha256sum] = "603a46e5c358ce20ac4807a0eeafac7505d1125a4c1bd8378757ada06f61bed8" 7SRC_URI[sha256sum] = "603a46e5c358ce20ac4807a0eeafac7505d1125a4c1bd8378757ada06f61bed8"
9 8
10inherit pypi setuptools3 9inherit pypi setuptools3
@@ -13,5 +12,4 @@ RDEPENDS:${PN} += "python3-prettytable \
13 python3-cmd2 \ 12 python3-cmd2 \
14 python3-pyparsing" 13 python3-pyparsing"
15 14
16SRC_URI[md5sum] = "603821d06db945c71d811b5a8d78423c"
17SRC_URI[sha256sum] = "fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374" 15SRC_URI[sha256sum] = "fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374"
diff --git a/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb b/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb
index b7fa69ffa..ffd5b1c92 100644
--- a/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/matthewscholefield/petact"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://README.md;md5=c8533d4ba77519398cdae0173db799a1" 4LIC_FILES_CHKSUM = "file://README.md;md5=c8533d4ba77519398cdae0173db799a1"
5 5
6SRC_URI[md5sum] = "47e9a6abc91b4022953e4007ddae9e68"
7SRC_URI[sha256sum] = "5dcb0d44f86a601e41a2def9770993cd0ea45c76d37eb3f35e3dd61aa50350e6" 6SRC_URI[sha256sum] = "5dcb0d44f86a601e41a2def9770993cd0ea45c76d37eb3f35e3dd61aa50350e6"
8 7
9inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-pickleshare_0.7.5.bb b/meta-python/recipes-devtools/python/python3-pickleshare_0.7.5.bb
index bb16c78ce..8eb55c460 100644
--- a/meta-python/recipes-devtools/python/python3-pickleshare_0.7.5.bb
+++ b/meta-python/recipes-devtools/python/python3-pickleshare_0.7.5.bb
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=905c08218089ffebea3a64c82fc4d7d0"
5 5
6PYPI_PACKAGE = "pickleshare" 6PYPI_PACKAGE = "pickleshare"
7 7
8SRC_URI[md5sum] = "44ab782615894a812ab96669a122a634"
9SRC_URI[sha256sum] = "87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca" 8SRC_URI[sha256sum] = "87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca"
10 9
11inherit setuptools3 pypi 10inherit setuptools3 pypi
diff --git a/meta-python/recipes-devtools/python/python3-pid_3.0.4.bb b/meta-python/recipes-devtools/python/python3-pid_3.0.4.bb
index c90f55105..55667ac81 100644
--- a/meta-python/recipes-devtools/python/python3-pid_3.0.4.bb
+++ b/meta-python/recipes-devtools/python/python3-pid_3.0.4.bb
@@ -4,7 +4,6 @@ HOMEPAGE = "https://github.com/trbs/pid/"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=83d53cbd3105063f20305bc313464e29" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=83d53cbd3105063f20305bc313464e29"
6 6
7SRC_URI[md5sum] = "af607e6e2a51129e3fef516b7994c85b"
8SRC_URI[sha256sum] = "0e33670e83f6a33ebb0822e43a609c3247178d4a375ff50a4689e266d853eb66" 7SRC_URI[sha256sum] = "0e33670e83f6a33ebb0822e43a609c3247178d4a375ff50a4689e266d853eb66"
9 8
10inherit pypi setuptools3 9inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-pint/0001-dataclass-frozen-True-for-Python-3.13-compatibility.patch b/meta-python/recipes-devtools/python/python3-pint/0001-dataclass-frozen-True-for-Python-3.13-compatibility.patch
new file mode 100644
index 000000000..6f9b0f5bc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pint/0001-dataclass-frozen-True-for-Python-3.13-compatibility.patch
@@ -0,0 +1,116 @@
1From dc729d5b6574e1c44ec12e13b68c2b900e4a7ba1 Mon Sep 17 00:00:00 2001
2From: Simon Willison <swillison@gmail.com>
3Date: Fri, 12 Jul 2024 17:23:21 -0700
4Subject: [PATCH] @dataclass(frozen=True) for Python 3.13 compatibility
5
6Upstream-Status: Submitted [https://github.com/hgrecco/pint/pull/2037]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 pint/errors.py | 24 ++++++++++++------------
10 1 file changed, 12 insertions(+), 12 deletions(-)
11
12diff --git a/pint/errors.py b/pint/errors.py
13index 59d3b45..f080f52 100644
14--- a/pint/errors.py
15+++ b/pint/errors.py
16@@ -81,12 +81,12 @@ class WithDefErr:
17 return DefinitionError(self.name, self.__class__, msg)
18
19
20-@dataclass(frozen=False)
21+@dataclass(frozen=True)
22 class PintError(Exception):
23 """Base exception for all Pint errors."""
24
25
26-@dataclass(frozen=False)
27+@dataclass(frozen=True)
28 class DefinitionError(ValueError, PintError):
29 """Raised when a definition is not properly constructed."""
30
31@@ -102,7 +102,7 @@ class DefinitionError(ValueError, PintError):
32 return self.__class__, tuple(getattr(self, f.name) for f in fields(self))
33
34
35-@dataclass(frozen=False)
36+@dataclass(frozen=True)
37 class DefinitionSyntaxError(ValueError, PintError):
38 """Raised when a textual definition has a syntax error."""
39
40@@ -115,7 +115,7 @@ class DefinitionSyntaxError(ValueError, PintError):
41 return self.__class__, tuple(getattr(self, f.name) for f in fields(self))
42
43
44-@dataclass(frozen=False)
45+@dataclass(frozen=True)
46 class RedefinitionError(ValueError, PintError):
47 """Raised when a unit or prefix is redefined."""
48
49@@ -130,7 +130,7 @@ class RedefinitionError(ValueError, PintError):
50 return self.__class__, tuple(getattr(self, f.name) for f in fields(self))
51
52
53-@dataclass(frozen=False)
54+@dataclass(frozen=True)
55 class UndefinedUnitError(AttributeError, PintError):
56 """Raised when the units are not defined in the unit registry."""
57
58@@ -150,13 +150,13 @@ class UndefinedUnitError(AttributeError, PintError):
59 return self.__class__, tuple(getattr(self, f.name) for f in fields(self))
60
61
62-@dataclass(frozen=False)
63+@dataclass(frozen=True)
64 class PintTypeError(TypeError, PintError):
65 def __reduce__(self):
66 return self.__class__, tuple(getattr(self, f.name) for f in fields(self))
67
68
69-@dataclass(frozen=False)
70+@dataclass(frozen=True)
71 class DimensionalityError(PintTypeError):
72 """Raised when trying to convert between incompatible units."""
73
74@@ -183,7 +183,7 @@ class DimensionalityError(PintTypeError):
75 return self.__class__, tuple(getattr(self, f.name) for f in fields(self))
76
77
78-@dataclass(frozen=False)
79+@dataclass(frozen=True)
80 class OffsetUnitCalculusError(PintTypeError):
81 """Raised on ambiguous operations with offset units."""
82
83@@ -208,7 +208,7 @@ class OffsetUnitCalculusError(PintTypeError):
84 return self.__class__, tuple(getattr(self, f.name) for f in fields(self))
85
86
87-@dataclass(frozen=False)
88+@dataclass(frozen=True)
89 class LogarithmicUnitCalculusError(PintTypeError):
90 """Raised on inappropriate operations with logarithmic units."""
91
92@@ -233,7 +233,7 @@ class LogarithmicUnitCalculusError(PintTypeError):
93 return self.__class__, tuple(getattr(self, f.name) for f in fields(self))
94
95
96-@dataclass(frozen=False)
97+@dataclass(frozen=True)
98 class UnitStrippedWarning(UserWarning, PintError):
99 msg: str
100
101@@ -241,13 +241,13 @@ class UnitStrippedWarning(UserWarning, PintError):
102 return self.__class__, tuple(getattr(self, f.name) for f in fields(self))
103
104
105-@dataclass(frozen=False)
106+@dataclass(frozen=True)
107 class UnexpectedScaleInContainer(Exception):
108 def __reduce__(self):
109 return self.__class__, tuple(getattr(self, f.name) for f in fields(self))
110
111
112-@dataclass(frozen=False)
113+@dataclass(frozen=True)
114 class UndefinedBehavior(UserWarning, PintError):
115 msg: str
116
diff --git a/meta-python/recipes-devtools/python/python3-pint/run-ptest b/meta-python/recipes-devtools/python/python3-pint/run-ptest
index 5cec71169..8d2017d39 100644
--- a/meta-python/recipes-devtools/python/python3-pint/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pint/run-ptest
@@ -1,3 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2 2
3pytest 3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.24.1.bb b/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb
index 8959a72ff..337f58720 100644
--- a/meta-python/recipes-devtools/python/python3-pint_0.24.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb
@@ -6,14 +6,9 @@ SECTION = "devel/python"
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
8 8
9PYPI_PACKAGE := "Pint" 9inherit pypi ptest python_setuptools_build_meta
10 10
11inherit ptest python_setuptools_build_meta 11SRC_URI[sha256sum] = "d54771093e8b94c4e0a35ac638c2444ddf3ef685652bab7675ffecfa0c5c5cdf"
12
13SRCREV = "4c2caccfc6cdac1f80a9bfa15ebea1ca49836881"
14SRC_URI = "git://github.com/hgrecco/pint;protocol=https;branch=master"
15S = "${WORKDIR}/git"
16#SRC_URI[sha256sum] = "e1509b91606dbc52527c600a4ef74ffac12fff70688aff20e9072409346ec9b4"
17 12
18DEPENDS += "python3-setuptools-scm-native" 13DEPENDS += "python3-setuptools-scm-native"
19 14
@@ -21,18 +16,25 @@ BBCLASSEXTEND = "native nativesdk"
21 16
22SRC_URI += " \ 17SRC_URI += " \
23 file://run-ptest \ 18 file://run-ptest \
19 file://0001-dataclass-frozen-True-for-Python-3.13-compatibility.patch \
24" 20"
25 21
26RDEPENDS:${PN} += " \ 22RDEPENDS:${PN} += " \
27 python3-setuptools \ 23 python3-setuptools \
28 python3-packaging \ 24 python3-packaging \
29" 25"
30 26# python3-misc for timeit.py
31RDEPENDS:${PN}-ptest += " \ 27RDEPENDS:${PN}-ptest += " \
32 python3-appdirs \ 28 python3-appdirs \
29 python3-attrs \
33 python3-flexcache \ 30 python3-flexcache \
34 python3-flexparser \ 31 python3-flexparser \
32 python3-misc \
35 python3-pytest \ 33 python3-pytest \
34 python3-pytest-benchmark \
35 python3-pytest-subtests \
36 python3-statistics \
37 python3-unittest-automake-output \
36" 38"
37 39
38do_install_ptest() { 40do_install_ptest() {
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_4.3.1.bb b/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb
index a994197ef..02d8c3cec 100644
--- a/meta-python/recipes-devtools/python/python3-platformdirs_4.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb
@@ -7,7 +7,7 @@ SRC_URI += " \
7 file://run-ptest \ 7 file://run-ptest \
8" 8"
9 9
10SRC_URI[sha256sum] = "63b79589009fa8159973601dd4563143396b35c5f93a58b36f9049ff046949b1" 10SRC_URI[sha256sum] = "357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907"
11 11
12inherit pypi python_hatchling ptest 12inherit pypi python_hatchling ptest
13 13
diff --git a/meta-python/recipes-devtools/python/python3-portion/run-ptest b/meta-python/recipes-devtools/python/python3-portion/run-ptest
new file mode 100644
index 000000000..8d2017d39
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-portion/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-portion_2.4.2.bb b/meta-python/recipes-devtools/python/python3-portion_2.4.2.bb
deleted file mode 100644
index a5e26f302..000000000
--- a/meta-python/recipes-devtools/python/python3-portion_2.4.2.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1DESCRIPTION = "Python data structure and operations for intervals"
2HOMEPAGE = "https://github.com/AlexandreDecan/portion"
3SECTION = "devel/python"
4
5LICENSE = "LGPL-3.0-only"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab"
7
8inherit pypi python_setuptools_build_meta
9
10SRC_URI[sha256sum] = "5289b40d98959b16b3f6927781678935d3df1b7c14947f5d7778e5e04dd9a065"
11
12RDEPENDS:${PN} = "\
13 python3-sortedcontainers \
14"
15
16BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python3-portion_2.5.0.bb b/meta-python/recipes-devtools/python/python3-portion_2.5.0.bb
new file mode 100644
index 000000000..269473e93
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-portion_2.5.0.bb
@@ -0,0 +1,32 @@
1DESCRIPTION = "Python data structure and operations for intervals"
2HOMEPAGE = "https://github.com/AlexandreDecan/portion"
3SECTION = "devel/python"
4
5LICENSE = "LGPL-3.0-only"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404"
7
8inherit pypi python_setuptools_build_meta ptest
9
10SRC_URI[sha256sum] = "80ae7bab71f4844e3eb33c57954d76a3bd4cb351039b6e260e779325aeb4a487"
11
12SRC_URI += " \
13 file://run-ptest \
14"
15
16RDEPENDS:${PN} += "\
17 python3-sortedcontainers \
18"
19
20RDEPENDS:${PN}-ptest += " \
21 python3-pytest \
22 python3-unittest-automake-output \
23"
24
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests
27 # This file tests README.md and deleted as redundant.
28 rm -f ${S}/tests/test_doc.py
29 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
30}
31
32BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb
index 1fb72de12..ea453366a 100644
--- a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/MycroftAI/mycroft-precise"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://README.md;md5=2ad29e930f3107d52d2a55728bf62116" 4LIC_FILES_CHKSUM = "file://README.md;md5=2ad29e930f3107d52d2a55728bf62116"
5 5
6SRC_URI[md5sum] = "a2434be110444192e804f4dada0ccecf"
7SRC_URI[sha256sum] = "1a464209fb4bf0a3f5d5a428310cb2a70487a01a6bc3a960d1dda90af896b80d" 6SRC_URI[sha256sum] = "1a464209fb4bf0a3f5d5a428310cb2a70487a01a6bc3a960d1dda90af896b80d"
8 7
9inherit pypi setuptools3 ptest 8inherit pypi setuptools3 ptest
diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.47.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.48.bb
index 9997785dc..3ed18905f 100644
--- a/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.47.bb
+++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.48.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
5 5
6SRC_URI[sha256sum] = "1e1b29cb58080b1e69f207c893a1a7bf16d127a5c30c9d17a25a5d77792e5360" 6SRC_URI[sha256sum] = "d6623ab0477a80df74e646bdbc93621143f5caf104206aa29294d53de1a03d90"
7 7
8inherit pypi setuptools3 8inherit pypi setuptools3
9 9
diff --git a/meta-python/recipes-devtools/python/python3-propcache/run-ptest b/meta-python/recipes-devtools/python/python3-propcache/run-ptest
new file mode 100644
index 000000000..8d2017d39
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-propcache/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb b/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb
new file mode 100644
index 000000000..69e0bed4b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Fast property caching"
2HOMEPAGE = "https://github.com/aio-libs/propcache"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5
6SRC_URI[sha256sum] = "df81779732feb9d01e5d513fad0122efb3d53bbc75f61b2a4f29a020bc985e70"
7
8inherit pypi python_setuptools_build_meta ptest
9
10SRC_URI += " \
11 file://run-ptest \
12"
13
14DEPENDS += " \
15 python3-expandvars-native \
16 python3-cython-native \
17"
18
19RDEPENDS:${PN}-ptest += " \
20 python3-pytest \
21 python3-pytest-xdist \
22 python3-unittest-automake-output \
23"
24
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests
27 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
28}
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess/a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch b/meta-python/recipes-devtools/python/python3-ptyprocess/a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch
new file mode 100644
index 000000000..0f1542341
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ptyprocess/a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch
@@ -0,0 +1,35 @@
1From a44312974bd9084aa568d2e18ce5b2a7e0e45983 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
3Date: Mon, 23 Oct 2023 15:18:02 +0200
4Subject: [PATCH] Remove unittest.makeSuite, gone from Python 3.13
5
6See https://docs.python.org/3.13/whatsnew/3.13.html
7
8"""
9Removed the following unittest functions, deprecated in Python 3.11:
10
11 unittest.findTestCases()
12 unittest.makeSuite()
13 unittest.getTestCaseNames()
14"""
15
16The removed call does not seem to have any effect when the file is executed
17directly, run trough unittest discover or pytest.
18
19Upstream-Status: Backport [https://github.com/pexpect/ptyprocess/pull/75]
20Signed-off-by: Khem Raj <raj.khem@gmail.com>
21---
22 tests/test_invalid_binary.py | 3 ---
23 1 file changed, 3 deletions(-)
24
25diff --git a/tests/test_invalid_binary.py b/tests/test_invalid_binary.py
26index cf28098..545f9f7 100755
27--- a/tests/test_invalid_binary.py
28+++ b/tests/test_invalid_binary.py
29@@ -69,6 +69,3 @@ def test_invalid_binary(self):
30
31 if __name__ == '__main__':
32 unittest.main()
33-
34-suite = unittest.makeSuite(InvalidBinaryChars,'test')
35-
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
index 4abec0a01..e0c5e4719 100644
--- a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
6 6
7SRCNAME = "ptyprocess" 7SRCNAME = "ptyprocess"
8 8
9SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch"
9SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" 10SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"
10 11
11inherit pypi python_flit_core 12inherit pypi python_flit_core
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules/0001-Stop-using-pyasn1.compat.octets.patch b/meta-python/recipes-devtools/python/python3-pyasn1-modules/0001-Stop-using-pyasn1.compat.octets.patch
new file mode 100644
index 000000000..d9751b718
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules/0001-Stop-using-pyasn1.compat.octets.patch
@@ -0,0 +1,171 @@
1From d20c89d017a572755484b1bc41eac20285e68550 Mon Sep 17 00:00:00 2001
2From: Heiko Becker <mail@heiko-becker.de>
3Date: Wed, 25 Sep 2024 22:38:42 +0200
4Subject: [PATCH] Stop using pyasn1.compat.octets
5
6It was removed from pyasn1 in
7https://github.com/pyasn1/pyasn1/commit/6f770ba886a8931c35cb090a5c3a6d67f5a41bd9
8
9Fixes #19.
10
11Upstream-Status: Submitted [https://github.com/pyasn1/pyasn1-modules/pull/22]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 tests/test_pem.py | 3 +--
15 tests/test_rfc3770.py | 3 +--
16 tests/test_rfc4073.py | 3 +--
17 tests/test_rfc4334.py | 3 +--
18 tests/test_rfc5755.py | 3 +--
19 tests/test_rfc6032.py | 7 +++----
20 tests/test_rfc6120.py | 1 -
21 7 files changed, 8 insertions(+), 15 deletions(-)
22
23diff --git a/tests/test_pem.py b/tests/test_pem.py
24index dbcca5a..e0fe334 100644
25--- a/tests/test_pem.py
26+++ b/tests/test_pem.py
27@@ -7,7 +7,6 @@
28 import sys
29 import unittest
30
31-from pyasn1.compat.octets import ints2octs
32 from pyasn1_modules import pem
33
34
35@@ -93,7 +92,7 @@ GGbx7DI=
36 24, 102, 241, 236, 50
37 ]
38
39- self.assertEqual(ints2octs(expected), binary)
40+ self.assertEqual(bytes(expected), binary)
41
42
43 suite = unittest.TestLoader().loadTestsFromModule(sys.modules[__name__])
44diff --git a/tests/test_rfc3770.py b/tests/test_rfc3770.py
45index 667ab24..93d4093 100644
46--- a/tests/test_rfc3770.py
47+++ b/tests/test_rfc3770.py
48@@ -10,7 +10,6 @@ import unittest
49
50 from pyasn1.codec.der.decoder import decode as der_decoder
51 from pyasn1.codec.der.encoder import encode as der_encoder
52-from pyasn1.compat.octets import str2octs
53
54 from pyasn1_modules import pem
55 from pyasn1_modules import rfc5480
56@@ -79,7 +78,7 @@ DAlVlhox680Jxy5J8Pkx
57 self.assertEqual(extn['extnValue'], der_encoder(extnValue))
58
59 if extn['extnID'] == rfc3770.id_pe_wlanSSID:
60- self.assertIn(str2octs('Example'), extnValue)
61+ self.assertIn(b'Example', extnValue)
62
63 if extn['extnID'] == rfc5280.id_ce_extKeyUsage:
64 self.assertIn(rfc3770.id_kp_eapOverLAN, extnValue)
65diff --git a/tests/test_rfc4073.py b/tests/test_rfc4073.py
66index 4bd5e5f..3b516cc 100644
67--- a/tests/test_rfc4073.py
68+++ b/tests/test_rfc4073.py
69@@ -10,7 +10,6 @@ import unittest
70
71 from pyasn1.codec.der.decoder import decode as der_decoder
72 from pyasn1.codec.der.encoder import encode as der_encoder
73-from pyasn1.compat.octets import str2octs
74
75 from pyasn1_modules import pem
76 from pyasn1_modules import rfc2634
77@@ -131,7 +130,7 @@ buWO3egPDL8Kf7tBhzjIKLw=
78
79 self.assertIn(next_ci['contentType'], rfc5652.cmsContentTypesMap)
80 self.assertEqual(rfc5652.id_data, next_ci['contentType'])
81- self.assertIn(str2octs('Content-Type: text'), next_ci['content'])
82+ self.assertIn(b'Content-Type: text', next_ci['content'])
83
84 for attr in ci['content']['attrs']:
85 self.assertIn(attr['attrType'], rfc5652.cmsAttributesMap)
86diff --git a/tests/test_rfc4334.py b/tests/test_rfc4334.py
87index 9ba5fdf..e180d67 100644
88--- a/tests/test_rfc4334.py
89+++ b/tests/test_rfc4334.py
90@@ -10,7 +10,6 @@ import unittest
91
92 from pyasn1.codec.der.decoder import decode as der_decoder
93 from pyasn1.codec.der.encoder import encode as der_encoder
94-from pyasn1.compat.octets import str2octs
95
96 from pyasn1_modules import pem
97 from pyasn1_modules import rfc5280
98@@ -67,7 +66,7 @@ DAlVlhox680Jxy5J8Pkx
99 self.assertEqual(extn['extnValue'], der_encoder(extnValue))
100
101 if extn['extnID'] == rfc4334.id_pe_wlanSSID:
102- self.assertIn( str2octs('Example'), extnValue)
103+ self.assertIn(b'Example', extnValue)
104
105 if extn['extnID'] == rfc5280.id_ce_extKeyUsage:
106 self.assertIn(rfc4334.id_kp_eapOverLAN, extnValue)
107diff --git a/tests/test_rfc5755.py b/tests/test_rfc5755.py
108index cf4a05f..46908e2 100644
109--- a/tests/test_rfc5755.py
110+++ b/tests/test_rfc5755.py
111@@ -10,7 +10,6 @@ import unittest
112
113 from pyasn1.codec.der.decoder import decode as der_decoder
114 from pyasn1.codec.der.encoder import encode as der_encoder
115-from pyasn1.compat.octets import str2octs
116
117 from pyasn1_modules import pem
118 from pyasn1_modules import rfc5280
119@@ -85,7 +84,7 @@ Q4eikPk4LQey
120 count += 1
121 if attr['type'] == rfc5755.id_aca_authenticationInfo:
122 self.assertEqual(
123- str2octs('password'), attr['values'][0]['authInfo'])
124+ b'password', attr['values'][0]['authInfo'])
125
126 self.assertEqual(5, count)
127
128diff --git a/tests/test_rfc6032.py b/tests/test_rfc6032.py
129index 287bad8..2327416 100644
130--- a/tests/test_rfc6032.py
131+++ b/tests/test_rfc6032.py
132@@ -10,7 +10,6 @@ import unittest
133
134 from pyasn1.codec.der.decoder import decode as der_decoder
135 from pyasn1.codec.der.encoder import encode as der_encoder
136-from pyasn1.compat.octets import str2octs
137
138 from pyasn1_modules import pem
139 from pyasn1_modules import rfc5652
140@@ -64,7 +63,7 @@ YIZIAWUCAQVCMRAEDnB0Zi1rZGMtODEyMzc0
141 self.assertFalse(rest)
142 self.assertTrue(keyid.prettyPrint())
143 self.assertEqual(attrVal0, der_encoder(keyid))
144- self.assertEqual(str2octs('ptf-kdc-812374'), keyid)
145+ self.assertEqual(b'ptf-kdc-812374', keyid)
146
147 def testOpenTypes(self):
148 substrate = pem.readBase64fromText(self.encrypted_key_pkg_pem_text)
149@@ -86,8 +85,8 @@ YIZIAWUCAQVCMRAEDnB0Zi1rZGMtODEyMzc0
150 self.assertNotEqual('0x', attr['attrValues'][0].prettyPrint()[:2])
151
152 if attr['attrType'] == rfc6032.id_aa_KP_contentDecryptKeyID:
153- self.assertEqual(str2octs(
154- 'ptf-kdc-812374'), attr['attrValues'][0])
155+ self.assertEqual(
156+ b'ptf-kdc-812374', attr['attrValues'][0])
157
158
159 suite = unittest.TestLoader().loadTestsFromModule(sys.modules[__name__])
160diff --git a/tests/test_rfc6120.py b/tests/test_rfc6120.py
161index bdedab8..a621745 100644
162--- a/tests/test_rfc6120.py
163+++ b/tests/test_rfc6120.py
164@@ -10,7 +10,6 @@ import unittest
165
166 from pyasn1.codec.der.decoder import decode as der_decoder
167 from pyasn1.codec.der.encoder import encode as der_encoder
168-from pyasn1.compat.octets import str2octs
169
170 from pyasn1_modules import pem
171 from pyasn1_modules import rfc5280
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb
index 48372d917..03097801b 100644
--- a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb
@@ -6,7 +6,8 @@ HOMEPAGE = "https://github.com/etingof/pyasn1-modules"
6LICENSE = "BSD-2-Clause" 6LICENSE = "BSD-2-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=190f79253908c986e6cacf380c3a5f6d" 7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=190f79253908c986e6cacf380c3a5f6d"
8 8
9SRC_URI[sha256sum] = "831dbcea1b177b28c9baddf4c6d1013c24c3accd14a1873fffaa6a2e905f17b6" 9SRC_URI += "file://0001-Stop-using-pyasn1.compat.octets.patch"
10SRC_URI[sha256sum] = "c28e2dbf9c06ad61c71a075c7e0f9fd0f1b0bb2d2ad4377f240d33ac2ab60a7c"
10 11
11PYPI_PACKAGE = "pyasn1_modules" 12PYPI_PACKAGE = "pyasn1_modules"
12 13
diff --git a/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb b/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb
index a38e10eec..188700be2 100644
--- a/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb
+++ b/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543"
9 9
10SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch \ 10SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch \
11 file://py-3.11.patch " 11 file://py-3.11.patch "
12SRC_URI[md5sum] = "afbe8429bb82d2c46a3d0f5f4f898f9d"
13SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de" 12SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de"
14 13
15PYPI_PACKAGE = "PyBluez" 14PYPI_PACKAGE = "PyBluez"
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch
index 447f67907..3d5d043f1 100644
--- a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch
+++ b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch
@@ -1,4 +1,4 @@
1From 5ee73f91b7f13dd5c700c69e7fc43cecab5868da Mon Sep 17 00:00:00 2001 1From 41da1605df6d781bdf01c0ecefea88bba7758c21 Mon Sep 17 00:00:00 2001
2From: Tom Geelen <t.f.g.geelen@gmail.com> 2From: Tom Geelen <t.f.g.geelen@gmail.com>
3Date: Sun, 7 Apr 2024 22:39:35 +0000 3Date: Sun, 7 Apr 2024 22:39:35 +0000
4Subject: [PATCH] Allow newer version of wheel and setuptools 4Subject: [PATCH] Allow newer version of wheel and setuptools
@@ -10,7 +10,7 @@ Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
11 11
12diff --git a/pyproject.toml b/pyproject.toml 12diff --git a/pyproject.toml b/pyproject.toml
13index 56df5bd..17ca62d 100644 13index 545297e..84a92c2 100644
14--- a/pyproject.toml 14--- a/pyproject.toml
15+++ b/pyproject.toml 15+++ b/pyproject.toml
16@@ -1,5 +1,5 @@ 16@@ -1,5 +1,5 @@
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.1.bb b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.4.bb
index dee4bf6eb..6f06f53a1 100644
--- a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.4.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5"
5 5
6SRC_URI += "file://0001-Allow-newer-version-of-wheel-and-setuptools.patch" 6SRC_URI += "file://0001-Allow-newer-version-of-wheel-and-setuptools.patch"
7SRC_URI[sha256sum] = "e16e0a7f9488319191b8b4fa21ca0beb4bf12eeda5c9bf640241188f2bea0a3e" 7SRC_URI[sha256sum] = "1fc05d63db152fe6f71efdee77d14228dc4c55e99d734de4757455800b1f3ba4"
8 8
9PYPI_PACKAGE = "PyChromecast" 9PYPI_PACKAGE = "PyChromecast"
10 10
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc b/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
index 531632f32..05863c870 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
@@ -29,7 +29,7 @@ SRC_URI += " \
29 crate://crates.io/icu_provider/1.5.0 \ 29 crate://crates.io/icu_provider/1.5.0 \
30 crate://crates.io/icu_provider_macros/1.5.0 \ 30 crate://crates.io/icu_provider_macros/1.5.0 \
31 crate://crates.io/idna/0.5.0 \ 31 crate://crates.io/idna/0.5.0 \
32 crate://crates.io/idna/1.0.1 \ 32 crate://crates.io/idna/1.0.2 \
33 crate://crates.io/indexmap/2.2.6 \ 33 crate://crates.io/indexmap/2.2.6 \
34 crate://crates.io/indoc/2.0.5 \ 34 crate://crates.io/indoc/2.0.5 \
35 crate://crates.io/itoa/1.0.11 \ 35 crate://crates.io/itoa/1.0.11 \
@@ -48,29 +48,29 @@ SRC_URI += " \
48 crate://crates.io/percent-encoding/2.3.1 \ 48 crate://crates.io/percent-encoding/2.3.1 \
49 crate://crates.io/portable-atomic/1.6.0 \ 49 crate://crates.io/portable-atomic/1.6.0 \
50 crate://crates.io/proc-macro2/1.0.86 \ 50 crate://crates.io/proc-macro2/1.0.86 \
51 crate://crates.io/pyo3/0.22.2 \ 51 crate://crates.io/pyo3/0.22.5 \
52 crate://crates.io/pyo3-build-config/0.22.2 \ 52 crate://crates.io/pyo3-build-config/0.22.5 \
53 crate://crates.io/pyo3-ffi/0.22.2 \ 53 crate://crates.io/pyo3-ffi/0.22.5 \
54 crate://crates.io/pyo3-macros/0.22.2 \ 54 crate://crates.io/pyo3-macros/0.22.5 \
55 crate://crates.io/pyo3-macros-backend/0.22.2 \ 55 crate://crates.io/pyo3-macros-backend/0.22.5 \
56 crate://crates.io/python3-dll-a/0.2.10 \ 56 crate://crates.io/python3-dll-a/0.2.10 \
57 crate://crates.io/quote/1.0.36 \ 57 crate://crates.io/quote/1.0.36 \
58 crate://crates.io/radium/0.7.0 \ 58 crate://crates.io/radium/0.7.0 \
59 crate://crates.io/regex/1.10.5 \ 59 crate://crates.io/regex/1.11.0 \
60 crate://crates.io/regex-automata/0.4.7 \ 60 crate://crates.io/regex-automata/0.4.8 \
61 crate://crates.io/regex-syntax/0.8.4 \ 61 crate://crates.io/regex-syntax/0.8.5 \
62 crate://crates.io/rustversion/1.0.17 \ 62 crate://crates.io/rustversion/1.0.17 \
63 crate://crates.io/ryu/1.0.18 \ 63 crate://crates.io/ryu/1.0.18 \
64 crate://crates.io/serde/1.0.204 \ 64 crate://crates.io/serde/1.0.213 \
65 crate://crates.io/serde_derive/1.0.204 \ 65 crate://crates.io/serde_derive/1.0.213 \
66 crate://crates.io/serde_json/1.0.121 \ 66 crate://crates.io/serde_json/1.0.132 \
67 crate://crates.io/smallvec/1.13.2 \ 67 crate://crates.io/smallvec/1.13.2 \
68 crate://crates.io/speedate/0.14.4 \ 68 crate://crates.io/speedate/0.14.4 \
69 crate://crates.io/stable_deref_trait/1.2.0 \ 69 crate://crates.io/stable_deref_trait/1.2.0 \
70 crate://crates.io/static_assertions/1.1.0 \ 70 crate://crates.io/static_assertions/1.1.0 \
71 crate://crates.io/strum/0.26.3 \ 71 crate://crates.io/strum/0.26.3 \
72 crate://crates.io/strum_macros/0.26.4 \ 72 crate://crates.io/strum_macros/0.26.4 \
73 crate://crates.io/syn/2.0.68 \ 73 crate://crates.io/syn/2.0.82 \
74 crate://crates.io/synstructure/0.13.1 \ 74 crate://crates.io/synstructure/0.13.1 \
75 crate://crates.io/tap/1.0.1 \ 75 crate://crates.io/tap/1.0.1 \
76 crate://crates.io/target-lexicon/0.12.14 \ 76 crate://crates.io/target-lexicon/0.12.14 \
@@ -84,7 +84,7 @@ SRC_URI += " \
84 crate://crates.io/url/2.5.2 \ 84 crate://crates.io/url/2.5.2 \
85 crate://crates.io/utf16_iter/1.0.5 \ 85 crate://crates.io/utf16_iter/1.0.5 \
86 crate://crates.io/utf8_iter/1.0.4 \ 86 crate://crates.io/utf8_iter/1.0.4 \
87 crate://crates.io/uuid/1.9.1 \ 87 crate://crates.io/uuid/1.11.0 \
88 crate://crates.io/version_check/0.9.5 \ 88 crate://crates.io/version_check/0.9.5 \
89 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ 89 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
90 crate://crates.io/write16/1.0.0 \ 90 crate://crates.io/write16/1.0.0 \
@@ -127,7 +127,7 @@ SRC_URI[icu_properties_data-1.5.0.sha256sum] = "67a8effbc3dd3e4ba1afa8ad918d5684
127SRC_URI[icu_provider-1.5.0.sha256sum] = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" 127SRC_URI[icu_provider-1.5.0.sha256sum] = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
128SRC_URI[icu_provider_macros-1.5.0.sha256sum] = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" 128SRC_URI[icu_provider_macros-1.5.0.sha256sum] = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
129SRC_URI[idna-0.5.0.sha256sum] = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" 129SRC_URI[idna-0.5.0.sha256sum] = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
130SRC_URI[idna-1.0.1.sha256sum] = "44a986806a1cc899952ba462bc1f28afbfd5850ab6cb030ccb20dd02cc527a24" 130SRC_URI[idna-1.0.2.sha256sum] = "bd69211b9b519e98303c015e21a007e293db403b6c85b9b124e133d25e242cdd"
131SRC_URI[indexmap-2.2.6.sha256sum] = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" 131SRC_URI[indexmap-2.2.6.sha256sum] = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
132SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" 132SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
133SRC_URI[itoa-1.0.11.sha256sum] = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" 133SRC_URI[itoa-1.0.11.sha256sum] = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
@@ -146,29 +146,29 @@ SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa
146SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 146SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
147SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" 147SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
148SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" 148SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
149SRC_URI[pyo3-0.22.2.sha256sum] = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433" 149SRC_URI[pyo3-0.22.5.sha256sum] = "3d922163ba1f79c04bc49073ba7b32fd5a8d3b76a87c955921234b8e77333c51"
150SRC_URI[pyo3-build-config-0.22.2.sha256sum] = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8" 150SRC_URI[pyo3-build-config-0.22.5.sha256sum] = "bc38c5feeb496c8321091edf3d63e9a6829eab4b863b4a6a65f26f3e9cc6b179"
151SRC_URI[pyo3-ffi-0.22.2.sha256sum] = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6" 151SRC_URI[pyo3-ffi-0.22.5.sha256sum] = "94845622d88ae274d2729fcefc850e63d7a3ddff5e3ce11bd88486db9f1d357d"
152SRC_URI[pyo3-macros-0.22.2.sha256sum] = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206" 152SRC_URI[pyo3-macros-0.22.5.sha256sum] = "e655aad15e09b94ffdb3ce3d217acf652e26bbc37697ef012f5e5e348c716e5e"
153SRC_URI[pyo3-macros-backend-0.22.2.sha256sum] = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372" 153SRC_URI[pyo3-macros-backend-0.22.5.sha256sum] = "ae1e3f09eecd94618f60a455a23def79f79eba4dc561a97324bf9ac8c6df30ce"
154SRC_URI[python3-dll-a-0.2.10.sha256sum] = "bd0b78171a90d808b319acfad166c4790d9e9759bbc14ac8273fe133673dd41b" 154SRC_URI[python3-dll-a-0.2.10.sha256sum] = "bd0b78171a90d808b319acfad166c4790d9e9759bbc14ac8273fe133673dd41b"
155SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" 155SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
156SRC_URI[radium-0.7.0.sha256sum] = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" 156SRC_URI[radium-0.7.0.sha256sum] = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
157SRC_URI[regex-1.10.5.sha256sum] = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" 157SRC_URI[regex-1.11.0.sha256sum] = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8"
158SRC_URI[regex-automata-0.4.7.sha256sum] = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" 158SRC_URI[regex-automata-0.4.8.sha256sum] = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3"
159SRC_URI[regex-syntax-0.8.4.sha256sum] = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" 159SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
160SRC_URI[rustversion-1.0.17.sha256sum] = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" 160SRC_URI[rustversion-1.0.17.sha256sum] = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6"
161SRC_URI[ryu-1.0.18.sha256sum] = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" 161SRC_URI[ryu-1.0.18.sha256sum] = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
162SRC_URI[serde-1.0.204.sha256sum] = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" 162SRC_URI[serde-1.0.213.sha256sum] = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1"
163SRC_URI[serde_derive-1.0.204.sha256sum] = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" 163SRC_URI[serde_derive-1.0.213.sha256sum] = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5"
164SRC_URI[serde_json-1.0.121.sha256sum] = "4ab380d7d9f22ef3f21ad3e6c1ebe8e4fc7a2000ccba2e4d71fc96f15b2cb609" 164SRC_URI[serde_json-1.0.132.sha256sum] = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03"
165SRC_URI[smallvec-1.13.2.sha256sum] = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" 165SRC_URI[smallvec-1.13.2.sha256sum] = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
166SRC_URI[speedate-0.14.4.sha256sum] = "08a20480dbd4c693f0b0f3210f2cee5bfa21a176c1fa4df0e65cc0474e7fa557" 166SRC_URI[speedate-0.14.4.sha256sum] = "08a20480dbd4c693f0b0f3210f2cee5bfa21a176c1fa4df0e65cc0474e7fa557"
167SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 167SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
168SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 168SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
169SRC_URI[strum-0.26.3.sha256sum] = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" 169SRC_URI[strum-0.26.3.sha256sum] = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06"
170SRC_URI[strum_macros-0.26.4.sha256sum] = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" 170SRC_URI[strum_macros-0.26.4.sha256sum] = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be"
171SRC_URI[syn-2.0.68.sha256sum] = "901fa70d88b9d6c98022e23b4136f9f3e54e4662c3bc1bd1d84a42a9a0f0c1e9" 171SRC_URI[syn-2.0.82.sha256sum] = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021"
172SRC_URI[synstructure-0.13.1.sha256sum] = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" 172SRC_URI[synstructure-0.13.1.sha256sum] = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
173SRC_URI[tap-1.0.1.sha256sum] = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" 173SRC_URI[tap-1.0.1.sha256sum] = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
174SRC_URI[target-lexicon-0.12.14.sha256sum] = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" 174SRC_URI[target-lexicon-0.12.14.sha256sum] = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
@@ -182,7 +182,7 @@ SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd8
182SRC_URI[url-2.5.2.sha256sum] = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" 182SRC_URI[url-2.5.2.sha256sum] = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c"
183SRC_URI[utf16_iter-1.0.5.sha256sum] = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" 183SRC_URI[utf16_iter-1.0.5.sha256sum] = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
184SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" 184SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
185SRC_URI[uuid-1.9.1.sha256sum] = "5de17fd2f7da591098415cff336e12965a28061ddace43b59cb3c430179c9439" 185SRC_URI[uuid-1.11.0.sha256sum] = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
186SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 186SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
187SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 187SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
188SRC_URI[write16-1.0.0.sha256sum] = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" 188SRC_URI[write16-1.0.0.sha256sum] = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/0001-dont-embed-RUSTFLAGS-in-final-binary-1396.patch b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-dont-embed-RUSTFLAGS-in-final-binary-1396.patch
deleted file mode 100644
index 5d732d5be..000000000
--- a/meta-python/recipes-devtools/python/python3-pydantic-core/0001-dont-embed-RUSTFLAGS-in-final-binary-1396.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From e07c41b3bad75948201a2201387225694c2fb501 Mon Sep 17 00:00:00 2001
2From: Boxy <rust@boxyuwu.dev>
3Date: Wed, 7 Aug 2024 17:11:02 +0100
4Subject: [PATCH] dont embed `RUSTFLAGS` in final binary (#1396)
5
6Upstream-Status: Backport [https://github.com/pydantic/pydantic-core/pull/1396]
7
8See discussion upstream in:
9https://github.com/pydantic/pydantic-core/issues/1365
10
11Backport fix from:
12https://github.com/pydantic/pydantic-core/commit/e07c41b3bad75948201a2201387225694c2fb501
13
14Signed-off-by: Tim Orling <tim.orling@konsulko.com>
15---
16 build.rs | 9 +++++++++
17 src/lib.rs | 5 ++++-
18 2 files changed, 13 insertions(+), 1 deletion(-)
19
20diff --git a/build.rs b/build.rs
21index d1093c74..f8f66901 100644
22--- a/build.rs
23+++ b/build.rs
24@@ -36,6 +36,15 @@ fn main() {
25 println!("cargo:rustc-cfg=has_coverage_attribute");
26 }
27 println!("cargo:rustc-check-cfg=cfg(has_coverage_attribute)");
28+
29+ if std::env::var("RUSTFLAGS")
30+ .unwrap_or_default()
31+ .contains("-Cprofile-use=")
32+ {
33+ println!("cargo:rustc-cfg=specified_profile_use");
34+ }
35+ println!("cargo:rustc-check-cfg=cfg(specified_profile_use)");
36+
37 generate_self_schema();
38 println!("cargo:rustc-env=PROFILE={}", std::env::var("PROFILE").unwrap());
39 }
40diff --git a/src/lib.rs b/src/lib.rs
41index eb598424..eb486da6 100644
42--- a/src/lib.rs
43+++ b/src/lib.rs
44@@ -98,7 +98,10 @@ pub fn build_info() -> String {
45 format!(
46 "profile={} pgo={}",
47 env!("PROFILE"),
48- option_env!("RUSTFLAGS").unwrap_or("").contains("-Cprofile-use="),
49+ // We use a `cfg!` here not `env!`/`option_env!` as those would
50+ // embed `RUSTFLAGS` into the generated binary which causes problems
51+ // with reproducable builds.
52+ cfg!(specified_profile_use),
53 )
54 }
55
56--
572.46.0
58
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.25.0.bb
index b24e141f6..59873e867 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.25.0.bb
@@ -11,9 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c"
11require ${BPN}-crates.inc 11require ${BPN}-crates.inc
12 12
13SRC_URI += "file://run-ptest" 13SRC_URI += "file://run-ptest"
14SRC_URI += "file://0001-dont-embed-RUSTFLAGS-in-final-binary-1396.patch"
15 14
16SRC_URI[sha256sum] = "79c747f9916e5b6cb588dfd994d9ac15a93e43eb07467d9e6f24d892c176bbf5" 15SRC_URI[sha256sum] = "f19d3a1d8998cc2bdab9190cead6becbb3c88d10bdfad947266132f077ce349e"
17 16
18DEPENDS = "python3-maturin-native python3-typing-extensions" 17DEPENDS = "python3-maturin-native python3-typing-extensions"
19 18
diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.8.2.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.9.2.bb
index de610d781..b776d05dc 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.8.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.9.2.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
11 11
12inherit pypi python_hatchling 12inherit pypi python_hatchling
13 13
14SRC_URI[sha256sum] = "6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2a" 14SRC_URI[sha256sum] = "d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f"
15 15
16DEPENDS += "python3-hatch-fancy-pypi-readme-native" 16DEPENDS += "python3-hatch-fancy-pypi-readme-native"
17 17
@@ -24,12 +24,15 @@ RDEPENDS:${PN} += "\
24 python3-image \ 24 python3-image \
25 python3-io \ 25 python3-io \
26 python3-json \ 26 python3-json \
27 python3-jsonschema \
27 python3-logging \ 28 python3-logging \
28 python3-netclient \ 29 python3-netclient \
29 python3-numbers \ 30 python3-numbers \
30 python3-profile \ 31 python3-profile \
31 python3-pydantic-core \ 32 python3-pydantic-core \
32 python3-typing-extensions \ 33 python3-typing-extensions \
34 python3-tzdata \
35 python3-zoneinfo \
33" 36"
34 37
35inherit ptest 38inherit ptest
@@ -38,6 +41,8 @@ RDEPENDS:${PN}-ptest += "\
38 python3-cloudpickle \ 41 python3-cloudpickle \
39 python3-dirty-equals \ 42 python3-dirty-equals \
40 python3-email-validator \ 43 python3-email-validator \
44 python3-html \
45 python3-hypothesis \
41 python3-pydoc \ 46 python3-pydoc \
42 python3-pytest \ 47 python3-pytest \
43 python3-pytest-mock \ 48 python3-pytest-mock \
diff --git a/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
index 5754fd2ad..cfdacf53b 100644
--- a/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
@@ -20,7 +20,7 @@ RDEPENDS:${PN} = "python3-pygobject \
20 python3-io \ 20 python3-io \
21 python3-logging" 21 python3-logging"
22 22
23RDEPENDS:${PN}-ptest += "bash" 23RDEPENDS:${PN}-ptest += "bash python3-xml"
24 24
25do_install_ptest() { 25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests 26 install -d ${D}${PTEST_PATH}/tests
diff --git a/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb
index 02ebeaad7..f902c705e 100644
--- a/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb
@@ -7,7 +7,6 @@ RDEPENDS:${PN} = "\
7 python3-pyserial \ 7 python3-pyserial \
8" 8"
9 9
10SRC_URI[md5sum] = "159673cfb56c72ceafc30fe91eedd847"
11SRC_URI[sha256sum] = "cc180d1b30c85a2bbca62c15fef1b871db048cdcfa80959968356d97bd3ff08e" 10SRC_URI[sha256sum] = "cc180d1b30c85a2bbca62c15fef1b871db048cdcfa80959968356d97bd3ff08e"
12 11
13inherit pypi setuptools3 12inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb b/meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb
index c0cca98ff..61e2b205c 100644
--- a/meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb
@@ -6,7 +6,6 @@ HOMEPAGE = "http://github.com/kurtbrose/pyjks"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=9694d6cc724caf7f7386be88a4a81958" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=9694d6cc724caf7f7386be88a4a81958"
8 8
9SRC_URI[md5sum] = "1a6bce95484f1f62f8ff59755972c632"
10SRC_URI[sha256sum] = "0378cec15fb11b2ed27ba54dad9fd987d48e6f62f49fcff138f5f7a8b312b044" 9SRC_URI[sha256sum] = "0378cec15fb11b2ed27ba54dad9fd987d48e6f62f49fcff138f5f7a8b312b044"
11 10
12inherit pypi setuptools3 11inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch
index 8edecbf1b..769cd145e 100644
--- a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch
+++ b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch
@@ -12,33 +12,31 @@ Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com>
12 tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- 12 tests/functional/w/wrong_import_order.txt | 22 +++++++++++-----------
13 1 file changed, 11 insertions(+), 11 deletions(-) 13 1 file changed, 11 insertions(+), 11 deletions(-)
14 14
15diff --git a/tests/functional/w/wrong_import_order.txt b/tests/functional/w/wrong_import_order.txt
16index 068d2140d..9594ff9e0 100644
17--- a/tests/functional/w/wrong_import_order.txt 15--- a/tests/functional/w/wrong_import_order.txt
18+++ b/tests/functional/w/wrong_import_order.txt 16+++ b/tests/functional/w/wrong_import_order.txt
19@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import ""sys"" should be placed before 17@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard
20 wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED 18 wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED
21 wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED 19 wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED
22 wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED 20 wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED
23-wrong-import-order:22:0:22:22::"first party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED 21-wrong-import-order:22:0:22:22::"first party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
24-wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED 22-wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
25-wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED 23-wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
26-wrong-import-order:25:0:25:28::"first party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED 24-wrong-import-order:25:0:25:28::"first party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
27-wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 25-wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
28-wrong-import-order:31:0:31:23::"first party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 26-wrong-import-order:31:0:31:23::"first party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
29-wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 27-wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
30-wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 28-wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
31-wrong-import-order:33:0:33:24::"first party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 29-wrong-import-order:33:0:33:24::"first party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
32-wrong-import-order:34:0:34:21::"first party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 30-wrong-import-order:34:0:34:21::"first party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
33-wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 31-wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
34+wrong-import-order:22:0:22:22::"third party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED 32+wrong-import-order:22:0:22:22::"third party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
35+wrong-import-order:23:0:23:25::"third party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED 33+wrong-import-order:23:0:23:25::"third party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
36+wrong-import-order:24:0:24:17::"third party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED 34+wrong-import-order:24:0:24:17::"third party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
37+wrong-import-order:25:0:25:28::"third party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED 35+wrong-import-order:25:0:25:28::"third party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
38+wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 36+wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
39+wrong-import-order:31:0:31:23::"third party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 37+wrong-import-order:31:0:31:23::"third party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
40+wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 38+wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
41+wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 39+wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
42+wrong-import-order:33:0:33:24::"third party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 40+wrong-import-order:33:0:33:24::"third party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
43+wrong-import-order:34:0:34:21::"third party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 41+wrong-import-order:34:0:34:21::"third party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
44+wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED 42+wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb b/meta-python/recipes-devtools/python/python3-pylint_3.3.1.bb
index eae30dfbf..1b2e033f1 100644
--- a/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pylint_3.3.1.bb
@@ -3,14 +3,16 @@ HOMEPAGE= "http://www.pylint.org/"
3LICENSE = "GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
5 5
6SRCREV = "76bce72bc57cc8089e439cc9d22fed5806341ed4"
6SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https \ 7SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https \
7 file://0001-Adjust-test-expectations-for-ptest.patch \ 8 file://0001-Adjust-test-expectations-for-ptest.patch \
8 file://run-ptest \ 9 file://run-ptest \
9 " 10 "
10SRCREV = "769ffd20bbf321a6cf23f5e7221a0b8221f51482"
11 11
12inherit python_setuptools_build_meta ptest 12inherit python_setuptools_build_meta ptest
13 13
14S = "${WORKDIR}/git"
15
14RDEPENDS:${PN} += "\ 16RDEPENDS:${PN} += "\
15 python3-astroid \ 17 python3-astroid \
16 python3-difflib \ 18 python3-difflib \
@@ -43,13 +45,11 @@ RDEPENDS:${PN}-ptest += " \
43 python3-unittest-automake-output \ 45 python3-unittest-automake-output \
44 " 46 "
45 47
46S = "${WORKDIR}/git"
47
48do_install_ptest() { 48do_install_ptest() {
49 install -d ${D}${PTEST_PATH}/tests 49 install -d ${D}${PTEST_PATH}/tests
50 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ 50 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
51 install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep 51 install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep
52 sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript 52 sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/a_script
53 # regression_distutil_import_error_73.py fails to run see 53 # regression_distutil_import_error_73.py fails to run see
54 # https://lists.openembedded.org/g/openembedded-devel/topic/103181847 54 # https://lists.openembedded.org/g/openembedded-devel/topic/103181847
55 rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py 55 rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py
diff --git a/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb
index 1ac95e8be..49f4f7da8 100644
--- a/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb
@@ -3,7 +3,6 @@ SUMMARY = "Pythonic Implementation of lyrics.wikia.com"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://setup.py;beginline=14;endline=14;md5=95d480cd6f8471abaeae21bd0ed277ba" 4LIC_FILES_CHKSUM = "file://setup.py;beginline=14;endline=14;md5=95d480cd6f8471abaeae21bd0ed277ba"
5 5
6SRC_URI[md5sum] = "1f3c997edeba149a8fb2b861cbad89c3"
7SRC_URI[sha256sum] = "c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b" 6SRC_URI[sha256sum] = "c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b"
8 7
9PYPI_PACKAGE = "PyLyrics" 8PYPI_PACKAGE = "PyLyrics"
diff --git a/meta-python/recipes-devtools/python/python3-pymisp_2.4.197.bb b/meta-python/recipes-devtools/python/python3-pymisp_2.5.0.bb
index f20716026..83b3c82ab 100644
--- a/meta-python/recipes-devtools/python/python3-pymisp_2.4.197.bb
+++ b/meta-python/recipes-devtools/python/python3-pymisp_2.5.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/MISP/PyMISP"
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20"
5 5
6SRC_URI[sha256sum] = "840881779d1762803e9329ae5129a88abb0e6110afb43c9e3e6e3877e5931a6c" 6SRC_URI[sha256sum] = "d3bfc7a337e4382026343f05aa442bfdecc3e11a4f3a5479ad0e6087dcde7e78"
7 7
8inherit python_poetry_core pypi 8inherit python_poetry_core pypi
9 9
diff --git a/meta-python/recipes-devtools/python/python3-pymodbus_3.7.2.bb b/meta-python/recipes-devtools/python/python3-pymodbus_3.7.3.bb
index b240837d4..9e4c80ebf 100644
--- a/meta-python/recipes-devtools/python/python3-pymodbus_3.7.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pymodbus_3.7.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/riptideio/pymodbus/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=eba8057aa82c058d2042b4b0a0e9cc63" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=eba8057aa82c058d2042b4b0a0e9cc63"
5 5
6SRC_URI[sha256sum] = "6cc63a14c8cca83f5b6d9dae3319565061bd49503ee7282df681201c16357eef" 6SRC_URI[sha256sum] = "603490162382fe34258992e3b8fe8d2da573a08aa49257ee7ab7b5b1d1a6653c"
7 7
8inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
9 9
diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.8.0.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.10.1.bb
index fcce456d8..393c0d201 100644
--- a/meta-python/recipes-devtools/python/python3-pymongo_4.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pymongo_4.10.1.bb
@@ -8,7 +8,7 @@ HOMEPAGE = "http://github.com/mongodb/mongo-python-driver"
8LICENSE = "Apache-2.0" 8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
10 10
11SRC_URI[sha256sum] = "454f2295875744dc70f1881e4b2eb99cdad008a33574bc8aaf120530f66c0cde" 11SRC_URI[sha256sum] = "a9de02be53b6bb98efe0b9eda84ffa1ec027fcb23a2de62c4f941d9a2f2f3330"
12 12
13inherit pypi python_setuptools_build_meta python_hatchling 13inherit pypi python_setuptools_build_meta python_hatchling
14 14
diff --git a/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb b/meta-python/recipes-devtools/python/python3-pyperf_2.8.0.bb
index f3ebfe2d9..9857701b5 100644
--- a/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyperf_2.8.0.bb
@@ -13,7 +13,7 @@ Features: \
13LICENSE = "MIT" 13LICENSE = "MIT"
14LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" 14LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8"
15 15
16SRC_URI[sha256sum] = "4201c6601032f374e9c900c6d2544a2f5891abedc1a96eec0e7b2338a6247589" 16SRC_URI[sha256sum] = "b30a20465819daf102b6543b512f6799a5a879ff2a123981e6cd732d0e6a7a79"
17 17
18DEPENDS += "python3-six-native" 18DEPENDS += "python3-six-native"
19 19
diff --git a/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch b/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch
index 347996a80..6e230d105 100644
--- a/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch
+++ b/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch
@@ -6,7 +6,7 @@ Upstream-Status: Inappropriate [OE-Specific]
6Signed-off-by: Khem Raj <raj.khem@gmail.com> 6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7--- a/setup.py 7--- a/setup.py
8+++ b/setup.py 8+++ b/setup.py
9@@ -194,9 +194,6 @@ def get_extension_modules(): 9@@ -193,9 +193,6 @@ def get_extension_modules():
10 ext_options = { 10 ext_options = {
11 "include_dirs": include_dirs, 11 "include_dirs": include_dirs,
12 "library_dirs": library_dirs, 12 "library_dirs": library_dirs,
diff --git a/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb b/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb
index cad9464cc..0a8b71084 100644
--- a/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)" 1SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=873757af01d2d221eedb422c4c1dd163" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=3f3574263859ef2dc9bd7817d51adbaa"
4DEPENDS = "python3-cython proj" 4DEPENDS = "python3-cython proj"
5DEPENDS:append:class-target = " python3-cython-native proj-native" 5DEPENDS:append:class-target = " python3-cython-native proj-native"
6 6
@@ -8,7 +8,7 @@ inherit pypi python_setuptools_build_meta
8 8
9SRC_URI += "file://rpath.patch" 9SRC_URI += "file://rpath.patch"
10 10
11SRC_URI[sha256sum] = "44aa7c704c2b7d8fb3d483bbf75af6cb2350d30a63b144279a09b75fead501bf" 11SRC_URI[sha256sum] = "bf658f4aaf815d9d03c8121650b6f0b8067265c36e31bc6660b98ef144d81813"
12 12
13RDEPENDS:${PN} = " \ 13RDEPENDS:${PN} = " \
14 python3-certifi \ 14 python3-certifi \
diff --git a/meta-python/recipes-devtools/python/python3-pyproject-api_1.7.1.bb b/meta-python/recipes-devtools/python/python3-pyproject-api_1.7.2.bb
index fd9bea480..ee8949add 100644
--- a/meta-python/recipes-devtools/python/python3-pyproject-api_1.7.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pyproject-api_1.7.2.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://pyproject-api.readthedocs.io"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7"
8 8
9SRC_URI[sha256sum] = "7ebc6cd10710f89f4cf2a2731710a98abce37ebff19427116ff2174c9236a827" 9SRC_URI[sha256sum] = "dc5b0e0f6e291a4f22b46e182c9c6d4915c62b1f089b8de1b73f2d06ae453593"
10 10
11PYPI_PACKAGE = "pyproject_api" 11PYPI_PACKAGE = "pyproject_api"
12 12
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.12.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.12.bb
index cf9885df7..a12fa0ac4 100644
--- a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.12.bb
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.12.bb
@@ -28,6 +28,8 @@ SRC_URI += " \
28 28
29RDEPENDS:${PN}-ptest += " \ 29RDEPENDS:${PN}-ptest += " \
30 python3-fcntl \ 30 python3-fcntl \
31 python3-html \
32 python3-netclient \
31 python3-pytest \ 33 python3-pytest \
32 python3-sqlite3 \ 34 python3-sqlite3 \
33 python3-unittest-automake-output \ 35 python3-unittest-automake-output \
diff --git a/meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.0.5.bb b/meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.0.5.bb
new file mode 100644
index 000000000..977ce807f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.0.5.bb
@@ -0,0 +1,11 @@
1SUMMARY = "pytest plugin for aiohttp support"
2HOMEPAGE = "https://github.com/aio-libs/pytest-aiohttp"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c251ea89d32d196dddd14c669ed3d482"
5
6DEPENDS = "python3-setuptools-scm-native"
7SRC_URI[sha256sum] = "880262bc5951e934463b15e3af8bb298f11f7d4d3ebac970aab425aff10a780a"
8
9inherit pypi python_setuptools_build_meta
10
11PYPI_PACKAGE = "pytest-aiohttp"
diff --git a/meta-python/recipes-devtools/python/python3-pytest-codspeed_2.2.1.bb b/meta-python/recipes-devtools/python/python3-pytest-codspeed_2.2.1.bb
new file mode 100644
index 000000000..b7b5461f6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-codspeed_2.2.1.bb
@@ -0,0 +1,12 @@
1SUMMARY = "Pytest plugin to create CodSpeed benchmarks"
2HOMEPAGE = "https://codspeed.io/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=2856cbe664e8843cd4fd4c1d1d85c2c3"
5
6DEPENDS = "python3-hatchling-native"
7SRC_URI[sha256sum] = "0adc24baf01c64a6ca0a0b83b3cd704351708997e09ec086b7776c32227d4e0a"
8
9inherit pypi python_hatchling
10
11PYPI_PACKAGE = "pytest_codspeed"
12RDEPENDS:${PN} = "python3-cffi python3-filelock python3-pytest"
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch b/meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch
deleted file mode 100644
index f024e79d9..000000000
--- a/meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From e184fb950ad3b52c5c16438d39fe4d516c784e30 Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Thu, 12 Oct 2023 17:32:40 -0400
4Subject: [PATCH] test_pytest_mock: skip args introspection tests
5
6Disable these two tests for now so that python3-pytest-mock can have
7successful ptest runs.
8
9Upstream-Status: Inappropriate [OE-Specific]
10
11Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
12---
13 tests/test_pytest_mock.py | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py
17index 3d53241..157b6c3 100644
18--- a/tests/test_pytest_mock.py
19+++ b/tests/test_pytest_mock.py
20@@ -581,6 +581,7 @@ def test_assert_called_wrapper(mocker: MockerFixture) -> None:
21 stub.assert_called()
22
23
24+@pytest.mark.skip("Async not correctly detected, skip for now")
25 @pytest.mark.usefixtures("needs_assert_rewrite")
26 def test_assert_called_args_with_introspection(mocker: MockerFixture) -> None:
27 stub = mocker.stub()
28@@ -597,6 +598,7 @@ def test_assert_called_args_with_introspection(mocker: MockerFixture) -> None:
29 stub.assert_called_once_with(*wrong_args)
30
31
32+@pytest.mark.skip("Async not correctly detected, skip for now")
33 @pytest.mark.usefixtures("needs_assert_rewrite")
34 def test_assert_called_kwargs_with_introspection(mocker: MockerFixture) -> None:
35 stub = mocker.stub()
36--
372.41.0
38
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest
index 8d2017d39..51ae892b0 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest
@@ -1,3 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2 2# see https://github.com/pytest-dev/pytest-mock/issues/102 for reasons to use plain asserts
3pytest --automake 3pytest --automake --assert=plain
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb
index fe2479c83..b968cf1cd 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb
@@ -5,28 +5,27 @@ LIC_FILES_CHKSUM = " \
5 file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \ 5 file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \
6" 6"
7 7
8SRC_URI = " \ 8SRC_URI += " \
9 git://github.com/pytest-dev/pytest-mock;branch=main;protocol=https \
10 file://0001-test_pytest_mock-skip-args-introspection-tests.patch \
11 file://run-ptest \ 9 file://run-ptest \
12" 10"
13SRCREV = "8733134b6194395e9cd3c745adcc9a9c09b0279e" 11SRC_URI[sha256sum] = "2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0"
14 12
15inherit python_setuptools_build_meta ptest 13inherit pypi python_setuptools_build_meta ptest
14
15PYPI_PACKAGE = "pytest-mock"
16 16
17DEPENDS += "python3-setuptools-scm-native" 17DEPENDS += "python3-setuptools-scm-native"
18 18
19RDEPENDS:${PN} += " \ 19RDEPENDS:${PN}-ptest += " \
20 python3-asyncio \ 20 python3-misc \
21 python3-mock \ 21 python3-mock \
22 python3-pytest \ 22 python3-pytest \
23 python3-pytest-asyncio \ 23 python3-pytest-asyncio \
24 python3-unittest \ 24 python3-threading \
25 python3-tox \
25 python3-unittest-automake-output \ 26 python3-unittest-automake-output \
26" 27"
27 28
28S = "${WORKDIR}/git"
29
30do_install_ptest() { 29do_install_ptest() {
31 install -d ${D}${PTEST_PATH}/tests 30 install -d ${D}${PTEST_PATH}/tests
32 cp -rf ${S}/tests ${D}${PTEST_PATH}/ 31 cp -rf ${S}/tests ${D}${PTEST_PATH}/
diff --git a/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb b/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb
index dff6af4e0..b161b016b 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb
@@ -4,7 +4,6 @@ SECTION = "devel/python"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9872c3a37cc9baf79a464cd168282be5" 5LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9872c3a37cc9baf79a464cd168282be5"
6 6
7SRC_URI[md5sum] = "79b997d418fb85c2529ab50cd4333689"
8SRC_URI[sha256sum] = "e7d91813a9aa991db87dacdef8cfd3f1657632d731d56d06238c5ffb63ab36d8" 7SRC_URI[sha256sum] = "e7d91813a9aa991db87dacdef8cfd3f1657632d731d56d06238c5ffb63ab36d8"
9 8
10inherit pypi setuptools3 9inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-python-multipart/run-ptest b/meta-python/recipes-devtools/python/python3-python-multipart/run-ptest
new file mode 100644
index 000000000..8d2017d39
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-python-multipart/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb
new file mode 100644
index 000000000..b3c018629
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb
@@ -0,0 +1,24 @@
1SUMMARY = "A streaming multipart parser for Python"
2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e"
4
5SRC_URI[sha256sum] = "045e1f98d719c1ce085ed7f7e1ef9d8ccc8c02ba02b5566d5f7521410ced58cb"
6
7inherit pypi python_hatchling ptest
8
9PYPI_PACKAGE = "python_multipart"
10
11SRC_URI += " \
12 file://run-ptest \
13"
14
15RDEPENDS:${PN}-ptest += " \
16 python3-pytest \
17 python3-pyyaml \
18 python3-unittest-automake-output \
19"
20
21do_install_ptest() {
22 install -d ${D}${PTEST_PATH}/tests
23 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
24}
diff --git a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb
index 171708596..49390df83 100644
--- a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb
+++ b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb
@@ -4,7 +4,6 @@ SECTION = "devel/python"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078"
6 6
7SRC_URI[md5sum] = "e59dd36a559dd2a876e4c149c69e947b"
8SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" 7SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7"
9 8
10inherit pypi setuptools3 ptest 9inherit pypi setuptools3 ptest
diff --git a/meta-python/recipes-devtools/python/python3-pyunormalize_15.1.0.bb b/meta-python/recipes-devtools/python/python3-pyunormalize_16.0.0.bb
index 6992ca24c..19463bc22 100644
--- a/meta-python/recipes-devtools/python/python3-pyunormalize_15.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyunormalize_16.0.0.bb
@@ -1,8 +1,8 @@
1SUMMARY = "Unicode normalization forms (NFC, NFKC, NFD, NFKD). A library independent from the Python core Unicode database." 1SUMMARY = "Unicode normalization forms (NFC, NFKC, NFD, NFKD). A library independent from the Python core Unicode database."
2HOMEPAGE = "https://github.com/mlodewijck/pyunormalize" 2HOMEPAGE = "https://github.com/mlodewijck/pyunormalize"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=dc15b678c3bac1f5b2c873591a330eae" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c2ee871081d4e4c24f32e37c413c73"
5 5
6SRC_URI[sha256sum] = "cf4a87451a0f1cb76911aa97f432f4579e1f564a2f0c84ce488c73a73901b6c1" 6SRC_URI[sha256sum] = "2e1dfbb4a118154ae26f70710426a52a364b926c9191f764601f5a8cb12761f7"
7 7
8inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include_2.1.bb b/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb
index 058699fdf..a93a2391d 100644
--- a/meta-python/recipes-devtools/python/python3-pyyaml-include_2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/tanbro/pyyaml-include"
3LICENSE = "GPL-3.0-only" 3LICENSE = "GPL-3.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
5DEPENDS += "python3-setuptools-scm-native" 5DEPENDS += "python3-setuptools-scm-native"
6SRCREV = "dc16153b28f5cab997814c0ce9b43dc4c58507e7" 6SRCREV = "c5be2b7dfc4aaa91e44dbeb6fa42adc80936ef9d"
7 7
8SRC_URI = " \ 8SRC_URI = " \
9 git://github.com/tanbro/pyyaml-include;protocol=https;branch=main \ 9 git://github.com/tanbro/pyyaml-include;protocol=https;branch=main \
@@ -21,6 +21,7 @@ do_install_ptest() {
21 21
22RDEPENDS:${PN} += " \ 22RDEPENDS:${PN} += " \
23 python3-pyyaml \ 23 python3-pyyaml \
24 python3-fsspec \
24" 25"
25RDEPENDS:${PN}-ptest += " \ 26RDEPENDS:${PN}-ptest += " \
26 python3-fsspec \ 27 python3-fsspec \
diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.16.1.bb b/meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb
index a4aae4aca..c1abd59f6 100644
--- a/meta-python/recipes-devtools/python/python3-pyzstd_0.16.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e"
8 8
9PYPI_PACKAGE = "pyzstd" 9PYPI_PACKAGE = "pyzstd"
10 10
11SRC_URI[sha256sum] = "ed50c08233878c155c73ab2622e115cd9e46c0f1c2e2ddd76f2e7ca24933f195" 11SRC_URI[sha256sum] = "179c1a2ea1565abf09c5f2fd72f9ce7c54b2764cf7369e05c0bfd8f1f67f63d2"
12 12
13inherit pypi setuptools3 13inherit pypi setuptools3
14 14
diff --git a/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb b/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb
index 79a38983d..54ae1c313 100644
--- a/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb
@@ -6,7 +6,6 @@ HOMEPAGE = "https://github.com/getsentry/raven-python"
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=b9a4414e08f0571d55184531cefc131b" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=b9a4414e08f0571d55184531cefc131b"
8 8
9SRC_URI[md5sum] = "3676f31dadfa61526444dd0245c78a38"
10SRC_URI[sha256sum] = "3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54" 9SRC_URI[sha256sum] = "3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54"
11 10
12PYPI_PACKAGE = "raven" 11PYPI_PACKAGE = "raven"
diff --git a/meta-python/recipes-devtools/python/python3-redis_5.0.8.bb b/meta-python/recipes-devtools/python/python3-redis_5.1.1.bb
index 1dddd04bc..a7ccc9558 100644
--- a/meta-python/recipes-devtools/python/python3-redis_5.0.8.bb
+++ b/meta-python/recipes-devtools/python/python3-redis_5.1.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=609ded3add9111c4c6e102f1d421d3f8"
7# Prefix archive to avoid clashing with the main redis archives 7# Prefix archive to avoid clashing with the main redis archives
8PYPI_ARCHIVE_NAME_PREFIX="pypi-" 8PYPI_ARCHIVE_NAME_PREFIX="pypi-"
9 9
10SRC_URI[sha256sum] = "0c5b10d387568dfe0698c6fad6615750c24170e548ca2deac10c649d463e9870" 10SRC_URI[sha256sum] = "f6c997521fedbae53387307c5d0bf784d9acc28d9f1d058abeac566ec4dbed72"
11 11
12inherit pypi setuptools3 12inherit pypi setuptools3
13 13
diff --git a/meta-python/recipes-devtools/python/python3-regex_2024.7.24.bb b/meta-python/recipes-devtools/python/python3-regex_2024.9.11.bb
index b6e09fc83..8fbae0cdc 100644
--- a/meta-python/recipes-devtools/python/python3-regex_2024.7.24.bb
+++ b/meta-python/recipes-devtools/python/python3-regex_2024.9.11.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7b5751ddd6b643203c31ff873051d069"
5 5
6inherit pypi python_setuptools_build_meta 6inherit pypi python_setuptools_build_meta
7 7
8SRC_URI[sha256sum] = "9cfd009eed1a46b27c14039ad5bbc5e71b6367c5b2e6d5f5da0ea91600817506" 8SRC_URI[sha256sum] = "6c188c307e8433bcb63dc1915022deb553b4203a70722fc542c363bf120a01fd"
9 9
10RDEPENDS:${PN} += " \ 10RDEPENDS:${PN} += " \
11 python3-stringold \ 11 python3-stringold \
diff --git a/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb b/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb
index 6df8e7e0b..119c62ea3 100644
--- a/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "http://github.com/Lukasa/requests-ftp"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=6683a23c9968b97709441dc884d46df6" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=6683a23c9968b97709441dc884d46df6"
5 5
6SRC_URI[md5sum] = "1a52ad1219e696b5abd5449d1ccc0294"
7SRC_URI[sha256sum] = "7504ceb5cba8a5c0135ed738596820a78c5f2be92d79b29f96ba99b183d8057a" 6SRC_URI[sha256sum] = "7504ceb5cba8a5c0135ed738596820a78c5f2be92d79b29f96ba99b183d8057a"
8 7
9inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch b/meta-python/recipes-devtools/python/python3-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
index 8a646874e..8a646874e 100644
--- a/meta-python/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
+++ b/meta-python/recipes-devtools/python/python3-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
diff --git a/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb b/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
index e374979cb..21f588bc1 100644
--- a/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
@@ -3,9 +3,6 @@ HOMEPAGE = "https://github.com/naimetti/rfc3986-validator"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
5 5
6FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3986-validator:"
7
8SRC_URI[md5sum] = "47f7657b790aaf6011a1ab3d86c6be95"
9SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055" 6SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055"
10 7
11PYPI_PACKAGE = "rfc3986_validator" 8PYPI_PACKAGE = "rfc3986_validator"
diff --git a/meta-python/recipes-devtools/python/python3-robotframework_7.0.1.bb b/meta-python/recipes-devtools/python/python3-robotframework_7.1.bb
index 9e81e8e7b..979aba681 100644
--- a/meta-python/recipes-devtools/python/python3-robotframework_7.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-robotframework_7.1.bb
@@ -13,7 +13,7 @@ inherit pypi setuptools3
13 13
14PYPI_PACKAGE_EXT = "zip" 14PYPI_PACKAGE_EXT = "zip"
15 15
16SRC_URI[sha256sum] = "58d01b84cd7eccea69f2dbe13cbcbff1299e551168d3b88c25617b0c9d6ddc75" 16SRC_URI[sha256sum] = "34796d387e182b36f05d82f3bbc802bd6a30192ebf1e03c76d2086d0d04faaff"
17 17
18RDEPENDS:${PN} += " \ 18RDEPENDS:${PN} += " \
19 python3-shell \ 19 python3-shell \
diff --git a/meta-python/recipes-devtools/python/python3-scrypt_0.8.24.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb
index 94c83e495..a3254de07 100644
--- a/meta-python/recipes-devtools/python/python3-scrypt_0.8.24.bb
+++ b/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb
@@ -5,7 +5,7 @@ HOMEPAGE="https://github.com/holgern/py-scrypt"
5 5
6SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" 6SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch"
7 7
8SRC_URI[sha256sum] = "98ffde45e4a95461d73ded54ba7a26857679920d4f8ff320f6f7ade6e29531bd" 8SRC_URI[sha256sum] = "a7b637848ed518c1ea2b31a9ecaaa3f49616598d8442de8706cf1f01fbabf0a7"
9 9
10inherit pypi ptest setuptools3 dos2unix 10inherit pypi ptest setuptools3 dos2unix
11 11
diff --git a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb b/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb
index a1d6a3c0d..babe05e1d 100644
--- a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb
@@ -4,7 +4,6 @@ HOMEPAGE = "https://pypi.org/project/service-identity"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=8a0f079f4e6a215d6bd6f9d97cab4d5f" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=8a0f079f4e6a215d6bd6f9d97cab4d5f"
6 6
7SRC_URI[md5sum] = "5e5c195d8fcedc72f9068be2ad9b5a13"
8SRC_URI[sha256sum] = "6e6c6086ca271dc11b033d17c3a8bea9f24ebff920c587da090afc9519419d34" 7SRC_URI[sha256sum] = "6e6c6086ca271dc11b033d17c3a8bea9f24ebff920c587da090afc9519419d34"
9 8
10inherit pypi python_setuptools_build_meta ptest 9inherit pypi python_setuptools_build_meta ptest
diff --git a/meta-python/recipes-devtools/python/python3-setproctitle/run-ptest b/meta-python/recipes-devtools/python/python3-setproctitle/run-ptest
new file mode 100644
index 000000000..e29e57ee3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-setproctitle/run-ptest
@@ -0,0 +1,4 @@
1#!/bin/sh
2
3# https://github.com/dvarrazzo/py-setproctitle/issues/141
4pytest --automake -k 'not test_unicode'
diff --git a/meta-python/recipes-devtools/python/python3-setproctitle_1.3.3.bb b/meta-python/recipes-devtools/python/python3-setproctitle_1.3.3.bb
new file mode 100644
index 000000000..d0373b46d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-setproctitle_1.3.3.bb
@@ -0,0 +1,34 @@
1SUMMARY = "A Python module to customize the process title"
2DESCRIPTION = "The setproctitle module allows a process to change its \
3title (as displayed by system tools such as ps, top or MacOS Activity \
4Monitor)."
5HOMEPAGE = "https://github.com/dvarrazzo/py-setproctitle"
6BUGTRACKER = "https://github.com/dvarrazzo/py-setproctitle/issues"
7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=86d2d41b5f4f023f43466f8cb7adebaa"
9
10inherit pypi setuptools3 ptest
11
12SRC_URI[sha256sum] = "c913e151e7ea01567837ff037a23ca8740192880198b7fbb90b16d181607caae"
13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18RDEPENDS:${PN}-ptest += "\
19 packagegroup-core-buildessential \
20 procps-ps \
21 python3-dev \
22 python3-multiprocessing \
23 python3-pytest \
24 python3-unittest-automake-output \
25"
26
27do_install_ptest() {
28 install -d ${D}${PTEST_PATH}/tests
29 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
30}
31
32BBCLASSEXTEND = "native nativesdk"
33
34INSANE_SKIP:${PN}-ptest = "dev-deps"
diff --git a/meta-python/recipes-devtools/python/python3-sh_2.0.7.bb b/meta-python/recipes-devtools/python/python3-sh_2.1.0.bb
index 8f8d970a9..948235fd7 100644
--- a/meta-python/recipes-devtools/python/python3-sh_2.0.7.bb
+++ b/meta-python/recipes-devtools/python/python3-sh_2.1.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/amoffat/sh"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5317094292296f03405f59ae5f6544b6" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5317094292296f03405f59ae5f6544b6"
5 5
6SRC_URI[sha256sum] = "029d45198902bfb967391eccfd13a88d92f7cebd200411e93f99ebacc6afbb35" 6SRC_URI[sha256sum] = "7e27301c574bec8ca5bf6f211851357526455ee97cd27a7c4c6cc5e2375399cb"
7 7
8PYPI_PACKAGE = "sh" 8PYPI_PACKAGE = "sh"
9 9
diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb
index af2c4a1e2..686f54b41 100644
--- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb
+++ b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb
@@ -1,9 +1,9 @@
1SUMMARY = "A simple, safe single expression evaluator library" 1SUMMARY = "A simple, safe single expression evaluator library"
2HOMEPAGE = "https://pypi.org/project/simpleeval/" 2HOMEPAGE = "https://pypi.org/project/simpleeval/"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" 4LIC_FILES_CHKSUM = "file://LICENCE;md5=83843c8f0f3beb18af2f282faecbdebe"
5 5
6SRC_URI[sha256sum] = "4a30f9cc01825fe4c719c785e3762623e350c4840d5e6855c2a8496baaa65fac" 6SRC_URI[sha256sum] = "f3d259deeb751d34c63e56747bab384efad63a2dbdb4f130281c42279788ac3c"
7 7
8inherit pypi python_setuptools_build_meta ptest 8inherit pypi python_setuptools_build_meta ptest
9 9
diff --git a/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb b/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb
index 5948dc859..9d9166831 100644
--- a/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb
+++ b/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb
@@ -2,7 +2,6 @@ DESCRIPTION = "Media asset management for Python, with glue code for various fra
2LICENSE = "BSD-3-Clause" 2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=b810770075a29bf44b96607440e7c801" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=b810770075a29bf44b96607440e7c801"
4 4
5SRC_URI[md5sum] = "e8d5dbe36e53d5a35cff227e795e8bbf"
6SRC_URI[sha256sum] = "59fea336d0eed38c1f0bf3181ee1222d0ef45f3a9dd34ebe65e6bfffdd6a65a9" 5SRC_URI[sha256sum] = "59fea336d0eed38c1f0bf3181ee1222d0ef45f3a9dd34ebe65e6bfffdd6a65a9"
7 6
8PYPI_PACKAGE = "speaklater" 7PYPI_PACKAGE = "speaklater"
diff --git a/meta-python/recipes-devtools/python/python3-spidev_3.6.bb b/meta-python/recipes-devtools/python/python3-spidev_3.6.bb
index e3fdc435a..807ee5b78 100644
--- a/meta-python/recipes-devtools/python/python3-spidev_3.6.bb
+++ b/meta-python/recipes-devtools/python/python3-spidev_3.6.bb
@@ -12,4 +12,4 @@ SRCNAME = "spidev"
12 12
13SRC_URI[sha256sum] = "14dbc37594a4aaef85403ab617985d3c3ef464d62bc9b769ef552db53701115b" 13SRC_URI[sha256sum] = "14dbc37594a4aaef85403ab617985d3c3ef464d62bc9b769ef552db53701115b"
14 14
15inherit pypi setuptools3 15inherit pypi python_setuptools_build_meta
diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.32.bb b/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb
index bb319d566..202350dcd 100644
--- a/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.32.bb
+++ b/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb
@@ -4,10 +4,11 @@ HOMEPAGE = "http://www.sqlalchemy.org/"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb"
6 6
7SRC_URI[sha256sum] = "c1b88cc8b02b6a5f0efb0345a03672d4c897dc7d92585176f88c67346f565ea8" 7SRC_URI[sha256sum] = "e11d7ea4d24f0a262bccf9a7cd6284c976c5369dac21db237cff59586045ab9f"
8 8
9PYPI_PACKAGE = "SQLAlchemy" 9inherit pypi python_setuptools_build_meta
10inherit pypi setuptools3 10
11DEPENDS += "python3-cython-native"
11 12
12RDEPENDS:${PN} += " \ 13RDEPENDS:${PN} += " \
13 python3-asyncio \ 14 python3-asyncio \
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb
index 62de2327c..daf67607f 100644
--- a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb
@@ -16,6 +16,7 @@ export HOST_SYS
16inherit pypi ptest python_hatchling 16inherit pypi ptest python_hatchling
17 17
18RDEPENDS:${PN}-ptest += "\ 18RDEPENDS:${PN}-ptest += "\
19 python3-mypy \
19 python3-pytest \ 20 python3-pytest \
20 python3-unittest-automake-output \ 21 python3-unittest-automake-output \
21 python3-unixadmin \ 22 python3-unixadmin \
diff --git a/meta-python/recipes-devtools/python/python3-starlette/run-ptest b/meta-python/recipes-devtools/python/python3-starlette/run-ptest
new file mode 100644
index 000000000..09bdf7ced
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-starlette/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest --automake --forked --deselect tests/test_staticfiles.py::test_staticfiles_with_invalid_dir_permissions_returns_401
diff --git a/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb b/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb
new file mode 100644
index 000000000..87080e9fe
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb
@@ -0,0 +1,41 @@
1SUMMARY = "Starlette is a lightweight ASGI framework/toolkit, which is ideal for building async web services in Python"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a"
4
5SRC_URI[sha256sum] = "caaa3b87ef8518ef913dac4f073dea44e85f73343ad2bdc17941931835b2a26a"
6
7inherit pypi python_hatchling ptest
8
9PYPI_PACKAGE = "starlette"
10
11SRC_URI += " \
12 file://run-ptest \
13"
14
15RDEPENDS:${PN}-ptest += " \
16 python3-attrs \
17 python3-ctypes \
18 python3-httpx \
19 python3-itsdangerous \
20 python3-jinja2 \
21 python3-outcome \
22 python3-pytest \
23 python3-pytest-asyncio \
24 python3-pytest-forked \
25 python3-python-multipart \
26 python3-sortedcontainers \
27 python3-terminal \
28 python3-trio \
29 python3-typing-extensions \
30 python3-unittest-automake-output \
31 python3-pyyaml \
32"
33
34do_install_ptest() {
35 install -d ${D}${PTEST_PATH}/tests
36 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
37}
38
39RDEPENDS:${PN} += " \
40 python3-anyio \
41"
diff --git a/meta-python/recipes-devtools/python/python3-stevedore_5.2.0.bb b/meta-python/recipes-devtools/python/python3-stevedore_5.3.0.bb
index 7cc0a2e52..7c9c3ebbf 100644
--- a/meta-python/recipes-devtools/python/python3-stevedore_5.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-stevedore_5.3.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://docs.openstack.org/stevedore/latest/"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5 5
6SRC_URI[sha256sum] = "46b93ca40e1114cea93d738a6c1e365396981bb6bb78c27045b7587c9473544d" 6SRC_URI[sha256sum] = "9a64265f4060312828151c204efbe9b7a9852a0d9228756344dbc7e4023e375a"
7 7
8DEPENDS += "python3-pbr-native" 8DEPENDS += "python3-pbr-native"
9 9
diff --git a/meta-python/recipes-devtools/python/python3-sympy_1.13.2.bb b/meta-python/recipes-devtools/python/python3-sympy_1.13.3.bb
index 02577964c..a0f670072 100644
--- a/meta-python/recipes-devtools/python/python3-sympy_1.13.2.bb
+++ b/meta-python/recipes-devtools/python/python3-sympy_1.13.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/sympy/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=ea48085d7dff75b49271b25447e8cdca" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=ea48085d7dff75b49271b25447e8cdca"
5 5
6SRC_URI[sha256sum] = "401449d84d07be9d0c7a46a64bd54fe097667d5e7181bfe67ec777be9e01cb13" 6SRC_URI[sha256sum] = "b27fd2c6530e0ab39e275fc9b683895367e51d5da91baa8d3d64db2565fec4d9"
7 7
8inherit pypi setuptools3 8inherit pypi setuptools3
9 9
diff --git a/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.4.bb b/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.4.bb
index c1e7c8e1f..e359e2d88 100644
--- a/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.4.bb
+++ b/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.4.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/jquast/telnetlib3"
3LICENSE = "ISC" 3LICENSE = "ISC"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fc2166986ad8169d334a342e0d8db8e0" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fc2166986ad8169d334a342e0d8db8e0"
5 5
6SRC_URI[md5sum] = "2dfac7e10ed63c408da50ea712415f87"
7SRC_URI[sha256sum] = "dbcbc16456a0e03a62431be7cfefff00515ab2f4ce2afbaf0d3a0e51a98c948d" 6SRC_URI[sha256sum] = "dbcbc16456a0e03a62431be7cfefff00515ab2f4ce2afbaf0d3a0e51a98c948d"
8 7
9PYPI_PACKAGE = "telnetlib3" 8PYPI_PACKAGE = "telnetlib3"
diff --git a/meta-python/recipes-devtools/python/python3-termcolor_2.4.0.bb b/meta-python/recipes-devtools/python/python3-termcolor_2.5.0.bb
index ea6b68399..6df8341c8 100644
--- a/meta-python/recipes-devtools/python/python3-termcolor_2.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-termcolor_2.5.0.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e5f5f7c9b280511f124dba5dda3d180e"
6 6
7inherit pypi python_setuptools_build_meta 7inherit pypi python_setuptools_build_meta
8 8
9SRC_URI[sha256sum] = "aab9e56047c8ac41ed798fa36d892a37aca6b3e9159f3e0c24bc64a9b3ac7b7a" 9SRC_URI[sha256sum] = "998d8d27da6d48442e8e1f016119076b690d962507531df4890fcd2db2ef8a6f"
10 10
11DEPENDS += " \ 11DEPENDS += " \
12 python3-toml-native \ 12 python3-toml-native \
diff --git a/meta-python/recipes-devtools/python/python3-tinyrecord_0.2.0.bb b/meta-python/recipes-devtools/python/python3-tinyrecord_0.2.0.bb
index 1d99ae2f3..16415ebee 100644
--- a/meta-python/recipes-devtools/python/python3-tinyrecord_0.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-tinyrecord_0.2.0.bb
@@ -8,7 +8,6 @@ HOMEPAGE = "https://github.com/eugene-eeo/tinyrecord"
8LICENSE = "MIT" 8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=ee157eec4b228c8d5b7a6e0feab2864a" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=ee157eec4b228c8d5b7a6e0feab2864a"
10 10
11SRC_URI[md5sum] = "cbaae3f4599b12e3bea67ca4a75eca99"
12SRC_URI[sha256sum] = "eb6dc23601be359ee00f5a3d31a46adf3bad0a16f8d60af216cd67982ca75cf4" 11SRC_URI[sha256sum] = "eb6dc23601be359ee00f5a3d31a46adf3bad0a16f8d60af216cd67982ca75cf4"
13 12
14PYPI_PACKAGE = "tinyrecord" 13PYPI_PACKAGE = "tinyrecord"
diff --git a/meta-python/recipes-devtools/python/python3-tomli_2.0.1.bb b/meta-python/recipes-devtools/python/python3-tomli_2.0.2.bb
index 9401ed897..443b2af38 100644
--- a/meta-python/recipes-devtools/python/python3-tomli_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-tomli_2.0.2.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5"
8 8
9inherit pypi python_flit_core 9inherit pypi python_flit_core
10 10
11SRC_URI[sha256sum] = "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" 11SRC_URI[sha256sum] = "d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed"
12 12
13BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
14 14
diff --git a/meta-python/recipes-devtools/python/python3-toolz_0.12.1.bb b/meta-python/recipes-devtools/python/python3-toolz_1.0.0.bb
index f1763ee51..ec67a4b16 100644
--- a/meta-python/recipes-devtools/python/python3-toolz_0.12.1.bb
+++ b/meta-python/recipes-devtools/python/python3-toolz_1.0.0.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca09cab178326d18433aae982d1edf5d" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca09cab178326d18433aae982d1edf5d"
6 6
7SRC_URI[sha256sum] = "ecca342664893f177a13dac0e6b41cbd8ac25a358e5f215316d43e2100224f4d" 7SRC_URI[sha256sum] = "2c86e3d9a04798ac556793bced838816296a2f085017664e4995cb40a1047a02"
8 8
9inherit pypi setuptools3 9inherit pypi setuptools3
10 10
diff --git a/meta-python/recipes-devtools/python/python3-trio_0.27.0.bb b/meta-python/recipes-devtools/python/python3-trio_0.27.0.bb
new file mode 100644
index 000000000..524e439d4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-trio_0.27.0.bb
@@ -0,0 +1,18 @@
1SUMMARY = "A friendly Python library for async concurrency and I/O"
2HOMEPAGE = "https://github.com/python-trio/trio"
3LICENSE = "Apache-2.0 & MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=447ea202d14d2aee40d8a2c26c865da9 \
5 file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \
6 file://LICENSE.MIT;md5=5f229c828e5a6f0a2ce90c7d3c054721"
7
8SRC_URI[sha256sum] = "1dcc95ab1726b2da054afea8fd761af74bad79bd52381b84eae408e983c76831"
9
10inherit pypi python_setuptools_build_meta
11
12RDEPENDS:${PN} = " \
13 python3-idna \
14 python3-sniffio \
15 python3-attrs \
16 python3-outcome \
17 python3-sortedcontainers \
18"
diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb b/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
index dab18f28b..69db7e618 100644
--- a/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
@@ -4,9 +4,9 @@ HOMEPAGE = "https://pypi.org/project/trustme"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d5a7af1a4b73e57431e25d15a2da745a" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=d5a7af1a4b73e57431e25d15a2da745a"
6 6
7SRC_URI[sha256sum] = "5375ad7fb427074bec956592e0d4ee2a4cf4da68934e1ba4bcf4217126bc45e6" 7SRC_URI[sha256sum] = "ed2264fb46c35459e6de9e454ed4bab73be44b6a2a26ad417f9b6854aebb644a"
8 8
9inherit pypi setuptools3 ptest 9inherit pypi python_hatchling python_setuptools_build_meta ptest
10 10
11SRC_URI += " \ 11SRC_URI += " \
12 file://run-ptest \ 12 file://run-ptest \
@@ -32,5 +32,4 @@ RDEPENDS:${PN}-ptest += " \
32do_install_ptest() { 32do_install_ptest() {
33 install -d ${D}${PTEST_PATH}/tests 33 install -d ${D}${PTEST_PATH}/tests
34 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ 34 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
35 cp -rf ${S}/setup.py ${D}${PTEST_PATH}
36} 35}
diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.7.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb
index e0472d1d8..056ddf428 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_24.7.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://twisted.org"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c5d2c2493b848f83864bdedd67bbf5" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c5d2c2493b848f83864bdedd67bbf5"
8 8
9SRC_URI[sha256sum] = "5a60147f044187a127ec7da96d170d49bcce50c6fd36f594e60f4587eff4d394" 9SRC_URI[sha256sum] = "02951299672595fea0f70fa2d5f7b5e3d56836157eda68859a6ad6492d36756e"
10 10
11inherit pypi python_hatchling 11inherit pypi python_hatchling
12 12
diff --git a/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb b/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb
index 1232f5e99..01c069291 100644
--- a/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb
@@ -4,7 +4,6 @@ SECTION = "devel/python"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://README.rst;beginline=32;endline=32;md5=2141358b0bce85fc45216ba91735ad50" 5LIC_FILES_CHKSUM = "file://README.rst;beginline=32;endline=32;md5=2141358b0bce85fc45216ba91735ad50"
6 6
7SRC_URI[md5sum] = "d397357dee78750385f92ca9c6c1f063"
8SRC_URI[sha256sum] = "8375a5fb68a12054f0def91af800c821fb2232949337756ed975f88d8ea2bc97" 7SRC_URI[sha256sum] = "8375a5fb68a12054f0def91af800c821fb2232949337756ed975f88d8ea2bc97"
9 8
10inherit pypi setuptools3 9inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-typer/run-ptest b/meta-python/recipes-devtools/python/python3-typer/run-ptest
index 94b40789b..94b6c0fc2 100644
--- a/meta-python/recipes-devtools/python/python3-typer/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-typer/run-ptest
@@ -3,4 +3,5 @@
3# Ignore the test_tutorial and test_completion. 3# Ignore the test_tutorial and test_completion.
4# Because it needs the docs_src package what is not in Yocto. 4# Because it needs the docs_src package what is not in Yocto.
5# And the tests are not that useful for Yocto. 5# And the tests are not that useful for Yocto.
6pytest --automake --ignore tests/test_tutorial --ignore tests/test_completion 6# for test_rich_markup_mode.py see https://github.com/fastapi/typer/pull/859/files/2cfd641d86a591a0d8582dec9292c03e6322a21a
7pytest --automake --ignore tests/test_tutorial --ignore tests/test_completion --deselect tests/test_rich_markup_mode.py::test_rich_markup_mode_rich
diff --git a/meta-python/recipes-devtools/python/python3-types-psutil_6.0.0.20240901.bb b/meta-python/recipes-devtools/python/python3-types-psutil_6.0.0.20241011.bb
index 331756e46..c04c14bf4 100644
--- a/meta-python/recipes-devtools/python/python3-types-psutil_6.0.0.20240901.bb
+++ b/meta-python/recipes-devtools/python/python3-types-psutil_6.0.0.20241011.bb
@@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c2d9643b4523fdf462
5 5
6inherit pypi setuptools3 6inherit pypi setuptools3
7 7
8SRC_URI[sha256sum] = "437affa76670363db9ffecfa4f153cc6900bf8a7072b3420f3bc07a593f92226" 8SRC_URI[sha256sum] = "5f5c71d02f7a018249d457e080f85966a31a8200644c5459f63cf02be1d85c04"
9 9
10BBCLASSEXTEND = "native" 10BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20240906.bb b/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20241003.bb
index 5c3a47743..09d919dd8 100644
--- a/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20240906.bb
+++ b/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20241003.bb
@@ -3,6 +3,6 @@ HOMEPAGE = "https://github.com/python/typeshed"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c2d9643b4523fdf462545aeb1356ad23" 4LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c2d9643b4523fdf462545aeb1356ad23"
5 5
6SRC_URI[sha256sum] = "9706c3b68284c25adffc47319ecc7947e5bb86b3773f843c73906fd598bc176e" 6SRC_URI[sha256sum] = "58cb85449b2a56d6684e41aeefb4c4280631246a0da1a719bdbe6f3fb0317446"
7 7
8inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-tzdata_2024.1.bb b/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb
index d81ded430..614d813e8 100644
--- a/meta-python/recipes-devtools/python/python3-tzdata_2024.1.bb
+++ b/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb
@@ -4,7 +4,7 @@ LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48 \ 4LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48 \
5 file://licenses/LICENSE_APACHE;md5=86d3f3a95c324c9479bd8986968f4327" 5 file://licenses/LICENSE_APACHE;md5=86d3f3a95c324c9479bd8986968f4327"
6 6
7SRC_URI[sha256sum] = "2674120f8d891909751c38abcdfd386ac0a5a1127954fbc332af6b5ceae07efd" 7SRC_URI[sha256sum] = "7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc"
8 8
9inherit pypi python_setuptools_build_meta 9inherit pypi python_setuptools_build_meta
10 10
diff --git a/meta-python/recipes-devtools/python/python3-uefi-firmware_1.11.bb b/meta-python/recipes-devtools/python/python3-uefi-firmware_1.12.bb
index 67e668ac6..e9e799e16 100644
--- a/meta-python/recipes-devtools/python/python3-uefi-firmware_1.11.bb
+++ b/meta-python/recipes-devtools/python/python3-uefi-firmware_1.12.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://setup.py;md5=5a59066a8676f17262ef7e691f8ef253"
9 9
10SRC_URI = "git://github.com/theopolis/uefi-firmware-parser;protocol=https;branch=master" 10SRC_URI = "git://github.com/theopolis/uefi-firmware-parser;protocol=https;branch=master"
11 11
12SRCREV = "f289219b99eb525cbc58e4dc2b07df3811f92ef7" 12SRCREV = "0c5fb74bcecc0e5c80625c38130fe948c2a3656e"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
diff --git a/meta-python/recipes-devtools/python/python3-ujson/run-ptest b/meta-python/recipes-devtools/python/python3-ujson/run-ptest
index 8d2017d39..4863c5e5a 100644
--- a/meta-python/recipes-devtools/python/python3-ujson/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-ujson/run-ptest
@@ -1,3 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2 2
3pytest --automake 3FORCE_COLOR=1 pytest --automake --capture=no
diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb
index 18ce5cc30..5f4439c4c 100644
--- a/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5
6 6
7SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" 7SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1"
8 8
9inherit pypi ptest setuptools3 9inherit pypi ptest python_setuptools_build_meta
10 10
11# let OE do the strip operation 11# let OE do the strip operation
12export UJSON_BUILD_NO_STRIP = "1" 12export UJSON_BUILD_NO_STRIP = "1"
@@ -24,6 +24,7 @@ RDEPENDS:${PN} += "\
24 24
25RDEPENDS:${PN}-ptest += " \ 25RDEPENDS:${PN}-ptest += " \
26 python3-json \ 26 python3-json \
27 python3-misc \
27 python3-pytest \ 28 python3-pytest \
28 python3-pytz \ 29 python3-pytz \
29 python3-unittest-automake-output \ 30 python3-unittest-automake-output \
diff --git a/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb b/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb
index ebba68388..41ead5c05 100644
--- a/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb
+++ b/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb
@@ -12,6 +12,10 @@ SRC_URI += " \
12" 12"
13 13
14RDEPENDS:${PN}-ptest += " \ 14RDEPENDS:${PN}-ptest += " \
15 python3-decorator \
16 python3-eth-hash \
17 python3-isort \
18 python3-pycryptodome \
15 python3-pytest \ 19 python3-pytest \
16 python3-unittest-automake-output \ 20 python3-unittest-automake-output \
17" 21"
diff --git a/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb b/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb
index 02639b590..8a83f1111 100644
--- a/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb
+++ b/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb
@@ -4,7 +4,6 @@ HOMEPAGE = "https://launchpad.net/versiontools"
4LICENSE = "LGPL-3.0-only" 4LICENSE = "LGPL-3.0-only"
5LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=20;md5=02193721a38fd8a05a4ddeb7df8e294d" 5LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=20;md5=02193721a38fd8a05a4ddeb7df8e294d"
6 6
7SRC_URI[md5sum] = "602b7db8eea30dd29a1d451997adf251"
8SRC_URI[sha256sum] = "a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6" 7SRC_URI[sha256sum] = "a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6"
9 8
10inherit pypi setuptools3 9inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-virtualenv_20.26.4.bb b/meta-python/recipes-devtools/python/python3-virtualenv_20.26.5.bb
index aadef0e94..82d60aeaa 100644
--- a/meta-python/recipes-devtools/python/python3-virtualenv_20.26.4.bb
+++ b/meta-python/recipes-devtools/python/python3-virtualenv_20.26.5.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/pypa/virtualenv"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538"
8 8
9SRC_URI[sha256sum] = "c17f4e0f3e6036e9f26700446f85c76ab11df65ff6d8a9cbfad9f71aabfcf23c" 9SRC_URI[sha256sum] = "ce489cac131aa58f4b25e321d6d186171f78e6cb13fafbf32a840cee67733ff4"
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12inherit pypi python_hatchling 12inherit pypi python_hatchling
diff --git a/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb b/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb
index ac3a90efb..92a19a2d1 100644
--- a/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb
+++ b/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb
@@ -2,7 +2,6 @@ SUMMARY = "A tiny pythonic visitor implementation."
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" 3LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
4 4
5SRC_URI[md5sum] = "94a024ed0ec1b02b4497c15267d319ca"
6SRC_URI[sha256sum] = "2c737903b2b6864ebc6167eef7cf3b997126f1aa94bdf590f90f1436d23e480a" 5SRC_URI[sha256sum] = "2c737903b2b6864ebc6167eef7cf3b997126f1aa94bdf590f90f1436d23e480a"
7 6
8inherit pypi setuptools3 7inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-watchdog_5.0.2.bb b/meta-python/recipes-devtools/python/python3-watchdog_5.0.3.bb
index ad66523de..0467f55ac 100644
--- a/meta-python/recipes-devtools/python/python3-watchdog_5.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-watchdog_5.0.3.bb
@@ -4,7 +4,7 @@ DEPENDS = "python3-argh"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6 6
7SRC_URI[sha256sum] = "dcebf7e475001d2cdeb020be630dc5b687e9acdd60d16fea6bb4508e7b94cf76" 7SRC_URI[sha256sum] = "108f42a7f0345042a854d4d0ad0834b741d421330d5f575b81cb27b883500176"
8 8
9inherit pypi setuptools3 9inherit pypi setuptools3
10 10
diff --git a/meta-python/recipes-devtools/python/python3-web3_6.20.1.bb b/meta-python/recipes-devtools/python/python3-web3_7.3.0.bb
index b3487b6d8..b0b67dfac 100644
--- a/meta-python/recipes-devtools/python/python3-web3_6.20.1.bb
+++ b/meta-python/recipes-devtools/python/python3-web3_7.3.0.bb
@@ -2,9 +2,9 @@ SUMMARY = "A Python library for interacting with Ethereum."
2HOMEPAGE = "https://github.com/ethereum/web3.py" 2HOMEPAGE = "https://github.com/ethereum/web3.py"
3SECTION = "devel/python" 3SECTION = "devel/python"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=373fede350846fdffd23648fba504635" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=c8694da5a97575618474d9caf8c812da"
6 6
7SRC_URI[sha256sum] = "a29bc1863734e1c05f128ddbc56878f299ea71776806e667b581a83b5d5be0ed" 7SRC_URI[sha256sum] = "74d52cfcc23b8e99c837190128b932923f38fca290ae2cf2d690edbf622252a0"
8 8
9inherit pypi setuptools3 9inherit pypi setuptools3
10 10
diff --git a/meta-python/recipes-devtools/python/python3-webargs_8.4.0.bb b/meta-python/recipes-devtools/python/python3-webargs_8.6.0.bb
index 78af01332..d898539ab 100644
--- a/meta-python/recipes-devtools/python/python3-webargs_8.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-webargs_8.6.0.bb
@@ -1,11 +1,11 @@
1SUMMARY = "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks." 1SUMMARY = "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks."
2HOMEPAGE = "https://github.com/marshmallow-code/webargs" 2HOMEPAGE = "https://github.com/marshmallow-code/webargs"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=dfbd4ae0074716275fc229c775723e8f" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=27586b20700d7544c06933afe56f7df4"
5 5
6inherit pypi setuptools3 6inherit pypi python_flit_core
7 7
8SRC_URI[sha256sum] = "ea99368214a4ce613924be99d71db58c269631e95eff4fa09b7354e52dc006a5" 8SRC_URI[sha256sum] = "b8d098ab92bd74c659eca705afa31d681475f218cb15c1e57271fa2103c0547a"
9 9
10RDEPENDS:${PN} += "\ 10RDEPENDS:${PN} += "\
11 python3-marshmallow \ 11 python3-marshmallow \
diff --git a/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb b/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb
index cedc79081..81709435b 100644
--- a/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb
@@ -2,7 +2,6 @@ SUMMARY = "Character encoding aliases for legacy web content"
2LICENSE = "BSD-3-Clause" 2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" 3LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
4 4
5SRC_URI[md5sum] = "32f6e261d52e57bf7e1c4d41546d15b8"
6SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" 5SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923"
7 6
8inherit pypi setuptools3 7inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch b/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch
deleted file mode 100644
index 91fea2452..000000000
--- a/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From ede95a4f4487b4fc3cad8452ae388376966fca0e Mon Sep 17 00:00:00 2001
2From: Chris Lamb <lamby@debian.org>
3Date: Fri, 5 Apr 2019 15:48:23 +0200
4Subject: [PATCH] Mark non-determinstic test_minimize_dfa test as XFAIL
5
6Sourced from Debian [1]
7[1] https://sources.debian.org/src/python-whoosh/2.7.4%2Bgit6-g9134ad92-8/debian/patches/0003-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch/
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 tests/test_automata.py | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/tests/test_automata.py b/tests/test_automata.py
16index daab96c..7031dc3 100644
17--- a/tests/test_automata.py
18+++ b/tests/test_automata.py
19@@ -327,6 +327,7 @@ def test_regular():
20 assert not ex.accept("bc")
21
22
23+@pytest.mark.xfail(strict=False)
24 def test_minimize_dfa():
25 # Example from www.cs.odu.edu/~toida/nerzic/390teched/regular/fa/min-fa.html
26
27--
282.44.0
29
diff --git a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb b/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
deleted file mode 100644
index 406de2e52..000000000
--- a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
+++ /dev/null
@@ -1,43 +0,0 @@
1SUMMARY = "Fast, pure-Python full text indexing, search, and spell checking library."
2DESCRIPTION = "\
3Whoosh is a fast, featureful full-text indexing and searching library \
4implemented in pure Python. Programmers can use it to easily add search \
5functionality to their applications and websites. Every part of how \
6Whoosh works can be extended or replaced to meet your needs exactly."
7LICENSE = "BSD-2-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05303186defc6141143629961c7c8a60"
9
10SRC_URI += "file://0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch"
11
12SRC_URI[md5sum] = "893433e9c0525ac043df33e6e04caab2"
13SRC_URI[sha256sum] = "e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b45375dda69"
14
15PYPI_PACKAGE = "Whoosh"
16PYPI_PACKAGE_EXT = "zip"
17
18inherit ptest pypi setuptools3
19
20RDEPENDS:${PN} += " \
21 python3-email \
22 python3-multiprocessing \
23 python3-netclient \
24 python3-numbers \
25 python3-pickle \
26 python3-shell \
27 python3-stringold \
28"
29
30SRC_URI += " \
31 file://run-ptest \
32"
33
34RDEPENDS:${PN}-ptest += " \
35 python3-fcntl \
36 python3-pytest \
37 python3-unittest-automake-output \
38"
39
40do_install_ptest() {
41 install -d ${D}${PTEST_PATH}/tests
42 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
43}
diff --git a/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb b/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb
index b9c62ced7..bb0007e61 100644
--- a/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb
@@ -4,7 +4,6 @@ SECTION = "devel/python"
4LICENSE = "MPL-2.0" 4LICENSE = "MPL-2.0"
5LIC_FILES_CHKSUM = "file://README.md;beginline=171;endline=199;md5=462586bcbebd12f5d0ac443be0ed3d91" 5LIC_FILES_CHKSUM = "file://README.md;beginline=171;endline=199;md5=462586bcbebd12f5d0ac443be0ed3d91"
6 6
7SRC_URI[md5sum] = "c21c7841f5e03ff709a0564b2e094010"
8SRC_URI[sha256sum] = "3ad0f40a696763bb0f4d4dec5b51f6b53ccfeb7c16ebb5897349303045f94776" 7SRC_URI[sha256sum] = "3ad0f40a696763bb0f4d4dec5b51f6b53ccfeb7c16ebb5897349303045f94776"
9 8
10SRC_URI += "file://0001-cli-drop-the-second-argument-from-click.argument-dec.patch" 9SRC_URI += "file://0001-cli-drop-the-second-argument-from-click.argument-dec.patch"
diff --git a/meta-python/recipes-devtools/python/python3-wrapt_1.16.0.bb b/meta-python/recipes-devtools/python/python3-wrapt_1.17.0rc1.bb
index 398d2fa6b..636d67755 100644
--- a/meta-python/recipes-devtools/python/python3-wrapt_1.16.0.bb
+++ b/meta-python/recipes-devtools/python/python3-wrapt_1.17.0rc1.bb
@@ -6,12 +6,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7"
6 6
7SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d" 7SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d"
8 8
9inherit pypi setuptools3 ptest 9inherit setuptools3 ptest
10 10
11SRC_URI += " \ 11SRCREV = "75f291f8bf1fe6535b13b0b3dfedca012ca6c8a5"
12SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=develop \
12 file://run-ptest \ 13 file://run-ptest \
13" 14"
14 15
16S = "${WORKDIR}/git"
17
15# python3-misc for 'this' module 18# python3-misc for 'this' module
16RDEPENDS:${PN}-ptest += " \ 19RDEPENDS:${PN}-ptest += " \
17 python3-misc \ 20 python3-misc \
diff --git a/meta-python/recipes-devtools/python/python3-xmlschema_3.3.2.bb b/meta-python/recipes-devtools/python/python3-xmlschema_3.4.2.bb
index 33244d98e..b29862b1d 100644
--- a/meta-python/recipes-devtools/python/python3-xmlschema_3.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-xmlschema_3.4.2.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/sissaschool/xmlschema"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=26aa26eda991a3a2b61c11b62d3fda65" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=26aa26eda991a3a2b61c11b62d3fda65"
5 5
6SRC_URI[sha256sum] = "a2f021f21d0b5ab371e9bcb5a1d5c34b9ba2c74ad3e32854474c4159bf94e158" 6SRC_URI[sha256sum] = "d35023ea504ea46127302d1297b046d023b96fec5fe4b4b690534ea85b5e9bf8"
7 7
8inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
9 9
diff --git a/meta-python/recipes-devtools/python/python3-yappi/py3.13.patch b/meta-python/recipes-devtools/python/python3-yappi/py3.13.patch
new file mode 100644
index 000000000..48d81d56e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-yappi/py3.13.patch
@@ -0,0 +1,43 @@
1From defc0291039184b640779e38471ece5e6d3c8cb8 Mon Sep 17 00:00:00 2001
2From: Alfredo Moralejo <amoralej@redhat.com>
3Date: Tue, 2 Jul 2024 10:48:24 +0200
4Subject: [PATCH] Add support for python 3.13
5
6_PyEval_SetProfile() has been moved to internal pycore_ceval.h and it is
7not longer exported [1]. PyEval_SetProfileAllThreads was introduced in 3.12 [2].
8
9[1] https://github.com/python/cpython/commit/c494fb333b57bdf43fc90189fc29a00c293b2987
10[2] https://github.com/python/cpython/commits/76af5c9153394f3d07562427168711a68f54ec66
11
12Upstream-Status: Backport [https://github.com/sumerc/yappi/commit/defc0291039184b640779e38471ece5e6d3c8cb8]
13Signed-off-by: Alexander Kanavin <alex@linutronix.de>
14---
15 yappi/_yappi.c | 8 ++++++--
16 1 file changed, 6 insertions(+), 2 deletions(-)
17
18diff --git a/yappi/_yappi.c b/yappi/_yappi.c
19index 459f4dd..56187c9 100644
20--- a/yappi/_yappi.c
21+++ b/yappi/_yappi.c
22@@ -1284,7 +1284,9 @@ _resume_greenlet_ctx(_ctx *ctx)
23 static void
24 _eval_setprofile(PyThreadState *ts)
25 {
26-#if PY_VERSION_HEX > 0x030b0000
27+#if PY_VERSION_HEX > 0x030c0000
28+ PyEval_SetProfileAllThreads(_yapp_callback, NULL);
29+#elif PY_VERSION_HEX > 0x030b0000
30 _PyEval_SetProfile(ts, _yapp_callback, NULL);
31 #elif PY_VERSION_HEX < 0x030a00b1
32 ts->use_tracing = 1;
33@@ -1298,7 +1300,9 @@ _eval_setprofile(PyThreadState *ts)
34 static void
35 _eval_unsetprofile(PyThreadState *ts)
36 {
37-#if PY_VERSION_HEX > 0x030b0000
38+#if PY_VERSION_HEX > 0x030c0000
39+ PyEval_SetProfileAllThreads(NULL, NULL);
40+#elif PY_VERSION_HEX > 0x030b0000
41 _PyEval_SetProfile(ts, NULL, NULL);
42 #elif PY_VERSION_HEX < 0x030a00b1
43 ts->use_tracing = 0;
diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.6.0.bb b/meta-python/recipes-devtools/python/python3-yappi_1.6.0.bb
index 4349cab1e..80d5012be 100644
--- a/meta-python/recipes-devtools/python/python3-yappi_1.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-yappi_1.6.0.bb
@@ -10,6 +10,7 @@ SRC_URI += " \
10 file://run-ptest \ 10 file://run-ptest \
11 file://0001-test_functionality-convert-line-endings-to-Unix.patch \ 11 file://0001-test_functionality-convert-line-endings-to-Unix.patch \
12 file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \ 12 file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \
13 file://py3.13.patch \
13" 14"
14 15
15inherit pypi python_setuptools_build_meta ptest 16inherit pypi python_setuptools_build_meta ptest
diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.10.0.bb b/meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb
index 0ff3041db..475c71bba 100644
--- a/meta-python/recipes-devtools/python/python3-yarl_1.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/aio-libs/yarl/"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5 5
6SRC_URI[sha256sum] = "3bf10a395adac62177ba8ea738617e8de6cbb1cea6aa5d5dd2accde704fc8195" 6SRC_URI[sha256sum] = "02e1c9e36528de270c22c06aac6a5a1de8cc870fafefb5e90e5b35cb8985d0b2"
7 7
8SRC_URI += "file://run-ptest" 8SRC_URI += "file://run-ptest"
9 9
@@ -20,10 +20,13 @@ RDEPENDS:${PN} = "\
20 python3-multidict \ 20 python3-multidict \
21 python3-idna \ 21 python3-idna \
22 python3-io \ 22 python3-io \
23 python3-propcache \
23" 24"
24 25
25RDEPENDS:${PN}-ptest += " \ 26RDEPENDS:${PN}-ptest += " \
27 python3-hypothesis \
26 python3-pytest \ 28 python3-pytest \
29 python3-pytest-codspeed \
27 python3-unittest-automake-output \ 30 python3-unittest-automake-output \
28" 31"
29 32
diff --git a/meta-python/recipes-devtools/python/python3-zeroconf_0.134.0.bb b/meta-python/recipes-devtools/python/python3-zeroconf_0.135.0.bb
index b1b1a2e4c..e72e12512 100644
--- a/meta-python/recipes-devtools/python/python3-zeroconf_0.134.0.bb
+++ b/meta-python/recipes-devtools/python/python3-zeroconf_0.135.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf"
3LICENSE = "LGPL-2.1-only" 3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=6517bdc8f2416f27ab725d4702f7aac3" 4LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=6517bdc8f2416f27ab725d4702f7aac3"
5 5
6SRC_URI[sha256sum] = "5be2c3a61cc81eb1bd4684bbdee19d708522d94bc8ac60dfe001a0fde4421092" 6SRC_URI[sha256sum] = "9424551ef5a8d91fa8296bb1791e83b31afcd17a336a071928d4a978d7b96b72"
7 7
8DEPENDS += "python3-cython-native" 8DEPENDS += "python3-cython-native"
9 9
diff --git a/meta-python/recipes-devtools/python/python3-zopeinterface_6.3.bb b/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb
index 21d03f2e7..76b064181 100644
--- a/meta-python/recipes-devtools/python/python3-zopeinterface_6.3.bb
+++ b/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb
@@ -4,9 +4,8 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423
4 4
5PYPI_PACKAGE = "zope.interface" 5PYPI_PACKAGE = "zope.interface"
6 6
7inherit pypi setuptools3 7inherit pypi python_setuptools_build_meta
8SRC_URI[sha256sum] = "f83d6b4b22262d9a826c3bd4b2fbfafe1d0000f085ef8e44cd1328eea274ae6a" 8SRC_URI[sha256sum] = "4284d664ef0ff7b709836d4de7b13d80873dc5faeffc073abdb280058bfac5e3"
9
10PACKAGES =. "${PN}-test " 9PACKAGES =. "${PN}-test "
11 10
12RPROVIDES:${PN} += "zope-interfaces" 11RPROVIDES:${PN} += "zope-interfaces"
diff --git a/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.2.bb b/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.3.bb
index 0aae1d0c9..f88c58058 100644
--- a/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.2.bb
+++ b/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/burnash/gspread"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9488e21983675fa56dc05af558b83e2f" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9488e21983675fa56dc05af558b83e2f"
5 5
6SRC_URI[sha256sum] = "b147688b8c7a18c9835d5f998997ec17c97c0470babcab17f65ac2b3a32402b7" 6SRC_URI[sha256sum] = "cf03627f44e9e03a0a3de241d1748709db22af4fc8c11a13aa389d0bce6053fd"
7 7
8RDEPENDS:${PN} = " \ 8RDEPENDS:${PN} = " \
9 python3-google-auth \ 9 python3-google-auth \
diff --git a/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb b/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb
index bd2b59d36..6884e908a 100644
--- a/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb
+++ b/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ffde61aeb8917e70e0257e0a4b6d103c"
5 5
6SRC_URI[sha256sum] = "e11528d63e75461d45b86c23f9db8260303d6ab6cae075fa9eddb44527ad8ece" 6SRC_URI[sha256sum] = "e11528d63e75461d45b86c23f9db8260303d6ab6cae075fa9eddb44527ad8ece"
7 7
8inherit pypi setuptools3 8inherit pypi python_setuptools_build_meta
9 9
10DEPENDS += "python3-cython-native" 10DEPENDS += "python3-cython-native"
11RDEPENDS:${PN} += "python3-core" 11RDEPENDS:${PN} += "python3-core"
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch
index f8a3061ae..1426067d2 100644
--- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch
@@ -1,4 +1,4 @@
1From b9f95c06b2e7a525f4f93d705976882e8dcba6ab Mon Sep 17 00:00:00 2001 1From b62aa1a2e3e0feced819a375be3b2187cc356284 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 20 Dec 2022 09:46:31 -0800 3Date: Tue, 20 Dec 2022 09:46:31 -0800
4Subject: [PATCH] sip: Conditionally use GetAssertStackTrace under 4Subject: [PATCH] sip: Conditionally use GetAssertStackTrace under
@@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 1 file changed, 4 insertions(+) 15 1 file changed, 4 insertions(+)
16 16
17diff --git a/sip/cpp/sip_corewxAppTraits.cpp b/sip/cpp/sip_corewxAppTraits.cpp 17diff --git a/sip/cpp/sip_corewxAppTraits.cpp b/sip/cpp/sip_corewxAppTraits.cpp
18index 9c9f9d5b..1d2d2f90 100644 18index 9a9a4a66..a54e7659 100644
19--- a/sip/cpp/sip_corewxAppTraits.cpp 19--- a/sip/cpp/sip_corewxAppTraits.cpp
20+++ b/sip/cpp/sip_corewxAppTraits.cpp 20+++ b/sip/cpp/sip_corewxAppTraits.cpp
21@@ -471,7 +471,11 @@ static PyObject *meth_wxAppTraits_GetAssertStackTrace(PyObject *sipSelf, PyObjec 21@@ -471,7 +471,11 @@ static PyObject *meth_wxAppTraits_GetAssertStackTrace(PyObject *sipSelf, PyObjec
@@ -23,7 +23,7 @@ index 9c9f9d5b..1d2d2f90 100644
23 23
24 Py_BEGIN_ALLOW_THREADS 24 Py_BEGIN_ALLOW_THREADS
25+#if wxUSE_STACKWALKER 25+#if wxUSE_STACKWALKER
26 sipRes = new ::wxString((sipSelfWasArg ? sipCpp-> ::wxAppTraits::GetAssertStackTrace() : sipCpp->GetAssertStackTrace())); 26 sipRes = new ::wxString((sipSelfWasArg ? sipCpp->::wxAppTraits::GetAssertStackTrace() : sipCpp->GetAssertStackTrace()));
27+#else 27+#else
28+ sipRes = new ::wxString(""); 28+ sipRes = new ::wxString("");
29+#endif 29+#endif
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Fix-build-with-gcc-14.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Fix-build-with-gcc-14.patch
deleted file mode 100644
index 4782e74ef..000000000
--- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Fix-build-with-gcc-14.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 5234a454a1b9f11f83e59909fb2972176497e02c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 9 May 2024 17:35:11 -0700
4Subject: [PATCH] sip: Fix build with gcc-14
5
6Fixes -Wincompatible-pointer-types
7sip/siplib/siplib.c:3900:20: error: assignment to 'sipSimpleWrapper *' {aka 'struct _sipSimpleWrapper *'} from incompatible pointer type 'PyObject *' {aka 'struct _object *'} [-Wincompatible-pointer-types]
8| 3900 | *selfp = va_arg(va, PyObject *);
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 sip/siplib/siplib.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/sip/siplib/siplib.c b/sip/siplib/siplib.c
17index 95563e5c..ae3fac60 100644
18--- a/sip/siplib/siplib.c
19+++ b/sip/siplib/siplib.c
20@@ -3897,7 +3897,7 @@ static int parsePass1(PyObject **parseErrp, sipSimpleWrapper **selfp,
21 {
22 case '#':
23 /* A ctor has an argument with the /Transfer/ annotation. */
24- *selfp = va_arg(va, PyObject *);
25+ *selfp = (sipSimpleWrapper *)va_arg(va, PyObject *);
26 break;
27
28 case 'B':
29--
302.45.0
31
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/add-back-option-build-base.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/add-back-option-build-base.patch
index a46f3f870..2622df24e 100644
--- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/add-back-option-build-base.patch
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/add-back-option-build-base.patch
@@ -1,4 +1,7 @@
1Add back default user options for cross build. 1From bc08fddaf4b23073b2afbc045a26aedc4d2c6470 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com>
3Date: Wed, 30 Mar 2022 17:39:33 +0800
4Subject: [PATCH] Add back default user options for cross build.
2 5
3Upstream-Status: Pending [oe specific] 6Upstream-Status: Pending [oe specific]
4 7
@@ -8,10 +11,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
8 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
9 12
10diff --git a/setup.py b/setup.py 13diff --git a/setup.py b/setup.py
11index a215da7..dccfeb3 100644 14index 99ee6612..fad5aba8 100644
12--- a/setup.py 15--- a/setup.py
13+++ b/setup.py 16+++ b/setup.py
14@@ -105,7 +105,7 @@ class wx_build(orig_build): 17@@ -111,7 +111,7 @@ class wx_build(orig_build):
15 Delegate to build.py for doing the actual build, (including wxWidgets) 18 Delegate to build.py for doing the actual build, (including wxWidgets)
16 instead of letting distutils do it all. 19 instead of letting distutils do it all.
17 """ 20 """
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/not-overwrite-cflags-cxxflags.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/not-overwrite-cflags-cxxflags.patch
index 67f7949b3..3dc4cb1e7 100644
--- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/not-overwrite-cflags-cxxflags.patch
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/not-overwrite-cflags-cxxflags.patch
@@ -1,4 +1,8 @@
1Not overwrite CFLAGS and CXXFLAGS. It also avoid buildpaths qa issue: 1From 05189dc7063a7c238e38589cbaf92be256270e54 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com>
3Date: Wed, 23 Nov 2022 13:40:00 +0800
4Subject: [PATCH] Not overwrite CFLAGS and CXXFLAGS. It also avoid buildpaths
5 qa issue:
2 6
3 WARNING: python3-wxgtk4-4.2.0-r0 do_package_qa: QA Issue: File 7 WARNING: python3-wxgtk4-4.2.0-r0 do_package_qa: QA Issue: File
4 /usr/lib64/python3.11/site-packages/wx/.debug/_xml.cpython-311-aarch64-linux-gnu.so 8 /usr/lib64/python3.11/site-packages/wx/.debug/_xml.cpython-311-aarch64-linux-gnu.so
@@ -12,10 +16,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
12 1 file changed, 2 insertions(+), 2 deletions(-) 16 1 file changed, 2 insertions(+), 2 deletions(-)
13 17
14diff --git a/wscript b/wscript 18diff --git a/wscript b/wscript
15index 067b307..50d96d1 100644 19index 79bdf3e1..d6244d5e 100644
16--- a/wscript 20--- a/wscript
17+++ b/wscript 21+++ b/wscript
18@@ -195,8 +195,8 @@ def configure(conf): 22@@ -188,8 +188,8 @@ def configure(conf):
19 cfg.finishSetup(conf.env.wx_config, conf.env.debug, 23 cfg.finishSetup(conf.env.wx_config, conf.env.debug,
20 'mingw32' if isWindows and not conf.env.use_msvc else None) 24 'mingw32' if isWindows and not conf.env.use_msvc else None)
21 25
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/wxgtk-fixup-build-scripts.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/wxgtk-fixup-build-scripts.patch
index 0d65ebb59..09497133b 100644
--- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/wxgtk-fixup-build-scripts.patch
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/wxgtk-fixup-build-scripts.patch
@@ -1,4 +1,7 @@
1Fix issues in build scripts: 1From 171df10f86be6defb9e317ac62df8a7b0389b901 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com>
3Date: Wed, 30 Mar 2022 17:39:33 +0800
4Subject: [PATCH] Fix issues in build scripts:
2 5
3* remove hardcode lib path from buildtools/config.py which is not suitable for 6* remove hardcode lib path from buildtools/config.py which is not suitable for
4 cross build 7 cross build
@@ -15,10 +18,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
15 2 files changed, 4 insertions(+), 4 deletions(-) 18 2 files changed, 4 insertions(+), 4 deletions(-)
16 19
17diff --git a/buildtools/config.py b/buildtools/config.py 20diff --git a/buildtools/config.py b/buildtools/config.py
18index c837e5d..d426005 100644 21index 94c216ec..b3ec3f2e 100644
19--- a/buildtools/config.py 22--- a/buildtools/config.py
20+++ b/buildtools/config.py 23+++ b/buildtools/config.py
21@@ -312,8 +312,8 @@ class Configuration(object): 24@@ -336,8 +336,8 @@ class Configuration(object):
22 # wx-config doesn't output that for some reason. For now, just 25 # wx-config doesn't output that for some reason. For now, just
23 # add it unconditionally but we should really check if the lib is 26 # add it unconditionally but we should really check if the lib is
24 # really found there or wx-config should be fixed. 27 # really found there or wx-config should be fixed.
@@ -30,10 +33,10 @@ index c837e5d..d426005 100644
30 # Move the various -I, -D, etc. flags we got from the config scripts 33 # Move the various -I, -D, etc. flags we got from the config scripts
31 # into the distutils lists. 34 # into the distutils lists.
32diff --git a/setup.py b/setup.py 35diff --git a/setup.py b/setup.py
33index 64bec4b..fb29253 100644 36index fad5aba8..eade737b 100644
34--- a/setup.py 37--- a/setup.py
35+++ b/setup.py 38+++ b/setup.py
36@@ -130,7 +130,7 @@ class wx_build(orig_build): 39@@ -135,7 +135,7 @@ class wx_build(orig_build):
37 'message and the wxWidgets and Phoenix build steps in the future.\n') 40 'message and the wxWidgets and Phoenix build steps in the future.\n')
38 41
39 # Use the same Python that is running this script. 42 # Use the same Python that is running this script.
@@ -42,7 +45,7 @@ index 64bec4b..fb29253 100644
42 cmd = ' '.join(cmd) 45 cmd = ' '.join(cmd)
43 runcmd(cmd) 46 runcmd(cmd)
44 47
45@@ -233,7 +233,7 @@ if haveWheel: 48@@ -238,7 +238,7 @@ if haveWheel:
46 class wx_install(orig_install): 49 class wx_install(orig_install):
47 def finalize_options(self): 50 def finalize_options(self):
48 orig_install.finalize_options(self) 51 orig_install.finalize_options(self)
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.1.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.2.bb
index cc6b6cef6..64e2b3ebb 100644
--- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.1.bb
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.2.bb
@@ -1,8 +1,8 @@
1DESCRIPTION = "Python3 interface to the wxWidgets Cross-platform C++ GUI toolkit." 1DESCRIPTION = "Python3 interface to the wxWidgets Cross-platform C++ GUI toolkit."
2HOMEPAGE = "http://www.wxpython.org" 2HOMEPAGE = "http://www.wxpython.org"
3 3
4LICENSE = "LGPL-2.0-only & WXwindows" 4LICENSE = "LGPL-2.0-only & WXwindows & BSD-2-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bdabf9e11191e2b9d3b6aef5f338ec00" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=102f37a0d23aa258e59e4cc8b5380b35"
6 6
7DEPENDS = "python3-attrdict3-native python3-six-native wxwidgets-native \ 7DEPENDS = "python3-attrdict3-native python3-six-native wxwidgets-native \
8 wxwidgets \ 8 wxwidgets \
@@ -14,9 +14,8 @@ SRC_URI += "file://add-back-option-build-base.patch \
14 file://wxgtk-fixup-build-scripts.patch \ 14 file://wxgtk-fixup-build-scripts.patch \
15 file://not-overwrite-cflags-cxxflags.patch \ 15 file://not-overwrite-cflags-cxxflags.patch \
16 file://0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch \ 16 file://0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch \
17 file://0001-sip-Fix-build-with-gcc-14.patch \
18 " 17 "
19SRC_URI[sha256sum] = "e48de211a6606bf072ec3fa778771d6b746c00b7f4b970eb58728ddf56d13d5c" 18SRC_URI[sha256sum] = "5dbcb0650f67fdc2c5965795a255ffaa3d7b09fb149aa8da2d0d9aa44e38e2ba"
20 19
21S = "${WORKDIR}/wxPython-${PV}" 20S = "${WORKDIR}/wxPython-${PV}"
22 21
diff --git a/meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb b/meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb
new file mode 100644
index 000000000..e44e04038
--- /dev/null
+++ b/meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb
@@ -0,0 +1,23 @@
1SUMMARY = "Python bindings for interfacing with the Zstandard compression library"
2DESCRIPTION = "This project provides Python bindings for interfacing with the \
3 Zstandard compression library. A C extension and CFFI interface \
4 are provided."
5HOMEPAGE = "https://github.com/indygreg/python-zstandard"
6BUGTRACKER = "https://github.com/indygreg/python-zstandard/issues"
7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=3ae87c50fd64b6f0942823686871e758"
9
10DEPENDS = "python3-cffi"
11
12RDEPENDS_${PN} = "\
13 libzstd (>= 1.4.0) \
14 python3-cffi \
15"
16
17inherit setuptools3 pypi
18
19SRC_URI[sha256sum] = "b2d8c62d08e7255f68f7a740bae85b3c9b8e5466baa9cbf7f57f1cde0ac6bc09"
20
21# Because the pyproject.toml is still in development and it contains invalid
22# requirements.
23INSANE_SKIP += "pep517-backend"
diff --git a/meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb b/meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb
deleted file mode 100644
index d87e289c5..000000000
--- a/meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1DESCRIPTION = "OAuth 2.0 client library"
2
3HOMEPAGE = "http://github.com/google/oauth2client/"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=038e1390e94fe637991fa5569daa62bc"
6
7inherit pypi
8
9SRC_URI[sha256sum] = "d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6"
10
11RDEPENDS:${PN} += " \
12 python3-httplib2 \
13 python3-pyasn1 \
14 python3-pyasn1-modules \
15 python3-rsa \
16 python3-six \
17 "
18
19inherit setuptools3
diff --git a/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.5.bb b/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.6.bb
index 8c9262afb..c3b151508 100644
--- a/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.5.bb
+++ b/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.6.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://rhodesmill.org/pyephem/"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=9c930b395b435b00bb13ec83b0c99f40" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=9c930b395b435b00bb13ec83b0c99f40"
6 6
7SRC_URI[sha256sum] = "0c64a8aa401574c75942045b9af70d1656e14c5366151c0cbb400cbeedc2362a" 7SRC_URI[sha256sum] = "0ed2e4ea76f9db3eede2204adab8af3f1708201c7c04ee8511e710a54ca6425f"
8 8
9PYPI_PACKAGE = "ephem" 9PYPI_PACKAGE = "ephem"
10 10
diff --git a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb
index a7bd8ae43..9e074bddc 100644
--- a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb
+++ b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "http://fedoraproject.org/wiki/pykickstart"
3LICENSE = "GPL-2.0-or-later" 3LICENSE = "GPL-2.0-or-later"
4 4
5LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" 5LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
6FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
7 6
8inherit python_setuptools_build_meta 7inherit python_setuptools_build_meta
9 8
diff --git a/meta-python/recipes-extended/python-rich/python3-rich_13.8.0.bb b/meta-python/recipes-extended/python-rich/python3-rich_13.9.3.bb
index ee66c3554..9458e4137 100644
--- a/meta-python/recipes-extended/python-rich/python3-rich_13.8.0.bb
+++ b/meta-python/recipes-extended/python-rich/python3-rich_13.9.3.bb
@@ -8,7 +8,7 @@ LICENSE = "MIT"
8 8
9LIC_FILES_CHKSUM = "file://LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303"
10 10
11SRC_URI[sha256sum] = "a5ac1f1cd448ade0d59cc3356f7db7a7ccda2c8cbae9c7a90c28ff463d3e91f4" 11SRC_URI[sha256sum] = "bc1e01b899537598cf02579d2b9f4a415104d3fc439313a7a2c165d76557a08e"
12 12
13inherit pypi python_poetry_core 13inherit pypi python_poetry_core
14 14
diff --git a/meta-webserver/conf/layer.conf b/meta-webserver/conf/layer.conf
index 08e9df505..90a879218 100644
--- a/meta-webserver/conf/layer.conf
+++ b/meta-webserver/conf/layer.conf
@@ -17,7 +17,7 @@ LAYERVERSION_webserver = "1"
17 17
18LAYERDEPENDS_webserver = "core openembedded-layer" 18LAYERDEPENDS_webserver = "core openembedded-layer"
19 19
20LAYERSERIES_COMPAT_webserver = "styhead" 20LAYERSERIES_COMPAT_webserver = "styhead walnascar"
21 21
22LICENSE_PATH += "${LAYERDIR}/licenses" 22LICENSE_PATH += "${LAYERDIR}/licenses"
23 23
diff --git a/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb b/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb
index e775cdb50..fc97f6e58 100644
--- a/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb
+++ b/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb
@@ -21,7 +21,6 @@ RDEPENDS:packagegroup-meta-webserver = "\
21RDEPENDS:packagegroup-meta-webserver-http = "\ 21RDEPENDS:packagegroup-meta-webserver-http = "\
22 apache-websocket \ 22 apache-websocket \
23 apache2 \ 23 apache2 \
24 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "cherokee", "", d)} \
25 hiawatha \ 24 hiawatha \
26 monkey \ 25 monkey \
27 nginx \ 26 nginx \
diff --git a/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.17.14.bb b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.17.14.bb
new file mode 100644
index 000000000..de5437027
--- /dev/null
+++ b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.17.14.bb
@@ -0,0 +1,22 @@
1SUMMARY = "Visually render documentation for an API defined with the OpenAPI"
2DESCRIPTION = "\
3 Swagger UI allows anyone — be it your development team or your end consumers — to visualize and \
4 interact with the API’s resources without having any of the implementation logic in place. \
5 It’s automatically generated from your OpenAPI (formerly known as Swagger) Specification, \
6 with the visual documentation making it easy for back end implementation and client side consumption. \
7 "
8HOMEPAGE = "https://github.com/swagger-api/swagger-ui"
9SECTION = "net"
10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
12
13SRC_URI = "git://github.com/swagger-api/swagger-ui;branch=master;protocol=https"
14
15SRCREV = "74ed0adebfc9c8dd0de2bf8e81495b022a66c083"
16
17S = "${WORKDIR}/git"
18
19do_install() {
20 install -d ${D}${localstatedir}/www/openapi/static
21 cp -r ${S}/dist/* ${D}${localstatedir}/www/openapi/static
22}
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.62.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.62.bb
index 364b4c674..7d6ea27e7 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.62.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.62.bb
@@ -50,7 +50,7 @@ SSTATE_SCAN_FILES += "apxs config_vars.mk config.nice"
50PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" 50PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
51PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" 51PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
52PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap" 52PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap"
53PACKAGECONFIG[zlib] = "--enable-deflate,,zlib,zlib" 53PACKAGECONFIG[zlib] = "--enable-deflate --with-zlib=${STAGING_LIBDIR}/../,,zlib,zlib"
54 54
55CFLAGS:append = " -DPATH_MAX=4096" 55CFLAGS:append = " -DPATH_MAX=4096"
56 56
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee/0001-common-internal.h-Define-LLONG_MAX-if-undefined.patch b/meta-webserver/recipes-httpd/cherokee/cherokee/0001-common-internal.h-Define-LLONG_MAX-if-undefined.patch
deleted file mode 100644
index 0f4384275..000000000
--- a/meta-webserver/recipes-httpd/cherokee/cherokee/0001-common-internal.h-Define-LLONG_MAX-if-undefined.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From c73415021f3f3b2b30062ab74b25fe49c51c2242 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 10 Nov 2019 15:59:44 -0800
4Subject: [PATCH] common-internal.h: Define LLONG_MAX if undefined
5
6time_t can also be long long type, therefore check for that as fallback
7Fixes build on 32bit hosts where time_t is fixed for Y2K38
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 cherokee/common-internal.h | 12 ++++++++++++
13 1 file changed, 12 insertions(+)
14
15diff --git a/cherokee/common-internal.h b/cherokee/common-internal.h
16index 5c28da97..5646ec0f 100644
17--- a/cherokee/common-internal.h
18+++ b/cherokee/common-internal.h
19@@ -222,6 +222,16 @@ char *strcasestr(char *s, char *find);
20 # endif
21 #endif
22
23+/* Long Long limit
24+ */
25+#ifndef LLONG_MAX
26+# if (__SIZEOF_LONG_LONG__ == 8)
27+# define LLONG_MAX 0x7fffffffffffffffLL
28+# else
29+# error "Can't define LLONG_MAX"
30+# endif
31+#endif
32+
33 /* time_t limit
34 */
35 #ifndef TIME_MAX
36@@ -229,6 +239,8 @@ char *strcasestr(char *s, char *find);
37 # define TIME_MAX ((time_t)INT_MAX)
38 # elif (SIZEOF_TIME_T == SIZEOF_LONG)
39 # define TIME_MAX ((time_t)LONG_MAX)
40+# elif (SIZEOF_TIME_T == __SIZEOF_LONG_LONG__)
41+# define TIME_MAX ((time_t)LLONG_MAX)
42 # else
43 # error "Can't define TIME_MAX"
44 # endif
45--
462.24.0
47
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee/0001-configure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch b/meta-webserver/recipes-httpd/cherokee/cherokee/0001-configure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch
deleted file mode 100644
index b16060f2a..000000000
--- a/meta-webserver/recipes-httpd/cherokee/cherokee/0001-configure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 4591b5b40d66c19edc73b951ad091dac639454c9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 25 Jul 2017 16:00:34 -0700
4Subject: [PATCH] configure.ac: Add foreign to AM_INIT_AUTOMAKE
5
6Fixes errors like
7| Makefile.am: error: required file './README' not found
8| Makefile.am: error: required file './ChangeLog' not found
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 configure.ac | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/configure.ac b/configure.ac
17index d6298f27..98cab791 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -32,7 +32,7 @@ dnl Init autoconf and automake
21 AC_INIT([cherokee], [cherokee_version], [http://bugs.cherokee-project.com/], [cherokee])
22 AC_CONFIG_SRCDIR([cherokee/server.c])
23 AC_CONFIG_MACRO_DIR([m4])
24-AM_INIT_AUTOMAKE([no-define])
25+AM_INIT_AUTOMAKE([no-define foreign])
26
27 dnl Define version
28 AC_DEFINE(PACKAGE_MAJOR_VERSION, "cherokee_major_version", [Version string])
29--
302.13.3
31
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee/0001-make-Do-not-build-po-files.patch b/meta-webserver/recipes-httpd/cherokee/cherokee/0001-make-Do-not-build-po-files.patch
deleted file mode 100644
index 1d6a2182b..000000000
--- a/meta-webserver/recipes-httpd/cherokee/cherokee/0001-make-Do-not-build-po-files.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From e9ae3231ec188df801fe51aa95d6afec2e52db58 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 25 Jul 2017 16:14:19 -0700
4Subject: [PATCH] make: Do not build po files
5
6Target fails to build
7
8Upstream-Status: Inappropriate [Cross-compile specific]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 Makefile.am | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/Makefile.am b/Makefile.am
15index f01278c3..eb864c36 100644
16--- a/Makefile.am
17+++ b/Makefile.am
18@@ -1,6 +1,6 @@
19 ## Cherokee: Makefile.am -*- makefile -*-
20
21-SUBDIRS = po m4 www icons themes qa doc . admin contrib cherokee cget packages dbslayer
22+SUBDIRS = m4 www icons themes qa doc . admin contrib cherokee cget packages dbslayer
23 SUFFIXES = .sample.pre .sample .h.pre .h .xml.pre .xml
24 ACLOCAL_AMFLAGS = -I m4
25
26--
272.13.3
28
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee/cherokee-install-configured.py-once.patch b/meta-webserver/recipes-httpd/cherokee/cherokee/cherokee-install-configured.py-once.patch
deleted file mode 100644
index 3336f7df7..000000000
--- a/meta-webserver/recipes-httpd/cherokee/cherokee/cherokee-install-configured.py-once.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 98a0f19df0a31d5649ad89d395fd1b8de5591827 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 3 Apr 2014 21:33:25 +0800
4Subject: [PATCH] admin/Makefile.am: only install configured.py once
5
6Both the two rules install-adminpyDATA and install-generatedDATA will
7install the configured.py to the same location, they can run parallel,
8and they use "install -m", which would might build failures:
9
10/usr/bin/install: setting permissions for `/path/to/configured.py': No such file or directory
11
12This is because the first install is setting the permission while the
13second install is removing the file an re-install.
14
15Only install the configured.py once will fix the problem, I think that
16there is no side effect since it installed the same file to the same
17location twice in the past.
18
19Upstream-Status: Pending
20
21Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
22---
23 admin/Makefile.am | 1 -
24 1 file changed, 1 deletion(-)
25
26diff --git a/admin/Makefile.am b/admin/Makefile.am
27index ce5937b..6f96934 100644
28--- a/admin/Makefile.am
29+++ b/admin/Makefile.am
30@@ -73,7 +73,6 @@ SystemStatsWidgets.py \
31 Wizard.py \
32 XMLServerDigest.py \
33 config_version.py \
34-configured.py \
35 consts.py \
36 util.py \
37 popen.py \
38--
391.8.2.1
40
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee/cherokee.init b/meta-webserver/recipes-httpd/cherokee/cherokee/cherokee.init
deleted file mode 100644
index 93603b84d..000000000
--- a/meta-webserver/recipes-httpd/cherokee/cherokee/cherokee.init
+++ /dev/null
@@ -1,32 +0,0 @@
1#!/bin/sh
2DAEMON=/usr/sbin/cherokee
3CONFIG=/etc/cherokee/cherokee.conf
4PIDFILE=/var/run/cherokee.pid
5NAME="cherokee"
6DESC="Cherokee http server"
7
8test -r /etc/default/cherokee && . /etc/default/cherokee
9test -x "$DAEMON" || exit 0
10test ! -r "$CONFIG" && exit 0
11
12case "$1" in
13 start)
14 echo "Starting $DESC: "
15 start-stop-daemon --oknodo -S -x $DAEMON -- -d -C $CONFIG
16 ;;
17
18 stop)
19 echo "Stopping $DESC:"
20 start-stop-daemon -K -p $PIDFILE
21 ;;
22
23 restart)
24 $0 stop >/dev/null 2>&1
25 $0 start
26 ;;
27
28 *)
29 echo "Usage: $0 {start|stop|restart}"
30 exit 0
31 ;;
32esac
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee/cherokee.service b/meta-webserver/recipes-httpd/cherokee/cherokee/cherokee.service
deleted file mode 100644
index a2d703185..000000000
--- a/meta-webserver/recipes-httpd/cherokee/cherokee/cherokee.service
+++ /dev/null
@@ -1,10 +0,0 @@
1[Unit]
2Description=Cherokee web server
3After=syslog.target
4
5[Service]
6Type=forking
7ExecStart=/usr/sbin/cherokee -d -C /etc/cherokee/cherokee.conf
8
9[Install]
10WantedBy=multi-user.target
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
deleted file mode 100644
index 53d6a85ae..000000000
--- a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
+++ /dev/null
@@ -1,79 +0,0 @@
1SUMMARY = "Cherokee Web Server fast and secure"
2SUMMARY:cget = "Small downloader based in the Cherokee client library"
3HOMEPAGE = "http://www.cherokee-project.com/"
4SECTION = "network"
5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7
8DEPENDS = "unzip-native libpcre openssl mysql5 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
9
10SRCREV = "9a75e65b876bcc376cb6b379dca1f7ce4a055c59"
11PV = "1.2.104+git"
12SRC_URI = "git://github.com/cherokee/webserver;branch=master;protocol=https \
13 file://cherokee.init \
14 file://cherokee.service \
15 file://cherokee-install-configured.py-once.patch \
16 file://0001-configure.ac-Add-foreign-to-AM_INIT_AUTOMAKE.patch \
17 file://0001-make-Do-not-build-po-files.patch \
18 file://0001-common-internal.h-Define-LLONG_MAX-if-undefined.patch \
19"
20
21S = "${WORKDIR}/git"
22
23inherit autotools-brokensep pkgconfig binconfig update-rc.d systemd ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "pythonnative", "", d)}
24
25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
26PACKAGECONFIG[ffmpeg] = "--with-ffmpeg,--without-ffmpeg,libav"
27PACKAGECONFIG[ldap] = "--with-ldap,--without-ldap,openldap"
28PACKAGECONFIG[geoip] = "--with-geoip,--without-geoip,geoip"
29PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
30
31EXTRA_OECONF = "--disable-static \
32 --disable-nls \
33 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \
34 --with-wwwroot=${localstatedir}/www/cherokee \
35"
36
37do_install:append () {
38 install -m 0755 -d ${D}${sysconfdir}/init.d
39 install -m 755 ${UNPACKDIR}/cherokee.init ${D}${sysconfdir}/init.d/cherokee
40
41 # clean up .la files for plugins
42 rm -f ${D}${libdir}/cherokee/*.la
43
44 install -d ${D}${systemd_unitdir}/system
45 install -m 0644 ${UNPACKDIR}/cherokee.service ${D}${systemd_unitdir}/system
46 rmdir "${D}${localstatedir}/run"
47 rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
48}
49
50# Put -dev near the front so we can move the .la files into it with a wildcard
51PACKAGES =+ "libcherokee-server libcherokee-client libcherokee-base cget"
52
53FILES:cget = "${bindir}/cget"
54FILES:libcherokee-server = "${libdir}/libcherokee-server${SOLIBS}"
55FILES:libcherokee-client = "${libdir}/libcherokee-client${SOLIBS}"
56FILES:libcherokee-base = "${libdir}/libcherokee-base${SOLIBS}"
57
58# Pack the htdocs
59FILES:${PN} += "${localstatedir}/www/cherokee"
60
61CONFFILES:${PN} = " \
62 ${sysconfdir}/cherokee/cherokee.conf \
63 ${sysconfdir}/init.d/cherokee \
64"
65
66INITSCRIPT_NAME = "cherokee"
67INITSCRIPT_PARAMS = "defaults 91 91"
68
69RPROVIDES:${PN} += "${PN}-systemd"
70RREPLACES:${PN} += "${PN}-systemd"
71RCONFLICTS:${PN} += "${PN}-systemd"
72SYSTEMD_SERVICE:${PN} = "cherokee.service"
73
74python() {
75 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
76 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
77}
78
79CVE_PRODUCT += "cherokee_web_server"
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata/0001-cmake-Add-check-for-64bit-builtin-atomics.patch b/meta-webserver/recipes-webadmin/netdata/netdata/0001-cmake-Add-check-for-64bit-builtin-atomics.patch
deleted file mode 100644
index d8ad69cec..000000000
--- a/meta-webserver/recipes-webadmin/netdata/netdata/0001-cmake-Add-check-for-64bit-builtin-atomics.patch
+++ /dev/null
@@ -1,51 +0,0 @@
1From 1e8fbb6da4e5ee44fe24c078aae1930d759f0ba3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 17 Sep 2024 05:29:13 +0000
4Subject: [PATCH] cmake: Add check for 64bit builtin atomics
5
6Compilers for some architectures e.g. RISCV32 do not have 64bit atomics
7therefore, its important to deduce that and use it to pass right flags to
8compiler to use them, e.g. h2o module
9
10Fixes
11nection.c.o): in function `h2o_create_connection':
12| /usr/src/debug/netdata/1.47.1/src/web/server/h2o/libh2o/include/h2o.h:1917:(.text.create_conn+0x5e): undefined reference to `__sync_add_and_fetch_8'
13| collect2: error: ld returned 1 exit status
14
15Upstream-Status: Submitted [https://github.com/netdata/netdata/pull/18565]
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 CMakeLists.txt | 13 +++++++++++++
19 1 file changed, 13 insertions(+)
20
21Index: netdata-v1.47.1/CMakeLists.txt
22===================================================================
23--- netdata-v1.47.1.orig/CMakeLists.txt
24+++ netdata-v1.47.1/CMakeLists.txt
25@@ -448,6 +448,15 @@ int main() {
26 }
27 " HAVE_BUILTIN_ATOMICS)
28
29+check_cxx_source_compiles("
30+#include <stdint.h>
31+int main(void) {
32+ uint64_t a;
33+ __sync_add_and_fetch(&a, 1);
34+ return 0;
35+}
36+" ARCH_SUPPORTS_64BIT_ATOMICS)
37+
38 check_c_source_compiles("
39 void my_printf(char const *s, ...) __attribute__((format(gnu_printf, 1, 2)));
40 int main() { return 0; }
41@@ -523,6 +532,10 @@ if(OS_FREEBSD OR OS_MACOS)
42 set(HAVE_BUILTIN_ATOMICS True)
43 endif()
44
45+if (ENABLE_H2O AND NOT ARCH_SUPPORTS_64BIT_ATOMICS)
46+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DH2O_NO_64BIT_ATOMICS")
47+endif (NOT ARCH_SUPPORTS_64BIT_ATOMICS)
48+
49 # openssl/crypto
50 set(ENABLE_OPENSSL True)
51 pkg_check_modules(TLS IMPORTED_TARGET openssl)
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata/0002-Do-not-hardcode-systemd-unit-directories.patch b/meta-webserver/recipes-webadmin/netdata/netdata/0002-Do-not-hardcode-systemd-unit-directories.patch
new file mode 100644
index 000000000..143caf89c
--- /dev/null
+++ b/meta-webserver/recipes-webadmin/netdata/netdata/0002-Do-not-hardcode-systemd-unit-directories.patch
@@ -0,0 +1,38 @@
1From 67b9343e986ac6c9e3482bec938aa31deaab3ce7 Mon Sep 17 00:00:00 2001
2From: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
3Date: Tue, 1 Oct 2024 17:01:33 +0200
4Subject: [PATCH] Do not hardcode systemd unit directories
5
6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
8---
9 CMakeLists.txt | 6 +++---
10 1 file changed, 3 insertions(+), 3 deletions(-)
11
12Index: netdata-v1.47.3/CMakeLists.txt
13===================================================================
14--- netdata-v1.47.3.orig/CMakeLists.txt
15+++ netdata-v1.47.3/CMakeLists.txt
16@@ -2531,7 +2531,7 @@ if(BUILD_FOR_PACKAGING)
17 install(FILES
18 ${CMAKE_BINARY_DIR}/system/systemd/netdata.service
19 COMPONENT netdata
20- DESTINATION lib/systemd/system)
21+ DESTINATION $ENV{systemd_system_unitdir})
22 install(DIRECTORY
23 COMPONENT netdata
24 DESTINATION usr/lib/systemd/journald@netdata.conf.d)
25@@ -2620,11 +2620,11 @@ if(NOT OS_WINDOWS)
26 install(FILES
27 ${CMAKE_BINARY_DIR}/system/systemd/netdata-updater.service
28 COMPONENT netdata
29- DESTINATION lib/systemd/system)
30+ DESTINATION $ENV{systemd_system_unitdir})
31 install(FILES
32 system/systemd/netdata-updater.timer
33 COMPONENT netdata
34- DESTINATION lib/systemd/system)
35+ DESTINATION $ENV{systemd_system_unitdir})
36 endif()
37 endif()
38
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata/go.d.conf b/meta-webserver/recipes-webadmin/netdata/netdata/go.d.conf
new file mode 100644
index 000000000..e0b3a0b18
--- /dev/null
+++ b/meta-webserver/recipes-webadmin/netdata/netdata/go.d.conf
@@ -0,0 +1,2 @@
1modules:
2 logind: yes
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata/netdata.conf b/meta-webserver/recipes-webadmin/netdata/netdata/netdata.conf
index a2b3999c6..7eb6cb9d9 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata/netdata.conf
+++ b/meta-webserver/recipes-webadmin/netdata/netdata/netdata.conf
@@ -1,5083 +1,692 @@
1# NetData Configuration 1# netdata configuration
2#
3# You can download the latest version of this file, using:
4#
5# wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
6# or
7# curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
8#
2# You can uncomment and change any of the options below. 9# You can uncomment and change any of the options below.
3# The value shown in the commented settings, is the default value. 10# The value shown in the commented settings, is the default value.
11#
4 12
5# global netdata configuration 13# global netdata configuration
6 14
7[global] 15[global]
8 debug flags = 0x10000000 16 hostname = netdata
9 hostname = netdata 17 # run as user = netdata
10 history = 86400 18 # glibc malloc arena max for plugins = 1
11 config directory = @@sysconfdir/netdata 19 # glibc malloc arena max for netdata = 1
12 plugins directory = @@libdir/netdata/plugins.d 20 # cpu cores = 4
13 web files directory = @@datadir/netdata/web 21 # libuv worker threads = 24
14 cache directory = /var/cache/netdata 22 # host access prefix =
15 log directory = /var/log/netdata 23 # enable metric correlations = yes
16 # host access prefix = 24 # metric correlations method = ks2
17 # memory deduplication (ksm) = yes 25 # timezone = UTC
18 # debug log = /var/log/netdata/debug.log 26 # OOM score = 0
19 # error log = /var/log/netdata/error.log 27 # process scheduling policy = batch
20 # access log = /var/log/netdata/access.log 28 # process nice level = 19
21 # memory mode = save 29 # pthread stack size = 8388608
22 # update every = 1 30 # is ephemeral node = no
23 # pthread stack size = 8388608 31 # has unstable connection = no
24 # run as user = netdata 32
25 # web files owner = netdata 33[db]
26 # http port listen backlog = 100 34
27 # port = 19999 35 # option 'retention' is not used.
28 # ip version = any 36 retention = 86400
29 # disconnect idle web clients after seconds = 60 37 # update every = 1
30 # enable web responses gzip compression = yes 38 # mode = dbengine
39 # dbengine page type = gorilla
40 # dbengine page cache size MB = 32
41 # dbengine extent cache size MB = 0
42 # dbengine enable journal integrity check = no
43 # memory deduplication (ksm) = yes
44 # cleanup obsolete charts after secs = 3600
45 # cleanup ephemeral hosts after secs = 86400
46 # gap when lost iterations above = 1
47 # enable replication = yes
48 # seconds to replicate = 86400
49 # seconds per replication step = 600
50 # cleanup orphan hosts after secs = 3600
51 # dbengine use direct io = yes
52 # dbengine pages per extent = 64
53 # storage tiers = 3
54 # dbengine tier backfill = new
55 # dbengine tier 1 update every iterations = 60
56 # dbengine tier 2 update every iterations = 60
57 # dbengine tier 0 disk space MB = 1024
58 # dbengine tier 0 retention days = 14
59 # dbengine tier 1 disk space MB = 1024
60 # dbengine tier 1 retention days = 90
61 # dbengine tier 2 disk space MB = 1024
62 # dbengine tier 2 retention days = 730
63 # replication threads = 1
64
65[directories]
66 plugins = @@libexecdir/netdata/plugins.d
67 cache = @@localstatedir/cache/netdata
68 web = @@datadir/netdata/web
69 log = @@localstatedir/log/netdata
70 config = @@sysconfdir/netdata
71 stock config = @@libdir/netdata/conf.d
72 lib = @@localstatedir/lib/netdata
73 lock = @@localstatedir/lib/netdata/lock
74 home = @@localstatedir/run/netdata
75 registry = @@localstatedir/lib/netdata/registry
76 stock health config = @@libdir/netdata/conf.d/health.d
77 health config = @@sysconfdir/netdata/health.d
78
79[logs]
80 # debug flags = 0x0000000000000000
81 # facility = daemon
82 # logs flood protection period = 60
83 # logs to trigger flood protection = 1000
84 # level = info
85 debug = @@localstatedir/log/netdata/debug.log
86 # daemon = journal
87 # collector = journal
88 access = @@localstatedir/log/netdata/access.log
89 # health = journal
90
91[environment variables]
92 # PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
93 # PYTHONPATH =
94 TZ = :@@sysconfdir/localtime
95
96[host labels]
97 # name = value
98
99[ml]
100 # enabled = yes
101 # maximum num samples to train = 21600
102 # minimum num samples to train = 900
103 # train every = 10800
104 # number of models per dimension = 18
105 # delete models older than = 604800
106 # num samples to diff = 1
107 # num samples to smooth = 3
108 # num samples to lag = 5
109 # random sampling ratio = 0.20000
110 # maximum number of k-means iterations = 1000
111 # dimension anomaly score threshold = 0.99000
112 # host anomaly rate threshold = 1.00000
113 # anomaly detection grouping method = average
114 # anomaly detection grouping duration = 300
115 # num training threads = 4
116 # flush models batch size = 128
117 # dimension anomaly rate suppression window = 900
118 # dimension anomaly rate suppression threshold = 450
119 # enable statistics charts = no
120 # hosts to skip from training = !*
121 # charts to skip from training = netdata.*
122 # stream anomaly detection charts = yes
123
124[health]
125 silencers file = @@localstatedir/lib/netdata/health.silencers.json
126 # enabled = yes
127 # enable stock health configuration = yes
128 # use summary for notifications = yes
129 # default repeat warning = never
130 # default repeat critical = never
131 # in memory max health log entries = 1000
132 # health log history = 432000
133 script to execute on alarm = @@libexecdir/netdata/plugins.d/alarm-notify.sh
134 # enabled alarms = *
135 # run at least every seconds = 10
136 # postpone alarms during hibernation for seconds = 60
137
138[web]
139 ssl key = @@sysconfdir/netdata/ssl/key.pem
140 ssl certificate = @@sysconfdir/netdata/ssl/cert.pem
141 # tls version = 1.3
142 # tls ciphers = none
143 # ses max tg_des_window = 15
144 # des max tg_des_window = 15
145 # mode = static-threaded
146 # listen backlog = 4096
147 # default port = 19999
148 # bind to = *
149 # disconnect idle clients after seconds = 60
150 # timeout for first request = 60
151 # accept a streaming request every seconds = 0
152 # respect do not track policy = no
153 # x-frame-options response header =
154 # allow connections from = localhost *
155 # allow connections by dns = heuristic
156 # allow dashboard from = localhost *
157 # allow dashboard by dns = heuristic
158 # allow badges from = *
159 # allow badges by dns = heuristic
160 # allow streaming from = *
161 # allow streaming by dns = heuristic
162 # allow netdata.conf from = localhost fd* 10.* 192.168.* 172.16.* 172.17.* 172.18.* 172.19.* 172.20.* 172.21.* 172.22.* 172.23.* 172.24.* 172.25.* 172.26.* 172.27.* 172.28.* 172.29.* 172.30.* 172.31.* UNKNOWN
163 # allow netdata.conf by dns = no
164 # allow management from = localhost
165 # allow management by dns = heuristic
166 # enable gzip compression = yes
167 # gzip compression strategy = default
168 # gzip compression level = 3
169 # ssl skip certificate verification = no
170 # web server threads = 4
171 # web server max sockets = 131072
172
173[httpd]
174 # enabled = no
175
176[registry]
177 # enabled = no
178 netdata unique id file = @@localstatedir/lib/netdata/registry/netdata.public.unique.id
179 registry db file = @@localstatedir/lib/netdata/registry/registry.db
180 registry log file = @@localstatedir/lib/netdata/registry/registry-log.db
181 # registry save db every new entries = 1000000
182 # registry expire idle persons days = 365
183 # registry domain =
184 # registry to announce = https://registry.my-netdata.io
185 # registry hostname = netdata
186 # verify browser cookies support = yes
187 # enable cookies SameSite and Secure = yes
188 # max URL length = 1024
189 # max URL name length = 50
190 # use mmap = no
191 netdata management api key file = @@localstatedir/lib/netdata/netdata.api.key
192 # allow from = *
193 # allow by dns = heuristic
194
195[global statistics]
196 # update every = 1
31 197
32[plugins] 198[plugins]
33 # tc = yes 199 # netdata monitoring extended = no
34 tc = no 200 # idlejitter = yes
35 # idlejitter = yes 201 # netdata monitoring = yes
36 proc = yes 202 # profile = no
37 checks = no 203 # tc = yes
38 plugins directory = @@libdir/netdata/plugins.d 204 # diskspace = yes
39 nable running new plugins = yes 205 # proc = yes
40 check for new plugins every = 60 206 # cgroups = yes
41 charts.d = yes 207 # timex = yes
42 sma_webbox = no 208 # enable running new plugins = yes
43 apps = yes 209 # check for new plugins every = 60
44 node.d = yes 210 # slabinfo = no
45 211 # statsd = yes
46 212 # network-viewer = yes
47# per plugin configuration 213 # perf = yes
214 # apps = yes
215 # freeipmi = yes
216 # debugfs = yes
217 # go.d = yes
218 # python.d = yes
219 # systemd-journal = yes
220 # ioping = yes
221 # charts.d = yes
222
223[statsd]
224 # update every (flushInterval) = 1
225 # udp messages to process at once = 10
226 # create private charts for metrics matching = *
227 # max private charts hard limit = 1000
228 # set charts as obsolete after secs = 0
229 # decimal detail = 1000
230 # disconnect idle tcp clients after seconds = 600
231 # private charts hidden = no
232 # histograms and timers percentile (percentThreshold) = 95.00000
233 # dictionaries max unique dimensions = 200
234 # add dimension for number of events received = no
235 # gaps on gauges (deleteGauges) = no
236 # gaps on counters (deleteCounters) = no
237 # gaps on meters (deleteMeters) = no
238 # gaps on sets (deleteSets) = no
239 # gaps on histograms (deleteHistograms) = no
240 # gaps on timers (deleteTimers) = no
241 # gaps on dictionaries (deleteDictionaries) = no
242 # statsd server max TCP sockets = 131072
243 # listen backlog = 4096
244 # default port = 8125
245 # bind to = udp:localhost tcp:localhost
48 246
49[plugin:proc:/proc/net/dev] 247[plugin:proc:/proc/net/dev]
50 # filename to monitor = /proc/net/dev 248 # compressed packets for all interfaces = no
51 # enable new interfaces detected at runtime = on demand 249 # disable by default interfaces matching = lo fireqos* *-ifb fwpr* fwbr* fwln*
52 # enable ifb interfaces = no
53 # bandwidth for all interfaces = on demand
54 # packets for all interfaces = on demand
55 # errors for all interfaces = on demand
56 # drops for all interfaces = on demand
57 # fifo for all interfaces = on demand
58 # compressed packets for all interfaces = on demand
59 # frames, collisions, carrier counters for all interfaces = on demand
60 250
61[plugin:proc] 251[plugin:proc]
62 # /proc/net/dev = yes 252 # /proc/net/dev = yes
63 # /proc/diskstats = yes 253 # /proc/pagetypeinfo = no
64 # /proc/net/snmp = yes 254 # /proc/spl/kstat/zfs/pool/state = no
65 # /proc/net/snmp6 = yes 255 # /proc/stat = yes
66 # /proc/net/netstat = yes 256 # /proc/uptime = yes
67 # /proc/net/stat/conntrack = yes 257 # /proc/loadavg = yes
68 # /proc/net/ip_vs/stats = yes 258 # /proc/sys/fs/file-nr = yes
69 # /proc/stat = yes 259 # /proc/sys/kernel/random/entropy_avail = yes
70 # /proc/meminfo = yes 260 # /proc/pressure = yes
71 # /proc/vmstat = yes 261 # /proc/interrupts = yes
72 # /proc/net/rpc/nfsd = yes 262 # /proc/softirqs = yes
73 # /proc/sys/kernel/random/entropy_avail = yes 263 # /proc/vmstat = yes
74 # /proc/interrupts = yes 264 # /proc/meminfo = yes
75 # /proc/softirqs = yes 265 # /sys/kernel/mm/ksm = yes
76 # /proc/loadavg = yes 266 # /sys/block/zram = yes
77 # /sys/kernel/mm/ksm = yes 267 # /sys/devices/system/edac/mc = yes
78 # netdata server resources = yes 268 # /sys/devices/pci/aer = yes
79 269 # /sys/devices/system/node = yes
80[plugin:tc] 270 # /proc/net/wireless = yes
81 # script to run to get tc values = /usr/lib/netdata/netdata/plugins.d/tc-qos-helper.sh 271 # /proc/net/sockstat = yes
82 # enable new interfaces detected at runtime = yes 272 # /proc/net/sockstat6 = yes
83 # qos for eth1-ifb = yes 273 # /proc/net/netstat = yes
84 # cleanup unused classes every = 60 274 # /proc/net/sctp/snmp = yes
85 # qos for eth0 = yes 275 # /proc/net/softnet_stat = yes
86 # qos for eth1 = yes 276 # /proc/net/ip_vs/stats = yes
87 # qos for eth0-ifb = yes 277 # /sys/class/infiniband = yes
278 # /proc/net/stat/conntrack = yes
279 # /proc/net/stat/synproxy = yes
280 # /proc/diskstats = yes
281 # /proc/mdstat = yes
282 # /proc/net/rpc/nfsd = yes
283 # /proc/net/rpc/nfs = yes
284 # /proc/spl/kstat/zfs/arcstats = yes
285 # /sys/fs/btrfs = yes
286 # ipc = yes
287 # /sys/class/power_supply = yes
288 # /sys/class/drm = yes
88 289
89[plugin:charts.d] 290[plugin:charts.d]
90 # update every = 1 291 # update every = 1
91 # command options = 292 # command options =
92 293
93[plugin:apps] 294[plugin:apps]
94 # update every = 1 295 # update every = 1
95 # command options = 296 # command options =
96 297
97[plugin:idlejitter] 298[plugin:idlejitter]
98 # loop time in ms = 20 299 # loop time in ms = 20
99 300
100[plugin:proc:/proc/interrupts] 301[plugin:proc:/proc/interrupts]
101 # interrupts per core = yes 302 # interrupts per core = no
102 # filename to monitor = /proc/interrupts 303 # filename to monitor = /proc/interrupts
103 304
104[plugin:proc:/proc/sys/kernel/random/entropy_avail] 305[plugin:proc:/proc/sys/kernel/random/entropy_avail]
105 # filename to monitor = /proc/sys/kernel/random/entropy_avail 306 # filename to monitor = /proc/sys/kernel/random/entropy_avail
106 307
107[plugin:proc:/proc/diskstats] 308[plugin:proc:/proc/diskstats]
108 # enable new disks detected at runtime = on demand 309 # enable new disks detected at runtime = yes
109 # bandwidth for all disks = on demand 310 # performance metrics for physical disks = auto
110 # operations for all disks = on demand 311 # performance metrics for virtual disks = auto
111 # merged operations for all disks = on demand 312 # performance metrics for partitions = no
112 # i/o time for all disks = on demand 313 # bandwidth for all disks = auto
113 # queued operations for all disks = on demand 314 # operations for all disks = auto
114 # utilization percentage for all disks = on demand 315 # merged operations for all disks = auto
115 # backlog for all disks = on demand 316 # i/o time for all disks = auto
116 # filename to monitor = /proc/diskstats 317 # queued operations for all disks = auto
117 # path to get h/w sector size = /sys/block/%s/queue/hw_sector_size 318 # utilization percentage for all disks = auto
319 # extended operations for all disks = auto
320 # backlog for all disks = auto
321 # bcache for all disks = auto
322 # bcache priority stats update every = 0
323 # remove charts of removed disks = yes
324 # path to get block device = /sys/block/%s
325 # path to get block device bcache = /sys/block/%s/bcache
326 # path to get virtual block device = /sys/devices/virtual/block/%s
327 # path to get block device infos = /sys/dev/block/%lu:%lu/%s
328 # path to device mapper = /dev/mapper
329 # path to /dev/disk = /dev/disk
330 # path to /sys/block = /sys/block
331 # path to /dev/disk/by-label = /dev/disk/by-label
332 # path to /dev/disk/by-id = /dev/disk/by-id
333 # path to /dev/vx/dsk = /dev/vx/dsk
334 # name disks by id = no
335 # preferred disk ids = *
336 # exclude disks = loop* ram*
337 # filename to monitor = /proc/diskstats
338 # performance metrics for disks with major 253 = yes
339 # performance metrics for disks with major 11 = yes
118 340
119[plugin:proc:/proc/net/snmp] 341[plugin:proc:/proc/net/snmp]
120 # ipv4 packets = yes 342 # ipv4 packets = auto
121 # ipv4 fragments sent = yes 343 # ipv4 fragments sent = auto
122 # ipv4 fragments assembly = yes 344 # ipv4 fragments assembly = auto
123 # ipv4 errors = yes 345 # ipv4 errors = auto
124 # ipv4 TCP connections = yes 346 # ipv4 TCP connections = auto
125 # ipv4 TCP packets = yes 347 # ipv4 TCP packets = auto
126 # ipv4 TCP errors = yes 348 # ipv4 TCP errors = auto
127 # ipv4 TCP handshake issues = yes 349 # ipv4 TCP opens = auto
128 # ipv4 UDP packets = yes 350 # ipv4 TCP handshake issues = auto
129 # ipv4 UDP errors = yes 351 # ipv4 UDP packets = auto
130 # filename to monitor = /proc/net/snmp 352 # ipv4 UDP errors = auto
353 # ipv4 ICMP packets = auto
354 # ipv4 ICMP messages = auto
355 # ipv4 UDPLite packets = auto
356 # filename to monitor = /proc/net/snmp
131 357
132[plugin:proc:/proc/net/netstat] 358[plugin:proc:/proc/net/netstat]
133 # bandwidth = on demand 359 # bandwidth = auto
134 # input errors = on demand 360 # input errors = auto
135 # multicast bandwidth = on demand 361 # multicast bandwidth = auto
136 # broadcast bandwidth = on demand 362 # broadcast bandwidth = auto
137 # multicast packets = on demand 363 # multicast packets = auto
138 # broadcast packets = on demand 364 # broadcast packets = auto
139 # filename to monitor = /proc/net/netstat 365 # ECN packets = auto
366 # TCP reorders = auto
367 # TCP SYN cookies = auto
368 # TCP out-of-order queue = auto
369 # TCP connection aborts = auto
370 # TCP memory pressures = auto
371 # TCP SYN queue = auto
372 # TCP accept queue = auto
373 # filename to monitor = /proc/net/netstat
140 374
141[plugin:proc:/proc/net/stat/nf_conntrack] 375[plugin:proc:/proc/net/stat/nf_conntrack]
142 # netfilter connections = yes 376 # filename to monitor = /proc/net/stat/nf_conntrack
143 # netfilter new connections = yes 377 # netfilter new connections = no
144 # netfilter connection changes = yes 378 # netfilter connection changes = no
145 # netfilter connection expectations = yes 379 # netfilter connection expectations = no
146 # netfilter connection searches = yes 380 # netfilter connection searches = no
147 # netfilter errors = yes 381 # netfilter errors = no
148 # filename to monitor = /proc/net/stat/nf_conntrack 382 # netfilter connections = no
149 383
150[plugin:proc:/proc/net/ip_vs_stats] 384[plugin:proc:/proc/net/ip_vs_stats]
151 # IPVS bandwidth = yes 385 # IPVS bandwidth = yes
152 # IPVS connections = yes 386 # IPVS connections = yes
153 # IPVS packets = yes 387 # IPVS packets = yes
154 # filename to monitor = /proc/net/ip_vs_stats 388 # filename to monitor = /proc/net/ip_vs_stats
155 389
156[plugin:proc:/proc/stat] 390[plugin:proc:/proc/stat]
157 # cpu utilization = yes 391 # cpu utilization = yes
158 # per cpu core utilization = yes 392 # per cpu core utilization = no
159 # cpu interrupts = yes 393 # cpu interrupts = yes
160 # context switches = yes 394 # context switches = yes
161 # processes started = yes 395 # processes started = yes
162 # processes running = yes 396 # processes running = yes
163 # filename to monitor = /proc/stat 397 # keep per core files open = yes
398 # keep cpuidle files open = yes
399 # core_throttle_count = auto
400 # package_throttle_count = no
401 # cpu frequency = yes
402 # cpu idle states = no
403 # core_throttle_count filename to monitor = /sys/devices/system/cpu/%s/thermal_throttle/core_throttle_count
404 # package_throttle_count filename to monitor = /sys/devices/system/cpu/%s/thermal_throttle/package_throttle_count
405 # scaling_cur_freq filename to monitor = /sys/devices/system/cpu/%s/cpufreq/scaling_cur_freq
406 # time_in_state filename to monitor = /sys/devices/system/cpu/%s/cpufreq/stats/time_in_state
407 # schedstat filename to monitor = /proc/schedstat
408 # cpuidle name filename to monitor = /sys/devices/system/cpu/cpu%zu/cpuidle/state%zu/name
409 # cpuidle time filename to monitor = /sys/devices/system/cpu/cpu%zu/cpuidle/state%zu/time
410 # filename to monitor = /proc/stat
164 411
165[plugin:proc:/proc/meminfo] 412[plugin:proc:/proc/meminfo]
166 # system ram = yes 413 # system ram = yes
167 # system swap = yes 414 # system swap = auto
168 # hardware corrupted ECC = on demand 415 # hardware corrupted ECC = auto
169 # committed memory = yes 416 # committed memory = yes
170 # writeback memory = yes 417 # writeback memory = yes
171 # kernel memory = yes 418 # kernel memory = yes
172 # slab memory = yes 419 # slab memory = yes
173 # filename to monitor = /proc/meminfo 420 # hugepages = auto
421 # transparent hugepages = auto
422 # memory reclaiming = yes
423 # high low memory = yes
424 # cma memory = auto
425 # direct maps = yes
426 # filename to monitor = /proc/meminfo
174 427
175[plugin:proc:/proc/vmstat] 428[plugin:proc:/proc/vmstat]
176 # swap i/o = yes 429 # filename to monitor = /proc/vmstat
177 # disk i/o = yes 430 # swap i/o = auto
178 # memory page faults = yes 431 # disk i/o = yes
179 # filename to monitor = /proc/vmstat 432 # memory page faults = yes
433 # out of memory kills = yes
434 # system-wide numa metric summary = auto
435 # transparent huge pages = auto
436 # zswap i/o = auto
437 # memory ballooning = auto
438 # kernel same memory = auto
180 439
181[plugin:proc:/proc/net/rpc/nfsd] 440[plugin:proc:/proc/net/rpc/nfsd]
182 # filename to monitor = /proc/net/rpc/nfsd 441 # filename to monitor = /proc/net/rpc/nfsd
183 # read cache = yes
184 # file handles = yes
185 # I/O = yes
186 # threads = yes
187 # read ahead = yes
188 # network = yes
189 # rpc = yes
190 # NFS v2 procedures = yes
191 # NFS v3 procedures = yes
192 # NFS v4 procedures = yes
193 # NFS v4 operations = yes
194
195[plugin:proc:/proc/net/dev:lo]
196 # enabled = no
197
198[plugin:proc:/proc/net/dev:fireqos_monitor]
199 # enabled = no
200
201[plugin:sma_webbox]
202 # update every = 1
203 # command options =
204
205[plugin:node.d]
206 # update every = 1
207 # command options =
208 442
209[plugin:proc:/sys/kernel/mm/ksm] 443[plugin:proc:/sys/kernel/mm/ksm]
210 # /sys/kernel/mm/ksm/pages_shared = /sys/kernel/mm/ksm/pages_shared 444 # /sys/kernel/mm/ksm/pages_shared = /sys/kernel/mm/ksm/pages_shared
211 # /sys/kernel/mm/ksm/pages_sharing = /sys/kernel/mm/ksm/pages_sharing 445 # /sys/kernel/mm/ksm/pages_sharing = /sys/kernel/mm/ksm/pages_sharing
212 # /sys/kernel/mm/ksm/pages_unshared = /sys/kernel/mm/ksm/pages_unshared 446 # /sys/kernel/mm/ksm/pages_unshared = /sys/kernel/mm/ksm/pages_unshared
213 # /sys/kernel/mm/ksm/pages_volatile = /sys/kernel/mm/ksm/pages_volatile 447 # /sys/kernel/mm/ksm/pages_volatile = /sys/kernel/mm/ksm/pages_volatile
214 # /sys/kernel/mm/ksm/pages_to_scan = /sys/kernel/mm/ksm/pages_to_scan
215 448
216[plugin:proc:/proc/loadavg] 449[plugin:proc:/proc/loadavg]
217 # filename to monitor = /proc/loadavg 450 # filename to monitor = /proc/loadavg
218 # enable load average = yes 451 # enable load average = yes
219 # enable total processes = yes 452 # enable total processes = yes
220 453
221[plugin:proc:/proc/softirqs] 454[plugin:proc:/proc/softirqs]
222 # interrupts per core = yes 455 # interrupts per core = no
223 # filename to monitor = /proc/softirqs 456 # filename to monitor = /proc/softirqs
224
225[plugin:proc:/proc/net/dev:eth1-ifb]
226 # enabled = no
227
228[plugin:proc:/proc/net/dev:eth0]
229 # enabled = on demand
230 # bandwidth = on demand
231 # packets = on demand
232 # errors = on demand
233 # drops = on demand
234 # fifo = on demand
235 # compressed = on demand
236 # events = on demand
237
238[plugin:proc:/proc/net/dev:eth1]
239 # enabled = on demand
240 # bandwidth = on demand
241 # packets = on demand
242 # errors = on demand
243 # drops = on demand
244 # fifo = on demand
245 # compressed = on demand
246 # events = on demand
247
248[plugin:proc:/proc/net/dev:eth0-ifb]
249 # enabled = no
250
251[plugin:proc:/proc/diskstats:fd0]
252 # enabled = no
253 457
458# section 'plugin:proc:/proc/diskstats:sda' is not used.
254[plugin:proc:/proc/diskstats:sda] 459[plugin:proc:/proc/diskstats:sda]
255 # enabled = on demand 460 queued operations = yes
256 # bandwidth = on demand
257 # operations = on demand
258 # merged operations = on demand
259 # i/o time = on demand
260 queued operations = yes
261 # utilization percentage = on demand
262 # backlog = on demand
263
264[plugin:proc:/proc/diskstats:sda1]
265 # enabled = no
266
267[plugin:proc:/proc/diskstats:sda2]
268 # enabled = no
269
270[plugin:proc:/proc/diskstats:sda5]
271 # enabled = no
272
273[plugin:proc:/proc/diskstats:sr0]
274 # enabled = no
275 461
276[plugin:proc:/proc/net/snmp6] 462[plugin:proc:/proc/net/snmp6]
277 # ipv6 packets = on demand 463 # ipv6 packets = auto
278 # ipv6 fragments sent = on demand 464 # ipv6 fragments sent = auto
279 # ipv6 fragments assembly = on demand 465 # ipv6 fragments assembly = auto
280 # ipv6 errors = on demand 466 # ipv6 errors = auto
281 # ipv6 UDP packets = on demand 467 # ipv6 UDP packets = auto
282 # ipv6 UDP errors = on demand 468 # ipv6 UDP errors = auto
283 # ipv6 UDPlite packets = on demand 469 # ipv6 UDPlite packets = auto
284 # ipv6 UDPlite errors = on demand 470 # ipv6 UDPlite errors = auto
285 # bandwidth = on demand 471 # bandwidth = auto
286 # multicast bandwidth = on demand 472 # multicast bandwidth = auto
287 # broadcast bandwidth = on demand 473 # broadcast bandwidth = auto
288 # multicast packets = on demand 474 # multicast packets = auto
289 # icmp = on demand 475 # icmp = auto
290 # icmp redirects = on demand 476 # icmp redirects = auto
291 # icmp errors = on demand 477 # icmp errors = auto
292 # icmp echos = on demand 478 # icmp echos = auto
293 # icmp group membership = on demand 479 # icmp group membership = auto
294 # icmp router = on demand 480 # icmp router = auto
295 # icmp neighbor = on demand 481 # icmp neighbor = auto
296 # icmp mldv2 = on demand 482 # icmp mldv2 = auto
297 # icmp types = on demand 483 # icmp types = auto
298 # ect = on demand 484 # ect = auto
299 # filename to monitor = /proc/net/snmp6 485 # filename to monitor = /proc/net/snmp6
300 486
301 487[plugin:freeipmi]
302# per chart configuration 488 # update every = 1
303 489 # command options =
304[system.idlejitter] 490
305 # history = 86400 491[plugin:network-viewer]
306 # enabled = yes 492 # update every = 1
307 enabled = no 493 # command options =
308 # cache directory = /var/cache/netdata/system.idlejitter 494
309 # chart type = line 495[plugin:systemd-journal]
310 # type = system 496 # update every = 1
311 # family = processes 497 # command options =
312 # context = system.idlejitter 498
313 # units = microseconds lost/s 499[plugin:cgroups]
314 # priority = 9999 500 # update every = 1
315 # gap when lost iterations above = 1 501 # check for new cgroups every = 10
316 # name = system.idlejitter 502 # use unified cgroups = auto
317 # title = CPU Idle Jitter (system.idlejitter) 503 # max cgroups to allow = 1000
318 # dim jitter name = jitter 504 # max cgroups depth to monitor = 0
319 # dim jitter algorithm = absolute 505 # enable by default cgroups matching = !*/init.scope !/system.slice/run-*.scope *user.slice/docker-* !*user.slice* *.scope /machine.slice/*.service */kubepods/pod*/* */kubepods/*/pod*/* */*-kubepods-pod*/* */*-kubepods-*-pod*/* !*kubepods* !*kubelet* !*/vcpu* !*/emulator !*.mount !*.partition !*.service !*.service/udev !*.socket !*.slice !*.swap !*.user !/ !/docker !*/libvirt !/lxc !/lxc/*/* !/lxc.monitor* !/lxc.pivot !/lxc.payload !*lxcfs.service/.control !/machine !/qemu !/system !/systemd !/user *
320 # dim jitter multiplier = 1 506 # enable by default cgroups names matching = *
321 # dim jitter divisor = 1 507 # search for cgroups in subpaths matching = !*/init.scope !*-qemu !*.libvirt-qemu !/init.scope !/system !/systemd !/user !/lxc/*/* !/lxc.monitor !/lxc.payload/*/* !/lxc.payload.* *
322 508 script to get cgroup names = @@libexecdir/netdata/plugins.d/cgroup-name.sh
323[system.interrupts] 509 script to get cgroup network interfaces = @@libexecdir/netdata/plugins.d/cgroup-network
324 # history = 86400 510 # run script to rename cgroups matching = !/ !*.mount !*.socket !*.partition /machine.slice/*.service !*.service !*.slice !*.swap !*.user !init.scope !*.scope/vcpu* !*.scope/emulator *.scope *docker* *lxc* *qemu* */kubepods/pod*/* */kubepods/*/pod*/* */*-kubepods-pod*/* */*-kubepods-*-pod*/* !*kubepods* !*kubelet* *.libvirt-qemu *
325 # enabled = yes 511 # cgroups to match as systemd services = !/system.slice/*/*.service /system.slice/*.service
326 enabled = yes 512
327 # cache directory = /var/cache/netdata/system.interrupts 513[plugin:timex]
328 # chart type = stacked 514 # update every = 10
329 # type = system 515 # clock synchronization state = yes
330 # family = interrupts 516 # time offset = yes
331 # context = system.interrupts 517
332 # units = interrupts/s 518[plugin:go.d]
333 # priority = 1000 519 # update every = 1
334 # gap when lost iterations above = 1 520 # command options =
335 # name = system.interrupts 521
336 # title = System interrupts (system.interrupts) 522[plugin:perf]
337 # dim 0 name = timer_0 523 # update every = 1
338 # dim 0 algorithm = incremental 524 # command options =
339 # dim 0 multiplier = 1 525
340 # dim 0 divisor = 1 526[plugin:proc:diskspace]
341 # dim 1 name = i8042_1 527 # remove charts of unmounted disks = yes
342 # dim 1 algorithm = incremental 528 # update every = 1
343 # dim 1 multiplier = 1 529 # check for new mount points every = 15
344 # dim 1 divisor = 1 530 exclude space metrics on paths = /dev /dev/shm /proc/* /sys/* @@localstatedir/run/user/* /run/lock /run/user/* /snap/* @@localstatedir/lib/docker/* @@localstatedir/lib/containers/storage/* /run/credentials/* /run/containerd/* /rpool /rpool/*
345 # dim 6 name = floppy_6 531 # exclude space metrics on filesystems = *gvfs *gluster* *s3fs *ipfs *davfs2 *httpfs *sshfs *gdfs *moosefs fusectl autofs cgroup cgroup2 hugetlbfs devtmpfs fuse.lxcfs
346 # dim 6 algorithm = incremental 532 # exclude inode metrics on filesystems = msdosfs msdos vfat overlayfs aufs* *unionfs
347 # dim 6 multiplier = 1 533 # space usage for all disks = auto
348 # dim 6 divisor = 1 534 # inodes usage for all disks = auto
349 # dim 8 name = rtc0_8 535
350 # dim 8 algorithm = incremental 536[plugin:debugfs]
351 # dim 8 multiplier = 1 537 # update every = 1
352 # dim 8 divisor = 1 538 # command options =
353 # dim 9 name = acpi_9 539
354 # dim 9 algorithm = incremental 540[plugin:python.d]
355 # dim 9 multiplier = 1 541 # update every = 1
356 # dim 9 divisor = 1 542 # command options =
357 # dim 12 name = i8042_12 543
358 # dim 12 algorithm = incremental 544[plugin:ioping]
359 # dim 12 multiplier = 1 545 # update every = 1
360 # dim 12 divisor = 1 546 # command options =
361 # dim 14 name = ata_piix_14 547
362 # dim 14 algorithm = incremental 548[plugin:proc:/proc/uptime]
363 # dim 14 multiplier = 1 549 # filename to monitor = /proc/uptime
364 # dim 14 divisor = 1 550
365 # dim 15 name = ata_piix_15 551[plugin:proc:/proc/sys/fs/file-nr]
366 # dim 15 algorithm = incremental 552 # filename to monitor = /proc/sys/fs/file-nr
367 # dim 15 multiplier = 1 553
368 # dim 15 divisor = 1 554[plugin:proc:/proc/pressure]
369 # dim NMI name = NMI 555 # base path of pressure metrics = /proc/pressure
370 # dim NMI algorithm = incremental 556 # enable cpu some pressure = yes
371 # dim NMI multiplier = 1 557 # enable cpu full pressure = no
372 # dim NMI divisor = 1 558 # enable memory some pressure = yes
373 # dim LOC name = LOC 559 # enable memory full pressure = yes
374 # dim LOC algorithm = incremental 560 # enable io some pressure = yes
375 # dim LOC multiplier = 1 561 # enable io full pressure = yes
376 # dim LOC divisor = 1 562 # enable irq some pressure = no
377 # dim SPU name = SPU 563 # enable irq full pressure = yes
378 # dim SPU algorithm = incremental 564
379 # dim SPU multiplier = 1 565[plugin:proc:/sys/devices/system/node]
380 # dim SPU divisor = 1 566 # directory to monitor = /sys/devices/system/node
381 # dim PMI name = PMI 567
382 # dim PMI algorithm = incremental 568[plugin:proc:/sys/devices/system/edac/mc]
383 # dim PMI multiplier = 1 569 # directory to monitor = /sys/devices/system/edac/mc
384 # dim PMI divisor = 1 570
385 # dim IWI name = IWI 571[plugin:proc:/sys/class/pci/aer]
386 # dim IWI algorithm = incremental 572 # enable root ports = no
387 # dim IWI multiplier = 1 573 # enable pci slots = no
388 # dim IWI divisor = 1 574
389 # dim RTR name = RTR 575[plugin:proc:/proc/net/wireless]
390 # dim RTR algorithm = incremental 576 # filename to monitor = /proc/net/wireless
391 # dim RTR multiplier = 1 577 # status for all interfaces = auto
392 # dim RTR divisor = 1 578 # quality for all interfaces = auto
393 # dim RES name = RES 579 # discarded packets for all interfaces = auto
394 # dim RES algorithm = incremental 580 # missed beacon for all interface = auto
395 # dim RES multiplier = 1 581
396 # dim RES divisor = 1 582[plugin:proc:/proc/net/sockstat]
397 # dim CAL name = CAL 583 # ipv4 sockets = auto
398 # dim CAL algorithm = incremental 584 # ipv4 TCP sockets = auto
399 # dim CAL multiplier = 1 585 # ipv4 TCP memory = auto
400 # dim CAL divisor = 1 586 # ipv4 UDP sockets = auto
401 # dim TLB name = TLB 587 # ipv4 UDP memory = auto
402 # dim TLB algorithm = incremental 588 # ipv4 UDPLITE sockets = auto
403 # dim TLB multiplier = 1 589 # ipv4 RAW sockets = auto
404 # dim TLB divisor = 1 590 # ipv4 FRAG sockets = auto
405 # dim TRM name = TRM 591 # ipv4 FRAG memory = auto
406 # dim TRM algorithm = incremental 592 # update constants every = 60
407 # dim TRM multiplier = 1 593 # filename to monitor = /proc/net/sockstat
408 # dim TRM divisor = 1 594
409 # dim THR name = THR 595[plugin:proc:/proc/net/sockstat6]
410 # dim THR algorithm = incremental 596 # ipv6 TCP sockets = auto
411 # dim THR multiplier = 1 597 # ipv6 UDP sockets = auto
412 # dim THR divisor = 1 598 # ipv6 UDPLITE sockets = auto
413 # dim MCE name = MCE 599 # ipv6 RAW sockets = auto
414 # dim MCE algorithm = incremental 600 # ipv6 FRAG sockets = auto
415 # dim MCE multiplier = 1 601 # filename to monitor = /proc/net/sockstat6
416 # dim MCE divisor = 1 602
417 # dim MCP name = MCP 603[plugin:proc:/proc/net/sctp/snmp]
418 # dim MCP algorithm = incremental 604 # established associations = auto
419 # dim MCP multiplier = 1 605 # association transitions = auto
420 # dim MCP divisor = 1 606 # fragmentation = auto
421 # dim HYP name = HYP 607 # packets = auto
422 # dim HYP algorithm = incremental 608 # packet errors = auto
423 # dim HYP multiplier = 1 609 # chunk types = auto
424 # dim HYP divisor = 1 610 # filename to monitor = /proc/net/sctp/snmp
425 # dim ERR name = ERR 611
426 # dim ERR algorithm = incremental 612[plugin:proc:/proc/net/softnet_stat]
427 # dim ERR multiplier = 1 613 # softnet_stat per core = no
428 # dim ERR divisor = 1 614 # filename to monitor = /proc/net/softnet_stat
429 # dim MIS name = MIS 615
430 # dim MIS algorithm = incremental 616[plugin:proc:/sys/class/infiniband]
431 # dim MIS multiplier = 1 617 # dirname to monitor = /sys/class/infiniband
432 # dim MIS divisor = 1 618 # bandwidth counters = yes
433 619 # packets counters = yes
434[system.entropy] 620 # errors counters = yes
435 # history = 86400 621 # hardware packets counters = auto
436 # enabled = yes 622 # hardware errors counters = auto
437 enabled = no 623 # monitor only active ports = auto
438 # cache directory = /var/cache/netdata/system.entropy 624 # disable by default interfaces matching =
439 # chart type = line 625 # refresh ports state every seconds = 30
440 # type = system 626
441 # family = entropy 627[plugin:proc:/proc/sys/net/netfilter/nf_conntrack_max]
442 # context = system.entropy 628 # filename to monitor = /proc/sys/net/netfilter/nf_conntrack_max
443 # units = entropy 629 # read every seconds = 10
444 # priority = 1000 630
445 # gap when lost iterations above = 1 631[plugin:proc:/proc/sys/net/netfilter/nf_conntrack_count]
446 # name = system.entropy 632 # filename to monitor = /proc/sys/net/netfilter/nf_conntrack_count
447 # title = Available Entropy (system.entropy) 633
448 # dim entropy name = entropy 634[plugin:proc:/proc/net/stat/synproxy]
449 # dim entropy algorithm = absolute 635 # SYNPROXY cookies = auto
450 # dim entropy multiplier = 1 636 # SYNPROXY SYN received = auto
451 # dim entropy divisor = 1 637 # SYNPROXY connections reopened = auto
452 638 # filename to monitor = /proc/net/stat/synproxy
453[net.eth0] 639
454 # history = 86400 640[plugin:proc:/proc/mdstat]
455 # enabled = yes 641 # faulty devices = yes
456 enabled = yes 642 # nonredundant arrays availability = yes
457 # cache directory = /var/cache/netdata/net.eth0 643 # mismatch count = auto
458 # chart type = area 644 # disk stats = yes
459 # type = net 645 # operation status = yes
460 # family = eth0 646 # make charts obsolete = yes
461 # context = net.net 647 # filename to monitor = /proc/mdstat
462 # units = kilobits/s 648 # mismatch_cnt filename to monitor = /sys/block/%s/md/mismatch_cnt
463 # priority = 7000 649
464 # gap when lost iterations above = 1 650[plugin:proc:/proc/net/rpc/nfs]
465 # name = net.eth0 651 # filename to monitor = /proc/net/rpc/nfs
466 # title = Bandwidth (net.eth0) 652 # network = yes
467 # dim received name = received 653 # rpc = yes
468 # dim received algorithm = incremental 654 # NFS v2 procedures = yes
469 # dim received multiplier = 8 655 # NFS v3 procedures = yes
470 # dim received divisor = 1024 656 # NFS v4 procedures = yes
471 # dim sent name = sent 657
472 # dim sent algorithm = incremental 658[plugin:proc:/proc/spl/kstat/zfs/arcstats]
473 # dim sent multiplier = -8 659 # filename to monitor = /proc/spl/kstat/zfs/arcstats
474 # dim sent divisor = 1024 660
475 661[plugin:proc:/sys/fs/btrfs]
476[net_packets.eth0] 662 # path to monitor = /sys/fs/btrfs
477 # history = 86400 663 # check for btrfs changes every = 60
478 # enabled = yes 664 # physical disks allocation = auto
479 enabled = yes 665 # data allocation = auto
480 # cache directory = /var/cache/netdata/net_packets.eth0 666 # metadata allocation = auto
481 # chart type = line 667 # system allocation = auto
482 # type = net_packets 668 # commit stats = auto
483 # family = eth0 669 # error stats = auto
484 # context = net.packets 670
485 # units = packets/s 671[plugin:proc:ipc]
486 # priority = 7001 672 # message queues = yes
487 # gap when lost iterations above = 1 673 # semaphore totals = yes
488 # name = net_packets.eth0 674 # shared memory totals = yes
489 # title = Packets (net_packets.eth0) 675 # msg filename to monitor = /proc/sysvipc/msg
490 # dim received name = received 676 # shm filename to monitor = /proc/sysvipc/shm
491 # dim received algorithm = incremental 677 # max dimensions in memory allowed = 50
492 # dim received multiplier = 1 678
493 # dim received divisor = 1 679[plugin:proc:/sys/class/power_supply]
494 # dim sent name = sent 680 # battery capacity = yes
495 # dim sent algorithm = incremental 681 # battery power = yes
496 # dim sent multiplier = -1 682 # battery charge = no
497 # dim sent divisor = 1 683 # battery energy = no
498 # dim multicast name = multicast 684 # power supply voltage = no
499 # dim multicast algorithm = incremental 685 # keep files open = auto
500 # dim multicast multiplier = 1 686 # directory to monitor = /sys/class/power_supply
501 # dim multicast divisor = 1 687
502 688[plugin:proc:/sys/class/drm]
503[net_drops.eth0] 689 # directory to monitor = /sys/class/drm
504 # history = 86400
505 # enabled = yes
506 enabled = no
507 # cache directory = /var/cache/netdata/net_drops.eth0
508 # chart type = line
509 # type = net_drops
510 # family = eth0
511 # context = net.drops
512 # units = drops/s
513 # priority = 7003
514 # gap when lost iterations above = 1
515 # name = net_drops.eth0
516 # title = Interface Drops (net_drops.eth0)
517 # dim inbound name = inbound
518 # dim inbound algorithm = incremental
519 # dim inbound multiplier = 1
520 # dim inbound divisor = 1
521 # dim outbound name = outbound
522 # dim outbound algorithm = incremental
523 # dim outbound multiplier = -1
524 # dim outbound divisor = 1
525
526[net.eth1]
527 # history = 86400
528 # enabled = yes
529 enabled = no
530 # cache directory = /var/cache/netdata/net.eth1
531 # chart type = area
532 # type = net
533 # family = eth1
534 # context = net.net
535 # units = kilobits/s
536 # priority = 7000
537 # gap when lost iterations above = 1
538 # name = net.eth1
539 # title = Bandwidth (net.eth1)
540 # dim received name = received
541 # dim received algorithm = incremental
542 # dim received multiplier = 8
543 # dim received divisor = 1024
544 # dim sent name = sent
545 # dim sent algorithm = incremental
546 # dim sent multiplier = -8
547 # dim sent divisor = 1024
548
549[net_packets.eth1]
550 # history = 86400
551 # enabled = yes
552 enabled = no
553 # cache directory = /var/cache/netdata/net_packets.eth1
554 # chart type = line
555 # type = net_packets
556 # family = eth1
557 # context = net.packets
558 # units = packets/s
559 # priority = 7001
560 # gap when lost iterations above = 1
561 # name = net_packets.eth1
562 # title = Packets (net_packets.eth1)
563 # dim received name = received
564 # dim received algorithm = incremental
565 # dim received multiplier = 1
566 # dim received divisor = 1
567 # dim sent name = sent
568 # dim sent algorithm = incremental
569 # dim sent multiplier = -1
570 # dim sent divisor = 1
571 # dim multicast name = multicast
572 # dim multicast algorithm = incremental
573 # dim multicast multiplier = 1
574 # dim multicast divisor = 1
575
576[disk.sda]
577 # history = 86400
578 # enabled = yes
579 enabled = no
580 # cache directory = /var/cache/netdata/disk.sda
581 # chart type = area
582 # type = disk
583 # family = sda
584 # context = disk.io
585 # units = kilobytes/s
586 # priority = 2000
587 # gap when lost iterations above = 1
588 # name = disk.sda
589 # title = Disk I/O Bandwidth (disk.sda)
590 # dim reads name = reads
591 # dim reads algorithm = incremental
592 # dim reads multiplier = 512
593 # dim reads divisor = 1024
594 # dim writes name = writes
595 # dim writes algorithm = incremental
596 # dim writes multiplier = -512
597 # dim writes divisor = 1024
598
599[disk_ops.sda]
600 # history = 86400
601 # enabled = yes
602 enabled = no
603 # cache directory = /var/cache/netdata/disk_ops.sda
604 # chart type = line
605 # type = disk_ops
606 # family = sda
607 # context = disk.ops
608 # units = operations/s
609 # priority = 2001
610 # gap when lost iterations above = 1
611 # name = disk_ops.sda
612 # title = Disk Completed I/O Operations (disk_ops.sda)
613 # dim reads name = reads
614 # dim reads algorithm = incremental
615 # dim reads multiplier = 1
616 # dim reads divisor = 1
617 # dim writes name = writes
618 # dim writes algorithm = incremental
619 # dim writes multiplier = -1
620 # dim writes divisor = 1
621
622[disk_qops.sda]
623 # history = 86400
624 # enabled = yes
625 enabled = no
626 # cache directory = /var/cache/netdata/disk_qops.sda
627 # chart type = line
628 # type = disk_qops
629 # family = sda
630 # context = disk.qops
631 # units = operations
632 # priority = 2002
633 # gap when lost iterations above = 1
634 # name = disk_qops.sda
635 # title = Disk Current I/O Operations (disk_qops.sda)
636 # dim operations name = operations
637 # dim operations algorithm = absolute
638 # dim operations multiplier = 1
639 # dim operations divisor = 1
640
641[disk_backlog.sda]
642 # history = 86400
643 # enabled = yes
644 enabled = no
645 # cache directory = /var/cache/netdata/disk_backlog.sda
646 # chart type = area
647 # type = disk_backlog
648 # family = sda
649 # context = disk.backlog
650 # units = backlog (ms)
651 # priority = 2003
652 # gap when lost iterations above = 1
653 # name = disk_backlog.sda
654 # title = Disk Backlog (disk_backlog.sda)
655 # dim backlog name = backlog
656 # dim backlog algorithm = incremental
657 # dim backlog multiplier = 1
658 # dim backlog divisor = 10
659
660[disk_util.sda]
661 # history = 86400
662 # enabled = yes
663 enabled = no
664 # cache directory = /var/cache/netdata/disk_util.sda
665 # chart type = area
666 # type = disk_util
667 # family = sda
668 # context = disk.util
669 # units = % of time working
670 # priority = 2004
671 # gap when lost iterations above = 1
672 # name = disk_util.sda
673 # title = Disk Utilization Time (disk_util.sda)
674 # dim utilization name = utilization
675 # dim utilization algorithm = incremental
676 # dim utilization multiplier = 1
677 # dim utilization divisor = 10
678
679[disk_mops.sda]
680 # history = 86400
681 # enabled = yes
682 enabled = no
683 # cache directory = /var/cache/netdata/disk_mops.sda
684 # chart type = line
685 # type = disk_mops
686 # family = sda
687 # context = disk.mops
688 # units = merged operations/s
689 # priority = 2021
690 # gap when lost iterations above = 1
691 # name = disk_mops.sda
692 # title = Disk Merged Operations (disk_mops.sda)
693 # dim reads name = reads
694 # dim reads algorithm = incremental
695 # dim reads multiplier = 1
696 # dim reads divisor = 1
697 # dim writes name = writes
698 # dim writes algorithm = incremental
699 # dim writes multiplier = -1
700 # dim writes divisor = 1
701
702[disk_iotime.sda]
703 # history = 86400
704 # enabled = yes
705 enabled = no
706 # cache directory = /var/cache/netdata/disk_iotime.sda
707 # chart type = line
708 # type = disk_iotime
709 # family = sda
710 # context = disk.iotime
711 # units = milliseconds/s
712 # priority = 2022
713 # gap when lost iterations above = 1
714 # name = disk_iotime.sda
715 # title = Disk Total I/O Time (disk_iotime.sda)
716 # dim reads name = reads
717 # dim reads algorithm = incremental
718 # dim reads multiplier = 1
719 # dim reads divisor = 1
720 # dim writes name = writes
721 # dim writes algorithm = incremental
722 # dim writes multiplier = -1
723 # dim writes divisor = 1
724
725[ipv4.packets]
726 # history = 86400
727 # enabled = yes
728 enabled = yes
729 # cache directory = /var/cache/netdata/ipv4.packets
730 # chart type = line
731 # type = ipv4
732 # family = packets
733 # context = ipv4.packets
734 # units = packets/s
735 # priority = 3000
736 # gap when lost iterations above = 1
737 # name = ipv4.packets
738 # title = IPv4 Packets (ipv4.packets)
739 # dim received name = received
740 # dim received algorithm = incremental
741 # dim received multiplier = 1
742 # dim received divisor = 1
743 # dim sent name = sent
744 # dim sent algorithm = incremental
745 # dim sent multiplier = -1
746 # dim sent divisor = 1
747 # dim forwarded name = forwarded
748 # dim forwarded algorithm = incremental
749 # dim forwarded multiplier = 1
750 # dim forwarded divisor = 1
751
752[ipv4.fragsout]
753 # history = 86400
754 # enabled = yes
755 enabled = no
756 # cache directory = /var/cache/netdata/ipv4.fragsout
757 # chart type = line
758 # type = ipv4
759 # family = fragments
760 # context = ipv4.fragsout
761 # units = packets/s
762 # priority = 3010
763 # gap when lost iterations above = 1
764 # name = ipv4.fragsout
765 # title = IPv4 Fragments Sent (ipv4.fragsout)
766 # dim ok name = ok
767 # dim ok algorithm = incremental
768 # dim ok multiplier = 1
769 # dim ok divisor = 1
770 # dim failed name = failed
771 # dim failed algorithm = incremental
772 # dim failed multiplier = -1
773 # dim failed divisor = 1
774 # dim all name = all
775 # dim all algorithm = incremental
776 # dim all multiplier = 1
777 # dim all divisor = 1
778
779[ipv4.fragsin]
780 # history = 86400
781 # enabled = yes
782 enabled = no
783 # cache directory = /var/cache/netdata/ipv4.fragsin
784 # chart type = line
785 # type = ipv4
786 # family = fragments
787 # context = ipv4.fragsin
788 # units = packets/s
789 # priority = 3011
790 # gap when lost iterations above = 1
791 # name = ipv4.fragsin
792 # title = IPv4 Fragments Reassembly (ipv4.fragsin)
793 # dim ok name = ok
794 # dim ok algorithm = incremental
795 # dim ok multiplier = 1
796 # dim ok divisor = 1
797 # dim failed name = failed
798 # dim failed algorithm = incremental
799 # dim failed multiplier = -1
800 # dim failed divisor = 1
801 # dim all name = all
802 # dim all algorithm = incremental
803 # dim all multiplier = 1
804 # dim all divisor = 1
805
806[ipv4.errors]
807 # history = 86400
808 # enabled = yes
809 enabled = no
810 # cache directory = /var/cache/netdata/ipv4.errors
811 # chart type = line
812 # type = ipv4
813 # family = errors
814 # context = ipv4.errors
815 # units = packets/s
816 # priority = 3002
817 # gap when lost iterations above = 1
818 # name = ipv4.errors
819 # title = IPv4 Errors (ipv4.errors)
820 # dim InDiscards name = InDiscards
821 # dim InDiscards algorithm = incremental
822 # dim InDiscards multiplier = 1
823 # dim InDiscards divisor = 1
824 # dim OutDiscards name = OutDiscards
825 # dim OutDiscards algorithm = incremental
826 # dim OutDiscards multiplier = -1
827 # dim OutDiscards divisor = 1
828 # dim InHdrErrors name = InHdrErrors
829 # dim InHdrErrors algorithm = incremental
830 # dim InHdrErrors multiplier = 1
831 # dim InHdrErrors divisor = 1
832 # dim InAddrErrors name = InAddrErrors
833 # dim InAddrErrors algorithm = incremental
834 # dim InAddrErrors multiplier = 1
835 # dim InAddrErrors divisor = 1
836 # dim InUnknownProtos name = InUnknownProtos
837 # dim InUnknownProtos algorithm = incremental
838 # dim InUnknownProtos multiplier = 1
839 # dim InUnknownProtos divisor = 1
840 # dim OutNoRoutes name = OutNoRoutes
841 # dim OutNoRoutes algorithm = incremental
842 # dim OutNoRoutes multiplier = -1
843 # dim OutNoRoutes divisor = 1
844
845[ipv4.tcpsock]
846 # history = 86400
847 # enabled = yes
848 enabled = no
849 # cache directory = /var/cache/netdata/ipv4.tcpsock
850 # chart type = line
851 # type = ipv4
852 # family = tcp
853 # context = ipv4.tcpsock
854 # units = active connections
855 # priority = 2500
856 # gap when lost iterations above = 1
857 # name = ipv4.tcpsock
858 # title = IPv4 TCP Connections (ipv4.tcpsock)
859 # dim connections name = connections
860 # dim connections algorithm = absolute
861 # dim connections multiplier = 1
862 # dim connections divisor = 1
863
864[ipv4.tcppackets]
865 # history = 86400
866 # enabled = yes
867 enabled = no
868 # cache directory = /var/cache/netdata/ipv4.tcppackets
869 # chart type = line
870 # type = ipv4
871 # family = tcp
872 # context = ipv4.tcppackets
873 # units = packets/s
874 # priority = 2600
875 # gap when lost iterations above = 1
876 # name = ipv4.tcppackets
877 # title = IPv4 TCP Packets (ipv4.tcppackets)
878 # dim received name = received
879 # dim received algorithm = incremental
880 # dim received multiplier = 1
881 # dim received divisor = 1
882 # dim sent name = sent
883 # dim sent algorithm = incremental
884 # dim sent multiplier = -1
885 # dim sent divisor = 1
886
887[ipv4.tcperrors]
888 # history = 86400
889 # enabled = yes
890 enabled = no
891 # cache directory = /var/cache/netdata/ipv4.tcperrors
892 # chart type = line
893 # type = ipv4
894 # family = tcp
895 # context = ipv4.tcperrors
896 # units = packets/s
897 # priority = 2700
898 # gap when lost iterations above = 1
899 # name = ipv4.tcperrors
900 # title = IPv4 TCP Errors (ipv4.tcperrors)
901 # dim InErrs name = InErrs
902 # dim InErrs algorithm = incremental
903 # dim InErrs multiplier = 1
904 # dim InErrs divisor = 1
905 # dim RetransSegs name = RetransSegs
906 # dim RetransSegs algorithm = incremental
907 # dim RetransSegs multiplier = -1
908 # dim RetransSegs divisor = 1
909
910[ipv4.tcphandshake]
911 # history = 86400
912 # enabled = yes
913 enabled = no
914 # cache directory = /var/cache/netdata/ipv4.tcphandshake
915 # chart type = line
916 # type = ipv4
917 # family = tcp
918 # context = ipv4.tcphandshake
919 # units = events/s
920 # priority = 2900
921 # gap when lost iterations above = 1
922 # name = ipv4.tcphandshake
923 # title = IPv4 TCP Handshake Issues (ipv4.tcphandshake)
924 # dim EstabResets name = EstabResets
925 # dim EstabResets algorithm = incremental
926 # dim EstabResets multiplier = 1
927 # dim EstabResets divisor = 1
928 # dim OutRsts name = OutRsts
929 # dim OutRsts algorithm = incremental
930 # dim OutRsts multiplier = -1
931 # dim OutRsts divisor = 1
932 # dim ActiveOpens name = ActiveOpens
933 # dim ActiveOpens algorithm = incremental
934 # dim ActiveOpens multiplier = 1
935 # dim ActiveOpens divisor = 1
936 # dim PassiveOpens name = PassiveOpens
937 # dim PassiveOpens algorithm = incremental
938 # dim PassiveOpens multiplier = 1
939 # dim PassiveOpens divisor = 1
940 # dim AttemptFails name = AttemptFails
941 # dim AttemptFails algorithm = incremental
942 # dim AttemptFails multiplier = 1
943 # dim AttemptFails divisor = 1
944
945[ipv4.udppackets]
946 # history = 86400
947 # enabled = yes
948 enabled = no
949 # cache directory = /var/cache/netdata/ipv4.udppackets
950 # chart type = line
951 # type = ipv4
952 # family = udp
953 # context = ipv4.udppackets
954 # units = packets/s
955 # priority = 2601
956 # gap when lost iterations above = 1
957 # name = ipv4.udppackets
958 # title = IPv4 UDP Packets (ipv4.udppackets)
959 # dim received name = received
960 # dim received algorithm = incremental
961 # dim received multiplier = 1
962 # dim received divisor = 1
963 # dim sent name = sent
964 # dim sent algorithm = incremental
965 # dim sent multiplier = -1
966 # dim sent divisor = 1
967
968[ipv4.udperrors]
969 # history = 86400
970 # enabled = yes
971 enabled = no
972 # cache directory = /var/cache/netdata/ipv4.udperrors
973 # chart type = line
974 # type = ipv4
975 # family = udp
976 # context = ipv4.udperrors
977 # units = events/s
978 # priority = 2701
979 # gap when lost iterations above = 1
980 # name = ipv4.udperrors
981 # title = IPv4 UDP Errors (ipv4.udperrors)
982 # dim RcvbufErrors name = RcvbufErrors
983 # dim RcvbufErrors algorithm = incremental
984 # dim RcvbufErrors multiplier = 1
985 # dim RcvbufErrors divisor = 1
986 # dim SndbufErrors name = SndbufErrors
987 # dim SndbufErrors algorithm = incremental
988 # dim SndbufErrors multiplier = -1
989 # dim SndbufErrors divisor = 1
990 # dim InErrors name = InErrors
991 # dim InErrors algorithm = incremental
992 # dim InErrors multiplier = 1
993 # dim InErrors divisor = 1
994 # dim NoPorts name = NoPorts
995 # dim NoPorts algorithm = incremental
996 # dim NoPorts multiplier = 1
997 # dim NoPorts divisor = 1
998
999[system.ipv4]
1000 # history = 86400
1001 # enabled = yes
1002 enabled = yes
1003 # cache directory = /var/cache/netdata/system.ipv4
1004 # chart type = area
1005 # type = system
1006 # family = network
1007 # context = system.ipv4
1008 # units = kilobits/s
1009 # priority = 500
1010 # gap when lost iterations above = 1
1011 # name = system.ipv4
1012 # title = IPv4 Bandwidth (system.ipv4)
1013 # dim received name = received
1014 # dim received algorithm = incremental
1015 # dim received multiplier = 8
1016 # dim received divisor = 1024
1017 # dim sent name = sent
1018 # dim sent algorithm = incremental
1019 # dim sent multiplier = -8
1020 # dim sent divisor = 1024
1021
1022[ipv4.bcast]
1023 # history = 86400
1024 # enabled = yes
1025 enabled = no
1026 # cache directory = /var/cache/netdata/ipv4.bcast
1027 # chart type = area
1028 # type = ipv4
1029 # family = broadcast
1030 # context = ipv4.bcast
1031 # units = kilobits/s
1032 # priority = 8000
1033 # gap when lost iterations above = 1
1034 # name = ipv4.bcast
1035 # title = IPv4 Broadcast Bandwidth (ipv4.bcast)
1036 # dim received name = received
1037 # dim received algorithm = incremental
1038 # dim received multiplier = 8
1039 # dim received divisor = 1024
1040 # dim sent name = sent
1041 # dim sent algorithm = incremental
1042 # dim sent multiplier = -8
1043 # dim sent divisor = 1024
1044
1045[ipv4.bcastpkts]
1046 # history = 86400
1047 # enabled = yes
1048 enabled = no
1049 # cache directory = /var/cache/netdata/ipv4.bcastpkts
1050 # chart type = line
1051 # type = ipv4
1052 # family = broadcast
1053 # context = ipv4.bcastpkts
1054 # units = packets/s
1055 # priority = 8500
1056 # gap when lost iterations above = 1
1057 # name = ipv4.bcastpkts
1058 # title = IPv4 Broadcast Packets (ipv4.bcastpkts)
1059 # dim received name = received
1060 # dim received algorithm = incremental
1061 # dim received multiplier = 1
1062 # dim received divisor = 1
1063 # dim sent name = sent
1064 # dim sent algorithm = incremental
1065 # dim sent multiplier = -1
1066 # dim sent divisor = 1
1067
1068[system.cpu]
1069 # history = 86400
1070 # enabled = yes
1071 enabled = yes
1072 # cache directory = /var/cache/netdata/system.cpu
1073 # chart type = stacked
1074 # type = system
1075 # family = cpu
1076 # context = system.cpu
1077 # units = percentage
1078 # priority = 100
1079 # gap when lost iterations above = 1
1080 # name = system.cpu
1081 # title = Total CPU utilization (system.cpu)
1082 # dim guest_nice name = guest_nice
1083 # dim guest_nice algorithm = percentage-of-incremental-row
1084 # dim guest_nice multiplier = 1
1085 # dim guest_nice divisor = 1
1086 # dim guest name = guest
1087 # dim guest algorithm = percentage-of-incremental-row
1088 # dim guest multiplier = 1
1089 # dim guest divisor = 1
1090 # dim steal name = steal
1091 # dim steal algorithm = percentage-of-incremental-row
1092 # dim steal multiplier = 1
1093 # dim steal divisor = 1
1094 # dim softirq name = softirq
1095 # dim softirq algorithm = percentage-of-incremental-row
1096 # dim softirq multiplier = 1
1097 # dim softirq divisor = 1
1098 # dim irq name = irq
1099 # dim irq algorithm = percentage-of-incremental-row
1100 # dim irq multiplier = 1
1101 # dim irq divisor = 1
1102 # dim user name = user
1103 # dim user algorithm = percentage-of-incremental-row
1104 # dim user multiplier = 1
1105 # dim user divisor = 1
1106 # dim system name = system
1107 # dim system algorithm = percentage-of-incremental-row
1108 # dim system multiplier = 1
1109 # dim system divisor = 1
1110 # dim nice name = nice
1111 # dim nice algorithm = percentage-of-incremental-row
1112 # dim nice multiplier = 1
1113 # dim nice divisor = 1
1114 # dim iowait name = iowait
1115 # dim iowait algorithm = percentage-of-incremental-row
1116 # dim iowait multiplier = 1
1117 # dim iowait divisor = 1
1118 # dim idle name = idle
1119 # dim idle algorithm = percentage-of-incremental-row
1120 # dim idle multiplier = 1
1121 # dim idle divisor = 1
1122
1123[cpu.cpu0]
1124 # history = 86400
1125 # enabled = yes
1126 # cache directory = /var/cache/netdata/cpu.cpu0
1127 # chart type = stacked
1128 # type = cpu
1129 # family = utilization
1130 # context = cpu.cpu
1131 # units = percentage
1132 # priority = 1000
1133 # gap when lost iterations above = 1
1134 # name = cpu.cpu0
1135 # title = Core utilization (cpu.cpu0)
1136 # dim guest_nice name = guest_nice
1137 # dim guest_nice algorithm = percentage-of-incremental-row
1138 # dim guest_nice multiplier = 1
1139 # dim guest_nice divisor = 1
1140 # dim guest name = guest
1141 # dim guest algorithm = percentage-of-incremental-row
1142 # dim guest multiplier = 1
1143 # dim guest divisor = 1
1144 # dim steal name = steal
1145 # dim steal algorithm = percentage-of-incremental-row
1146 # dim steal multiplier = 1
1147 # dim steal divisor = 1
1148 # dim softirq name = softirq
1149 # dim softirq algorithm = percentage-of-incremental-row
1150 # dim softirq multiplier = 1
1151 # dim softirq divisor = 1
1152 # dim irq name = irq
1153 # dim irq algorithm = percentage-of-incremental-row
1154 # dim irq multiplier = 1
1155 # dim irq divisor = 1
1156 # dim user name = user
1157 # dim user algorithm = percentage-of-incremental-row
1158 # dim user multiplier = 1
1159 # dim user divisor = 1
1160 # dim system name = system
1161 # dim system algorithm = percentage-of-incremental-row
1162 # dim system multiplier = 1
1163 # dim system divisor = 1
1164 # dim nice name = nice
1165 # dim nice algorithm = percentage-of-incremental-row
1166 # dim nice multiplier = 1
1167 # dim nice divisor = 1
1168 # dim iowait name = iowait
1169 # dim iowait algorithm = percentage-of-incremental-row
1170 # dim iowait multiplier = 1
1171 # dim iowait divisor = 1
1172 # dim idle name = idle
1173 # dim idle algorithm = percentage-of-incremental-row
1174 # dim idle multiplier = 1
1175 # dim idle divisor = 1
1176
1177[cpu.cpu1]
1178 # history = 86400
1179 # enabled = yes
1180 # cache directory = /var/cache/netdata/cpu.cpu1
1181 # chart type = stacked
1182 # type = cpu
1183 # family = utilization
1184 # context = cpu.cpu
1185 # units = percentage
1186 # priority = 1000
1187 # gap when lost iterations above = 1
1188 # name = cpu.cpu1
1189 # title = Core utilization (cpu.cpu1)
1190 # dim guest_nice name = guest_nice
1191 # dim guest_nice algorithm = percentage-of-incremental-row
1192 # dim guest_nice multiplier = 1
1193 # dim guest_nice divisor = 1
1194 # dim guest name = guest
1195 # dim guest algorithm = percentage-of-incremental-row
1196 # dim guest multiplier = 1
1197 # dim guest divisor = 1
1198 # dim steal name = steal
1199 # dim steal algorithm = percentage-of-incremental-row
1200 # dim steal multiplier = 1
1201 # dim steal divisor = 1
1202 # dim softirq name = softirq
1203 # dim softirq algorithm = percentage-of-incremental-row
1204 # dim softirq multiplier = 1
1205 # dim softirq divisor = 1
1206 # dim irq name = irq
1207 # dim irq algorithm = percentage-of-incremental-row
1208 # dim irq multiplier = 1
1209 # dim irq divisor = 1
1210 # dim user name = user
1211 # dim user algorithm = percentage-of-incremental-row
1212 # dim user multiplier = 1
1213 # dim user divisor = 1
1214 # dim system name = system
1215 # dim system algorithm = percentage-of-incremental-row
1216 # dim system multiplier = 1
1217 # dim system divisor = 1
1218 # dim nice name = nice
1219 # dim nice algorithm = percentage-of-incremental-row
1220 # dim nice multiplier = 1
1221 # dim nice divisor = 1
1222 # dim iowait name = iowait
1223 # dim iowait algorithm = percentage-of-incremental-row
1224 # dim iowait multiplier = 1
1225 # dim iowait divisor = 1
1226 # dim idle name = idle
1227 # dim idle algorithm = percentage-of-incremental-row
1228 # dim idle multiplier = 1
1229 # dim idle divisor = 1
1230
1231[system.intr]
1232 # history = 86400
1233 # enabled = yes
1234 # cache directory = /var/cache/netdata/system.intr
1235 # chart type = line
1236 # type = system
1237 # family = interrupts
1238 # context = system.intr
1239 # units = interrupts/s
1240 # priority = 900
1241 # gap when lost iterations above = 1
1242 # name = system.intr
1243 # title = CPU Interrupts (system.intr)
1244 # dim interrupts name = interrupts
1245 # dim interrupts algorithm = incremental
1246 # dim interrupts multiplier = 1
1247 # dim interrupts divisor = 1
1248
1249[system.ctxt]
1250 # history = 86400
1251 # enabled = yes
1252 # cache directory = /var/cache/netdata/system.ctxt
1253 # chart type = line
1254 # type = system
1255 # family = processes
1256 # context = system.ctxt
1257 # units = context switches/s
1258 # priority = 800
1259 # gap when lost iterations above = 1
1260 # name = system.ctxt
1261 # title = CPU Context Switches (system.ctxt)
1262 # dim switches name = switches
1263 # dim switches algorithm = incremental
1264 # dim switches multiplier = 1
1265 # dim switches divisor = 1
1266
1267[system.forks]
1268 # history = 86400
1269 # enabled = yes
1270 # cache directory = /var/cache/netdata/system.forks
1271 # chart type = line
1272 # type = system
1273 # family = processes
1274 # context = system.forks
1275 # units = processes/s
1276 # priority = 700
1277 # gap when lost iterations above = 1
1278 # name = system.forks
1279 # title = Started Processes (system.forks)
1280 # dim started name = started
1281 # dim started algorithm = incremental
1282 # dim started multiplier = 1
1283 # dim started divisor = 1
1284
1285[system.processes]
1286 # history = 86400
1287 # enabled = yes
1288 # cache directory = /var/cache/netdata/system.processes
1289 # chart type = line
1290 # type = system
1291 # family = processes
1292 # context = system.processes
1293 # units = processes
1294 # priority = 600
1295 # gap when lost iterations above = 1
1296 # name = system.processes
1297 # title = System Processes (system.processes)
1298 # dim running name = running
1299 # dim running algorithm = absolute
1300 # dim running multiplier = 1
1301 # dim running divisor = 1
1302 # dim blocked name = blocked
1303 # dim blocked algorithm = absolute
1304 # dim blocked multiplier = -1
1305 # dim blocked divisor = 1
1306
1307[system.ram]
1308 # history = 86400
1309 # enabled = yes
1310 # cache directory = /var/cache/netdata/system.ram
1311 # chart type = stacked
1312 # type = system
1313 # family = ram
1314 # context = system.ram
1315 # units = MB
1316 # priority = 200
1317 # gap when lost iterations above = 1
1318 # name = system.ram
1319 # title = System RAM (system.ram)
1320 # dim buffers name = buffers
1321 # dim buffers algorithm = absolute
1322 # dim buffers multiplier = 1
1323 # dim buffers divisor = 1024
1324 # dim used name = used
1325 # dim used algorithm = absolute
1326 # dim used multiplier = 1
1327 # dim used divisor = 1024
1328 # dim cached name = cached
1329 # dim cached algorithm = absolute
1330 # dim cached multiplier = 1
1331 # dim cached divisor = 1024
1332 # dim free name = free
1333 # dim free algorithm = absolute
1334 # dim free multiplier = 1
1335 # dim free divisor = 1024
1336
1337[system.swap]
1338 # history = 86400
1339 # enabled = yes
1340 # cache directory = /var/cache/netdata/system.swap
1341 # chart type = stacked
1342 # type = system
1343 # family = swap
1344 # context = system.swap
1345 # units = MB
1346 # priority = 201
1347 # gap when lost iterations above = 1
1348 # name = system.swap
1349 # title = System Swap (system.swap)
1350 # dim free name = free
1351 # dim free algorithm = absolute
1352 # dim free multiplier = 1
1353 # dim free divisor = 1024
1354 # dim used name = used
1355 # dim used algorithm = absolute
1356 # dim used multiplier = 1
1357 # dim used divisor = 1024
1358
1359[mem.committed]
1360 # history = 86400
1361 # enabled = yes
1362 # cache directory = /var/cache/netdata/mem.committed
1363 # chart type = area
1364 # type = mem
1365 # family = system
1366 # context = mem.committed
1367 # units = MB
1368 # priority = 5000
1369 # gap when lost iterations above = 1
1370 # name = mem.committed
1371 # title = Committed (Allocated) Memory (mem.committed)
1372 # dim Committed_AS name = Committed_AS
1373 # dim Committed_AS algorithm = absolute
1374 # dim Committed_AS multiplier = 1
1375 # dim Committed_AS divisor = 1024
1376
1377[mem.writeback]
1378 # history = 86400
1379 # enabled = yes
1380 enabled = no
1381 # cache directory = /var/cache/netdata/mem.writeback
1382 # chart type = line
1383 # type = mem
1384 # family = kernel
1385 # context = mem.writeback
1386 # units = MB
1387 # priority = 4000
1388 # gap when lost iterations above = 1
1389 # name = mem.writeback
1390 # title = Writeback Memory (mem.writeback)
1391 # dim Dirty name = Dirty
1392 # dim Dirty algorithm = absolute
1393 # dim Dirty multiplier = 1
1394 # dim Dirty divisor = 1024
1395 # dim Writeback name = Writeback
1396 # dim Writeback algorithm = absolute
1397 # dim Writeback multiplier = 1
1398 # dim Writeback divisor = 1024
1399 # dim FuseWriteback name = FuseWriteback
1400 # dim FuseWriteback algorithm = absolute
1401 # dim FuseWriteback multiplier = 1
1402 # dim FuseWriteback divisor = 1024
1403 # dim NfsWriteback name = NfsWriteback
1404 # dim NfsWriteback algorithm = absolute
1405 # dim NfsWriteback multiplier = 1
1406 # dim NfsWriteback divisor = 1024
1407 # dim Bounce name = Bounce
1408 # dim Bounce algorithm = absolute
1409 # dim Bounce multiplier = 1
1410 # dim Bounce divisor = 1024
1411
1412[mem.kernel]
1413 # history = 86400
1414 # enabled = yes
1415 # cache directory = /var/cache/netdata/mem.kernel
1416 # chart type = stacked
1417 # type = mem
1418 # family = kernel
1419 # context = mem.kernel
1420 # units = MB
1421 # priority = 6000
1422 # gap when lost iterations above = 1
1423 # name = mem.kernel
1424 # title = Memory Used by Kernel (mem.kernel)
1425 # dim Slab name = Slab
1426 # dim Slab algorithm = absolute
1427 # dim Slab multiplier = 1
1428 # dim Slab divisor = 1024
1429 # dim KernelStack name = KernelStack
1430 # dim KernelStack algorithm = absolute
1431 # dim KernelStack multiplier = 1
1432 # dim KernelStack divisor = 1024
1433 # dim PageTables name = PageTables
1434 # dim PageTables algorithm = absolute
1435 # dim PageTables multiplier = 1
1436 # dim PageTables divisor = 1024
1437 # dim VmallocUsed name = VmallocUsed
1438 # dim VmallocUsed algorithm = absolute
1439 # dim VmallocUsed multiplier = 1
1440 # dim VmallocUsed divisor = 1024
1441
1442[mem.slab]
1443 # history = 86400
1444 # enabled = yes
1445 enabled = no
1446 # cache directory = /var/cache/netdata/mem.slab
1447 # chart type = stacked
1448 # type = mem
1449 # family = slab
1450 # context = mem.slab
1451 # units = MB
1452 # priority = 6500
1453 # gap when lost iterations above = 1
1454 # name = mem.slab
1455 # title = Reclaimable Kernel Memory (mem.slab)
1456 # dim reclaimable name = reclaimable
1457 # dim reclaimable algorithm = absolute
1458 # dim reclaimable multiplier = 1
1459 # dim reclaimable divisor = 1024
1460 # dim unreclaimable name = unreclaimable
1461 # dim unreclaimable algorithm = absolute
1462 # dim unreclaimable multiplier = 1
1463 # dim unreclaimable divisor = 1024
1464
1465[system.swapio]
1466 # history = 86400
1467 # enabled = yes
1468 enabled = no
1469 # cache directory = /var/cache/netdata/system.swapio
1470 # chart type = area
1471 # type = system
1472 # family = swap
1473 # context = system.swapio
1474 # units = kilobytes/s
1475 # priority = 250
1476 # gap when lost iterations above = 1
1477 # name = system.swapio
1478 # title = Swap I/O (system.swapio)
1479 # dim in name = in
1480 # dim in algorithm = incremental
1481 # dim in multiplier = 4096
1482 # dim in divisor = 1024
1483 # dim out name = out
1484 # dim out algorithm = incremental
1485 # dim out multiplier = -4096
1486 # dim out divisor = 1024
1487
1488[system.io]
1489 # history = 86400
1490 # enabled = yes
1491 # cache directory = /var/cache/netdata/system.io
1492 # chart type = area
1493 # type = system
1494 # family = disk
1495 # context = system.io
1496 # units = kilobytes/s
1497 # priority = 150
1498 # gap when lost iterations above = 1
1499 # name = system.io
1500 # title = Disk I/O (system.io)
1501 # dim in name = in
1502 # dim in algorithm = incremental
1503 # dim in multiplier = 1
1504 # dim in divisor = 1
1505 # dim out name = out
1506 # dim out algorithm = incremental
1507 # dim out multiplier = -1
1508 # dim out divisor = 1
1509
1510[netdata.plugin_proc_cpu]
1511 # history = 86400
1512 # enabled = yes
1513 # cache directory = /var/cache/netdata/netdata.plugin_proc_cpu
1514 # chart type = stacked
1515 # type = netdata
1516 # family = proc.internal
1517 # context = netdata.plugin_proc_cpu
1518 # units = milliseconds/s
1519 # priority = 131000
1520 # gap when lost iterations above = 1
1521 # name = netdata.plugin_proc_cpu
1522 # title = NetData Proc Plugin CPU usage (netdata.plugin_proc_cpu)
1523 # dim user name = user
1524 # dim user algorithm = incremental
1525 # dim user multiplier = 1
1526 # dim user divisor = 1000
1527 # dim system name = system
1528 # dim system algorithm = incremental
1529 # dim system multiplier = 1
1530 # dim system divisor = 1000
1531
1532[netdata.server_cpu]
1533 # history = 86400
1534 # enabled = yes
1535 # cache directory = /var/cache/netdata/netdata.server_cpu
1536 # chart type = stacked
1537 # type = netdata
1538 # family = netdata
1539 # context = netdata.server_cpu
1540 # units = milliseconds/s
1541 # priority = 130000
1542 # gap when lost iterations above = 1
1543 # name = netdata.server_cpu
1544 # title = NetData CPU usage (netdata.server_cpu)
1545 # dim user name = user
1546 # dim user algorithm = incremental
1547 # dim user multiplier = 1
1548 # dim user divisor = 1000
1549 # dim system name = system
1550 # dim system algorithm = incremental
1551 # dim system multiplier = 1
1552 # dim system divisor = 1000
1553
1554[netdata.clients]
1555 # history = 86400
1556 # enabled = yes
1557 # cache directory = /var/cache/netdata/netdata.clients
1558 # chart type = line
1559 # type = netdata
1560 # family = netdata
1561 # context = netdata.clients
1562 # units = connected clients
1563 # priority = 131000
1564 # gap when lost iterations above = 1
1565 # name = netdata.clients
1566 # title = NetData Web Clients (netdata.clients)
1567 # dim clients name = clients
1568 # dim clients algorithm = absolute
1569 # dim clients multiplier = 1
1570 # dim clients divisor = 1
1571
1572[netdata.requests]
1573 # history = 86400
1574 # enabled = yes
1575 # cache directory = /var/cache/netdata/netdata.requests
1576 # chart type = line
1577 # type = netdata
1578 # family = netdata
1579 # context = netdata.requests
1580 # units = requests/s
1581 # priority = 131100
1582 # gap when lost iterations above = 1
1583 # name = netdata.requests
1584 # title = NetData Web Requests (netdata.requests)
1585 # dim requests name = requests
1586 # dim requests algorithm = incremental
1587 # dim requests multiplier = 1
1588 # dim requests divisor = 1
1589
1590[netdata.net]
1591 # history = 86400
1592 # enabled = yes
1593 # cache directory = /var/cache/netdata/netdata.net
1594 # chart type = area
1595 # type = netdata
1596 # family = netdata
1597 # context = netdata.net
1598 # units = kilobits/s
1599 # priority = 131200
1600 # gap when lost iterations above = 1
1601 # name = netdata.net
1602 # title = NetData Network Traffic (netdata.net)
1603 # dim in name = in
1604 # dim in algorithm = incremental
1605 # dim in multiplier = 8
1606 # dim in divisor = 1024
1607 # dim out name = out
1608 # dim out algorithm = incremental
1609 # dim out multiplier = -8
1610 # dim out divisor = 1024
1611
1612[apps.cpu]
1613 # history = 86400
1614 # enabled = yes
1615 # cache directory = /var/cache/netdata/apps.cpu
1616 # chart type = stacked
1617 # type = apps
1618 # family = cpu
1619 # context = apps.cpu
1620 # units = cpu time %
1621 # priority = 20001
1622 # gap when lost iterations above = 1
1623 # name = apps.cpu
1624 # title = Apps CPU Time (200% = 2 cores) (apps.cpu)
1625 # dim other name = other
1626 # dim other algorithm = incremental
1627 # dim other multiplier = 100
1628 # dim other divisor = 100
1629 # dim ksmd name = ksmd
1630 # dim ksmd algorithm = incremental
1631 # dim ksmd multiplier = 100
1632 # dim ksmd divisor = 100
1633 # dim system name = system
1634 # dim system algorithm = incremental
1635 # dim system multiplier = 100
1636 # dim system divisor = 100
1637 # dim netdata name = netdata
1638 # dim netdata algorithm = incremental
1639 # dim netdata multiplier = 100
1640 # dim netdata divisor = 100
1641 # dim kernel name = kernel
1642 # dim kernel algorithm = incremental
1643 # dim kernel multiplier = 100
1644 # dim kernel divisor = 100
1645 # dim cron name = cron
1646 # dim cron algorithm = incremental
1647 # dim cron multiplier = 100
1648 # dim cron divisor = 100
1649 # dim inetd name = inetd
1650 # dim inetd algorithm = incremental
1651 # dim inetd multiplier = 100
1652 # dim inetd divisor = 100
1653 # dim nms name = nms
1654 # dim nms algorithm = incremental
1655 # dim nms multiplier = 100
1656 # dim nms divisor = 100
1657 # dim log name = log
1658 # dim log algorithm = incremental
1659 # dim log multiplier = 100
1660 # dim log divisor = 100
1661 # dim ntp name = ntp
1662 # dim ntp algorithm = incremental
1663 # dim ntp multiplier = 100
1664 # dim ntp divisor = 100
1665 # dim named name = named
1666 # dim named algorithm = incremental
1667 # dim named multiplier = 100
1668 # dim named divisor = 100
1669 # dim ssh name = ssh
1670 # dim ssh algorithm = incremental
1671 # dim ssh multiplier = 100
1672 # dim ssh divisor = 100
1673 # dim nfs name = nfs
1674 # dim nfs algorithm = incremental
1675 # dim nfs multiplier = 100
1676 # dim nfs divisor = 100
1677 # dim nginx name = nginx
1678 # dim nginx algorithm = incremental
1679 # dim nginx multiplier = 100
1680 # dim nginx divisor = 100
1681 # dim postfix name = postfix
1682 # dim postfix algorithm = incremental
1683 # dim postfix multiplier = 100
1684 # dim postfix divisor = 100
1685 # dim mysql name = mysql
1686 # dim mysql algorithm = incremental
1687 # dim mysql multiplier = 100
1688 # dim mysql divisor = 100
1689 # dim rsync name = rsync
1690 # dim rsync algorithm = incremental
1691 # dim rsync multiplier = 100
1692 # dim rsync divisor = 100
1693 # dim compile name = compile
1694 # dim compile algorithm = incremental
1695 # dim compile multiplier = 100
1696 # dim compile divisor = 100
1697
1698[apps.mem]
1699 # history = 86400
1700 # enabled = yes
1701 # cache directory = /var/cache/netdata/apps.mem
1702 # chart type = stacked
1703 # type = apps
1704 # family = mem
1705 # context = apps.mem
1706 # units = MB
1707 # priority = 20003
1708 # gap when lost iterations above = 1
1709 # name = apps.mem
1710 # title = Apps Dedicated Memory (w/o shared) (apps.mem)
1711 # dim other name = other
1712 # dim other algorithm = absolute
1713 # dim other multiplier = 4096
1714 # dim other divisor = 1048576
1715 # dim ksmd name = ksmd
1716 # dim ksmd algorithm = absolute
1717 # dim ksmd multiplier = 4096
1718 # dim ksmd divisor = 1048576
1719 # dim system name = system
1720 # dim system algorithm = absolute
1721 # dim system multiplier = 4096
1722 # dim system divisor = 1048576
1723 # dim netdata name = netdata
1724 # dim netdata algorithm = absolute
1725 # dim netdata multiplier = 4096
1726 # dim netdata divisor = 1048576
1727 # dim kernel name = kernel
1728 # dim kernel algorithm = absolute
1729 # dim kernel multiplier = 4096
1730 # dim kernel divisor = 1048576
1731 # dim cron name = cron
1732 # dim cron algorithm = absolute
1733 # dim cron multiplier = 4096
1734 # dim cron divisor = 1048576
1735 # dim inetd name = inetd
1736 # dim inetd algorithm = absolute
1737 # dim inetd multiplier = 4096
1738 # dim inetd divisor = 1048576
1739 # dim nms name = nms
1740 # dim nms algorithm = absolute
1741 # dim nms multiplier = 4096
1742 # dim nms divisor = 1048576
1743 # dim log name = log
1744 # dim log algorithm = absolute
1745 # dim log multiplier = 4096
1746 # dim log divisor = 1048576
1747 # dim ntp name = ntp
1748 # dim ntp algorithm = absolute
1749 # dim ntp multiplier = 4096
1750 # dim ntp divisor = 1048576
1751 # dim named name = named
1752 # dim named algorithm = absolute
1753 # dim named multiplier = 4096
1754 # dim named divisor = 1048576
1755 # dim ssh name = ssh
1756 # dim ssh algorithm = absolute
1757 # dim ssh multiplier = 4096
1758 # dim ssh divisor = 1048576
1759 # dim nfs name = nfs
1760 # dim nfs algorithm = absolute
1761 # dim nfs multiplier = 4096
1762 # dim nfs divisor = 1048576
1763 # dim nginx name = nginx
1764 # dim nginx algorithm = absolute
1765 # dim nginx multiplier = 4096
1766 # dim nginx divisor = 1048576
1767 # dim postfix name = postfix
1768 # dim postfix algorithm = absolute
1769 # dim postfix multiplier = 4096
1770 # dim postfix divisor = 1048576
1771 # dim mysql name = mysql
1772 # dim mysql algorithm = absolute
1773 # dim mysql multiplier = 4096
1774 # dim mysql divisor = 1048576
1775 # dim rsync name = rsync
1776 # dim rsync algorithm = absolute
1777 # dim rsync multiplier = 4096
1778 # dim rsync divisor = 1048576
1779 # dim compile name = compile
1780 # dim compile algorithm = absolute
1781 # dim compile multiplier = 4096
1782 # dim compile divisor = 1048576
1783
1784[apps.threads]
1785 # history = 86400
1786 # enabled = yes
1787 # cache directory = /var/cache/netdata/apps.threads
1788 # chart type = stacked
1789 # type = apps
1790 # family = processes
1791 # context = apps.threads
1792 # units = threads
1793 # priority = 20005
1794 # gap when lost iterations above = 1
1795 # name = apps.threads
1796 # title = Apps Threads (apps.threads)
1797 # dim other name = other
1798 # dim other algorithm = absolute
1799 # dim other multiplier = 1
1800 # dim other divisor = 1
1801 # dim ksmd name = ksmd
1802 # dim ksmd algorithm = absolute
1803 # dim ksmd multiplier = 1
1804 # dim ksmd divisor = 1
1805 # dim system name = system
1806 # dim system algorithm = absolute
1807 # dim system multiplier = 1
1808 # dim system divisor = 1
1809 # dim netdata name = netdata
1810 # dim netdata algorithm = absolute
1811 # dim netdata multiplier = 1
1812 # dim netdata divisor = 1
1813 # dim kernel name = kernel
1814 # dim kernel algorithm = absolute
1815 # dim kernel multiplier = 1
1816 # dim kernel divisor = 1
1817 # dim cron name = cron
1818 # dim cron algorithm = absolute
1819 # dim cron multiplier = 1
1820 # dim cron divisor = 1
1821 # dim inetd name = inetd
1822 # dim inetd algorithm = absolute
1823 # dim inetd multiplier = 1
1824 # dim inetd divisor = 1
1825 # dim nms name = nms
1826 # dim nms algorithm = absolute
1827 # dim nms multiplier = 1
1828 # dim nms divisor = 1
1829 # dim log name = log
1830 # dim log algorithm = absolute
1831 # dim log multiplier = 1
1832 # dim log divisor = 1
1833 # dim ntp name = ntp
1834 # dim ntp algorithm = absolute
1835 # dim ntp multiplier = 1
1836 # dim ntp divisor = 1
1837 # dim named name = named
1838 # dim named algorithm = absolute
1839 # dim named multiplier = 1
1840 # dim named divisor = 1
1841 # dim ssh name = ssh
1842 # dim ssh algorithm = absolute
1843 # dim ssh multiplier = 1
1844 # dim ssh divisor = 1
1845 # dim nfs name = nfs
1846 # dim nfs algorithm = absolute
1847 # dim nfs multiplier = 1
1848 # dim nfs divisor = 1
1849 # dim nginx name = nginx
1850 # dim nginx algorithm = absolute
1851 # dim nginx multiplier = 1
1852 # dim nginx divisor = 1
1853 # dim postfix name = postfix
1854 # dim postfix algorithm = absolute
1855 # dim postfix multiplier = 1
1856 # dim postfix divisor = 1
1857 # dim mysql name = mysql
1858 # dim mysql algorithm = absolute
1859 # dim mysql multiplier = 1
1860 # dim mysql divisor = 1
1861 # dim rsync name = rsync
1862 # dim rsync algorithm = absolute
1863 # dim rsync multiplier = 1
1864 # dim rsync divisor = 1
1865 # dim compile name = compile
1866 # dim compile algorithm = absolute
1867 # dim compile multiplier = 1
1868 # dim compile divisor = 1
1869
1870[apps.processes]
1871 # history = 86400
1872 # enabled = yes
1873 # cache directory = /var/cache/netdata/apps.processes
1874 # chart type = stacked
1875 # type = apps
1876 # family = processes
1877 # context = apps.processes
1878 # units = processes
1879 # priority = 20004
1880 # gap when lost iterations above = 1
1881 # name = apps.processes
1882 # title = Apps Processes (apps.processes)
1883 # dim other name = other
1884 # dim other algorithm = absolute
1885 # dim other multiplier = 1
1886 # dim other divisor = 1
1887 # dim ksmd name = ksmd
1888 # dim ksmd algorithm = absolute
1889 # dim ksmd multiplier = 1
1890 # dim ksmd divisor = 1
1891 # dim system name = system
1892 # dim system algorithm = absolute
1893 # dim system multiplier = 1
1894 # dim system divisor = 1
1895 # dim netdata name = netdata
1896 # dim netdata algorithm = absolute
1897 # dim netdata multiplier = 1
1898 # dim netdata divisor = 1
1899 # dim kernel name = kernel
1900 # dim kernel algorithm = absolute
1901 # dim kernel multiplier = 1
1902 # dim kernel divisor = 1
1903 # dim cron name = cron
1904 # dim cron algorithm = absolute
1905 # dim cron multiplier = 1
1906 # dim cron divisor = 1
1907 # dim inetd name = inetd
1908 # dim inetd algorithm = absolute
1909 # dim inetd multiplier = 1
1910 # dim inetd divisor = 1
1911 # dim nms name = nms
1912 # dim nms algorithm = absolute
1913 # dim nms multiplier = 1
1914 # dim nms divisor = 1
1915 # dim log name = log
1916 # dim log algorithm = absolute
1917 # dim log multiplier = 1
1918 # dim log divisor = 1
1919 # dim ntp name = ntp
1920 # dim ntp algorithm = absolute
1921 # dim ntp multiplier = 1
1922 # dim ntp divisor = 1
1923 # dim named name = named
1924 # dim named algorithm = absolute
1925 # dim named multiplier = 1
1926 # dim named divisor = 1
1927 # dim ssh name = ssh
1928 # dim ssh algorithm = absolute
1929 # dim ssh multiplier = 1
1930 # dim ssh divisor = 1
1931 # dim nfs name = nfs
1932 # dim nfs algorithm = absolute
1933 # dim nfs multiplier = 1
1934 # dim nfs divisor = 1
1935 # dim nginx name = nginx
1936 # dim nginx algorithm = absolute
1937 # dim nginx multiplier = 1
1938 # dim nginx divisor = 1
1939 # dim postfix name = postfix
1940 # dim postfix algorithm = absolute
1941 # dim postfix multiplier = 1
1942 # dim postfix divisor = 1
1943 # dim mysql name = mysql
1944 # dim mysql algorithm = absolute
1945 # dim mysql multiplier = 1
1946 # dim mysql divisor = 1
1947 # dim rsync name = rsync
1948 # dim rsync algorithm = absolute
1949 # dim rsync multiplier = 1
1950 # dim rsync divisor = 1
1951 # dim compile name = compile
1952 # dim compile algorithm = absolute
1953 # dim compile multiplier = 1
1954 # dim compile divisor = 1
1955
1956[apps.cpu_user]
1957 # history = 86400
1958 # enabled = yes
1959 # cache directory = /var/cache/netdata/apps.cpu_user
1960 # chart type = stacked
1961 # type = apps
1962 # family = cpu
1963 # context = apps.cpu_user
1964 # units = cpu time %
1965 # priority = 20020
1966 # gap when lost iterations above = 1
1967 # name = apps.cpu_user
1968 # title = Apps CPU User Time (200% = 2 cores) (apps.cpu_user)
1969 # dim other name = other
1970 # dim other algorithm = incremental
1971 # dim other multiplier = 100
1972 # dim other divisor = 200
1973 # dim ksmd name = ksmd
1974 # dim ksmd algorithm = incremental
1975 # dim ksmd multiplier = 100
1976 # dim ksmd divisor = 200
1977 # dim system name = system
1978 # dim system algorithm = incremental
1979 # dim system multiplier = 100
1980 # dim system divisor = 200
1981 # dim netdata name = netdata
1982 # dim netdata algorithm = incremental
1983 # dim netdata multiplier = 100
1984 # dim netdata divisor = 200
1985 # dim kernel name = kernel
1986 # dim kernel algorithm = incremental
1987 # dim kernel multiplier = 100
1988 # dim kernel divisor = 200
1989 # dim cron name = cron
1990 # dim cron algorithm = incremental
1991 # dim cron multiplier = 100
1992 # dim cron divisor = 200
1993 # dim inetd name = inetd
1994 # dim inetd algorithm = incremental
1995 # dim inetd multiplier = 100
1996 # dim inetd divisor = 200
1997 # dim nms name = nms
1998 # dim nms algorithm = incremental
1999 # dim nms multiplier = 100
2000 # dim nms divisor = 200
2001 # dim log name = log
2002 # dim log algorithm = incremental
2003 # dim log multiplier = 100
2004 # dim log divisor = 200
2005 # dim ntp name = ntp
2006 # dim ntp algorithm = incremental
2007 # dim ntp multiplier = 100
2008 # dim ntp divisor = 200
2009 # dim named name = named
2010 # dim named algorithm = incremental
2011 # dim named multiplier = 100
2012 # dim named divisor = 200
2013 # dim ssh name = ssh
2014 # dim ssh algorithm = incremental
2015 # dim ssh multiplier = 100
2016 # dim ssh divisor = 200
2017 # dim nfs name = nfs
2018 # dim nfs algorithm = incremental
2019 # dim nfs multiplier = 100
2020 # dim nfs divisor = 200
2021 # dim nginx name = nginx
2022 # dim nginx algorithm = incremental
2023 # dim nginx multiplier = 100
2024 # dim nginx divisor = 200
2025 # dim postfix name = postfix
2026 # dim postfix algorithm = incremental
2027 # dim postfix multiplier = 100
2028 # dim postfix divisor = 200
2029 # dim mysql name = mysql
2030 # dim mysql algorithm = incremental
2031 # dim mysql multiplier = 100
2032 # dim mysql divisor = 200
2033 # dim rsync name = rsync
2034 # dim rsync algorithm = incremental
2035 # dim rsync multiplier = 100
2036 # dim rsync divisor = 200
2037 # dim compile name = compile
2038 # dim compile algorithm = incremental
2039 # dim compile multiplier = 100
2040 # dim compile divisor = 200
2041
2042[apps.cpu_system]
2043 # history = 86400
2044 # enabled = yes
2045 # cache directory = /var/cache/netdata/apps.cpu_system
2046 # chart type = stacked
2047 # type = apps
2048 # family = cpu
2049 # context = apps.cpu_system
2050 # units = cpu time %
2051 # priority = 20021
2052 # gap when lost iterations above = 1
2053 # name = apps.cpu_system
2054 # title = Apps CPU System Time (200% = 2 cores) (apps.cpu_system)
2055 # dim other name = other
2056 # dim other algorithm = incremental
2057 # dim other multiplier = 100
2058 # dim other divisor = 200
2059 # dim ksmd name = ksmd
2060 # dim ksmd algorithm = incremental
2061 # dim ksmd multiplier = 100
2062 # dim ksmd divisor = 200
2063 # dim system name = system
2064 # dim system algorithm = incremental
2065 # dim system multiplier = 100
2066 # dim system divisor = 200
2067 # dim netdata name = netdata
2068 # dim netdata algorithm = incremental
2069 # dim netdata multiplier = 100
2070 # dim netdata divisor = 200
2071 # dim kernel name = kernel
2072 # dim kernel algorithm = incremental
2073 # dim kernel multiplier = 100
2074 # dim kernel divisor = 200
2075 # dim cron name = cron
2076 # dim cron algorithm = incremental
2077 # dim cron multiplier = 100
2078 # dim cron divisor = 200
2079 # dim inetd name = inetd
2080 # dim inetd algorithm = incremental
2081 # dim inetd multiplier = 100
2082 # dim inetd divisor = 200
2083 # dim nms name = nms
2084 # dim nms algorithm = incremental
2085 # dim nms multiplier = 100
2086 # dim nms divisor = 200
2087 # dim log name = log
2088 # dim log algorithm = incremental
2089 # dim log multiplier = 100
2090 # dim log divisor = 200
2091 # dim ntp name = ntp
2092 # dim ntp algorithm = incremental
2093 # dim ntp multiplier = 100
2094 # dim ntp divisor = 200
2095 # dim named name = named
2096 # dim named algorithm = incremental
2097 # dim named multiplier = 100
2098 # dim named divisor = 200
2099 # dim ssh name = ssh
2100 # dim ssh algorithm = incremental
2101 # dim ssh multiplier = 100
2102 # dim ssh divisor = 200
2103 # dim nfs name = nfs
2104 # dim nfs algorithm = incremental
2105 # dim nfs multiplier = 100
2106 # dim nfs divisor = 200
2107 # dim nginx name = nginx
2108 # dim nginx algorithm = incremental
2109 # dim nginx multiplier = 100
2110 # dim nginx divisor = 200
2111 # dim postfix name = postfix
2112 # dim postfix algorithm = incremental
2113 # dim postfix multiplier = 100
2114 # dim postfix divisor = 200
2115 # dim mysql name = mysql
2116 # dim mysql algorithm = incremental
2117 # dim mysql multiplier = 100
2118 # dim mysql divisor = 200
2119 # dim rsync name = rsync
2120 # dim rsync algorithm = incremental
2121 # dim rsync multiplier = 100
2122 # dim rsync divisor = 200
2123 # dim compile name = compile
2124 # dim compile algorithm = incremental
2125 # dim compile multiplier = 100
2126 # dim compile divisor = 200
2127
2128[apps.major_faults]
2129 # history = 86400
2130 # enabled = yes
2131 # cache directory = /var/cache/netdata/apps.major_faults
2132 # chart type = stacked
2133 # type = apps
2134 # family = swap
2135 # context = apps.major_faults
2136 # units = page faults/s
2137 # priority = 20010
2138 # gap when lost iterations above = 1
2139 # name = apps.major_faults
2140 # title = Apps Major Page Faults (swap read) (apps.major_faults)
2141 # dim other name = other
2142 # dim other algorithm = incremental
2143 # dim other multiplier = 1
2144 # dim other divisor = 1
2145 # dim ksmd name = ksmd
2146 # dim ksmd algorithm = incremental
2147 # dim ksmd multiplier = 1
2148 # dim ksmd divisor = 1
2149 # dim system name = system
2150 # dim system algorithm = incremental
2151 # dim system multiplier = 1
2152 # dim system divisor = 1
2153 # dim netdata name = netdata
2154 # dim netdata algorithm = incremental
2155 # dim netdata multiplier = 1
2156 # dim netdata divisor = 1
2157 # dim kernel name = kernel
2158 # dim kernel algorithm = incremental
2159 # dim kernel multiplier = 1
2160 # dim kernel divisor = 1
2161 # dim cron name = cron
2162 # dim cron algorithm = incremental
2163 # dim cron multiplier = 1
2164 # dim cron divisor = 1
2165 # dim inetd name = inetd
2166 # dim inetd algorithm = incremental
2167 # dim inetd multiplier = 1
2168 # dim inetd divisor = 1
2169 # dim nms name = nms
2170 # dim nms algorithm = incremental
2171 # dim nms multiplier = 1
2172 # dim nms divisor = 1
2173 # dim log name = log
2174 # dim log algorithm = incremental
2175 # dim log multiplier = 1
2176 # dim log divisor = 1
2177 # dim ntp name = ntp
2178 # dim ntp algorithm = incremental
2179 # dim ntp multiplier = 1
2180 # dim ntp divisor = 1
2181 # dim named name = named
2182 # dim named algorithm = incremental
2183 # dim named multiplier = 1
2184 # dim named divisor = 1
2185 # dim ssh name = ssh
2186 # dim ssh algorithm = incremental
2187 # dim ssh multiplier = 1
2188 # dim ssh divisor = 1
2189 # dim nfs name = nfs
2190 # dim nfs algorithm = incremental
2191 # dim nfs multiplier = 1
2192 # dim nfs divisor = 1
2193 # dim nginx name = nginx
2194 # dim nginx algorithm = incremental
2195 # dim nginx multiplier = 1
2196 # dim nginx divisor = 1
2197 # dim postfix name = postfix
2198 # dim postfix algorithm = incremental
2199 # dim postfix multiplier = 1
2200 # dim postfix divisor = 1
2201 # dim mysql name = mysql
2202 # dim mysql algorithm = incremental
2203 # dim mysql multiplier = 1
2204 # dim mysql divisor = 1
2205 # dim rsync name = rsync
2206 # dim rsync algorithm = incremental
2207 # dim rsync multiplier = 1
2208 # dim rsync divisor = 1
2209 # dim compile name = compile
2210 # dim compile algorithm = incremental
2211 # dim compile multiplier = 1
2212 # dim compile divisor = 1
2213
2214[apps.minor_faults]
2215 # history = 86400
2216 # enabled = yes
2217 # cache directory = /var/cache/netdata/apps.minor_faults
2218 # chart type = stacked
2219 # type = apps
2220 # family = mem
2221 # context = apps.minor_faults
2222 # units = page faults/s
2223 # priority = 20011
2224 # gap when lost iterations above = 1
2225 # name = apps.minor_faults
2226 # title = Apps Minor Page Faults (apps.minor_faults)
2227 # dim other name = other
2228 # dim other algorithm = incremental
2229 # dim other multiplier = 1
2230 # dim other divisor = 1
2231 # dim ksmd name = ksmd
2232 # dim ksmd algorithm = incremental
2233 # dim ksmd multiplier = 1
2234 # dim ksmd divisor = 1
2235 # dim system name = system
2236 # dim system algorithm = incremental
2237 # dim system multiplier = 1
2238 # dim system divisor = 1
2239 # dim netdata name = netdata
2240 # dim netdata algorithm = incremental
2241 # dim netdata multiplier = 1
2242 # dim netdata divisor = 1
2243 # dim kernel name = kernel
2244 # dim kernel algorithm = incremental
2245 # dim kernel multiplier = 1
2246 # dim kernel divisor = 1
2247 # dim cron name = cron
2248 # dim cron algorithm = incremental
2249 # dim cron multiplier = 1
2250 # dim cron divisor = 1
2251 # dim inetd name = inetd
2252 # dim inetd algorithm = incremental
2253 # dim inetd multiplier = 1
2254 # dim inetd divisor = 1
2255 # dim nms name = nms
2256 # dim nms algorithm = incremental
2257 # dim nms multiplier = 1
2258 # dim nms divisor = 1
2259 # dim log name = log
2260 # dim log algorithm = incremental
2261 # dim log multiplier = 1
2262 # dim log divisor = 1
2263 # dim ntp name = ntp
2264 # dim ntp algorithm = incremental
2265 # dim ntp multiplier = 1
2266 # dim ntp divisor = 1
2267 # dim named name = named
2268 # dim named algorithm = incremental
2269 # dim named multiplier = 1
2270 # dim named divisor = 1
2271 # dim ssh name = ssh
2272 # dim ssh algorithm = incremental
2273 # dim ssh multiplier = 1
2274 # dim ssh divisor = 1
2275 # dim nfs name = nfs
2276 # dim nfs algorithm = incremental
2277 # dim nfs multiplier = 1
2278 # dim nfs divisor = 1
2279 # dim nginx name = nginx
2280 # dim nginx algorithm = incremental
2281 # dim nginx multiplier = 1
2282 # dim nginx divisor = 1
2283 # dim postfix name = postfix
2284 # dim postfix algorithm = incremental
2285 # dim postfix multiplier = 1
2286 # dim postfix divisor = 1
2287 # dim mysql name = mysql
2288 # dim mysql algorithm = incremental
2289 # dim mysql multiplier = 1
2290 # dim mysql divisor = 1
2291 # dim rsync name = rsync
2292 # dim rsync algorithm = incremental
2293 # dim rsync multiplier = 1
2294 # dim rsync divisor = 1
2295 # dim compile name = compile
2296 # dim compile algorithm = incremental
2297 # dim compile multiplier = 1
2298 # dim compile divisor = 1
2299
2300[apps.lreads]
2301 # history = 86400
2302 # enabled = yes
2303 enabled = no
2304 # cache directory = /var/cache/netdata/apps.lreads
2305 # chart type = stacked
2306 # type = apps
2307 # family = disk
2308 # context = apps.lreads
2309 # units = kilobytes/s
2310 # priority = 20042
2311 # gap when lost iterations above = 1
2312 # name = apps.lreads
2313 # title = Apps Disk Logical Reads (apps.lreads)
2314 # dim other name = other
2315 # dim other algorithm = incremental
2316 # dim other multiplier = 1
2317 # dim other divisor = 1024
2318 # dim ksmd name = ksmd
2319 # dim ksmd algorithm = incremental
2320 # dim ksmd multiplier = 1
2321 # dim ksmd divisor = 1024
2322 # dim system name = system
2323 # dim system algorithm = incremental
2324 # dim system multiplier = 1
2325 # dim system divisor = 1024
2326 # dim netdata name = netdata
2327 # dim netdata algorithm = incremental
2328 # dim netdata multiplier = 1
2329 # dim netdata divisor = 1024
2330 # dim kernel name = kernel
2331 # dim kernel algorithm = incremental
2332 # dim kernel multiplier = 1
2333 # dim kernel divisor = 1024
2334 # dim cron name = cron
2335 # dim cron algorithm = incremental
2336 # dim cron multiplier = 1
2337 # dim cron divisor = 1024
2338 # dim inetd name = inetd
2339 # dim inetd algorithm = incremental
2340 # dim inetd multiplier = 1
2341 # dim inetd divisor = 1024
2342 # dim nms name = nms
2343 # dim nms algorithm = incremental
2344 # dim nms multiplier = 1
2345 # dim nms divisor = 1024
2346 # dim log name = log
2347 # dim log algorithm = incremental
2348 # dim log multiplier = 1
2349 # dim log divisor = 1024
2350 # dim ntp name = ntp
2351 # dim ntp algorithm = incremental
2352 # dim ntp multiplier = 1
2353 # dim ntp divisor = 1024
2354 # dim named name = named
2355 # dim named algorithm = incremental
2356 # dim named multiplier = 1
2357 # dim named divisor = 1024
2358 # dim ssh name = ssh
2359 # dim ssh algorithm = incremental
2360 # dim ssh multiplier = 1
2361 # dim ssh divisor = 1024
2362 # dim nfs name = nfs
2363 # dim nfs algorithm = incremental
2364 # dim nfs multiplier = 1
2365 # dim nfs divisor = 1024
2366 # dim nginx name = nginx
2367 # dim nginx algorithm = incremental
2368 # dim nginx multiplier = 1
2369 # dim nginx divisor = 1024
2370 # dim postfix name = postfix
2371 # dim postfix algorithm = incremental
2372 # dim postfix multiplier = 1
2373 # dim postfix divisor = 1024
2374 # dim mysql name = mysql
2375 # dim mysql algorithm = incremental
2376 # dim mysql multiplier = 1
2377 # dim mysql divisor = 1024
2378 # dim rsync name = rsync
2379 # dim rsync algorithm = incremental
2380 # dim rsync multiplier = 1
2381 # dim rsync divisor = 1024
2382 # dim compile name = compile
2383 # dim compile algorithm = incremental
2384 # dim compile multiplier = 1
2385 # dim compile divisor = 1024
2386
2387[apps.lwrites]
2388 # history = 86400
2389 # enabled = yes
2390 enabled = no
2391 # cache directory = /var/cache/netdata/apps.lwrites
2392 # chart type = stacked
2393 # type = apps
2394 # family = disk
2395 # context = apps.lwrites
2396 # units = kilobytes/s
2397 # priority = 20042
2398 # gap when lost iterations above = 1
2399 # name = apps.lwrites
2400 # title = Apps I/O Logical Writes (apps.lwrites)
2401 # dim other name = other
2402 # dim other algorithm = incremental
2403 # dim other multiplier = 1
2404 # dim other divisor = 1024
2405 # dim ksmd name = ksmd
2406 # dim ksmd algorithm = incremental
2407 # dim ksmd multiplier = 1
2408 # dim ksmd divisor = 1024
2409 # dim system name = system
2410 # dim system algorithm = incremental
2411 # dim system multiplier = 1
2412 # dim system divisor = 1024
2413 # dim netdata name = netdata
2414 # dim netdata algorithm = incremental
2415 # dim netdata multiplier = 1
2416 # dim netdata divisor = 1024
2417 # dim kernel name = kernel
2418 # dim kernel algorithm = incremental
2419 # dim kernel multiplier = 1
2420 # dim kernel divisor = 1024
2421 # dim cron name = cron
2422 # dim cron algorithm = incremental
2423 # dim cron multiplier = 1
2424 # dim cron divisor = 1024
2425 # dim inetd name = inetd
2426 # dim inetd algorithm = incremental
2427 # dim inetd multiplier = 1
2428 # dim inetd divisor = 1024
2429 # dim nms name = nms
2430 # dim nms algorithm = incremental
2431 # dim nms multiplier = 1
2432 # dim nms divisor = 1024
2433 # dim log name = log
2434 # dim log algorithm = incremental
2435 # dim log multiplier = 1
2436 # dim log divisor = 1024
2437 # dim ntp name = ntp
2438 # dim ntp algorithm = incremental
2439 # dim ntp multiplier = 1
2440 # dim ntp divisor = 1024
2441 # dim named name = named
2442 # dim named algorithm = incremental
2443 # dim named multiplier = 1
2444 # dim named divisor = 1024
2445 # dim ssh name = ssh
2446 # dim ssh algorithm = incremental
2447 # dim ssh multiplier = 1
2448 # dim ssh divisor = 1024
2449 # dim nfs name = nfs
2450 # dim nfs algorithm = incremental
2451 # dim nfs multiplier = 1
2452 # dim nfs divisor = 1024
2453 # dim nginx name = nginx
2454 # dim nginx algorithm = incremental
2455 # dim nginx multiplier = 1
2456 # dim nginx divisor = 1024
2457 # dim postfix name = postfix
2458 # dim postfix algorithm = incremental
2459 # dim postfix multiplier = 1
2460 # dim postfix divisor = 1024
2461 # dim mysql name = mysql
2462 # dim mysql algorithm = incremental
2463 # dim mysql multiplier = 1
2464 # dim mysql divisor = 1024
2465 # dim rsync name = rsync
2466 # dim rsync algorithm = incremental
2467 # dim rsync multiplier = 1
2468 # dim rsync divisor = 1024
2469 # dim compile name = compile
2470 # dim compile algorithm = incremental
2471 # dim compile multiplier = 1
2472 # dim compile divisor = 1024
2473 690
2474[apps.preads] 691[plugin:tc]
2475 # history = 86400 692 # script to run to get tc values = /usr/libexec/netdata/plugins.d/tc-qos-helper.sh
2476 # enabled = yes
2477 enabled = no
2478 # cache directory = /var/cache/netdata/apps.preads
2479 # chart type = stacked
2480 # type = apps
2481 # family = disk
2482 # context = apps.preads
2483 # units = kilobytes/s
2484 # priority = 20002
2485 # gap when lost iterations above = 1
2486 # name = apps.preads
2487 # title = Apps Disk Reads (apps.preads)
2488 # dim other name = other
2489 # dim other algorithm = incremental
2490 # dim other multiplier = 1
2491 # dim other divisor = 1024
2492 # dim ksmd name = ksmd
2493 # dim ksmd algorithm = incremental
2494 # dim ksmd multiplier = 1
2495 # dim ksmd divisor = 1024
2496 # dim system name = system
2497 # dim system algorithm = incremental
2498 # dim system multiplier = 1
2499 # dim system divisor = 1024
2500 # dim netdata name = netdata
2501 # dim netdata algorithm = incremental
2502 # dim netdata multiplier = 1
2503 # dim netdata divisor = 1024
2504 # dim kernel name = kernel
2505 # dim kernel algorithm = incremental
2506 # dim kernel multiplier = 1
2507 # dim kernel divisor = 1024
2508 # dim cron name = cron
2509 # dim cron algorithm = incremental
2510 # dim cron multiplier = 1
2511 # dim cron divisor = 1024
2512 # dim inetd name = inetd
2513 # dim inetd algorithm = incremental
2514 # dim inetd multiplier = 1
2515 # dim inetd divisor = 1024
2516 # dim nms name = nms
2517 # dim nms algorithm = incremental
2518 # dim nms multiplier = 1
2519 # dim nms divisor = 1024
2520 # dim log name = log
2521 # dim log algorithm = incremental
2522 # dim log multiplier = 1
2523 # dim log divisor = 1024
2524 # dim ntp name = ntp
2525 # dim ntp algorithm = incremental
2526 # dim ntp multiplier = 1
2527 # dim ntp divisor = 1024
2528 # dim named name = named
2529 # dim named algorithm = incremental
2530 # dim named multiplier = 1
2531 # dim named divisor = 1024
2532 # dim ssh name = ssh
2533 # dim ssh algorithm = incremental
2534 # dim ssh multiplier = 1
2535 # dim ssh divisor = 1024
2536 # dim nfs name = nfs
2537 # dim nfs algorithm = incremental
2538 # dim nfs multiplier = 1
2539 # dim nfs divisor = 1024
2540 # dim nginx name = nginx
2541 # dim nginx algorithm = incremental
2542 # dim nginx multiplier = 1
2543 # dim nginx divisor = 1024
2544 # dim postfix name = postfix
2545 # dim postfix algorithm = incremental
2546 # dim postfix multiplier = 1
2547 # dim postfix divisor = 1024
2548 # dim mysql name = mysql
2549 # dim mysql algorithm = incremental
2550 # dim mysql multiplier = 1
2551 # dim mysql divisor = 1024
2552 # dim rsync name = rsync
2553 # dim rsync algorithm = incremental
2554 # dim rsync multiplier = 1
2555 # dim rsync divisor = 1024
2556 # dim compile name = compile
2557 # dim compile algorithm = incremental
2558 # dim compile multiplier = 1
2559 # dim compile divisor = 1024
2560
2561[apps.pwrites]
2562 # history = 86400
2563 # enabled = yes
2564 enabled = no
2565 # cache directory = /var/cache/netdata/apps.pwrites
2566 # chart type = stacked
2567 # type = apps
2568 # family = disk
2569 # context = apps.pwrites
2570 # units = kilobytes/s
2571 # priority = 20002
2572 # gap when lost iterations above = 1
2573 # name = apps.pwrites
2574 # title = Apps Disk Writes (apps.pwrites)
2575 # dim other name = other
2576 # dim other algorithm = incremental
2577 # dim other multiplier = 1
2578 # dim other divisor = 1024
2579 # dim ksmd name = ksmd
2580 # dim ksmd algorithm = incremental
2581 # dim ksmd multiplier = 1
2582 # dim ksmd divisor = 1024
2583 # dim system name = system
2584 # dim system algorithm = incremental
2585 # dim system multiplier = 1
2586 # dim system divisor = 1024
2587 # dim netdata name = netdata
2588 # dim netdata algorithm = incremental
2589 # dim netdata multiplier = 1
2590 # dim netdata divisor = 1024
2591 # dim kernel name = kernel
2592 # dim kernel algorithm = incremental
2593 # dim kernel multiplier = 1
2594 # dim kernel divisor = 1024
2595 # dim cron name = cron
2596 # dim cron algorithm = incremental
2597 # dim cron multiplier = 1
2598 # dim cron divisor = 1024
2599 # dim inetd name = inetd
2600 # dim inetd algorithm = incremental
2601 # dim inetd multiplier = 1
2602 # dim inetd divisor = 1024
2603 # dim nms name = nms
2604 # dim nms algorithm = incremental
2605 # dim nms multiplier = 1
2606 # dim nms divisor = 1024
2607 # dim log name = log
2608 # dim log algorithm = incremental
2609 # dim log multiplier = 1
2610 # dim log divisor = 1024
2611 # dim ntp name = ntp
2612 # dim ntp algorithm = incremental
2613 # dim ntp multiplier = 1
2614 # dim ntp divisor = 1024
2615 # dim named name = named
2616 # dim named algorithm = incremental
2617 # dim named multiplier = 1
2618 # dim named divisor = 1024
2619 # dim ssh name = ssh
2620 # dim ssh algorithm = incremental
2621 # dim ssh multiplier = 1
2622 # dim ssh divisor = 1024
2623 # dim nfs name = nfs
2624 # dim nfs algorithm = incremental
2625 # dim nfs multiplier = 1
2626 # dim nfs divisor = 1024
2627 # dim nginx name = nginx
2628 # dim nginx algorithm = incremental
2629 # dim nginx multiplier = 1
2630 # dim nginx divisor = 1024
2631 # dim postfix name = postfix
2632 # dim postfix algorithm = incremental
2633 # dim postfix multiplier = 1
2634 # dim postfix divisor = 1024
2635 # dim mysql name = mysql
2636 # dim mysql algorithm = incremental
2637 # dim mysql multiplier = 1
2638 # dim mysql divisor = 1024
2639 # dim rsync name = rsync
2640 # dim rsync algorithm = incremental
2641 # dim rsync multiplier = 1
2642 # dim rsync divisor = 1024
2643 # dim compile name = compile
2644 # dim compile algorithm = incremental
2645 # dim compile multiplier = 1
2646 # dim compile divisor = 1024
2647
2648[apps.files]
2649 # history = 86400
2650 # enabled = yes
2651 enabled = no
2652 # cache directory = /var/cache/netdata/apps.files
2653 # chart type = stacked
2654 # type = apps
2655 # family = disk
2656 # context = apps.files
2657 # units = open files
2658 # priority = 20050
2659 # gap when lost iterations above = 1
2660 # name = apps.files
2661 # title = Apps Open Files (apps.files)
2662 # dim other name = other
2663 # dim other algorithm = absolute
2664 # dim other multiplier = 1
2665 # dim other divisor = 1
2666 # dim ksmd name = ksmd
2667 # dim ksmd algorithm = absolute
2668 # dim ksmd multiplier = 1
2669 # dim ksmd divisor = 1
2670 # dim system name = system
2671 # dim system algorithm = absolute
2672 # dim system multiplier = 1
2673 # dim system divisor = 1
2674 # dim netdata name = netdata
2675 # dim netdata algorithm = absolute
2676 # dim netdata multiplier = 1
2677 # dim netdata divisor = 1
2678 # dim kernel name = kernel
2679 # dim kernel algorithm = absolute
2680 # dim kernel multiplier = 1
2681 # dim kernel divisor = 1
2682 # dim cron name = cron
2683 # dim cron algorithm = absolute
2684 # dim cron multiplier = 1
2685 # dim cron divisor = 1
2686 # dim inetd name = inetd
2687 # dim inetd algorithm = absolute
2688 # dim inetd multiplier = 1
2689 # dim inetd divisor = 1
2690 # dim nms name = nms
2691 # dim nms algorithm = absolute
2692 # dim nms multiplier = 1
2693 # dim nms divisor = 1
2694 # dim log name = log
2695 # dim log algorithm = absolute
2696 # dim log multiplier = 1
2697 # dim log divisor = 1
2698 # dim ntp name = ntp
2699 # dim ntp algorithm = absolute
2700 # dim ntp multiplier = 1
2701 # dim ntp divisor = 1
2702 # dim named name = named
2703 # dim named algorithm = absolute
2704 # dim named multiplier = 1
2705 # dim named divisor = 1
2706 # dim ssh name = ssh
2707 # dim ssh algorithm = absolute
2708 # dim ssh multiplier = 1
2709 # dim ssh divisor = 1
2710 # dim nfs name = nfs
2711 # dim nfs algorithm = absolute
2712 # dim nfs multiplier = 1
2713 # dim nfs divisor = 1
2714 # dim nginx name = nginx
2715 # dim nginx algorithm = absolute
2716 # dim nginx multiplier = 1
2717 # dim nginx divisor = 1
2718 # dim postfix name = postfix
2719 # dim postfix algorithm = absolute
2720 # dim postfix multiplier = 1
2721 # dim postfix divisor = 1
2722 # dim mysql name = mysql
2723 # dim mysql algorithm = absolute
2724 # dim mysql multiplier = 1
2725 # dim mysql divisor = 1
2726 # dim rsync name = rsync
2727 # dim rsync algorithm = absolute
2728 # dim rsync multiplier = 1
2729 # dim rsync divisor = 1
2730 # dim compile name = compile
2731 # dim compile algorithm = absolute
2732 # dim compile multiplier = 1
2733 # dim compile divisor = 1
2734
2735[apps.sockets]
2736 # history = 86400
2737 # enabled = yes
2738 enabled = no
2739 # cache directory = /var/cache/netdata/apps.sockets
2740 # chart type = stacked
2741 # type = apps
2742 # family = net
2743 # context = apps.sockets
2744 # units = open sockets
2745 # priority = 20051
2746 # gap when lost iterations above = 1
2747 # name = apps.sockets
2748 # title = Apps Open Sockets (apps.sockets)
2749 # dim other name = other
2750 # dim other algorithm = absolute
2751 # dim other multiplier = 1
2752 # dim other divisor = 1
2753 # dim ksmd name = ksmd
2754 # dim ksmd algorithm = absolute
2755 # dim ksmd multiplier = 1
2756 # dim ksmd divisor = 1
2757 # dim system name = system
2758 # dim system algorithm = absolute
2759 # dim system multiplier = 1
2760 # dim system divisor = 1
2761 # dim netdata name = netdata
2762 # dim netdata algorithm = absolute
2763 # dim netdata multiplier = 1
2764 # dim netdata divisor = 1
2765 # dim kernel name = kernel
2766 # dim kernel algorithm = absolute
2767 # dim kernel multiplier = 1
2768 # dim kernel divisor = 1
2769 # dim cron name = cron
2770 # dim cron algorithm = absolute
2771 # dim cron multiplier = 1
2772 # dim cron divisor = 1
2773 # dim inetd name = inetd
2774 # dim inetd algorithm = absolute
2775 # dim inetd multiplier = 1
2776 # dim inetd divisor = 1
2777 # dim nms name = nms
2778 # dim nms algorithm = absolute
2779 # dim nms multiplier = 1
2780 # dim nms divisor = 1
2781 # dim log name = log
2782 # dim log algorithm = absolute
2783 # dim log multiplier = 1
2784 # dim log divisor = 1
2785 # dim ntp name = ntp
2786 # dim ntp algorithm = absolute
2787 # dim ntp multiplier = 1
2788 # dim ntp divisor = 1
2789 # dim named name = named
2790 # dim named algorithm = absolute
2791 # dim named multiplier = 1
2792 # dim named divisor = 1
2793 # dim ssh name = ssh
2794 # dim ssh algorithm = absolute
2795 # dim ssh multiplier = 1
2796 # dim ssh divisor = 1
2797 # dim nfs name = nfs
2798 # dim nfs algorithm = absolute
2799 # dim nfs multiplier = 1
2800 # dim nfs divisor = 1
2801 # dim nginx name = nginx
2802 # dim nginx algorithm = absolute
2803 # dim nginx multiplier = 1
2804 # dim nginx divisor = 1
2805 # dim postfix name = postfix
2806 # dim postfix algorithm = absolute
2807 # dim postfix multiplier = 1
2808 # dim postfix divisor = 1
2809 # dim mysql name = mysql
2810 # dim mysql algorithm = absolute
2811 # dim mysql multiplier = 1
2812 # dim mysql divisor = 1
2813 # dim rsync name = rsync
2814 # dim rsync algorithm = absolute
2815 # dim rsync multiplier = 1
2816 # dim rsync divisor = 1
2817 # dim compile name = compile
2818 # dim compile algorithm = absolute
2819 # dim compile multiplier = 1
2820 # dim compile divisor = 1
2821
2822[apps.pipes]
2823 # history = 86400
2824 # enabled = yes
2825 enabled = no
2826 # cache directory = /var/cache/netdata/apps.pipes
2827 # chart type = stacked
2828 # type = apps
2829 # family = processes
2830 # context = apps.pipes
2831 # units = open pipes
2832 # priority = 20053
2833 # gap when lost iterations above = 1
2834 # name = apps.pipes
2835 # title = Apps Pipes (apps.pipes)
2836 # dim other name = other
2837 # dim other algorithm = absolute
2838 # dim other multiplier = 1
2839 # dim other divisor = 1
2840 # dim ksmd name = ksmd
2841 # dim ksmd algorithm = absolute
2842 # dim ksmd multiplier = 1
2843 # dim ksmd divisor = 1
2844 # dim system name = system
2845 # dim system algorithm = absolute
2846 # dim system multiplier = 1
2847 # dim system divisor = 1
2848 # dim netdata name = netdata
2849 # dim netdata algorithm = absolute
2850 # dim netdata multiplier = 1
2851 # dim netdata divisor = 1
2852 # dim kernel name = kernel
2853 # dim kernel algorithm = absolute
2854 # dim kernel multiplier = 1
2855 # dim kernel divisor = 1
2856 # dim cron name = cron
2857 # dim cron algorithm = absolute
2858 # dim cron multiplier = 1
2859 # dim cron divisor = 1
2860 # dim inetd name = inetd
2861 # dim inetd algorithm = absolute
2862 # dim inetd multiplier = 1
2863 # dim inetd divisor = 1
2864 # dim nms name = nms
2865 # dim nms algorithm = absolute
2866 # dim nms multiplier = 1
2867 # dim nms divisor = 1
2868 # dim log name = log
2869 # dim log algorithm = absolute
2870 # dim log multiplier = 1
2871 # dim log divisor = 1
2872 # dim ntp name = ntp
2873 # dim ntp algorithm = absolute
2874 # dim ntp multiplier = 1
2875 # dim ntp divisor = 1
2876 # dim named name = named
2877 # dim named algorithm = absolute
2878 # dim named multiplier = 1
2879 # dim named divisor = 1
2880 # dim ssh name = ssh
2881 # dim ssh algorithm = absolute
2882 # dim ssh multiplier = 1
2883 # dim ssh divisor = 1
2884 # dim nfs name = nfs
2885 # dim nfs algorithm = absolute
2886 # dim nfs multiplier = 1
2887 # dim nfs divisor = 1
2888 # dim nginx name = nginx
2889 # dim nginx algorithm = absolute
2890 # dim nginx multiplier = 1
2891 # dim nginx divisor = 1
2892 # dim postfix name = postfix
2893 # dim postfix algorithm = absolute
2894 # dim postfix multiplier = 1
2895 # dim postfix divisor = 1
2896 # dim mysql name = mysql
2897 # dim mysql algorithm = absolute
2898 # dim mysql multiplier = 1
2899 # dim mysql divisor = 1
2900 # dim rsync name = rsync
2901 # dim rsync algorithm = absolute
2902 # dim rsync multiplier = 1
2903 # dim rsync divisor = 1
2904 # dim compile name = compile
2905 # dim compile algorithm = absolute
2906 # dim compile multiplier = 1
2907 # dim compile divisor = 1
2908
2909[netdata.apps_cpu]
2910 # history = 86400
2911 # enabled = yes
2912 # cache directory = /var/cache/netdata/netdata.apps_cpu
2913 # chart type = stacked
2914 # type = netdata
2915 # family = apps.plugin
2916 # context = netdata.apps_cpu
2917 # units = milliseconds/s
2918 # priority = 140000
2919 # gap when lost iterations above = 1
2920 # name = netdata.apps_cpu
2921 # title = Apps Plugin CPU (netdata.apps_cpu)
2922 # dim user name = user
2923 # dim user algorithm = incremental
2924 # dim user multiplier = 1
2925 # dim user divisor = 1000
2926 # dim system name = system
2927 # dim system algorithm = incremental
2928 # dim system multiplier = 1
2929 # dim system divisor = 1000
2930
2931[netdata.apps_files]
2932 # history = 86400
2933 # enabled = yes
2934 enabled = no
2935 # cache directory = /var/cache/netdata/netdata.apps_files
2936 # chart type = line
2937 # type = netdata
2938 # family = apps.plugin
2939 # context = netdata.apps_files
2940 # units = files/s
2941 # priority = 140001
2942 # gap when lost iterations above = 1
2943 # name = netdata.apps_files
2944 # title = Apps Plugin Files (netdata.apps_files)
2945 # dim files name = files
2946 # dim files algorithm = incremental
2947 # dim files multiplier = 1
2948 # dim files divisor = 1
2949 # dim pids name = pids
2950 # dim pids algorithm = absolute
2951 # dim pids multiplier = 1
2952 # dim pids divisor = 1
2953 # dim fds name = fds
2954 # dim fds algorithm = absolute
2955 # dim fds multiplier = 1
2956 # dim fds divisor = 1
2957 # dim targets name = targets
2958 # dim targets algorithm = absolute
2959 # dim targets multiplier = 1
2960 # dim targets divisor = 1
2961
2962[netdata.plugin_tc_cpu]
2963 # history = 86400
2964 # enabled = yes
2965 enabled = no
2966 # cache directory = /var/cache/netdata/netdata.plugin_tc_cpu
2967 # chart type = stacked
2968 # type = netdata
2969 # family = tc.helper
2970 # context = netdata.plugin_tc_cpu
2971 # units = milliseconds/s
2972 # priority = 135000
2973 # gap when lost iterations above = 1
2974 # name = netdata.plugin_tc_cpu
2975 # title = NetData TC CPU usage (netdata.plugin_tc_cpu)
2976 # dim user name = user
2977 # dim user algorithm = incremental
2978 # dim user multiplier = 1
2979 # dim user divisor = 1000
2980 # dim system name = system
2981 # dim system algorithm = incremental
2982 # dim system multiplier = 1
2983 # dim system divisor = 1000
2984
2985[netdata.plugin_tc_time]
2986 # history = 86400
2987 # enabled = yes
2988 enabled = no
2989 # cache directory = /var/cache/netdata/netdata.plugin_tc_time
2990 # chart type = area
2991 # type = netdata
2992 # family = tc.helper
2993 # context = netdata.plugin_tc_time
2994 # units = milliseconds/run
2995 # priority = 135001
2996 # gap when lost iterations above = 1
2997 # name = netdata.plugin_tc_time
2998 # title = NetData TC script execution (netdata.plugin_tc_time)
2999 # dim run_time name = run time
3000 # dim run_time algorithm = absolute
3001 # dim run_time multiplier = 1
3002 # dim run_time divisor = 1
3003
3004[example.random]
3005 # history = 86400
3006 # enabled = yes
3007 # cache directory = /var/cache/netdata/example.random
3008 # chart type = stacked
3009 # type = example
3010 # family = random
3011 # context = random
3012 # units = % of random numbers
3013 # priority = 150000
3014 # gap when lost iterations above = 1
3015 # name = example.random
3016 # title = Random Numbers Stacked Chart (example.random)
3017 # dim random1 name = random1
3018 # dim random1 algorithm = percentage-of-absolute-row
3019 # dim random1 multiplier = 1
3020 # dim random1 divisor = 1
3021 # dim random2 name = random2
3022 # dim random2 algorithm = percentage-of-absolute-row
3023 # dim random2 multiplier = 1
3024 # dim random2 divisor = 1
3025 # dim random3 name = random3
3026 # dim random3 algorithm = percentage-of-absolute-row
3027 # dim random3 multiplier = 1
3028 # dim random3 divisor = 1
3029
3030[postfix.qemails]
3031 # history = 86400
3032 # enabled = yes
3033 enabled = no
3034 # cache directory = /var/cache/netdata/postfix.qemails
3035 # chart type = line
3036 # type = postfix
3037 # family = queue
3038 # context = postfix.queued.emails
3039 # units = emails
3040 # priority = 60001
3041 # gap when lost iterations above = 1
3042 # name = postfix.qemails
3043 # title = Postfix Queue Emails (postfix.qemails)
3044 # dim emails name = emails
3045 # dim emails algorithm = absolute
3046 # dim emails multiplier = 1
3047 # dim emails divisor = 1
3048
3049[postfix.qsize]
3050 # history = 86400
3051 # enabled = yes
3052 enabled = no
3053 # cache directory = /var/cache/netdata/postfix.qsize
3054 # chart type = area
3055 # type = postfix
3056 # family = queue
3057 # context = postfix.queued.size
3058 # units = emails size in KB
3059 # priority = 60002
3060 # gap when lost iterations above = 1
3061 # name = postfix.qsize
3062 # title = Postfix Queue Emails Size (postfix.qsize)
3063 # dim size name = size
3064 # dim size algorithm = absolute
3065 # dim size multiplier = 1
3066 # dim size divisor = 1
3067
3068[disk_await.sda]
3069 # history = 86400
3070 # enabled = yes
3071 enabled = no
3072 # cache directory = /var/cache/netdata/disk_await.sda
3073 # chart type = line
3074 # type = disk_await
3075 # family = sda
3076 # context = disk.await
3077 # units = ms per operation
3078 # priority = 2005
3079 # gap when lost iterations above = 1
3080 # name = disk_await.sda
3081 # title = Average Completed I/O Operation Time (disk_await.sda)
3082 # dim reads name = reads
3083 # dim reads algorithm = absolute
3084 # dim reads multiplier = 1
3085 # dim reads divisor = 1
3086 # dim writes name = writes
3087 # dim writes algorithm = absolute
3088 # dim writes multiplier = -1
3089 # dim writes divisor = 1
3090
3091[disk_avgsz.sda]
3092 # history = 86400
3093 # enabled = yes
3094 enabled = no
3095 # cache directory = /var/cache/netdata/disk_avgsz.sda
3096 # chart type = area
3097 # type = disk_avgsz
3098 # family = sda
3099 # context = disk.avgsz
3100 # units = kilobytes per operation
3101 # priority = 2006
3102 # gap when lost iterations above = 1
3103 # name = disk_avgsz.sda
3104 # title = Average Completed I/O Operation Bandwidth (disk_avgsz.sda)
3105 # dim reads name = reads
3106 # dim reads algorithm = absolute
3107 # dim reads multiplier = 512
3108 # dim reads divisor = 1024
3109 # dim writes name = writes
3110 # dim writes algorithm = absolute
3111 # dim writes multiplier = -512
3112 # dim writes divisor = 1024
3113
3114[disk_svctm.sda]
3115 # history = 86400
3116 # enabled = yes
3117 enabled = no
3118 # cache directory = /var/cache/netdata/disk_svctm.sda
3119 # chart type = line
3120 # type = disk_svctm
3121 # family = sda
3122 # context = disk.svctm
3123 # units = ms per operation
3124 # priority = 2007
3125 # gap when lost iterations above = 1
3126 # name = disk_svctm.sda
3127 # title = Average Service Time (disk_svctm.sda)
3128 # dim svctm name = svctm
3129 # dim svctm algorithm = absolute
3130 # dim svctm multiplier = 1
3131 # dim svctm divisor = 1
3132
3133[tc.eth1-ifb]
3134 # history = 86400
3135 # enabled = yes
3136 enabled = no
3137 # cache directory = /var/cache/netdata/tc.eth1_ifb
3138 # chart type = stacked
3139 # type = tc
3140 # family = eth1
3141 # context = tc.qos
3142 # units = kilobits/s
3143 # priority = 7000
3144 # gap when lost iterations above = 1
3145 # name = tc.mng_in
3146 # title = Class Usage (tc.mng_in)
3147 # dim 1:18 name = client
3148 # dim 1:18 algorithm = incremental
3149 # dim 1:18 multiplier = 8
3150 # dim 1:18 divisor = 1024
3151 # dim 1:19 name = nms
3152 # dim 1:19 algorithm = incremental
3153 # dim 1:19 multiplier = 8
3154 # dim 1:19 divisor = 1024
3155 # dim 1:8000 name = default
3156 # dim 1:8000 algorithm = incremental
3157 # dim 1:8000 multiplier = 8
3158 # dim 1:8000 divisor = 1024
3159 # dim 1:16 name = rsync
3160 # dim 1:16 algorithm = incremental
3161 # dim 1:16 multiplier = 8
3162 # dim 1:16 divisor = 1024
3163 # dim 1:17 name = web_server
3164 # dim 1:17 algorithm = incremental
3165 # dim 1:17 multiplier = 8
3166 # dim 1:17 divisor = 1024
3167 # dim 1:14 name = ntp
3168 # dim 1:14 algorithm = incremental
3169 # dim 1:14 multiplier = 8
3170 # dim 1:14 divisor = 1024
3171 # dim 1:15 name = ssh
3172 # dim 1:15 algorithm = incremental
3173 # dim 1:15 multiplier = 8
3174 # dim 1:15 divisor = 1024
3175 # dim 1:12 name = icmp
3176 # dim 1:12 algorithm = incremental
3177 # dim 1:12 multiplier = 8
3178 # dim 1:12 divisor = 1024
3179 # dim 1:13 name = dns
3180 # dim 1:13 algorithm = incremental
3181 # dim 1:13 multiplier = 8
3182 # dim 1:13 divisor = 1024
3183 # dim 1:11 name = arp
3184 # dim 1:11 algorithm = incremental
3185 # dim 1:11 multiplier = 8
3186 # dim 1:11 divisor = 1024
3187
3188[tc.eth0]
3189 # history = 86400
3190 # enabled = yes
3191 enabled = no
3192 # cache directory = /var/cache/netdata/tc.eth0
3193 # chart type = stacked
3194 # type = tc
3195 # family = eth0
3196 # context = tc.qos
3197 # units = kilobits/s
3198 # priority = 7000
3199 # gap when lost iterations above = 1
3200 # name = tc.world_out
3201 # title = Class Usage (tc.world_out)
3202 # dim 1:18 name = client
3203 # dim 1:18 algorithm = incremental
3204 # dim 1:18 multiplier = 8
3205 # dim 1:18 divisor = 1024
3206 # dim 1:19 name = nms
3207 # dim 1:19 algorithm = incremental
3208 # dim 1:19 multiplier = 8
3209 # dim 1:19 divisor = 1024
3210 # dim 1:8000 name = default
3211 # dim 1:8000 algorithm = incremental
3212 # dim 1:8000 multiplier = 8
3213 # dim 1:8000 divisor = 1024
3214 # dim 1:16 name = rsync
3215 # dim 1:16 algorithm = incremental
3216 # dim 1:16 multiplier = 8
3217 # dim 1:16 divisor = 1024
3218 # dim 1:17 name = web_server
3219 # dim 1:17 algorithm = incremental
3220 # dim 1:17 multiplier = 8
3221 # dim 1:17 divisor = 1024
3222 # dim 1:14 name = ntp
3223 # dim 1:14 algorithm = incremental
3224 # dim 1:14 multiplier = 8
3225 # dim 1:14 divisor = 1024
3226 # dim 1:15 name = ssh
3227 # dim 1:15 algorithm = incremental
3228 # dim 1:15 multiplier = 8
3229 # dim 1:15 divisor = 1024
3230 # dim 1:12 name = icmp
3231 # dim 1:12 algorithm = incremental
3232 # dim 1:12 multiplier = 8
3233 # dim 1:12 divisor = 1024
3234 # dim 1:13 name = dns
3235 # dim 1:13 algorithm = incremental
3236 # dim 1:13 multiplier = 8
3237 # dim 1:13 divisor = 1024
3238 # dim 1:11 name = arp
3239 # dim 1:11 algorithm = incremental
3240 # dim 1:11 multiplier = 8
3241 # dim 1:11 divisor = 1024
3242
3243[tc.eth1]
3244 # history = 86400
3245 # enabled = yes
3246 enabled = no
3247 # cache directory = /var/cache/netdata/tc.eth1
3248 # chart type = stacked
3249 # type = tc
3250 # family = eth1
3251 # context = tc.qos
3252 # units = kilobits/s
3253 # priority = 7000
3254 # gap when lost iterations above = 1
3255 # name = tc.mng_out
3256 # title = Class Usage (tc.mng_out)
3257 # dim 1:18 name = client
3258 # dim 1:18 algorithm = incremental
3259 # dim 1:18 multiplier = 8
3260 # dim 1:18 divisor = 1024
3261 # dim 1:19 name = nms
3262 # dim 1:19 algorithm = incremental
3263 # dim 1:19 multiplier = 8
3264 # dim 1:19 divisor = 1024
3265 # dim 1:8000 name = default
3266 # dim 1:8000 algorithm = incremental
3267 # dim 1:8000 multiplier = 8
3268 # dim 1:8000 divisor = 1024
3269 # dim 1:16 name = rsync
3270 # dim 1:16 algorithm = incremental
3271 # dim 1:16 multiplier = 8
3272 # dim 1:16 divisor = 1024
3273 # dim 1:17 name = web_server
3274 # dim 1:17 algorithm = incremental
3275 # dim 1:17 multiplier = 8
3276 # dim 1:17 divisor = 1024
3277 # dim 1:14 name = ntp
3278 # dim 1:14 algorithm = incremental
3279 # dim 1:14 multiplier = 8
3280 # dim 1:14 divisor = 1024
3281 # dim 1:15 name = ssh
3282 # dim 1:15 algorithm = incremental
3283 # dim 1:15 multiplier = 8
3284 # dim 1:15 divisor = 1024
3285 # dim 1:12 name = icmp
3286 # dim 1:12 algorithm = incremental
3287 # dim 1:12 multiplier = 8
3288 # dim 1:12 divisor = 1024
3289 # dim 1:13 name = dns
3290 # dim 1:13 algorithm = incremental
3291 # dim 1:13 multiplier = 8
3292 # dim 1:13 divisor = 1024
3293 # dim 1:11 name = arp
3294 # dim 1:11 algorithm = incremental
3295 # dim 1:11 multiplier = 8
3296 # dim 1:11 divisor = 1024
3297
3298[mem.ksm]
3299 # history = 86400
3300 # enabled = yes
3301 # cache directory = /var/cache/netdata/mem.ksm
3302 # chart type = area
3303 # type = mem
3304 # family = ksm
3305 # context = mem.ksm
3306 # units = MB
3307 # priority = 5000
3308 # gap when lost iterations above = 1
3309 # name = mem.ksm
3310 # title = Kernel Same Page Merging (mem.ksm)
3311 # dim shared name = shared
3312 # dim shared algorithm = absolute
3313 # dim shared multiplier = 1
3314 # dim shared divisor = 1048576
3315 # dim unshared name = unshared
3316 # dim unshared algorithm = absolute
3317 # dim unshared multiplier = -1
3318 # dim unshared divisor = 1048576
3319 # dim sharing name = sharing
3320 # dim sharing algorithm = absolute
3321 # dim sharing multiplier = 1
3322 # dim sharing divisor = 1048576
3323 # dim volatile name = volatile
3324 # dim volatile algorithm = absolute
3325 # dim volatile multiplier = -1
3326 # dim volatile divisor = 1048576
3327 # dim to_scan name = to scan
3328 # dim to_scan algorithm = absolute
3329 # dim to_scan multiplier = -1
3330 # dim to_scan divisor = 1048576
3331
3332[mem.ksm_savings]
3333 # history = 86400
3334 # enabled = yes
3335 # cache directory = /var/cache/netdata/mem.ksm_savings
3336 # chart type = area
3337 # type = mem
3338 # family = ksm
3339 # context = mem.ksm_savings
3340 # units = MB
3341 # priority = 5001
3342 # gap when lost iterations above = 1
3343 # name = mem.ksm_savings
3344 # title = Kernel Same Page Merging Savings (mem.ksm_savings)
3345 # dim savings name = savings
3346 # dim savings algorithm = absolute
3347 # dim savings multiplier = -1
3348 # dim savings divisor = 1048576
3349 # dim offered name = offered
3350 # dim offered algorithm = absolute
3351 # dim offered multiplier = 1
3352 # dim offered divisor = 1048576
3353
3354[mem.ksm_ratios]
3355 # history = 86400
3356 # enabled = yes
3357 # cache directory = /var/cache/netdata/mem.ksm_ratios
3358 # chart type = line
3359 # type = mem
3360 # family = ksm
3361 # context = mem.ksm_ratios
3362 # units = percentage
3363 # priority = 5002
3364 # gap when lost iterations above = 1
3365 # name = mem.ksm_ratios
3366 # title = Kernel Same Page Merging Effectiveness (mem.ksm_ratios)
3367 # dim savings name = savings
3368 # dim savings algorithm = absolute
3369 # dim savings multiplier = 1
3370 # dim savings divisor = 10000
3371
3372[system.load]
3373 # history = 86400
3374 # enabled = yes
3375 # cache directory = /var/cache/netdata/system.load
3376 # chart type = line
3377 # type = system
3378 # family = load
3379 # context = system.load
3380 # units = load
3381 # priority = 100
3382 # gap when lost iterations above = 1
3383 # name = system.load
3384 # title = System Load Average (system.load)
3385 # dim load1 name = load1
3386 # dim load1 algorithm = absolute
3387 # dim load1 multiplier = 1
3388 # dim load1 divisor = 1000
3389 # dim load5 name = load5
3390 # dim load5 algorithm = absolute
3391 # dim load5 multiplier = 1
3392 # dim load5 divisor = 1000
3393 # dim load15 name = load15
3394 # dim load15 algorithm = absolute
3395 # dim load15 multiplier = 1
3396 # dim load15 divisor = 1000
3397
3398[tc.eth0-ifb]
3399 # history = 86400
3400 # enabled = yes
3401 enabled = no
3402 # cache directory = /var/cache/netdata/tc.eth0_ifb
3403 # chart type = stacked
3404 # type = tc
3405 # family = eth0
3406 # context = tc.qos
3407 # units = kilobits/s
3408 # priority = 7000
3409 # gap when lost iterations above = 1
3410 # name = tc.world_in
3411 # title = Class Usage (tc.world_in)
3412 # dim 1:18 name = client
3413 # dim 1:18 algorithm = incremental
3414 # dim 1:18 multiplier = 8
3415 # dim 1:18 divisor = 1024
3416 # dim 1:19 name = nms
3417 # dim 1:19 algorithm = incremental
3418 # dim 1:19 multiplier = 8
3419 # dim 1:19 divisor = 1024
3420 # dim 1:8000 name = default
3421 # dim 1:8000 algorithm = incremental
3422 # dim 1:8000 multiplier = 8
3423 # dim 1:8000 divisor = 1024
3424 # dim 1:16 name = rsync
3425 # dim 1:16 algorithm = incremental
3426 # dim 1:16 multiplier = 8
3427 # dim 1:16 divisor = 1024
3428 # dim 1:17 name = web_server
3429 # dim 1:17 algorithm = incremental
3430 # dim 1:17 multiplier = 8
3431 # dim 1:17 divisor = 1024
3432 # dim 1:14 name = ntp
3433 # dim 1:14 algorithm = incremental
3434 # dim 1:14 multiplier = 8
3435 # dim 1:14 divisor = 1024
3436 # dim 1:15 name = ssh
3437 # dim 1:15 algorithm = incremental
3438 # dim 1:15 multiplier = 8
3439 # dim 1:15 divisor = 1024
3440 # dim 1:12 name = icmp
3441 # dim 1:12 algorithm = incremental
3442 # dim 1:12 multiplier = 8
3443 # dim 1:12 divisor = 1024
3444 # dim 1:13 name = dns
3445 # dim 1:13 algorithm = incremental
3446 # dim 1:13 multiplier = 8
3447 # dim 1:13 divisor = 1024
3448 # dim 1:11 name = arp
3449 # dim 1:11 algorithm = incremental
3450 # dim 1:11 multiplier = 8
3451 # dim 1:11 divisor = 1024
3452
3453[system.active_processes]
3454 # history = 86400
3455 # enabled = yes
3456 # cache directory = /var/cache/netdata/system.active_processes
3457 # chart type = line
3458 # type = system
3459 # family = processes
3460 # context = system.active_processes
3461 # units = processes
3462 # priority = 750
3463 # gap when lost iterations above = 1
3464 # name = system.active_processes
3465 # title = System Active Processes (system.active_processes)
3466 # dim active name = active
3467 # dim active algorithm = absolute
3468 # dim active multiplier = 1
3469 # dim active divisor = 1
3470
3471[cpu.cpu0_interrupts]
3472 # history = 86400
3473 # enabled = yes
3474 # cache directory = /var/cache/netdata/cpu.cpu0_interrupts
3475 # chart type = stacked
3476 # type = cpu
3477 # family = interrupts
3478 # context = cpu.interrupts
3479 # units = interrupts/s
3480 # priority = 2000
3481 # gap when lost iterations above = 1
3482 # name = cpu.cpu0_interrupts
3483 # title = CPU0 Interrupts (cpu.cpu0_interrupts)
3484 # dim 0 name = timer_0
3485 # dim 0 algorithm = incremental
3486 # dim 0 multiplier = 1
3487 # dim 0 divisor = 1
3488 # dim 1 name = i8042_1
3489 # dim 1 algorithm = incremental
3490 # dim 1 multiplier = 1
3491 # dim 1 divisor = 1
3492 # dim 6 name = floppy_6
3493 # dim 6 algorithm = incremental
3494 # dim 6 multiplier = 1
3495 # dim 6 divisor = 1
3496 # dim 8 name = rtc0_8
3497 # dim 8 algorithm = incremental
3498 # dim 8 multiplier = 1
3499 # dim 8 divisor = 1
3500 # dim 9 name = acpi_9
3501 # dim 9 algorithm = incremental
3502 # dim 9 multiplier = 1
3503 # dim 9 divisor = 1
3504 # dim 12 name = i8042_12
3505 # dim 12 algorithm = incremental
3506 # dim 12 multiplier = 1
3507 # dim 12 divisor = 1
3508 # dim 14 name = ata_piix_14
3509 # dim 14 algorithm = incremental
3510 # dim 14 multiplier = 1
3511 # dim 14 divisor = 1
3512 # dim 15 name = ata_piix_15
3513 # dim 15 algorithm = incremental
3514 # dim 15 multiplier = 1
3515 # dim 15 divisor = 1
3516 # dim NMI name = NMI
3517 # dim NMI algorithm = incremental
3518 # dim NMI multiplier = 1
3519 # dim NMI divisor = 1
3520 # dim LOC name = LOC
3521 # dim LOC algorithm = incremental
3522 # dim LOC multiplier = 1
3523 # dim LOC divisor = 1
3524 # dim SPU name = SPU
3525 # dim SPU algorithm = incremental
3526 # dim SPU multiplier = 1
3527 # dim SPU divisor = 1
3528 # dim PMI name = PMI
3529 # dim PMI algorithm = incremental
3530 # dim PMI multiplier = 1
3531 # dim PMI divisor = 1
3532 # dim IWI name = IWI
3533 # dim IWI algorithm = incremental
3534 # dim IWI multiplier = 1
3535 # dim IWI divisor = 1
3536 # dim RTR name = RTR
3537 # dim RTR algorithm = incremental
3538 # dim RTR multiplier = 1
3539 # dim RTR divisor = 1
3540 # dim RES name = RES
3541 # dim RES algorithm = incremental
3542 # dim RES multiplier = 1
3543 # dim RES divisor = 1
3544 # dim CAL name = CAL
3545 # dim CAL algorithm = incremental
3546 # dim CAL multiplier = 1
3547 # dim CAL divisor = 1
3548 # dim TLB name = TLB
3549 # dim TLB algorithm = incremental
3550 # dim TLB multiplier = 1
3551 # dim TLB divisor = 1
3552 # dim TRM name = TRM
3553 # dim TRM algorithm = incremental
3554 # dim TRM multiplier = 1
3555 # dim TRM divisor = 1
3556 # dim THR name = THR
3557 # dim THR algorithm = incremental
3558 # dim THR multiplier = 1
3559 # dim THR divisor = 1
3560 # dim MCE name = MCE
3561 # dim MCE algorithm = incremental
3562 # dim MCE multiplier = 1
3563 # dim MCE divisor = 1
3564 # dim MCP name = MCP
3565 # dim MCP algorithm = incremental
3566 # dim MCP multiplier = 1
3567 # dim MCP divisor = 1
3568 # dim HYP name = HYP
3569 # dim HYP algorithm = incremental
3570 # dim HYP multiplier = 1
3571 # dim HYP divisor = 1
3572 # dim ERR name = ERR
3573 # dim ERR algorithm = incremental
3574 # dim ERR multiplier = 1
3575 # dim ERR divisor = 1
3576 # dim MIS name = MIS
3577 # dim MIS algorithm = incremental
3578 # dim MIS multiplier = 1
3579 # dim MIS divisor = 1
3580
3581[cpu.cpu1_interrupts]
3582 # history = 86400
3583 # enabled = yes
3584 # cache directory = /var/cache/netdata/cpu.cpu1_interrupts
3585 # chart type = stacked
3586 # type = cpu
3587 # family = interrupts
3588 # context = cpu.interrupts
3589 # units = interrupts/s
3590 # priority = 2001
3591 # gap when lost iterations above = 1
3592 # name = cpu.cpu1_interrupts
3593 # title = CPU1 Interrupts (cpu.cpu1_interrupts)
3594 # dim 0 name = timer_0
3595 # dim 0 algorithm = incremental
3596 # dim 0 multiplier = 1
3597 # dim 0 divisor = 1
3598 # dim 1 name = i8042_1
3599 # dim 1 algorithm = incremental
3600 # dim 1 multiplier = 1
3601 # dim 1 divisor = 1
3602 # dim 6 name = floppy_6
3603 # dim 6 algorithm = incremental
3604 # dim 6 multiplier = 1
3605 # dim 6 divisor = 1
3606 # dim 8 name = rtc0_8
3607 # dim 8 algorithm = incremental
3608 # dim 8 multiplier = 1
3609 # dim 8 divisor = 1
3610 # dim 9 name = acpi_9
3611 # dim 9 algorithm = incremental
3612 # dim 9 multiplier = 1
3613 # dim 9 divisor = 1
3614 # dim 12 name = i8042_12
3615 # dim 12 algorithm = incremental
3616 # dim 12 multiplier = 1
3617 # dim 12 divisor = 1
3618 # dim 14 name = ata_piix_14
3619 # dim 14 algorithm = incremental
3620 # dim 14 multiplier = 1
3621 # dim 14 divisor = 1
3622 # dim 15 name = ata_piix_15
3623 # dim 15 algorithm = incremental
3624 # dim 15 multiplier = 1
3625 # dim 15 divisor = 1
3626 # dim NMI name = NMI
3627 # dim NMI algorithm = incremental
3628 # dim NMI multiplier = 1
3629 # dim NMI divisor = 1
3630 # dim LOC name = LOC
3631 # dim LOC algorithm = incremental
3632 # dim LOC multiplier = 1
3633 # dim LOC divisor = 1
3634 # dim SPU name = SPU
3635 # dim SPU algorithm = incremental
3636 # dim SPU multiplier = 1
3637 # dim SPU divisor = 1
3638 # dim PMI name = PMI
3639 # dim PMI algorithm = incremental
3640 # dim PMI multiplier = 1
3641 # dim PMI divisor = 1
3642 # dim IWI name = IWI
3643 # dim IWI algorithm = incremental
3644 # dim IWI multiplier = 1
3645 # dim IWI divisor = 1
3646 # dim RTR name = RTR
3647 # dim RTR algorithm = incremental
3648 # dim RTR multiplier = 1
3649 # dim RTR divisor = 1
3650 # dim RES name = RES
3651 # dim RES algorithm = incremental
3652 # dim RES multiplier = 1
3653 # dim RES divisor = 1
3654 # dim CAL name = CAL
3655 # dim CAL algorithm = incremental
3656 # dim CAL multiplier = 1
3657 # dim CAL divisor = 1
3658 # dim TLB name = TLB
3659 # dim TLB algorithm = incremental
3660 # dim TLB multiplier = 1
3661 # dim TLB divisor = 1
3662 # dim TRM name = TRM
3663 # dim TRM algorithm = incremental
3664 # dim TRM multiplier = 1
3665 # dim TRM divisor = 1
3666 # dim THR name = THR
3667 # dim THR algorithm = incremental
3668 # dim THR multiplier = 1
3669 # dim THR divisor = 1
3670 # dim MCE name = MCE
3671 # dim MCE algorithm = incremental
3672 # dim MCE multiplier = 1
3673 # dim MCE divisor = 1
3674 # dim MCP name = MCP
3675 # dim MCP algorithm = incremental
3676 # dim MCP multiplier = 1
3677 # dim MCP divisor = 1
3678 # dim HYP name = HYP
3679 # dim HYP algorithm = incremental
3680 # dim HYP multiplier = 1
3681 # dim HYP divisor = 1
3682 # dim ERR name = ERR
3683 # dim ERR algorithm = incremental
3684 # dim ERR multiplier = 1
3685 # dim ERR divisor = 1
3686 # dim MIS name = MIS
3687 # dim MIS algorithm = incremental
3688 # dim MIS multiplier = 1
3689 # dim MIS divisor = 1
3690
3691[example.random2]
3692 # history = 86400
3693 # enabled = yes
3694 # cache directory = /var/cache/netdata/example.random2
3695 # chart type = area
3696 # type = example
3697 # family = random
3698 # context = random
3699 # units = random number
3700 # priority = 150001
3701 # gap when lost iterations above = 1
3702 # name = example.random2
3703 # title = A random number (example.random2)
3704 # dim random name = random
3705 # dim random algorithm = absolute
3706 # dim random multiplier = 1
3707 # dim random divisor = 1
3708
3709[mysql_local.net]
3710 # history = 86400
3711 # enabled = yes
3712 enabled = no
3713 # cache directory = /var/cache/netdata/mysql_local.net
3714 # chart type = area
3715 # type = mysql_local
3716 # family = bandwidth
3717 # context = mysql.net
3718 # units = kilobits/s
3719 # priority = 60001
3720 # gap when lost iterations above = 1
3721 # name = mysql_local.net
3722 # title = mysql Bandwidth (mysql_local.net)
3723 # dim Bytes_received name = in
3724 # dim Bytes_received algorithm = incremental
3725 # dim Bytes_received multiplier = 8
3726 # dim Bytes_received divisor = 1024
3727 # dim Bytes_sent name = out
3728 # dim Bytes_sent algorithm = incremental
3729 # dim Bytes_sent multiplier = -8
3730 # dim Bytes_sent divisor = 1024
3731
3732[mysql_local.queries]
3733 # history = 86400
3734 # enabled = yes
3735 enabled = no
3736 # cache directory = /var/cache/netdata/mysql_local.queries
3737 # chart type = line
3738 # type = mysql_local
3739 # family = queries
3740 # context = mysql.queries
3741 # units = queries/s
3742 # priority = 60002
3743 # gap when lost iterations above = 1
3744 # name = mysql_local.queries
3745 # title = mysql Queries (mysql_local.queries)
3746 # dim Queries name = queries
3747 # dim Queries algorithm = incremental
3748 # dim Queries multiplier = 1
3749 # dim Queries divisor = 1
3750 # dim Questions name = questions
3751 # dim Questions algorithm = incremental
3752 # dim Questions multiplier = 1
3753 # dim Questions divisor = 1
3754 # dim Slow_queries name = slow_queries
3755 # dim Slow_queries algorithm = incremental
3756 # dim Slow_queries multiplier = -1
3757 # dim Slow_queries divisor = 1
3758
3759[mysql_local.handlers]
3760 # history = 86400
3761 # enabled = yes
3762 enabled = no
3763 # cache directory = /var/cache/netdata/mysql_local.handlers
3764 # chart type = line
3765 # type = mysql_local
3766 # family = handlers
3767 # context = mysql.handlers
3768 # units = handlers/s
3769 # priority = 60003
3770 # gap when lost iterations above = 1
3771 # name = mysql_local.handlers
3772 # title = mysql Handlers (mysql_local.handlers)
3773 # dim Handler_commit name = commit
3774 # dim Handler_commit algorithm = incremental
3775 # dim Handler_commit multiplier = 1
3776 # dim Handler_commit divisor = 1
3777 # dim Handler_delete name = delete
3778 # dim Handler_delete algorithm = incremental
3779 # dim Handler_delete multiplier = 1
3780 # dim Handler_delete divisor = 1
3781 # dim Handler_prepare name = prepare
3782 # dim Handler_prepare algorithm = incremental
3783 # dim Handler_prepare multiplier = 1
3784 # dim Handler_prepare divisor = 1
3785 # dim Handler_read_first name = read_first
3786 # dim Handler_read_first algorithm = incremental
3787 # dim Handler_read_first multiplier = 1
3788 # dim Handler_read_first divisor = 1
3789 # dim Handler_read_key name = read_key
3790 # dim Handler_read_key algorithm = incremental
3791 # dim Handler_read_key multiplier = 1
3792 # dim Handler_read_key divisor = 1
3793 # dim Handler_read_next name = read_next
3794 # dim Handler_read_next algorithm = incremental
3795 # dim Handler_read_next multiplier = 1
3796 # dim Handler_read_next divisor = 1
3797 # dim Handler_read_prev name = read_prev
3798 # dim Handler_read_prev algorithm = incremental
3799 # dim Handler_read_prev multiplier = 1
3800 # dim Handler_read_prev divisor = 1
3801 # dim Handler_read_rnd name = read_rnd
3802 # dim Handler_read_rnd algorithm = incremental
3803 # dim Handler_read_rnd multiplier = 1
3804 # dim Handler_read_rnd divisor = 1
3805 # dim Handler_read_rnd_next name = read_rnd_next
3806 # dim Handler_read_rnd_next algorithm = incremental
3807 # dim Handler_read_rnd_next multiplier = 1
3808 # dim Handler_read_rnd_next divisor = 1
3809 # dim Handler_rollback name = rollback
3810 # dim Handler_rollback algorithm = incremental
3811 # dim Handler_rollback multiplier = 1
3812 # dim Handler_rollback divisor = 1
3813 # dim Handler_savepoint name = savepoint
3814 # dim Handler_savepoint algorithm = incremental
3815 # dim Handler_savepoint multiplier = 1
3816 # dim Handler_savepoint divisor = 1
3817 # dim Handler_savepoint_rollback name = savepoint_rollback
3818 # dim Handler_savepoint_rollback algorithm = incremental
3819 # dim Handler_savepoint_rollback multiplier = 1
3820 # dim Handler_savepoint_rollback divisor = 1
3821 # dim Handler_update name = update
3822 # dim Handler_update algorithm = incremental
3823 # dim Handler_update multiplier = 1
3824 # dim Handler_update divisor = 1
3825 # dim Handler_write name = write
3826 # dim Handler_write algorithm = incremental
3827 # dim Handler_write multiplier = 1
3828 # dim Handler_write divisor = 1
3829
3830[system.softirqs]
3831 # history = 86400
3832 # enabled = yes
3833 # cache directory = /var/cache/netdata/system.softirqs
3834 # chart type = stacked
3835 # type = system
3836 # family = softirqs
3837 # context = system.softirqs
3838 # units = softirqs/s
3839 # priority = 950
3840 # gap when lost iterations above = 1
3841 # name = system.softirqs
3842 # title = System softirqs (system.softirqs)
3843 # dim HI name = HI
3844 # dim HI algorithm = incremental
3845 # dim HI multiplier = 1
3846 # dim HI divisor = 1
3847 # dim TIMER name = TIMER
3848 # dim TIMER algorithm = incremental
3849 # dim TIMER multiplier = 1
3850 # dim TIMER divisor = 1
3851 # dim NET_TX name = NET_TX
3852 # dim NET_TX algorithm = incremental
3853 # dim NET_TX multiplier = 1
3854 # dim NET_TX divisor = 1
3855 # dim NET_RX name = NET_RX
3856 # dim NET_RX algorithm = incremental
3857 # dim NET_RX multiplier = 1
3858 # dim NET_RX divisor = 1
3859 # dim BLOCK name = BLOCK
3860 # dim BLOCK algorithm = incremental
3861 # dim BLOCK multiplier = 1
3862 # dim BLOCK divisor = 1
3863 # dim BLOCK_IOPOLL name = BLOCK_IOPOLL
3864 # dim BLOCK_IOPOLL algorithm = incremental
3865 # dim BLOCK_IOPOLL multiplier = 1
3866 # dim BLOCK_IOPOLL divisor = 1
3867 # dim TASKLET name = TASKLET
3868 # dim TASKLET algorithm = incremental
3869 # dim TASKLET multiplier = 1
3870 # dim TASKLET divisor = 1
3871 # dim SCHED name = SCHED
3872 # dim SCHED algorithm = incremental
3873 # dim SCHED multiplier = 1
3874 # dim SCHED divisor = 1
3875 # dim HRTIMER name = HRTIMER
3876 # dim HRTIMER algorithm = incremental
3877 # dim HRTIMER multiplier = 1
3878 # dim HRTIMER divisor = 1
3879 # dim RCU name = RCU
3880 # dim RCU algorithm = incremental
3881 # dim RCU multiplier = 1
3882 # dim RCU divisor = 1
3883
3884[cpu.cpu0_softirqs]
3885 # history = 86400
3886 # enabled = yes
3887 # cache directory = /var/cache/netdata/cpu.cpu0_softirqs
3888 # chart type = stacked
3889 # type = cpu
3890 # family = softirqs
3891 # context = cpu.softirqs
3892 # units = softirqs/s
3893 # priority = 3000
3894 # gap when lost iterations above = 1
3895 # name = cpu.cpu0_softirqs
3896 # title = CPU0 softirqs (cpu.cpu0_softirqs)
3897 # dim HI name = HI
3898 # dim HI algorithm = incremental
3899 # dim HI multiplier = 1
3900 # dim HI divisor = 1
3901 # dim TIMER name = TIMER
3902 # dim TIMER algorithm = incremental
3903 # dim TIMER multiplier = 1
3904 # dim TIMER divisor = 1
3905 # dim NET_TX name = NET_TX
3906 # dim NET_TX algorithm = incremental
3907 # dim NET_TX multiplier = 1
3908 # dim NET_TX divisor = 1
3909 # dim NET_RX name = NET_RX
3910 # dim NET_RX algorithm = incremental
3911 # dim NET_RX multiplier = 1
3912 # dim NET_RX divisor = 1
3913 # dim BLOCK name = BLOCK
3914 # dim BLOCK algorithm = incremental
3915 # dim BLOCK multiplier = 1
3916 # dim BLOCK divisor = 1
3917 # dim BLOCK_IOPOLL name = BLOCK_IOPOLL
3918 # dim BLOCK_IOPOLL algorithm = incremental
3919 # dim BLOCK_IOPOLL multiplier = 1
3920 # dim BLOCK_IOPOLL divisor = 1
3921 # dim TASKLET name = TASKLET
3922 # dim TASKLET algorithm = incremental
3923 # dim TASKLET multiplier = 1
3924 # dim TASKLET divisor = 1
3925 # dim SCHED name = SCHED
3926 # dim SCHED algorithm = incremental
3927 # dim SCHED multiplier = 1
3928 # dim SCHED divisor = 1
3929 # dim HRTIMER name = HRTIMER
3930 # dim HRTIMER algorithm = incremental
3931 # dim HRTIMER multiplier = 1
3932 # dim HRTIMER divisor = 1
3933 # dim RCU name = RCU
3934 # dim RCU algorithm = incremental
3935 # dim RCU multiplier = 1
3936 # dim RCU divisor = 1
3937
3938[mysql_local.table_locks]
3939 # history = 86400
3940 # enabled = yes
3941 enabled = no
3942 # cache directory = /var/cache/netdata/mysql_local.table_locks
3943 # chart type = line
3944 # type = mysql_local
3945 # family = locks
3946 # context = mysql.table_locks
3947 # units = locks/s
3948 # priority = 60004
3949 # gap when lost iterations above = 1
3950 # name = mysql_local.table_locks
3951 # title = mysql Tables Locks (mysql_local.table_locks)
3952 # dim Table_locks_immediate name = immediate
3953 # dim Table_locks_immediate algorithm = incremental
3954 # dim Table_locks_immediate multiplier = 1
3955 # dim Table_locks_immediate divisor = 1
3956 # dim Table_locks_waited name = waited
3957 # dim Table_locks_waited algorithm = incremental
3958 # dim Table_locks_waited multiplier = -1
3959 # dim Table_locks_waited divisor = 1
3960
3961[mysql_local.join_issues]
3962 # history = 86400
3963 # enabled = yes
3964 enabled = no
3965 # cache directory = /var/cache/netdata/mysql_local.join_issues
3966 # chart type = line
3967 # type = mysql_local
3968 # family = issues
3969 # context = mysql.join_issues
3970 # units = joins/s
3971 # priority = 60005
3972 # gap when lost iterations above = 1
3973 # name = mysql_local.join_issues
3974 # title = mysql Select Join Issues (mysql_local.join_issues)
3975 # dim Select_full_join name = full_join
3976 # dim Select_full_join algorithm = incremental
3977 # dim Select_full_join multiplier = 1
3978 # dim Select_full_join divisor = 1
3979 # dim Select_full_range_join name = full_range_join
3980 # dim Select_full_range_join algorithm = incremental
3981 # dim Select_full_range_join multiplier = 1
3982 # dim Select_full_range_join divisor = 1
3983 # dim Select_range name = range
3984 # dim Select_range algorithm = incremental
3985 # dim Select_range multiplier = 1
3986 # dim Select_range divisor = 1
3987 # dim Select_range_check name = range_check
3988 # dim Select_range_check algorithm = incremental
3989 # dim Select_range_check multiplier = 1
3990 # dim Select_range_check divisor = 1
3991 # dim Select_scan name = scan
3992 # dim Select_scan algorithm = incremental
3993 # dim Select_scan multiplier = 1
3994 # dim Select_scan divisor = 1
3995
3996[cpu.cpu1_softirqs]
3997 # history = 86400
3998 # enabled = yes
3999 # cache directory = /var/cache/netdata/cpu.cpu1_softirqs
4000 # chart type = stacked
4001 # type = cpu
4002 # family = softirqs
4003 # context = cpu.softirqs
4004 # units = softirqs/s
4005 # priority = 3001
4006 # gap when lost iterations above = 1
4007 # name = cpu.cpu1_softirqs
4008 # title = CPU1 softirqs (cpu.cpu1_softirqs)
4009 # dim HI name = HI
4010 # dim HI algorithm = incremental
4011 # dim HI multiplier = 1
4012 # dim HI divisor = 1
4013 # dim TIMER name = TIMER
4014 # dim TIMER algorithm = incremental
4015 # dim TIMER multiplier = 1
4016 # dim TIMER divisor = 1
4017 # dim NET_TX name = NET_TX
4018 # dim NET_TX algorithm = incremental
4019 # dim NET_TX multiplier = 1
4020 # dim NET_TX divisor = 1
4021 # dim NET_RX name = NET_RX
4022 # dim NET_RX algorithm = incremental
4023 # dim NET_RX multiplier = 1
4024 # dim NET_RX divisor = 1
4025 # dim BLOCK name = BLOCK
4026 # dim BLOCK algorithm = incremental
4027 # dim BLOCK multiplier = 1
4028 # dim BLOCK divisor = 1
4029 # dim BLOCK_IOPOLL name = BLOCK_IOPOLL
4030 # dim BLOCK_IOPOLL algorithm = incremental
4031 # dim BLOCK_IOPOLL multiplier = 1
4032 # dim BLOCK_IOPOLL divisor = 1
4033 # dim TASKLET name = TASKLET
4034 # dim TASKLET algorithm = incremental
4035 # dim TASKLET multiplier = 1
4036 # dim TASKLET divisor = 1
4037 # dim SCHED name = SCHED
4038 # dim SCHED algorithm = incremental
4039 # dim SCHED multiplier = 1
4040 # dim SCHED divisor = 1
4041 # dim HRTIMER name = HRTIMER
4042 # dim HRTIMER algorithm = incremental
4043 # dim HRTIMER multiplier = 1
4044 # dim HRTIMER divisor = 1
4045 # dim RCU name = RCU
4046 # dim RCU algorithm = incremental
4047 # dim RCU multiplier = 1
4048 # dim RCU divisor = 1
4049
4050[mysql_local.sort_issues]
4051 # history = 86400
4052 # enabled = yes
4053 enabled = no
4054 # cache directory = /var/cache/netdata/mysql_local.sort_issues
4055 # chart type = line
4056 # type = mysql_local
4057 # family = issues
4058 # context = mysql.sort.issues
4059 # units = issues/s
4060 # priority = 60006
4061 # gap when lost iterations above = 1
4062 # name = mysql_local.sort_issues
4063 # title = mysql Sort Issues (mysql_local.sort_issues)
4064 # dim Sort_merge_passes name = merge_passes
4065 # dim Sort_merge_passes algorithm = incremental
4066 # dim Sort_merge_passes multiplier = 1
4067 # dim Sort_merge_passes divisor = 1
4068 # dim Sort_range name = range
4069 # dim Sort_range algorithm = incremental
4070 # dim Sort_range multiplier = 1
4071 # dim Sort_range divisor = 1
4072 # dim Sort_scan name = scan
4073 # dim Sort_scan algorithm = incremental
4074 # dim Sort_scan multiplier = 1
4075 # dim Sort_scan divisor = 1
4076
4077[mysql_local.tmp]
4078 # history = 86400
4079 # enabled = yes
4080 enabled = no
4081 # cache directory = /var/cache/netdata/mysql_local.tmp
4082 # chart type = line
4083 # type = mysql_local
4084 # family = temporaries
4085 # context = mysql.tmp
4086 # units = counter
4087 # priority = 60007
4088 # gap when lost iterations above = 1
4089 # name = mysql_local.tmp
4090 # title = mysql Tmp Operations (mysql_local.tmp)
4091 # dim Created_tmp_disk_tables name = disk_tables
4092 # dim Created_tmp_disk_tables algorithm = incremental
4093 # dim Created_tmp_disk_tables multiplier = 1
4094 # dim Created_tmp_disk_tables divisor = 1
4095 # dim Created_tmp_files name = files
4096 # dim Created_tmp_files algorithm = incremental
4097 # dim Created_tmp_files multiplier = 1
4098 # dim Created_tmp_files divisor = 1
4099 # dim Created_tmp_tables name = tables
4100 # dim Created_tmp_tables algorithm = incremental
4101 # dim Created_tmp_tables multiplier = 1
4102 # dim Created_tmp_tables divisor = 1
4103
4104[mysql_local.connections]
4105 # history = 86400
4106 # enabled = yes
4107 enabled = no
4108 # cache directory = /var/cache/netdata/mysql_local.connections
4109 # chart type = line
4110 # type = mysql_local
4111 # family = connections
4112 # context = mysql.connections
4113 # units = connections/s
4114 # priority = 60008
4115 # gap when lost iterations above = 1
4116 # name = mysql_local.connections
4117 # title = mysql Connections (mysql_local.connections)
4118 # dim Connections name = all
4119 # dim Connections algorithm = incremental
4120 # dim Connections multiplier = 1
4121 # dim Connections divisor = 1
4122 # dim Aborted_connects name = aborded
4123 # dim Aborted_connects algorithm = incremental
4124 # dim Aborted_connects multiplier = 1
4125 # dim Aborted_connects divisor = 1
4126
4127[mysql_local.binlog_cache]
4128 # history = 86400
4129 # enabled = yes
4130 enabled = no
4131 # cache directory = /var/cache/netdata/mysql_local.binlog_cache
4132 # chart type = line
4133 # type = mysql_local
4134 # family = binlog
4135 # context = mysql.binlog_cache
4136 # units = transactions/s
4137 # priority = 60009
4138 # gap when lost iterations above = 1
4139 # name = mysql_local.binlog_cache
4140 # title = mysql Binlog Cache (mysql_local.binlog_cache)
4141 # dim Binlog_cache_disk_use name = disk
4142 # dim Binlog_cache_disk_use algorithm = incremental
4143 # dim Binlog_cache_disk_use multiplier = 1
4144 # dim Binlog_cache_disk_use divisor = 1
4145 # dim Binlog_cache_use name = all
4146 # dim Binlog_cache_use algorithm = incremental
4147 # dim Binlog_cache_use multiplier = 1
4148 # dim Binlog_cache_use divisor = 1
4149
4150[mysql_local.threads]
4151 # history = 86400
4152 # enabled = yes
4153 enabled = no
4154 # cache directory = /var/cache/netdata/mysql_local.threads
4155 # chart type = line
4156 # type = mysql_local
4157 # family = threads
4158 # context = mysql.threads
4159 # units = threads
4160 # priority = 60010
4161 # gap when lost iterations above = 1
4162 # name = mysql_local.threads
4163 # title = mysql Threads (mysql_local.threads)
4164 # dim Threads_connected name = connected
4165 # dim Threads_connected algorithm = absolute
4166 # dim Threads_connected multiplier = 1
4167 # dim Threads_connected divisor = 1
4168 # dim Threads_created name = created
4169 # dim Threads_created algorithm = incremental
4170 # dim Threads_created multiplier = 1
4171 # dim Threads_created divisor = 1
4172 # dim Threads_cached name = cached
4173 # dim Threads_cached algorithm = absolute
4174 # dim Threads_cached multiplier = -1
4175 # dim Threads_cached divisor = 1
4176 # dim Threads_running name = running
4177 # dim Threads_running algorithm = absolute
4178 # dim Threads_running multiplier = 1
4179 # dim Threads_running divisor = 1
4180
4181[mysql_local.thread_cache_misses]
4182 # history = 86400
4183 # enabled = yes
4184 enabled = no
4185 # cache directory = /var/cache/netdata/mysql_local.thread_cache_misses
4186 # chart type = area
4187 # type = mysql_local
4188 # family = threads
4189 # context = mysql.thread_cache_misses
4190 # units = misses
4191 # priority = 60011
4192 # gap when lost iterations above = 1
4193 # name = mysql_local.thread_cache_misses
4194 # title = mysql Threads Cache Misses (mysql_local.thread_cache_misses)
4195 # dim misses name = misses
4196 # dim misses algorithm = absolute
4197 # dim misses multiplier = 1
4198 # dim misses divisor = 100
4199
4200[mysql_local.innodb_io]
4201 # history = 86400
4202 # enabled = yes
4203 enabled = no
4204 # cache directory = /var/cache/netdata/mysql_local.innodb_io
4205 # chart type = area
4206 # type = mysql_local
4207 # family = innodb
4208 # context = mysql.innodb_io
4209 # units = kilobytes/s
4210 # priority = 60012
4211 # gap when lost iterations above = 1
4212 # name = mysql_local.innodb_io
4213 # title = mysql InnoDB I/O Bandwidth (mysql_local.innodb_io)
4214 # dim Innodb_data_read name = read
4215 # dim Innodb_data_read algorithm = incremental
4216 # dim Innodb_data_read multiplier = 1
4217 # dim Innodb_data_read divisor = 1024
4218 # dim Innodb_data_written name = write
4219 # dim Innodb_data_written algorithm = incremental
4220 # dim Innodb_data_written multiplier = -1
4221 # dim Innodb_data_written divisor = 1024
4222
4223[mysql_local.innodb_io_ops]
4224 # history = 86400
4225 # enabled = yes
4226 enabled = no
4227 # cache directory = /var/cache/netdata/mysql_local.innodb_io_ops
4228 # chart type = line
4229 # type = mysql_local
4230 # family = innodb
4231 # context = mysql.innodb_io_ops
4232 # units = operations/s
4233 # priority = 60013
4234 # gap when lost iterations above = 1
4235 # name = mysql_local.innodb_io_ops
4236 # title = mysql InnoDB I/O Operations (mysql_local.innodb_io_ops)
4237 # dim Innodb_data_reads name = reads
4238 # dim Innodb_data_reads algorithm = incremental
4239 # dim Innodb_data_reads multiplier = 1
4240 # dim Innodb_data_reads divisor = 1
4241 # dim Innodb_data_writes name = writes
4242 # dim Innodb_data_writes algorithm = incremental
4243 # dim Innodb_data_writes multiplier = -1
4244 # dim Innodb_data_writes divisor = 1
4245 # dim Innodb_data_fsyncs name = fsyncs
4246 # dim Innodb_data_fsyncs algorithm = incremental
4247 # dim Innodb_data_fsyncs multiplier = 1
4248 # dim Innodb_data_fsyncs divisor = 1
4249
4250[mysql_local.innodb_io_pending_ops]
4251 # history = 86400
4252 # enabled = yes
4253 enabled = no
4254 # cache directory = /var/cache/netdata/mysql_local.innodb_io_pending_ops
4255 # chart type = line
4256 # type = mysql_local
4257 # family = innodb
4258 # context = mysql.innodb_io_pending_ops
4259 # units = operations
4260 # priority = 60014
4261 # gap when lost iterations above = 1
4262 # name = mysql_local.innodb_io_pending_ops
4263 # title = mysql InnoDB Pending I/O Operations (mysql_local.innodb_io_pending_ops)
4264 # dim Innodb_data_pending_reads name = reads
4265 # dim Innodb_data_pending_reads algorithm = absolute
4266 # dim Innodb_data_pending_reads multiplier = 1
4267 # dim Innodb_data_pending_reads divisor = 1
4268 # dim Innodb_data_pending_writes name = writes
4269 # dim Innodb_data_pending_writes algorithm = absolute
4270 # dim Innodb_data_pending_writes multiplier = -1
4271 # dim Innodb_data_pending_writes divisor = 1
4272 # dim Innodb_data_pending_fsyncs name = fsyncs
4273 # dim Innodb_data_pending_fsyncs algorithm = absolute
4274 # dim Innodb_data_pending_fsyncs multiplier = 1
4275 # dim Innodb_data_pending_fsyncs divisor = 1
4276
4277[mysql_local.innodb_log]
4278 # history = 86400
4279 # enabled = yes
4280 enabled = no
4281 # cache directory = /var/cache/netdata/mysql_local.innodb_log
4282 # chart type = line
4283 # type = mysql_local
4284 # family = innodb
4285 # context = mysql.innodb_log
4286 # units = operations/s
4287 # priority = 60015
4288 # gap when lost iterations above = 1
4289 # name = mysql_local.innodb_log
4290 # title = mysql InnoDB Log Operations (mysql_local.innodb_log)
4291 # dim Innodb_log_waits name = waits
4292 # dim Innodb_log_waits algorithm = incremental
4293 # dim Innodb_log_waits multiplier = 1
4294 # dim Innodb_log_waits divisor = 1
4295 # dim Innodb_log_write_requests name = write_requests
4296 # dim Innodb_log_write_requests algorithm = incremental
4297 # dim Innodb_log_write_requests multiplier = -1
4298 # dim Innodb_log_write_requests divisor = 1
4299 # dim Innodb_log_writes name = writes
4300 # dim Innodb_log_writes algorithm = incremental
4301 # dim Innodb_log_writes multiplier = -1
4302 # dim Innodb_log_writes divisor = 1
4303
4304[mysql_local.innodb_os_log]
4305 # history = 86400
4306 # enabled = yes
4307 enabled = no
4308 # cache directory = /var/cache/netdata/mysql_local.innodb_os_log
4309 # chart type = line
4310 # type = mysql_local
4311 # family = innodb
4312 # context = mysql.innodb_os_log
4313 # units = operations
4314 # priority = 60016
4315 # gap when lost iterations above = 1
4316 # name = mysql_local.innodb_os_log
4317 # title = mysql InnoDB OS Log Operations (mysql_local.innodb_os_log)
4318 # dim Innodb_os_log_fsyncs name = fsyncs
4319 # dim Innodb_os_log_fsyncs algorithm = incremental
4320 # dim Innodb_os_log_fsyncs multiplier = 1
4321 # dim Innodb_os_log_fsyncs divisor = 1
4322 # dim Innodb_os_log_pending_fsyncs name = pending_fsyncs
4323 # dim Innodb_os_log_pending_fsyncs algorithm = absolute
4324 # dim Innodb_os_log_pending_fsyncs multiplier = 1
4325 # dim Innodb_os_log_pending_fsyncs divisor = 1
4326 # dim Innodb_os_log_pending_writes name = pending_writes
4327 # dim Innodb_os_log_pending_writes algorithm = absolute
4328 # dim Innodb_os_log_pending_writes multiplier = -1
4329 # dim Innodb_os_log_pending_writes divisor = 1
4330
4331[mysql_local.innodb_os_log_io]
4332 # history = 86400
4333 # enabled = yes
4334 enabled = no
4335 # cache directory = /var/cache/netdata/mysql_local.innodb_os_log_io
4336 # chart type = area
4337 # type = mysql_local
4338 # family = innodb
4339 # context = mysql.innodb_os_log_io
4340 # units = kilobytes/s
4341 # priority = 60017
4342 # gap when lost iterations above = 1
4343 # name = mysql_local.innodb_os_log_io
4344 # title = mysql InnoDB OS Log Bandwidth (mysql_local.innodb_os_log_io)
4345 # dim Innodb_os_log_written name = write
4346 # dim Innodb_os_log_written algorithm = incremental
4347 # dim Innodb_os_log_written multiplier = -1
4348 # dim Innodb_os_log_written divisor = 1024
4349
4350[mysql_local.innodb_cur_row_lock]
4351 # history = 86400
4352 # enabled = yes
4353 enabled = no
4354 # cache directory = /var/cache/netdata/mysql_local.innodb_cur_row_lock
4355 # chart type = area
4356 # type = mysql_local
4357 # family = innodb
4358 # context = mysql.innodb_cur_row_lock
4359 # units = operations
4360 # priority = 60018
4361 # gap when lost iterations above = 1
4362 # name = mysql_local.innodb_cur_row_lock
4363 # title = mysql InnoDB Current Row Locks (mysql_local.innodb_cur_row_lock)
4364 # dim Innodb_row_lock_current_waits name = current_waits
4365 # dim Innodb_row_lock_current_waits algorithm = absolute
4366 # dim Innodb_row_lock_current_waits multiplier = 1
4367 # dim Innodb_row_lock_current_waits divisor = 1
4368
4369[mysql_local.innodb_rows]
4370 # history = 86400
4371 # enabled = yes
4372 enabled = no
4373 # cache directory = /var/cache/netdata/mysql_local.innodb_rows
4374 # chart type = area
4375 # type = mysql_local
4376 # family = innodb
4377 # context = mysql.innodb_rows
4378 # units = operations/s
4379 # priority = 60019
4380 # gap when lost iterations above = 1
4381 # name = mysql_local.innodb_rows
4382 # title = mysql InnoDB Row Operations (mysql_local.innodb_rows)
4383 # dim Innodb_rows_read name = read
4384 # dim Innodb_rows_read algorithm = incremental
4385 # dim Innodb_rows_read multiplier = 1
4386 # dim Innodb_rows_read divisor = 1
4387 # dim Innodb_rows_deleted name = deleted
4388 # dim Innodb_rows_deleted algorithm = incremental
4389 # dim Innodb_rows_deleted multiplier = -1
4390 # dim Innodb_rows_deleted divisor = 1
4391 # dim Innodb_rows_inserted name = inserted
4392 # dim Innodb_rows_inserted algorithm = incremental
4393 # dim Innodb_rows_inserted multiplier = 1
4394 # dim Innodb_rows_inserted divisor = 1
4395 # dim Innodb_rows_updated name = updated
4396 # dim Innodb_rows_updated algorithm = incremental
4397 # dim Innodb_rows_updated multiplier = -1
4398 # dim Innodb_rows_updated divisor = 1
4399
4400[mysql_local.binlog_stmt_cache]
4401 # history = 86400
4402 # enabled = yes
4403 enabled = no
4404 # cache directory = /var/cache/netdata/mysql_local.binlog_stmt_cache
4405 # chart type = line
4406 # type = mysql_local
4407 # family = binlog
4408 # context = mysql.binlog_stmt_cache
4409 # units = statements/s
4410 # priority = 60020
4411 # gap when lost iterations above = 1
4412 # name = mysql_local.binlog_stmt_cache
4413 # title = mysql Binlog Statement Cache (mysql_local.binlog_stmt_cache)
4414 # dim Binlog_stmt_cache_disk_use name = disk
4415 # dim Binlog_stmt_cache_disk_use algorithm = incremental
4416 # dim Binlog_stmt_cache_disk_use multiplier = 1
4417 # dim Binlog_stmt_cache_disk_use divisor = 1
4418 # dim Binlog_stmt_cache_use name = all
4419 # dim Binlog_stmt_cache_use algorithm = incremental
4420 # dim Binlog_stmt_cache_use multiplier = 1
4421 # dim Binlog_stmt_cache_use divisor = 1
4422
4423[system.ipv6]
4424 # history = 86400
4425 # enabled = yes
4426 enabled = yes
4427 # cache directory = /var/cache/netdata/system.ipv6
4428 # chart type = area
4429 # type = system
4430 # family = network
4431 # context = system.ipv6
4432 # units = kilobits/s
4433 # priority = 500
4434 # gap when lost iterations above = 1
4435 # name = system.ipv6
4436 # title = IPv6 Bandwidth (system.ipv6)
4437 # dim received name = received
4438 # dim received algorithm = incremental
4439 # dim received multiplier = 8
4440 # dim received divisor = 1024
4441 # dim sent name = sent
4442 # dim sent algorithm = incremental
4443 # dim sent multiplier = -8
4444 # dim sent divisor = 1024
4445
4446[ipv6.packets]
4447 # history = 86400
4448 # enabled = yes
4449 enabled = yes
4450 # cache directory = /var/cache/netdata/ipv6.packets
4451 # chart type = line
4452 # type = ipv6
4453 # family = packets
4454 # context = ipv6.packets
4455 # units = packets/s
4456 # priority = 3000
4457 # gap when lost iterations above = 1
4458 # name = ipv6.packets
4459 # title = IPv6 Packets (ipv6.packets)
4460 # dim received name = received
4461 # dim received algorithm = incremental
4462 # dim received multiplier = 1
4463 # dim received divisor = 1
4464 # dim sent name = sent
4465 # dim sent algorithm = incremental
4466 # dim sent multiplier = -1
4467 # dim sent divisor = 1
4468 # dim forwarded name = forwarded
4469 # dim forwarded algorithm = incremental
4470 # dim forwarded multiplier = 1
4471 # dim forwarded divisor = 1
4472 # dim delivers name = delivers
4473 # dim delivers algorithm = incremental
4474 # dim delivers multiplier = -1
4475 # dim delivers divisor = 1
4476
4477[ipv6.udppackets]
4478 # history = 86400
4479 # enabled = yes
4480 enabled = no
4481 # cache directory = /var/cache/netdata/ipv6.udppackets
4482 # chart type = line
4483 # type = ipv6
4484 # family = udp
4485 # context = ipv6.udppackets
4486 # units = packets/s
4487 # priority = 3601
4488 # gap when lost iterations above = 1
4489 # name = ipv6.udppackets
4490 # title = IPv6 UDP Packets (ipv6.udppackets)
4491 # dim received name = received
4492 # dim received algorithm = incremental
4493 # dim received multiplier = 1
4494 # dim received divisor = 1
4495 # dim sent name = sent
4496 # dim sent algorithm = incremental
4497 # dim sent multiplier = -1
4498 # dim sent divisor = 1
4499
4500[ipv6.mcast]
4501 # history = 86400
4502 # enabled = yes
4503 enabled = no
4504 # cache directory = /var/cache/netdata/ipv6.mcast
4505 # chart type = area
4506 # type = ipv6
4507 # family = multicast
4508 # context = ipv6.mcast
4509 # units = kilobits/s
4510 # priority = 9000
4511 # gap when lost iterations above = 1
4512 # name = ipv6.mcast
4513 # title = IPv6 Multicast Bandwidth (ipv6.mcast)
4514 # dim received name = received
4515 # dim received algorithm = incremental
4516 # dim received multiplier = 8
4517 # dim received divisor = 1024
4518 # dim sent name = sent
4519 # dim sent algorithm = incremental
4520 # dim sent multiplier = -8
4521 # dim sent divisor = 1024
4522
4523[ipv6.mcastpkts]
4524 # history = 86400
4525 # enabled = yes
4526 enabled = no
4527 # cache directory = /var/cache/netdata/ipv6.mcastpkts
4528 # chart type = line
4529 # type = ipv6
4530 # family = multicast
4531 # context = ipv6.mcastpkts
4532 # units = packets/s
4533 # priority = 9500
4534 # gap when lost iterations above = 1
4535 # name = ipv6.mcastpkts
4536 # title = IPv6 Multicast Packets (ipv6.mcastpkts)
4537 # dim received name = received
4538 # dim received algorithm = incremental
4539 # dim received multiplier = 1
4540 # dim received divisor = 1
4541 # dim sent name = sent
4542 # dim sent algorithm = incremental
4543 # dim sent multiplier = -1
4544 # dim sent divisor = 1
4545
4546[nginx.connections]
4547 # history = 86400
4548 # enabled = yes
4549 enabled = no
4550 # cache directory = /var/cache/netdata/nginx.connections
4551 # chart type = line
4552 # type = nginx
4553 # family = nginx
4554 # context = nginx.connections
4555 # units = connections
4556 # priority = 60001
4557 # gap when lost iterations above = 1
4558 # name = nginx.connections
4559 # title = nginx Active Connections (nginx.connections)
4560 # dim active name = active
4561 # dim active algorithm = absolute
4562 # dim active multiplier = 1
4563 # dim active divisor = 1
4564
4565[ipv6.icmp]
4566 # history = 86400
4567 # enabled = yes
4568 enabled = no
4569 # cache directory = /var/cache/netdata/ipv6.icmp
4570 # chart type = line
4571 # type = ipv6
4572 # family = icmp
4573 # context = ipv6.icmp
4574 # units = messages/s
4575 # priority = 10000
4576 # gap when lost iterations above = 1
4577 # name = ipv6.icmp
4578 # title = IPv6 ICMP Messages (ipv6.icmp)
4579 # dim received name = received
4580 # dim received algorithm = incremental
4581 # dim received multiplier = 1
4582 # dim received divisor = 1
4583 # dim sent name = sent
4584 # dim sent algorithm = incremental
4585 # dim sent multiplier = -1
4586 # dim sent divisor = 1
4587
4588[ipv6.icmprouter]
4589 # history = 86400
4590 # enabled = yes
4591 enabled = no
4592 # cache directory = /var/cache/netdata/ipv6.icmprouter
4593 # chart type = line
4594 # type = ipv6
4595 # family = icmp
4596 # context = ipv6.icmprouter
4597 # units = messages/s
4598 # priority = 10400
4599 # gap when lost iterations above = 1
4600 # name = ipv6.icmprouter
4601 # title = IPv6 Router Messages (ipv6.icmprouter)
4602 # dim InSolicits name = InSolicits
4603 # dim InSolicits algorithm = incremental
4604 # dim InSolicits multiplier = 1
4605 # dim InSolicits divisor = 1
4606 # dim OutSolicits name = OutSolicits
4607 # dim OutSolicits algorithm = incremental
4608 # dim OutSolicits multiplier = -1
4609 # dim OutSolicits divisor = 1
4610 # dim InAdvertisements name = InAdvertisements
4611 # dim InAdvertisements algorithm = incremental
4612 # dim InAdvertisements multiplier = 1
4613 # dim InAdvertisements divisor = 1
4614 # dim OutAdvertisements name = OutAdvertisements
4615 # dim OutAdvertisements algorithm = incremental
4616 # dim OutAdvertisements multiplier = -1
4617 # dim OutAdvertisements divisor = 1
4618
4619[ipv6.icmpneighbor]
4620 # history = 86400
4621 # enabled = yes
4622 enabled = no
4623 # cache directory = /var/cache/netdata/ipv6.icmpneighbor
4624 # chart type = line
4625 # type = ipv6
4626 # family = icmp
4627 # context = ipv6.icmpneighbor
4628 # units = messages/s
4629 # priority = 10500
4630 # gap when lost iterations above = 1
4631 # name = ipv6.icmpneighbor
4632 # title = IPv6 Neighbor Messages (ipv6.icmpneighbor)
4633 # dim InSolicits name = InSolicits
4634 # dim InSolicits algorithm = incremental
4635 # dim InSolicits multiplier = 1
4636 # dim InSolicits divisor = 1
4637 # dim OutSolicits name = OutSolicits
4638 # dim OutSolicits algorithm = incremental
4639 # dim OutSolicits multiplier = -1
4640 # dim OutSolicits divisor = 1
4641 # dim InAdvertisements name = InAdvertisements
4642 # dim InAdvertisements algorithm = incremental
4643 # dim InAdvertisements multiplier = 1
4644 # dim InAdvertisements divisor = 1
4645 # dim OutAdvertisements name = OutAdvertisements
4646 # dim OutAdvertisements algorithm = incremental
4647 # dim OutAdvertisements multiplier = -1
4648 # dim OutAdvertisements divisor = 1
4649
4650[ipv6.icmpmldv2]
4651 # history = 86400
4652 # enabled = yes
4653 enabled = no
4654 # cache directory = /var/cache/netdata/ipv6.icmpmldv2
4655 # chart type = line
4656 # type = ipv6
4657 # family = icmp
4658 # context = ipv6.icmpmldv2
4659 # units = reports/s
4660 # priority = 10600
4661 # gap when lost iterations above = 1
4662 # name = ipv6.icmpmldv2
4663 # title = IPv6 ICMP MLDv2 Reports (ipv6.icmpmldv2)
4664 # dim received name = received
4665 # dim received algorithm = incremental
4666 # dim received multiplier = 1
4667 # dim received divisor = 1
4668 # dim sent name = sent
4669 # dim sent algorithm = incremental
4670 # dim sent multiplier = -1
4671 # dim sent divisor = 1
4672
4673[ipv6.icmptypes]
4674 # history = 86400
4675 # enabled = yes
4676 enabled = no
4677 # cache directory = /var/cache/netdata/ipv6.icmptypes
4678 # chart type = line
4679 # type = ipv6
4680 # family = icmp
4681 # context = ipv6.icmptypes
4682 # units = messages/s
4683 # priority = 10700
4684 # gap when lost iterations above = 1
4685 # name = ipv6.icmptypes
4686 # title = IPv6 ICMP Types (ipv6.icmptypes)
4687 # dim InType1 name = InType1
4688 # dim InType1 algorithm = incremental
4689 # dim InType1 multiplier = 1
4690 # dim InType1 divisor = 1
4691 # dim InType128 name = InType128
4692 # dim InType128 algorithm = incremental
4693 # dim InType128 multiplier = 1
4694 # dim InType128 divisor = 1
4695 # dim InType129 name = InType129
4696 # dim InType129 algorithm = incremental
4697 # dim InType129 multiplier = 1
4698 # dim InType129 divisor = 1
4699 # dim InType136 name = InType136
4700 # dim InType136 algorithm = incremental
4701 # dim InType136 multiplier = 1
4702 # dim InType136 divisor = 1
4703 # dim OutType1 name = OutType1
4704 # dim OutType1 algorithm = incremental
4705 # dim OutType1 multiplier = -1
4706 # dim OutType1 divisor = 1
4707 # dim OutType128 name = OutType128
4708 # dim OutType128 algorithm = incremental
4709 # dim OutType128 multiplier = -1
4710 # dim OutType128 divisor = 1
4711 # dim OutType129 name = OutType129
4712 # dim OutType129 algorithm = incremental
4713 # dim OutType129 multiplier = -1
4714 # dim OutType129 divisor = 1
4715 # dim OutType133 name = OutType133
4716 # dim OutType133 algorithm = incremental
4717 # dim OutType133 multiplier = -1
4718 # dim OutType133 divisor = 1
4719 # dim OutType135 name = OutType135
4720 # dim OutType135 algorithm = incremental
4721 # dim OutType135 multiplier = -1
4722 # dim OutType135 divisor = 1
4723 # dim OutType143 name = OutType143
4724 # dim OutType143 algorithm = incremental
4725 # dim OutType143 multiplier = -1
4726 # dim OutType143 divisor = 1
4727
4728[ipv6.ect]
4729 # history = 86400
4730 # enabled = yes
4731 enabled = no
4732 # cache directory = /var/cache/netdata/ipv6.ect
4733 # chart type = line
4734 # type = ipv6
4735 # family = packets
4736 # context = ipv6.ect
4737 # units = packets/s
4738 # priority = 10800
4739 # gap when lost iterations above = 1
4740 # name = ipv6.ect
4741 # title = IPv6 ECT Packets (ipv6.ect)
4742 # dim InNoECTPkts name = InNoECTPkts
4743 # dim InNoECTPkts algorithm = incremental
4744 # dim InNoECTPkts multiplier = 1
4745 # dim InNoECTPkts divisor = 1
4746 # dim InECT1Pkts name = InECT1Pkts
4747 # dim InECT1Pkts algorithm = incremental
4748 # dim InECT1Pkts multiplier = 1
4749 # dim InECT1Pkts divisor = 1
4750 # dim InECT0Pkts name = InECT0Pkts
4751 # dim InECT0Pkts algorithm = incremental
4752 # dim InECT0Pkts multiplier = 1
4753 # dim InECT0Pkts divisor = 1
4754 # dim InCEPkts name = InCEPkts
4755 # dim InCEPkts algorithm = incremental
4756 # dim InCEPkts multiplier = 1
4757 # dim InCEPkts divisor = 1
4758
4759[nginx.requests]
4760 # history = 86400
4761 # enabled = yes
4762 enabled = no
4763 # cache directory = /var/cache/netdata/nginx.requests
4764 # chart type = line
4765 # type = nginx
4766 # family = nginx
4767 # context = nginx.requests
4768 # units = requests/s
4769 # priority = 60002
4770 # gap when lost iterations above = 1
4771 # name = nginx.requests
4772 # title = nginx Requests (nginx.requests)
4773 # dim requests name = requests
4774 # dim requests algorithm = incremental
4775 # dim requests multiplier = 1
4776 # dim requests divisor = 1
4777
4778[nginx.connections_status]
4779 # history = 86400
4780 # enabled = yes
4781 enabled = no
4782 # cache directory = /var/cache/netdata/nginx.connections_status
4783 # chart type = line
4784 # type = nginx
4785 # family = nginx
4786 # context = nginx.connections.status
4787 # units = connections
4788 # priority = 60003
4789 # gap when lost iterations above = 1
4790 # name = nginx.connections_status
4791 # title = nginx Active Connections by Status (nginx.connections_status)
4792 # dim reading name = reading
4793 # dim reading algorithm = absolute
4794 # dim reading multiplier = 1
4795 # dim reading divisor = 1
4796 # dim writing name = writing
4797 # dim writing algorithm = absolute
4798 # dim writing multiplier = 1
4799 # dim writing divisor = 1
4800 # dim waiting name = idle
4801 # dim waiting algorithm = absolute
4802 # dim waiting multiplier = 1
4803 # dim waiting divisor = 1
4804
4805[netfilter.sockets]
4806 # history = 86400
4807 # enabled = yes
4808 enabled = no
4809 # cache directory = /var/cache/netdata/netfilter.sockets
4810 # chart type = line
4811 # type = netfilter
4812 # family = netfilter
4813 # context = netfilter.sockets
4814 # units = active connections
4815 # priority = 1000
4816 # gap when lost iterations above = 1
4817 # name = netfilter.sockets
4818 # title = Netfilter Connections (netfilter.sockets)
4819 # dim connections name = connections
4820 # dim connections algorithm = absolute
4821 # dim connections multiplier = 1
4822 # dim connections divisor = 1
4823
4824[nginx.connect_rate]
4825 # history = 86400
4826 # enabled = yes
4827 enabled = no
4828 # cache directory = /var/cache/netdata/nginx.connect_rate
4829 # chart type = line
4830 # type = nginx
4831 # family = nginx
4832 # context = nginx.connections.rate
4833 # units = connections/s
4834 # priority = 60004
4835 # gap when lost iterations above = 1
4836 # name = nginx.connect_rate
4837 # title = nginx Connections Rate (nginx.connect_rate)
4838 # dim accepts name = accepted
4839 # dim accepts algorithm = incremental
4840 # dim accepts multiplier = 1
4841 # dim accepts divisor = 1
4842 # dim handled name = handled
4843 # dim handled algorithm = incremental
4844 # dim handled multiplier = 1
4845 # dim handled divisor = 1
4846
4847[netfilter.new]
4848 # history = 86400
4849 # enabled = yes
4850 enabled = no
4851 # cache directory = /var/cache/netdata/netfilter.new
4852 # chart type = line
4853 # type = netfilter
4854 # family = netfilter
4855 # context = netfilter.new
4856 # units = connections/s
4857 # priority = 1001
4858 # gap when lost iterations above = 1
4859 # name = netfilter.new
4860 # title = Netfilter New Connections (netfilter.new)
4861 # dim new name = new
4862 # dim new algorithm = incremental
4863 # dim new multiplier = 1
4864 # dim new divisor = 1
4865 # dim ignore name = ignore
4866 # dim ignore algorithm = incremental
4867 # dim ignore multiplier = -1
4868 # dim ignore divisor = 1
4869 # dim invalid name = invalid
4870 # dim invalid algorithm = incremental
4871 # dim invalid multiplier = -1
4872 # dim invalid divisor = 1
4873
4874[netfilter.changes]
4875 # history = 86400
4876 # enabled = yes
4877 enabled = no
4878 # cache directory = /var/cache/netdata/netfilter.changes
4879 # chart type = line
4880 # type = netfilter
4881 # family = netfilter
4882 # context = netfilter.changes
4883 # units = changes/s
4884 # priority = 1002
4885 # gap when lost iterations above = 1
4886 # name = netfilter.changes
4887 # title = Netfilter Connection Changes (netfilter.changes)
4888 # dim inserted name = inserted
4889 # dim inserted algorithm = incremental
4890 # dim inserted multiplier = 1
4891 # dim inserted divisor = 1
4892 # dim deleted name = deleted
4893 # dim deleted algorithm = incremental
4894 # dim deleted multiplier = -1
4895 # dim deleted divisor = 1
4896 # dim delete_list name = delete_list
4897 # dim delete_list algorithm = incremental
4898 # dim delete_list multiplier = -1
4899 # dim delete_list divisor = 1
4900
4901[netdata.plugin_chartsd_example]
4902 # history = 86400
4903 # enabled = yes
4904 enabled = yes
4905 # cache directory = /var/cache/netdata/netdata.plugin_chartsd_example
4906 # chart type = area
4907 # type = netdata
4908 # family = charts.d
4909 # context = netdata.plugin_charts
4910 # units = milliseconds / run
4911 # priority = 145000
4912 # gap when lost iterations above = 1
4913 # name = netdata.plugin_chartsd_example
4914 # title = Execution time for example plugin (netdata.plugin_chartsd_example)
4915 # dim run_time name = run time
4916 # dim run_time algorithm = absolute
4917 # dim run_time multiplier = 1
4918 # dim run_time divisor = 1
4919
4920[netdata.plugin_chartsd_mysql]
4921 # history = 86400
4922 # enabled = yes
4923 enabled = no
4924 # cache directory = /var/cache/netdata/netdata.plugin_chartsd_mysql
4925 # chart type = area
4926 # type = netdata
4927 # family = charts.d
4928 # context = netdata.plugin_charts
4929 # units = milliseconds / run
4930 # priority = 145000
4931 # gap when lost iterations above = 1
4932 # name = netdata.plugin_chartsd_mysql
4933 # title = Execution time for mysql plugin (netdata.plugin_chartsd_mysql)
4934 # dim run_time name = run time
4935 # dim run_time algorithm = absolute
4936 # dim run_time multiplier = 1
4937 # dim run_time divisor = 1
4938
4939[netdata.plugin_chartsd_nginx]
4940 # history = 86400
4941 # enabled = yes
4942 enabled = no
4943 # cache directory = /var/cache/netdata/netdata.plugin_chartsd_nginx
4944 # chart type = area
4945 # type = netdata
4946 # family = charts.d
4947 # context = netdata.plugin_charts
4948 # units = milliseconds / run
4949 # priority = 145000
4950 # gap when lost iterations above = 1
4951 # name = netdata.plugin_chartsd_nginx
4952 # title = Execution time for nginx plugin (netdata.plugin_chartsd_nginx)
4953 # dim run_time name = run time
4954 # dim run_time algorithm = absolute
4955 # dim run_time multiplier = 1
4956 # dim run_time divisor = 1
4957
4958[netfilter.expect]
4959 # history = 86400
4960 # enabled = yes
4961 enabled = no
4962 # cache directory = /var/cache/netdata/netfilter.expect
4963 # chart type = line
4964 # type = netfilter
4965 # family = netfilter
4966 # context = netfilter.expect
4967 # units = expectations/s
4968 # priority = 1003
4969 # gap when lost iterations above = 1
4970 # name = netfilter.expect
4971 # title = Netfilter Connection Expectations (netfilter.expect)
4972 # dim created name = created
4973 # dim created algorithm = incremental
4974 # dim created multiplier = 1
4975 # dim created divisor = 1
4976 # dim deleted name = deleted
4977 # dim deleted algorithm = incremental
4978 # dim deleted multiplier = -1
4979 # dim deleted divisor = 1
4980 # dim new name = new
4981 # dim new algorithm = incremental
4982 # dim new multiplier = 1
4983 # dim new divisor = 1
4984
4985[netdata.plugin_chartsd_postfix]
4986 # history = 86400
4987 # enabled = yes
4988 enabled = no
4989 # cache directory = /var/cache/netdata/netdata.plugin_chartsd_postfix
4990 # chart type = area
4991 # type = netdata
4992 # family = charts.d
4993 # context = netdata.plugin_charts
4994 # units = milliseconds / run
4995 # priority = 145000
4996 # gap when lost iterations above = 1
4997 # name = netdata.plugin_chartsd_postfix
4998 # title = Execution time for postfix plugin (netdata.plugin_chartsd_postfix)
4999 # dim run_time name = run time
5000 # dim run_time algorithm = absolute
5001 # dim run_time multiplier = 1
5002 # dim run_time divisor = 1
5003
5004[netfilter.search]
5005 # history = 86400
5006 # enabled = yes
5007 enabled = no
5008 # cache directory = /var/cache/netdata/netfilter.search
5009 # chart type = line
5010 # type = netfilter
5011 # family = netfilter
5012 # context = netfilter.search
5013 # units = searches/s
5014 # priority = 1010
5015 # gap when lost iterations above = 1
5016 # name = netfilter.search
5017 # title = Netfilter Connection Searches (netfilter.search)
5018 # dim searched name = searched
5019 # dim searched algorithm = incremental
5020 # dim searched multiplier = 1
5021 # dim searched divisor = 1
5022 # dim restarted name = restarted
5023 # dim restarted algorithm = incremental
5024 # dim restarted multiplier = -1
5025 # dim restarted divisor = 1
5026 # dim found name = found
5027 # dim found algorithm = incremental
5028 # dim found multiplier = 1
5029 # dim found divisor = 1
5030
5031[netfilter.errors]
5032 # history = 86400
5033 # enabled = yes
5034 enabled = no
5035 # cache directory = /var/cache/netdata/netfilter.errors
5036 # chart type = line
5037 # type = netfilter
5038 # family = netfilter
5039 # context = netfilter.errors
5040 # units = events/s
5041 # priority = 1005
5042 # gap when lost iterations above = 1
5043 # name = netfilter.errors
5044 # title = Netfilter Errors (netfilter.errors)
5045 # dim icmp_error name = icmp_error
5046 # dim icmp_error algorithm = incremental
5047 # dim icmp_error multiplier = 1
5048 # dim icmp_error divisor = 1
5049 # dim insert_failed name = insert_failed
5050 # dim insert_failed algorithm = incremental
5051 # dim insert_failed multiplier = -1
5052 # dim insert_failed divisor = 1
5053 # dim drop name = drop
5054 # dim drop algorithm = incremental
5055 # dim drop multiplier = -1
5056 # dim drop divisor = 1
5057 # dim early_drop name = early_drop
5058 # dim early_drop algorithm = incremental
5059 # dim early_drop multiplier = -1
5060 # dim early_drop divisor = 1
5061
5062[mem.pgfaults]
5063 # history = 86400
5064 # enabled = yes
5065 enabled = no
5066 # cache directory = /var/cache/netdata/mem.pgfaults
5067 # chart type = line
5068 # type = mem
5069 # family = system
5070 # context = mem.pgfaults
5071 # units = page faults/s
5072 # priority = 500
5073 # gap when lost iterations above = 1
5074 # name = mem.pgfaults
5075 # title = Memory Page Faults (mem.pgfaults)
5076 # dim minor name = minor
5077 # dim minor algorithm = incremental
5078 # dim minor multiplier = 1
5079 # dim minor divisor = 1
5080 # dim major name = major
5081 # dim major algorithm = incremental
5082 # dim major multiplier = -1
5083 # dim major divisor = 1
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata/netdata.service b/meta-webserver/recipes-webadmin/netdata/netdata/netdata.service
deleted file mode 100644
index f4911f3b6..000000000
--- a/meta-webserver/recipes-webadmin/netdata/netdata/netdata.service
+++ /dev/null
@@ -1,15 +0,0 @@
1# SPDX-License-Identifier: GPL-3.0-or-later
2[Unit]
3Description=Real time performance monitoring
4RequiresMountsFor=/var
5After=network.target
6
7[Service]
8Type=simple
9ExecStartPre=/bin/mkdir -p /var/log/netdata
10ExecStartPre=/bin/chown -R netdata:netdata /var/log/netdata
11ExecStart=/usr/sbin/netdata -D -u netdata
12
13
14[Install]
15WantedBy=multi-user.target
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_1.47.1.bb b/meta-webserver/recipes-webadmin/netdata/netdata_1.47.1.bb
deleted file mode 100644
index 5b38d401c..000000000
--- a/meta-webserver/recipes-webadmin/netdata/netdata_1.47.1.bb
+++ /dev/null
@@ -1,93 +0,0 @@
1SUMMARY = "Real-time performance monitoring"
2DESCRIPTION = "Netdata is high-fidelity infrastructure monitoring and troubleshooting. \
3 Open-source, free, preconfigured, opinionated, and always real-time."
4HOMEPAGE = "https://github.com/netdata/netdata/"
5LICENSE = "GPL-3.0-only"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24"
7
8DEPENDS += "json-c libuv libyaml util-linux zlib lz4"
9
10SRC_URI = "\
11 https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-v${PV}.tar.gz \
12 file://0001-cmake-Add-check-for-64bit-builtin-atomics.patch \
13 file://netdata.conf \
14 file://netdata.service \
15 file://netdata-volatiles.conf \
16"
17SRC_URI[sha256sum] = "fb970a4b571ffd542b7d24220ef806a4c1b56c535e0f549a9978860a9f1dcc9c"
18
19UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags"
20UPSTREAM_CHECK_REGEX = "${BPN}/releases/tag/v(?P<pver>\d+(?:\.\d+)*)"
21
22S = "${WORKDIR}/${BPN}-v${PV}"
23
24# Stop sending anonymous statistics to Google Analytics
25NETDATA_ANONYMOUS ??= "enabled"
26
27inherit pkgconfig cmake useradd systemd
28
29TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE"
30
31LIBS:toolchain-clang:x86 = "-latomic"
32LIBS:riscv64 = "-latomic"
33LIBS:riscv32 = "-latomic"
34LIBS:mips = "-latomic"
35export LIBS
36
37#systemd
38SYSTEMD_PACKAGES = "${PN}"
39SYSTEMD_SERVICE:${PN} = "netdata.service"
40SYSTEMD_AUTO_ENABLE:${PN} = "enable"
41
42#User specific
43USERADD_PACKAGES = "${PN}"
44USERADD_PARAM:${PN} = "--system --no-create-home --home-dir ${localstatedir}/run/netdata --user-group netdata"
45
46PACKAGECONFIG ??= "openssl freeipmi ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
47PACKAGECONFIG[brotli] = ",,brotli"
48PACKAGECONFIG[cloud] = "-DENABLE_CLOUD=ON,-DENABLE_CLOUD=OFF,"
49PACKAGECONFIG[openssl] = "-DENABLE_OPENSSL=ON,-DENABLE_OPENSSL=OFF,openssl"
50PACKAGECONFIG[freeipmi] = "-DENABLE_PLUGIN_FREEIPMI=ON,-DENABLE_PLUGIN_FREEIPMI=OFF,freeipmi"
51PACKAGECONFIG[nfacct] = "-DENABLE_PLUGIN_NFACCT=ON,-DENABLE_PLUGIN_NFACCT=OFF,libmnl"
52# needs meta-virtualization
53PACKAGECONFIG[xenstat] = "-DENABLE_PLUGIN_XENSTAT=ON,-DENABLE_PLUGIN_XENSTAT=OFF,xen-tools"
54PACKAGECONFIG[cups] = "-DENABLE_PLUGIN_CUPS=ON,-DENABLE_PLUGIN_CUPS=OFF,cups"
55PACKAGECONFIG[systemd] = "-DENABLE_PLUGIN_SYSTEMD_JOURNAL=ON,-DENABLE_PLUGIN_SYSTEMD_JOURNAL=OFF,systemd"
56
57# ebpf doesn't compile (or detect) the cross compilation well
58EXTRA_OECMAKE += "-DENABLE_PLUGIN_EBPF=OFF -DENABLE_PLUGIN_GO=OFF \
59 -DENABLE_ACLK=OFF -DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=OFF -DCMAKE_INSTALL_PREFIX='${base_prefix}'"
60
61do_install:append() {
62 #set S UID for plugins
63 chmod 4755 ${D}${libexecdir}/netdata/plugins.d/apps.plugin
64 rm -rf ${D}/${localstatedir}/
65
66 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
67 # Install systemd unit files
68 install -d ${D}${systemd_unitdir}/system
69 install -m 0644 ${UNPACKDIR}/netdata.service ${D}${systemd_unitdir}/system
70 sed -i -e 's,@@datadir,${datadir_native},g' ${D}${systemd_unitdir}/system/netdata.service
71 install -Dm 0644 ${UNPACKDIR}/netdata-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/netdata.conf
72 fi
73
74 # Install default netdata.conf
75 install -d ${D}${sysconfdir}/netdata
76 install -m 0644 ${UNPACKDIR}/netdata.conf ${D}${sysconfdir}/netdata/
77 sed -i -e 's,@@sysconfdir,${sysconfdir},g' ${D}${sysconfdir}/netdata/netdata.conf
78 sed -i -e 's,@@libdir,${libexecdir},g' ${D}${sysconfdir}/netdata/netdata.conf
79 sed -i -e 's,@@datadir,${datadir},g' ${D}${sysconfdir}/netdata/netdata.conf
80
81 if [ "${NETDATA_ANONYMOUS}" = "enabled" ]; then
82 touch ${D}${sysconfdir}/netdata/.opt-out-from-anonymous-statistics
83 fi
84
85 install --group netdata --owner netdata --directory ${D}${localstatedir}/cache/netdata
86 install --group netdata --owner netdata --directory ${D}${localstatedir}/lib/netdata
87
88 chown -R netdata:netdata ${D}${datadir}/netdata/web
89}
90
91FILES:${PN} += "${localstatedir}/cache/netdata/ ${localstatedir}/lib/netdata/"
92
93RDEPENDS:${PN} = "bash python3-core zlib"
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_1.47.5.bb b/meta-webserver/recipes-webadmin/netdata/netdata_1.47.5.bb
new file mode 100644
index 000000000..7693335da
--- /dev/null
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_1.47.5.bb
@@ -0,0 +1,155 @@
1SUMMARY = "Real-time performance monitoring"
2DESCRIPTION = "Netdata is high-fidelity infrastructure monitoring and troubleshooting. \
3 Open-source, free, preconfigured, opinionated, and always real-time."
4HOMEPAGE = "https://github.com/netdata/netdata/"
5LICENSE = "GPL-3.0-only"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24"
7
8DEPENDS += "\
9 json-c \
10 libuv \
11 libyaml \
12 lz4 \
13 util-linux \
14 zlib \
15 "
16
17SRC_URI = "\
18 https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-v${PV}.tar.gz \
19 file://0002-Do-not-hardcode-systemd-unit-directories.patch \
20 file://netdata.conf \
21 file://netdata-volatiles.conf \
22 ${@bb.utils.contains('PACKAGECONFIG', 'go', 'file://go.d.conf', '', d)} \
23 "
24SRC_URI[sha256sum] = "8073eee2392f92daa1f8bb5cf13fb988b8c3b52ff9574b50706ff69bdbdb51ce"
25
26UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags"
27UPSTREAM_CHECK_REGEX = "${BPN}/releases/tag/v(?P<pver>(?!1\.99)\d+(?:\.\d+)*)"
28
29S = "${UNPACKDIR}/${BPN}-v${PV}"
30
31# Stop sending anonymous statistics to Google Analytics
32NETDATA_ANONYMOUS ??= "enabled"
33
34inherit pkgconfig useradd systemd
35# Inherit cmake last to use its do_compile task (and not go's)
36inherit_defer ${@bb.utils.filter("PACKAGECONFIG", "go", d)} cmake
37
38TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE"
39
40LIBS:toolchain-clang:x86 = "-latomic"
41LIBS:riscv64 = "-latomic"
42LIBS:riscv32 = "-latomic"
43LIBS:mips = "-latomic"
44export LIBS
45
46# Skip go.d plugins QA issues
47CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'go', \
48 '-Wno-aggressive-loop-optimizations -Wno-nonnull -Wno-stringop-overflow' \
49 , '', d)}"
50INSANE_SKIP:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'go', 'already-stripped buildpaths', '', d)}"
51
52# network is required by go to get dependent packages
53do_compile[network] = "1"
54
55#systemd
56SYSTEMD_PACKAGES = "${PN}"
57export SERVICE_FILES = "netdata.service netdata-updater.service netdata-updater.timer"
58SYSTEMD_SERVICE:${PN} = "${SERVICE_FILES}"
59SYSTEMD_AUTO_ENABLE:${PN} = "enable"
60
61#User specific
62USERADD_PACKAGES = "${PN}"
63USERADD_PARAM:${PN} = "--system --no-create-home --home-dir ${localstatedir}/run/netdata \
64 ${@bb.utils.contains('PACKAGECONFIG','docker','--groups docker','',d)} --user-group netdata"
65
66PACKAGECONFIG ??= "openssl freeipmi ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
67PACKAGECONFIG[brotli] = ",,brotli"
68PACKAGECONFIG[cloud] = "-DENABLE_CLOUD=ON,-DENABLE_CLOUD=OFF,"
69PACKAGECONFIG[openssl] = "-DENABLE_OPENSSL=ON,-DENABLE_OPENSSL=OFF,openssl"
70PACKAGECONFIG[freeipmi] = "-DENABLE_PLUGIN_FREEIPMI=ON,-DENABLE_PLUGIN_FREEIPMI=OFF,freeipmi"
71PACKAGECONFIG[nfacct] = "-DENABLE_PLUGIN_NFACCT=ON,-DENABLE_PLUGIN_NFACCT=OFF,libmnl"
72# needs meta-virtualization
73PACKAGECONFIG[xenstat] = "-DENABLE_PLUGIN_XENSTAT=ON,-DENABLE_PLUGIN_XENSTAT=OFF,xen-tools"
74PACKAGECONFIG[cups] = "-DENABLE_PLUGIN_CUPS=ON,-DENABLE_PLUGIN_CUPS=OFF,cups"
75PACKAGECONFIG[systemd] = "-DENABLE_PLUGIN_SYSTEMD_JOURNAL=ON,-DENABLE_PLUGIN_SYSTEMD_JOURNAL=OFF,systemd"
76PACKAGECONFIG[docker] = ",,virtual/docker, virtual/docker"
77PACKAGECONFIG[go] = "-DENABLE_PLUGIN_GO=ON, -DENABLE_PLUGIN_GO=OFF"
78# WebUI (packageconfig not set: v0, v1 & v2)
79PACKAGECONFIG[webui_v0] = ",,,,,webui_v1 webui_v2"
80PACKAGECONFIG[webui_v1] = ",,,,,webui_v0 webui_v2"
81PACKAGECONFIG[webui_v2] = ",,,,,webui_v0 webui_v1"
82
83# ebpf doesn't compile (or detect) the cross compilation well
84EXTRA_OECMAKE += "-DENABLE_PLUGIN_EBPF=OFF -DBUILD_FOR_PACKAGING=${@bb.utils.contains('DISTRO_FEATURES','systemd','ON','OFF',d)} \
85 -DENABLE_ACLK=OFF -DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=OFF -DCMAKE_INSTALL_PREFIX='${base_prefix}'"
86
87do_compile:append() {
88 # Go dependencies are protected with read-only permissions, but would prevent cleaning
89 if ${@bb.utils.contains('PACKAGECONFIG', 'go', 'true', 'false', d)}; then
90 chmod -R a+w ${B}/pkg
91 fi
92}
93
94do_install:append() {
95 #set S UID for plugins
96 chown root:netdata ${D}${libexecdir}/netdata/plugins.d/apps.plugin
97 chmod 4750 ${D}${libexecdir}/netdata/plugins.d/apps.plugin
98 rm -rf ${D}/${localstatedir}/
99
100 if ${@bb.utils.contains('PACKAGECONFIG', 'xenstat', 'true', 'false', d)}; then
101 # Set S UID for xenstat plugin
102 chown root:netdata ${D}${libexecdir}/netdata/plugins.d/xenstat.plugin
103 chmod 4750 ${D}${libexecdir}/netdata/plugins.d/xenstat.plugin
104 fi
105
106 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
107 # Install systemd unit files
108 install -Dm 0644 ${UNPACKDIR}/netdata-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/netdata.conf
109 fi
110
111 # Install default netdata.conf
112 install -d ${D}${sysconfdir}/netdata
113 install -m 0644 ${UNPACKDIR}/netdata.conf ${D}${sysconfdir}/netdata/
114 if ${@bb.utils.contains('PACKAGECONFIG', 'go', 'true', 'false', d)}; then
115 install -m 0644 ${UNPACKDIR}/go.d.conf ${D}${sysconfdir}/netdata/
116 fi
117 sed -i -e 's,@@datadir,${datadir},g' ${D}${sysconfdir}/netdata/netdata.conf
118 sed -i -e 's,@@libdir,${libdir},g' ${D}${sysconfdir}/netdata/netdata.conf
119 sed -i -e 's,@@libexecdir,${libexecdir},g' ${D}${sysconfdir}/netdata/netdata.conf
120 sed -i -e 's,@@localstatedir,${localstatedir},g' ${D}${sysconfdir}/netdata/netdata.conf
121 sed -i -e 's,@@sysconfdir,${sysconfdir},g' ${D}${sysconfdir}/netdata/netdata.conf
122
123 if [ "${NETDATA_ANONYMOUS}" = "enabled" ]; then
124 touch ${D}${sysconfdir}/netdata/.opt-out-from-anonymous-statistics
125 fi
126
127 install --group netdata --owner netdata --directory ${D}${localstatedir}/cache/netdata
128 install --group netdata --owner netdata --directory ${D}${localstatedir}/lib/netdata
129
130 # webUI
131 if "${@bb.utils.contains('PACKAGECONFIG', 'webui_v0', 'true', 'false', d)}"; then
132 rm -rf ${D}${datadir}/netdata/web/v1
133 rm -rf ${D}${datadir}/netdata/web/v2
134 install -m 0644 ${D}${datadir}/netdata/web/v0/index.html ${D}${datadir}/netdata/web/
135 fi
136 if "${@bb.utils.contains('PACKAGECONFIG', 'webui_v1', 'true', 'false', d)}"; then
137 rm -rf ${D}${datadir}/netdata/web/v0
138 rm -rf ${D}${datadir}/netdata/web/v2
139 install -m 0644 ${D}${datadir}/netdata/web/v1/index.html ${D}${datadir}/netdata/web/
140 fi
141 if "${@bb.utils.contains('PACKAGECONFIG', 'webui_v2', 'true', 'false', d)}"; then
142 rm -rf ${D}${datadir}/netdata/web/v0
143 rm -rf ${D}${datadir}/netdata/web/v1
144 install -m 0644 ${D}${datadir}/netdata/web/v2/index.html ${D}${datadir}/netdata/web/
145 fi
146 chown -R netdata:netdata ${D}${datadir}/netdata/web
147}
148
149FILES:${PN} += "\
150 ${localstatedir}/cache/netdata/ \
151 ${localstatedir}/lib/netdata/ \
152 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_unitdir}/journald@netdata.conf.d', '', d)} \
153 "
154
155RDEPENDS:${PN} = "bash python3-core zlib"
diff --git a/meta-xfce/conf/layer.conf b/meta-xfce/conf/layer.conf
index f131eb270..d741d0ba9 100644
--- a/meta-xfce/conf/layer.conf
+++ b/meta-xfce/conf/layer.conf
@@ -19,7 +19,7 @@ LAYERDEPENDS_xfce-layer += "multimedia-layer"
19LAYERDEPENDS_xfce-layer += "meta-python" 19LAYERDEPENDS_xfce-layer += "meta-python"
20LAYERDEPENDS_xfce-layer += "networking-layer" 20LAYERDEPENDS_xfce-layer += "networking-layer"
21 21
22LAYERSERIES_COMPAT_xfce-layer = "styhead" 22LAYERSERIES_COMPAT_xfce-layer = "styhead walnascar"
23 23
24SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\ 24SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\
25 openzone->gdk-pixbuf \ 25 openzone->gdk-pixbuf \
diff --git a/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb b/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb
index dc62a1c72..e47f8c536 100644
--- a/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb
+++ b/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a2f562fb8fb1e138b810d69521c4bcd7"
7inherit allarch gtk-icon-cache 7inherit allarch gtk-icon-cache
8 8
9SRC_URI = "http://xfce-look.org/CONTENT/content-files/111343-OpenZone-${PV}.tar.xz" 9SRC_URI = "http://xfce-look.org/CONTENT/content-files/111343-OpenZone-${PV}.tar.xz"
10SRC_URI[md5sum] = "4dae968cbd525072664ef7a4fc7c4154"
11SRC_URI[sha256sum] = "dc20f97a49e1ff1becf7853ef5f137ed30a4c27490540e755021d78d339efd92" 10SRC_URI[sha256sum] = "dc20f97a49e1ff1becf7853ef5f137ed30a4c27490540e755021d78d339efd92"
12 11
13S = "${WORKDIR}/OpenZone" 12S = "${WORKDIR}/OpenZone"
diff --git a/meta-xfce/recipes-art/rodent-icon-theme/rodent-icon-theme_5.0.bb b/meta-xfce/recipes-art/rodent-icon-theme/rodent-icon-theme_5.0.bb
index 532980d96..9d8cf7a45 100644
--- a/meta-xfce/recipes-art/rodent-icon-theme/rodent-icon-theme_5.0.bb
+++ b/meta-xfce/recipes-art/rodent-icon-theme/rodent-icon-theme_5.0.bb
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
5inherit allarch autotools gtk-icon-cache 5inherit allarch autotools gtk-icon-cache
6 6
7SRC_URI = "http://sourceforge.net/projects/xffm/files/${BPN}/${BPN}-${PV}.tar.gz" 7SRC_URI = "http://sourceforge.net/projects/xffm/files/${BPN}/${BPN}-${PV}.tar.gz"
8SRC_URI[md5sum] = "4b097d344a160d6497c6498985c8df15"
9SRC_URI[sha256sum] = "6ed00d16faa1f55b3bb7b13862de1d7f5cfd978b93e42487ded21595d0dbe208" 8SRC_URI[sha256sum] = "6ed00d16faa1f55b3bb7b13862de1d7f5cfd978b93e42487ded21595d0dbe208"
10 9
11FILES:${PN} += "${datadir}/icons" 10FILES:${PN} += "${datadir}/icons"
diff --git a/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb b/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb
index 4cbdb4e08..4dacb203d 100644
--- a/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb
+++ b/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8f0e2cd40e05189ec81232da84bd6e1a"
5inherit allarch 5inherit allarch
6 6
7SRC_URI = "http://sources.openembedded.org/141404-xfce_dusk_gtk3-1_3.tar.gz;subdir=${BPN}-${PV}" 7SRC_URI = "http://sources.openembedded.org/141404-xfce_dusk_gtk3-1_3.tar.gz;subdir=${BPN}-${PV}"
8SRC_URI[md5sum] = "b3ad37ad8173b14ec090e60a80e65d8f"
9SRC_URI[sha256sum] = "bfa8a88607d1a1da5bd0b9e4e075767c54400a3c5a0fae88b619ed71532f30b4" 8SRC_URI[sha256sum] = "bfa8a88607d1a1da5bd0b9e4e075767c54400a3c5a0fae88b619ed71532f30b4"
10 9
11do_configure() { 10do_configure() {
diff --git a/meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb b/meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb
index 272f83c01..d69abfedf 100644
--- a/meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb
+++ b/meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6inherit xfce 6inherit xfce
7 7
8SRC_URI = "http://archive.xfce.org/src/art/${BPN}/${@'${PV}'[0:4]}/${BP}.tar.bz2" 8SRC_URI = "http://archive.xfce.org/src/art/${BPN}/${@'${PV}'[0:4]}/${BP}.tar.bz2"
9SRC_URI[md5sum] = "eaa58362053a3549c8be0b32efd3c54f"
10SRC_URI[sha256sum] = "3214d5f00e9703b5e8c9e7c3287d606dedec7285ceb4d5db332e93ada66fd575" 9SRC_URI[sha256sum] = "3214d5f00e9703b5e8c9e7c3287d606dedec7285ceb4d5db332e93ada66fd575"
11 10
12# using xfwm4-theme as in xfwm4 might cause warnings of packages supplied by 11# using xfwm4-theme as in xfwm4 might cause warnings of packages supplied by
diff --git a/meta-xfce/recipes-bindings/vala/xfce4-vala_4.10.3.bb b/meta-xfce/recipes-bindings/vala/xfce4-vala_4.10.3.bb
index 0a65bd94a..6ee5391d2 100644
--- a/meta-xfce/recipes-bindings/vala/xfce4-vala_4.10.3.bb
+++ b/meta-xfce/recipes-bindings/vala/xfce4-vala_4.10.3.bb
@@ -11,7 +11,6 @@ SRC_URI = " \
11 http://archive.xfce.org/src/bindings/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2 \ 11 http://archive.xfce.org/src/bindings/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2 \
12 file://0001-configure.ac-Detect-vapidir-if-not-set-explicitly.patch \ 12 file://0001-configure.ac-Detect-vapidir-if-not-set-explicitly.patch \
13" 13"
14SRC_URI[md5sum] = "0bbb1d6e473e0fe9b335b7b1b49d8a71"
15SRC_URI[sha256sum] = "07a8f2b7c09fcdd3d86e0c52adea3c58ca011d0142a93997a01b4af77260ae7b" 14SRC_URI[sha256sum] = "07a8f2b7c09fcdd3d86e0c52adea3c58ca011d0142a93997a01b4af77260ae7b"
16 15
17FILES:${PN} += "${datadir}/vala-*/vapi" 16FILES:${PN} += "${datadir}/vala-*/vapi"
diff --git a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.3.bb b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.5.bb
index 7e7075443..8e4e4966c 100644
--- a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.3.bb
+++ b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.5.bb
@@ -14,7 +14,7 @@ SRC_URI += " \
14 file://0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch \ 14 file://0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch \
15 file://0002-use-lxdm-to-replace-dm-tool.patch \ 15 file://0002-use-lxdm-to-replace-dm-tool.patch \
16" 16"
17SRC_URI[sha256sum] = "4ae0b8615c9811194bbda0172a63567ed7fdb5519ea48f7a4637f4e6e5365e1b" 17SRC_URI[sha256sum] = "b20e0d10cc5149a601d8eee07373efb446ea3e179dd032ed8ddb5782e3f9e7cb"
18 18
19EXTRA_OECONF += "--disable-vala" 19EXTRA_OECONF += "--disable-vala"
20 20