summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch42
-rw-r--r--meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2026.2.25.bb (renamed from meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb)5
-rw-r--r--meta-gnome/recipes-gnome/eog/eog_49.3.bb2
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.8.bb (renamed from meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.7.bb)2
-rw-r--r--meta-gnome/recipes-gnome/tracker/localsearch_3.11.1.bb (renamed from meta-gnome/recipes-gnome/tracker/localsearch_3.11.0.bb)2
-rw-r--r--meta-gnome/recipes-gnome/tracker/tinysparql_3.11.1.bb (renamed from meta-gnome/recipes-gnome/tracker/tinysparql_3.11.0.bb)2
-rw-r--r--meta-gnome/recipes-support/appstream-glib/appstream-glib_0.8.3.bb (renamed from meta-gnome/recipes-support/appstream-glib/appstream-glib_0.8.2.bb)2
-rw-r--r--meta-initramfs/recipes-devtools/dracut/dracut_111.bb (renamed from meta-initramfs/recipes-devtools/dracut/dracut_110.bb)2
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch (renamed from meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch)0
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0001-make-Add-compiler-includes-in-cflags.patch (renamed from meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-make-Add-compiler-includes-in-cflags.patch)0
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0003-Makefile.am-only-build-ubi-utils.patch (renamed from meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch)0
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch (renamed from meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch)0
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.3.1.bb (renamed from meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.3.0.bb)4
-rw-r--r--meta-multimedia/recipes-multimedia/libavif/libavif_1.4.1.bb2
-rw-r--r--meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch68
-rw-r--r--meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb (renamed from meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb)34
-rw-r--r--meta-multimedia/recipes-multimedia/libyuv/libyuv.bb20
-rw-r--r--meta-multimedia/recipes-multimedia/rav1e/librav1e-crates.inc546
-rw-r--r--meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb15
-rw-r--r--meta-multimedia/recipes-multimedia/svt-av1/svt-av1_4.1.0.bb14
-rw-r--r--meta-networking/recipes-connectivity/cloudflared/cloudflared_2026.3.0.bb36
-rw-r--r--meta-networking/recipes-connectivity/cloudflared/files/cloudflared.service15
-rw-r--r--meta-networking/recipes-connectivity/cloudflared/files/default2
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager_1.56.0.bb2
-rw-r--r--meta-networking/recipes-daemons/postfix/files/0001-Fix-build-with-musl.patch50
-rw-r--r--meta-networking/recipes-daemons/postfix/files/0001-makedefs-Account-for-linux-7.x-version.patch47
-rw-r--r--meta-networking/recipes-daemons/postfix/postfix_3.10.9.bb (renamed from meta-networking/recipes-daemons/postfix/postfix_3.10.8.bb)4
-rw-r--r--meta-networking/recipes-daemons/proftpd/proftpd_1.3.9a.bb (renamed from meta-networking/recipes-daemons/proftpd/proftpd_1.3.9.bb)4
-rw-r--r--meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb1
-rw-r--r--meta-networking/recipes-filter/nftables/nftables_1.1.6.bb8
-rw-r--r--meta-networking/recipes-protocols/mdns/mdns/0001-mDNSPosix-Rework-mbedtls-for-compatibility-with-mbed.patch57
-rw-r--r--meta-networking/recipes-protocols/mdns/mdns_2881.100.56.0.1.bb (renamed from meta-networking/recipes-protocols/mdns/mdns_2881.80.4.0.1.bb)6
-rw-r--r--meta-networking/recipes-protocols/opcua/open62541_1.5.4.bb (renamed from meta-networking/recipes-protocols/opcua/open62541_1.4.16.bb)7
-rw-r--r--meta-networking/recipes-support/mdio-tools/mdio-netlink_1.3.2.bb (renamed from meta-networking/recipes-support/mdio-tools/mdio-netlink_1.3.1.bb)0
-rw-r--r--meta-networking/recipes-support/mdio-tools/mdio-tools.inc4
-rw-r--r--meta-networking/recipes-support/mdio-tools/mdio-tools_1.3.2.bb (renamed from meta-networking/recipes-support/mdio-tools/mdio-tools_1.3.1.bb)1
-rw-r--r--meta-networking/recipes-support/memcached/memcached/memcached-add-hugetlbfs-check.patch32
-rw-r--r--meta-networking/recipes-support/memcached/memcached_1.6.41.bb10
-rw-r--r--meta-networking/recipes-support/nbdkit/nbdkit_1.47.8.bb (renamed from meta-networking/recipes-support/nbdkit/nbdkit_1.47.7.bb)2
-rw-r--r--meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb5
-rw-r--r--meta-networking/recipes-support/strongswan/strongswan_6.0.6.bb (renamed from meta-networking/recipes-support/strongswan/strongswan_6.0.5.bb)2
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf/android-gadget-setup37
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb20
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/adbd.mk87
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service13
-rw-r--r--meta-oe/recipes-connectivity/libtorrent/libtorrent_0.16.10.bb (renamed from meta-oe/recipes-connectivity/libtorrent/libtorrent_0.16.9.bb)2
-rw-r--r--meta-oe/recipes-connectivity/rtorrent/rtorrent_0.16.10.bb (renamed from meta-oe/recipes-connectivity/rtorrent/rtorrent_0.16.9.bb)2
-rw-r--r--meta-oe/recipes-connectivity/thrift/thrift/0001-support-reproducible-builds.patch49
-rw-r--r--meta-oe/recipes-connectivity/thrift/thrift_0.23.0.bb (renamed from meta-oe/recipes-connectivity/thrift/thrift_0.22.0.bb)5
-rw-r--r--meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.6.2.bb (renamed from meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.6.1.bb)2
-rw-r--r--meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.6.bb2
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/10-adbd-configfs.conf4
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-cleanup24
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-setup38
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start9
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb38
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb4
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/0001-Fixes-for-yocto-build.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0001-Fixes-for-yocto-build.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/adb.mk72
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk247
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/build/0001-Riscv-Add-risc-v-Android-config-header.patch361
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0001-adb-remove-selinux-extensions.patch44
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch35
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0002-adb-Use-local-sockets-where-appropriate.patch70
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0003-adb-define-shell-command.patch29
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0004-adb-Fix-build-on-big-endian-systems.patch47
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0005-adb-add-base64-implementation.patch350
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0006-adb-Musl-fixes.patch130
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch26
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0008-adb-Allow-adbd-to-be-ran-as-root.patch23
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch110
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0010-Use-linux-capability.h-on-linux-systems-too.patch23
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0011-Remove-bionic-specific-calls.patch64
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch50
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0013-adb-Support-riscv64.patch191
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0014-add-u3-ss-descriptor-support-for-adb.patch344
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch60
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch188
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch114
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/adb_libssl_11.diff48
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/core/b64_pton_function_decl.patch14
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/Add-riscv64-support.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Add-riscv64-support.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/Added-missing-headers.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Added-missing-headers.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/Nonnull.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Nonnull.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/Vector-cast.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Vector-cast.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/add-missing-headers.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/add-missing-headers.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-build-on-non-x86.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-build-on-non-x86.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-standard-namespace-errors.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-standard-namespace-errors.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/hard-code-build-number.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/hard-code-build-number.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/libusb-header-path.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/libusb-header-path.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/simg_dump-python3.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/simg_dump-python3.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/stdatomic.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/stdatomic.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/stub-out-fastdeploy.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/stub-out-fastdeploy.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Added-missing-headers.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Added-missing-headers.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Nonnull.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Nonnull.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Vector-cast.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Vector-cast.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/add-missing-headers.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/add-missing-headers.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/hard-code-build-number.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/hard-code-build-number.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/libusb-header-path.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libusb-header-path.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/simg_dump-python3.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/simg_dump-python3.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/stdatomic.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/stdatomic.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/ext4_utils.mk103
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/extras/0001-ext4_utils-remove-selinux-extensions.patch39
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch78
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch69
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/fastboot.mk89
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/gitignore59
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-Remove-bionic-specific-calls.patch25
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch51
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/mkbootimg.mk29
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/remount (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/remount)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/rules_yocto.mk (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/rules_yocto.mk)0
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb (renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb)5
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb189
-rw-r--r--meta-oe/recipes-devtools/ctags/ctags_6.2.20260426.0.bb (renamed from meta-oe/recipes-devtools/ctags/ctags_6.2.20260329.0.bb)2
-rw-r--r--meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.11.bb (renamed from meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.9.bb)6
-rw-r--r--meta-oe/recipes-devtools/isocline/isocline_1.1.0.bb (renamed from meta-oe/recipes-devtools/isocline/isocline_1.0.9.bb)2
-rw-r--r--meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.1.bb (renamed from meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb)6
-rw-r--r--meta-oe/recipes-devtools/perl/exiftool_13.57.bb (renamed from meta-oe/recipes-devtools/perl/exiftool_13.52.bb)2
-rw-r--r--meta-oe/recipes-devtools/php/php_8.5.6.bb (renamed from meta-oe/recipes-devtools/php/php_8.5.5.bb)2
-rw-r--r--meta-oe/recipes-extended/7zip/7zip_26.01.bb (renamed from meta-oe/recipes-extended/7zip/7zip_26.00.bb)2
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit_5.0.3.bb (renamed from meta-oe/recipes-extended/fluentbit/fluentbit_5.0.2.bb)2
-rw-r--r--meta-oe/recipes-extended/haveged/haveged_1.9.20.bb (renamed from meta-oe/recipes-extended/haveged/haveged_1.9.19.bb)2
-rw-r--r--meta-oe/recipes-extended/highway/highway_1.4.0.bb (renamed from meta-oe/recipes-extended/highway/highway_1.3.0.bb)2
-rw-r--r--meta-oe/recipes-extended/libblockdev/libblockdev_3.5.0.bb (renamed from meta-oe/recipes-extended/libblockdev/libblockdev_3.4.0.bb)4
-rw-r--r--meta-oe/recipes-extended/parallel/parallel_20260422.bb (renamed from meta-oe/recipes-extended/parallel/parallel_20260322.bb)2
-rw-r--r--meta-oe/recipes-graphics/kmscon/kmscon_9.3.5.bb (renamed from meta-oe/recipes-graphics/kmscon/kmscon_9.3.3.bb)2
-rw-r--r--meta-oe/recipes-graphics/libtsm/libtsm_4.5.0.bb (renamed from meta-oe/recipes-graphics/libtsm/libtsm_4.4.3.bb)2
-rw-r--r--meta-oe/recipes-graphics/neatvnc/neatvnc/0001-Use-aml-v1.patch21
-rw-r--r--meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb (renamed from meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.5.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/iceauth_1.0.11.bb (renamed from meta-oe/recipes-graphics/xorg-app/iceauth_1.0.10.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xterm_409.bb (renamed from meta-oe/recipes-graphics/xorg-app/xterm_408.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-data/xbitmaps_1.1.3.bb7
-rw-r--r--meta-oe/recipes-graphics/xorg-data/xbitmaps_1.1.4.bb7
-rw-r--r--meta-oe/recipes-kernel/bpftool/bpftool-native_6.16.bb5
-rw-r--r--meta-oe/recipes-kernel/bpftool/bpftool/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch69
-rw-r--r--meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.2.bb (renamed from meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.1.bb)2
-rw-r--r--meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_26.33.0420460.bb (renamed from meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_26.26.0404682.bb)2
-rw-r--r--meta-oe/recipes-shells/dash/dash_0.5.13.3.bb (renamed from meta-oe/recipes-shells/dash/dash_0.5.13.2.bb)2
-rw-r--r--meta-oe/recipes-support/fastfetch/fastfetch_2.62.1.bb (renamed from meta-oe/recipes-support/fastfetch/fastfetch_2.61.0.bb)2
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp3_3.25.0.bb (renamed from meta-oe/recipes-support/freerdp/freerdp3_3.24.2.bb)5
-rw-r--r--meta-oe/recipes-support/glaze/glaze_7.6.0.bb (renamed from meta-oe/recipes-support/glaze/glaze_7.3.3.bb)2
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-21.bb (renamed from meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-19.bb)2
-rw-r--r--meta-oe/recipes-support/jsoncons/jsoncons_1.7.0.bb (renamed from meta-oe/recipes-support/jsoncons/jsoncons_1.6.0.bb)2
-rw-r--r--meta-oe/recipes-support/lcms/lcms/CVE-2026-41254_1.patch28
-rw-r--r--meta-oe/recipes-support/lcms/lcms/CVE-2026-41254_2.patch34
-rw-r--r--meta-oe/recipes-support/lcms/lcms_2.19.bb (renamed from meta-oe/recipes-support/lcms/lcms_2.18.bb)7
-rw-r--r--meta-oe/recipes-support/libfido2/libfido2_1.17.0.bb (renamed from meta-oe/recipes-support/libfido2/libfido2_1.16.0.bb)4
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_2.2.4.bb6
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.bb4
-rw-r--r--meta-oe/recipes-support/md4c/md4c_0.5.3.bb (renamed from meta-oe/recipes-support/md4c/md4c_0.5.2.bb)4
-rw-r--r--meta-oe/recipes-support/nss/nss_3.123.1.bb (renamed from meta-oe/recipes-support/nss/nss_3.122.bb)2
-rw-r--r--meta-oe/recipes-support/uriparser/uriparser_1.0.1.bb (renamed from meta-oe/recipes-support/uriparser/uriparser_1.0.0.bb)2
-rw-r--r--meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.2.8.bb (renamed from meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.2.6.bb)2
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3_2.50.6.bb4
-rw-r--r--meta-python/recipes-devtools/python/python3-aspectlib/0001-python3-aspectlib-backport-fix-for-selftest.patch37
-rw-r--r--meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-asyncinotify_4.4.4.bb (renamed from meta-python/recipes-devtools/python/python3-asyncinotify_4.4.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-bumble_0.0.228.bb (renamed from meta-python/recipes-devtools/python/python3-bumble_0.0.226.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-cmake_4.3.2.bb (renamed from meta-python/recipes-devtools/python/python3-cmake_4.3.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-cmd2_3.5.1.bb (renamed from meta-python/recipes-devtools/python/python3-cmd2_3.4.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-cyclonedx-python-lib_11.7.0.bb19
-rw-r--r--meta-python/recipes-devtools/python/python3-faker_40.15.0.bb (renamed from meta-python/recipes-devtools/python/python3-faker_40.13.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-fastapi_0.136.1.bb (renamed from meta-python/recipes-devtools/python/python3-fastapi_0.135.3.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-filelock_3.29.0.bb (renamed from meta-python/recipes-devtools/python/python3-filelock_3.25.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-marshmallow_1.5.0.bb (renamed from meta-python/recipes-devtools/python/python3-flask-marshmallow_1.4.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-flask-wtf_1.3.0.bb (renamed from meta-python/recipes-devtools/python/python3-flask-wtf_1.2.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-greenlet_3.5.0.bb (renamed from meta-python/recipes-devtools/python/python3-greenlet_3.4.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-identify_2.6.19.bb (renamed from meta-python/recipes-devtools/python/python3-identify_2.6.18.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.7.bb (renamed from meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-ipython_9.13.0.bb (renamed from meta-python/recipes-devtools/python/python3-ipython_9.12.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-moteus_0.3.101.bb (renamed from meta-python/recipes-devtools/python/python3-moteus_0.3.100.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-packageurl-python_0.17.6.bb12
-rw-r--r--meta-python/recipes-devtools/python/python3-pre-commit_4.6.0.bb (renamed from meta-python/recipes-devtools/python/python3-pre-commit_4.5.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-py-serializable_2.1.0.bb14
-rw-r--r--meta-python/recipes-devtools/python/python3-pymisp_2.5.33.2.bb (renamed from meta-python/recipes-devtools/python/python3-pymisp_2.5.33.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pymongo_4.17.0.bb (renamed from meta-python/recipes-devtools/python/python3-pymongo_4.16.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb (renamed from meta-python/recipes-devtools/python/python3-pyroute2_0.9.5.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-codspeed_4.4.0.bb (renamed from meta-python/recipes-devtools/python/python3-pytest-codspeed_4.3.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-python-multipart_0.0.27.bb (renamed from meta-python/recipes-devtools/python/python3-python-multipart_0.0.26.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-sentry-sdk_2.58.0.bb (renamed from meta-python/recipes-devtools/python/python3-sentry-sdk_2.57.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-simplejson_4.1.1.bb (renamed from meta-python/recipes-devtools/python/python3-simplejson_3.20.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-tox_4.53.0.bb (renamed from meta-python/recipes-devtools/python/python3-tox_4.52.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-typer_0.25.0.bb (renamed from meta-python/recipes-devtools/python/python3-typer_0.24.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-tzdata_2026.2.bb (renamed from meta-python/recipes-devtools/python/python3-tzdata_2026.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-virtualenv_21.3.0.bb (renamed from meta-python/recipes-devtools/python/python3-virtualenv_21.2.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-xxhash_3.7.0.bb (renamed from meta-python/recipes-devtools/python/python3-xxhash_3.6.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-zopeinterface_8.4.bb (renamed from meta-python/recipes-devtools/python/python3-zopeinterface_8.3.bb)2
-rw-r--r--meta-python/recipes-extended/python-blivet/python3-blivet_3.13.2.bb2
-rw-r--r--meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.5.bb (renamed from meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.2.bb)2
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2_2.4.67.bb (renamed from meta-webserver/recipes-httpd/apache2/apache2_2.4.66.bb)2
-rw-r--r--meta-webserver/recipes-httpd/nginx/nginx_1.28.3.bb7
-rw-r--r--meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb10
-rw-r--r--meta-webserver/recipes-httpd/nginx/nginx_1.30.0.bb6
-rw-r--r--meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.26.bb (renamed from meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.21.bb)4
-rw-r--r--meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.20.2.bb (renamed from meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.20.1.bb)2
220 files changed, 1230 insertions, 3982 deletions
diff --git a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch
deleted file mode 100644
index 3160f56880..0000000000
--- a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 7b6210c5be46e5120b42c09f910e8f104bf3edf1 Mon Sep 17 00:00:00 2001
2From: Erik Larsson <erik@tuxera.com>
3Date: Tue, 13 Jun 2023 17:47:15 +0300
4Subject: [PATCH] unistr.c: Fix use-after-free in 'ntfs_uppercase_mbs'.
5
6If 'utf8_to_unicode' throws an error due to an invalid UTF-8 sequence,
7then 'n' will be less than 0 and the loop will terminate without storing
8anything in '*t'. After the loop the uppercase string's allocation is
9freed, however after it is freed it is unconditionally accessed through
10'*t', which points into the freed allocation, for the purpose of NULL-
11terminating the string. This leads to a use-after-free.
12Fixed by only NULL-terminating the string when no error has been thrown.
13
14Thanks for Jeffrey Bencteux for reporting this issue:
15https://github.com/tuxera/ntfs-3g/issues/84
16
17Upstream-Status: Backport [https://github.com/tuxera/ntfs-3g/commit/75dcdc2cf37478fad6c0e3427403d198b554951d]
18CVE: CVE-2023-52890
19Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
20
21---
22 libntfs-3g/unistr.c | 3 ++-
23 1 file changed, 2 insertions(+), 1 deletion(-)
24
25diff --git a/libntfs-3g/unistr.c b/libntfs-3g/unistr.c
26index 5854b3b..db8ddf4 100644
27--- a/libntfs-3g/unistr.c
28+++ b/libntfs-3g/unistr.c
29@@ -1189,8 +1189,9 @@ char *ntfs_uppercase_mbs(const char *low,
30 free(upp);
31 upp = (char*)NULL;
32 errno = EILSEQ;
33+ } else {
34+ *t = 0;
35 }
36- *t = 0;
37 }
38 return (upp);
39 }
40--
412.34.1
42
diff --git a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2026.2.25.bb
index 3a7dd783b9..b3193d27b3 100644
--- a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb
+++ b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2026.2.25.bb
@@ -8,9 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
8 8
9SRC_URI = "git://github.com/tuxera/ntfs-3g;protocol=https;branch=edge;tag=${PV} \ 9SRC_URI = "git://github.com/tuxera/ntfs-3g;protocol=https;branch=edge;tag=${PV} \
10 file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \ 10 file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \
11 file://0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch \ 11 "
12" 12SRCREV = "d1cb9e825d059ef5db0ccd30d5bce202edbd69dc"
13SRCREV = "78414d93613532fd82f3a82aba5d4a1c32898781"
14 13
15UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" 14UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
16 15
diff --git a/meta-gnome/recipes-gnome/eog/eog_49.3.bb b/meta-gnome/recipes-gnome/eog/eog_49.3.bb
index d67c3733af..eee6c14459 100644
--- a/meta-gnome/recipes-gnome/eog/eog_49.3.bb
+++ b/meta-gnome/recipes-gnome/eog/eog_49.3.bb
@@ -1,4 +1,6 @@
1SUMMARY = "This is the Eye of GNOME, an image viewer program." 1SUMMARY = "This is the Eye of GNOME, an image viewer program."
2HOMEPAGE = "https://gitlab.gnome.org/GNOME/eog"
3
2LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4 6
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.7.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.8.bb
index 3f668fe410..e8b1bd6d0c 100644
--- a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.7.bb
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.8.bb
@@ -34,7 +34,7 @@ GIR_MESON_OPTION = ""
34REQUIRED_DISTRO_FEATURES += "gobject-introspection-data" 34REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
35 35
36SRC_URI += "file://0001-shell-app-usage.c-only-include-x11-headers-if-HAVE_X.patch" 36SRC_URI += "file://0001-shell-app-usage.c-only-include-x11-headers-if-HAVE_X.patch"
37SRC_URI[archive.sha256sum] = "2dff328d5f7e29f8c897bc21caac7d2d443be3c63ae84d7623dec800f23493c3" 37SRC_URI[archive.sha256sum] = "cb9b7d86cf362530e648e68caaf109a32af4e832874a26791ca8789773efd233"
38 38
39PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 39PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
40PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth" 40PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth"
diff --git a/meta-gnome/recipes-gnome/tracker/localsearch_3.11.0.bb b/meta-gnome/recipes-gnome/tracker/localsearch_3.11.1.bb
index d49482cfec..48d5e6b39f 100644
--- a/meta-gnome/recipes-gnome/tracker/localsearch_3.11.0.bb
+++ b/meta-gnome/recipes-gnome/tracker/localsearch_3.11.1.bb
@@ -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] = "c6774761a8b9f4a06f6812f1c8078bee2e937d65e376c3d2338b78993e5f4666" 21SRC_URI[archive.sha256sum] = "7b39a6c28a8acf2b172f15b2fb5ee7c7a3764c447c2f4a14caa239b7ebe61942"
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"
diff --git a/meta-gnome/recipes-gnome/tracker/tinysparql_3.11.0.bb b/meta-gnome/recipes-gnome/tracker/tinysparql_3.11.1.bb
index 522cfb3d23..5ddc309293 100644
--- a/meta-gnome/recipes-gnome/tracker/tinysparql_3.11.0.bb
+++ b/meta-gnome/recipes-gnome/tracker/tinysparql_3.11.1.bb
@@ -20,7 +20,7 @@ inherit gettext gnomebase gobject-introspection vala gi-docgen bash-completion
20 20
21SRC_URI += "file://0001-fix-reproducibility.patch" 21SRC_URI += "file://0001-fix-reproducibility.patch"
22SRC_URI += "file://0001-src-libtracker-sparql-meson.build-dont-create-compat.patch" 22SRC_URI += "file://0001-src-libtracker-sparql-meson.build-dont-create-compat.patch"
23SRC_URI[archive.sha256sum] = "011e758a53f31112a8c45700fd6039ae55617f0dac70119d9eddafc03cf68fe5" 23SRC_URI[archive.sha256sum] = "cfd46021ee1514ad435e714f7aa1ec7a787c7f516a94f4c7438897ee3d6eca1e"
24 24
25# 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
26# PACKAGECONFIG[fts5] set (default) 26# PACKAGECONFIG[fts5] set (default)
diff --git a/meta-gnome/recipes-support/appstream-glib/appstream-glib_0.8.2.bb b/meta-gnome/recipes-support/appstream-glib/appstream-glib_0.8.3.bb
index efb85d77c5..399d9813af 100644
--- a/meta-gnome/recipes-support/appstream-glib/appstream-glib_0.8.2.bb
+++ b/meta-gnome/recipes-support/appstream-glib/appstream-glib_0.8.3.bb
@@ -20,7 +20,7 @@ DEPENDS = " \
20inherit meson gobject-introspection gettext bash-completion pkgconfig manpages 20inherit meson gobject-introspection gettext bash-completion pkgconfig manpages
21 21
22SRC_URI = "https://people.freedesktop.org/~hughsient/${BPN}/releases/${BP}.tar.xz" 22SRC_URI = "https://people.freedesktop.org/~hughsient/${BPN}/releases/${BP}.tar.xz"
23SRC_URI[sha256sum] = "71256500add5048d6f08878904708b3d0c3875f402e0adcd358e91d47dcd8b96" 23SRC_URI[sha256sum] = "84754064c560fca6e1ab151dc64354fc235a5798f016b91b38c9617253a8cf11"
24 24
25EXTRA_OEMESON = " \ 25EXTRA_OEMESON = " \
26 -Drpm=false \ 26 -Drpm=false \
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_110.bb b/meta-initramfs/recipes-devtools/dracut/dracut_111.bb
index d5ca94add8..8b88e441b8 100644
--- a/meta-initramfs/recipes-devtools/dracut/dracut_110.bb
+++ b/meta-initramfs/recipes-devtools/dracut/dracut_111.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7 7
8PE = "1" 8PE = "1"
9 9
10SRCREV = "25bf13842a5c55f4a5ab1523e005b3b11b9ac38e" 10SRCREV = "b3b4f7ef914b84964a56500cfec83f21dc513e6a"
11SRC_URI = "git://github.com/dracut-ng/dracut-ng.git;protocol=http;branch=main;tag=${PV}" 11SRC_URI = "git://github.com/dracut-ng/dracut-ng.git;protocol=http;branch=main;tag=${PV}"
12 12
13DEPENDS += "kmod" 13DEPENDS += "kmod"
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
index 26a07688e9..26a07688e9 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-make-Add-compiler-includes-in-cflags.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0001-make-Add-compiler-includes-in-cflags.patch
index d58cdfd5c4..d58cdfd5c4 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-make-Add-compiler-includes-in-cflags.patch
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0001-make-Add-compiler-includes-in-cflags.patch
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0003-Makefile.am-only-build-ubi-utils.patch
index de36c3c8d9..de36c3c8d9 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0003-Makefile.am-only-build-ubi-utils.patch
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch
index 2844a5020c..2844a5020c 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.1/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.3.0.bb b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.3.1.bb
index 3fcda333c9..564463462e 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.3.0.bb
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.3.1.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
9 9
10inherit autotools pkgconfig klibc 10inherit autotools pkgconfig klibc
11 11
12SRCREV = "4594fc1f4496a0ed55cabd31fbeba4e3fbf05602" 12SRCREV = "053ee1038e5dedae61a88cadfb7bdfe9894d8bb6"
13SRC_URI = "git://git.infraroot.at/mtd-utils.git;protocol=https;branch=master \ 13SRC_URI = "git://git.infraroot.at/mtd-utils.git;protocol=https;branch=master;tag=v${PV} \
14 file://0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch \ 14 file://0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch \
15 file://0003-Makefile.am-only-build-ubi-utils.patch \ 15 file://0003-Makefile.am-only-build-ubi-utils.patch \
16 file://0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch \ 16 file://0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch \
diff --git a/meta-multimedia/recipes-multimedia/libavif/libavif_1.4.1.bb b/meta-multimedia/recipes-multimedia/libavif/libavif_1.4.1.bb
index 77b81fffbf..0fc0b0dfc8 100644
--- a/meta-multimedia/recipes-multimedia/libavif/libavif_1.4.1.bb
+++ b/meta-multimedia/recipes-multimedia/libavif/libavif_1.4.1.bb
@@ -19,7 +19,6 @@ inherit cmake pkgconfig
19 19
20EXTRA_OECMAKE += " \ 20EXTRA_OECMAKE += " \
21 -DAVIF_BUILD_MAN_PAGES=OFF \ 21 -DAVIF_BUILD_MAN_PAGES=OFF \
22 -DAVIF_CODEC_RAV1E=OFF \
23 -DAVIF_LIBYUV=LOCAL \ 22 -DAVIF_LIBYUV=LOCAL \
24" 23"
25 24
@@ -28,6 +27,7 @@ PACKAGECONFIG[apps] = "-DAVIF_BUILD_APPS=ON -DAVIF_LIBXML2=SYSTEM,-DAVIF_BUILD_A
28PACKAGECONFIG[gdk-pixbuf] = "-DAVIF_BUILD_GDK_PIXBUF=ON,-DAVIF_BUILD_GDK_PIXBUF=OFF,gdk-pixbuf" 27PACKAGECONFIG[gdk-pixbuf] = "-DAVIF_BUILD_GDK_PIXBUF=ON,-DAVIF_BUILD_GDK_PIXBUF=OFF,gdk-pixbuf"
29PACKAGECONFIG[aom] = "-DAVIF_CODEC_AOM=SYSTEM,-DAVIF_CODEC_AOM=OFF,aom" 28PACKAGECONFIG[aom] = "-DAVIF_CODEC_AOM=SYSTEM,-DAVIF_CODEC_AOM=OFF,aom"
30PACKAGECONFIG[dav1d] = "-DAVIF_CODEC_DAV1D=SYSTEM,-DAVIF_CODEC_DAV1D=OFF,dav1d" 29PACKAGECONFIG[dav1d] = "-DAVIF_CODEC_DAV1D=SYSTEM,-DAVIF_CODEC_DAV1D=OFF,dav1d"
30PACKAGECONFIG[rav1e] = "-DAVIF_CODEC_RAV1E=SYSTEM,-DAVIF_CODEC_RAV1E=OFF,librav1e"
31PACKAGECONFIG[svt] = "-DAVIF_CODEC_SVT=SYSTEM,-DAVIF_CODEC_SVT=OFF,svt-av1" 31PACKAGECONFIG[svt] = "-DAVIF_CODEC_SVT=SYSTEM,-DAVIF_CODEC_SVT=OFF,svt-av1"
32 32
33FILES:${PN} += "${libdir}/gdk-pixbuf-2.0 ${datadir}" 33FILES:${PN} += "${libdir}/gdk-pixbuf-2.0 ${datadir}"
diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch b/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch
deleted file mode 100644
index 25d88cfff4..0000000000
--- a/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch
+++ /dev/null
@@ -1,68 +0,0 @@
1From 0c68347365ec4c0bd3f84e1d2f9f51eb3c2405c8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 24 Oct 2025 11:10:59 -0700
4Subject: [PATCH] libcamera: Do not assume libc++ with clang
5
6Clang on linux can be defaulting to use libstdc++, it
7should be using default platform C++ runtime library which the
8toolchain should be configured to do the right thing
9
10Add logic in meson file to detect C++ runtime used by toolchain
11and defile -stdlib= parameter accordingly
12
13Upstream-Status: Submitted [https://lists.libcamera.org/pipermail/libcamera-devel/2025-October/054151.html]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 meson.build | 32 +++++++++++++++++++++-----------
17 1 file changed, 21 insertions(+), 11 deletions(-)
18
19diff --git a/meson.build b/meson.build
20index fa6487f6..89294936 100644
21--- a/meson.build
22+++ b/meson.build
23@@ -118,7 +118,24 @@ cpp_arguments = [
24 '-Wnon-virtual-dtor',
25 ]
26
27-cxx_stdlib = 'libstdc++'
28+# Try to detect libc++
29+libcxx_ver = cxx.get_define('_LIBCPP_VERSION',
30+ prefix: '#include <vector>\n')
31+
32+# Try to detect libstdc++
33+glibcxx_ver = cxx.get_define('__GLIBCXX__',
34+ prefix: '#include <vector>\n')
35+
36+stdlib_msg = 'unknown'
37+
38+if libcxx_ver != ''
39+ cxx_stdlib = 'libc++'
40+elif glibcxx_ver != ''
41+ # __GLIBCXX__ is usually a yyyymmdd date code
42+ cxx_stdlib = 'libstdc++'
43+endif
44+
45+message('Detected C++ standard library: ' + cxx_stdlib)
46
47 if cc.get_id() == 'clang'
48 if cc.version().version_compare('<9')
49@@ -138,16 +155,9 @@ if cc.get_id() == 'clang'
50 ]
51 endif
52 endif
53-
54- # Use libc++ by default if available instead of libstdc++ when compiling
55- # with clang.
56- if cc.find_library('c++', required : false).found()
57- cpp_arguments += [
58- '-stdlib=libc++',
59- ]
60- cxx_stdlib = 'libc++'
61- endif
62-
63+ cpp_arguments += [
64+ '-stdlib=' + cxx_stdlib,
65+ ]
66 cpp_arguments += [
67 '-Wextra-semi',
68 '-Wthread-safety',
diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb
index 4dce26a5d0..74cb910417 100644
--- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb
+++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb
@@ -11,29 +11,42 @@ LIC_FILES_CHKSUM = "\
11 11
12SRC_URI = " \ 12SRC_URI = " \
13 git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v${PV} \ 13 git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v${PV} \
14 file://0001-libcamera-Do-not-assume-libc-with-clang.patch \
15" 14"
16 15
17SRCREV = "3c17d1fbb2bd93f221afee788ebf0d7394032e4d" 16SRCREV = "183e37362f57ff3ce7493abf0bc6f1b57b931f55"
18 17
19PE = "1" 18PE = "1"
20 19
21DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml" 20DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml"
22DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" 21DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}"
23 22
24PACKAGES =+ "${PN}-gst ${PN}-pycamera" 23PACKAGES =+ "${PN}-compliance ${PN}-gst ${PN}-pycamera"
25 24
26PACKAGECONFIG ??= "" 25PACKAGECONFIG ??= " \
27PACKAGECONFIG[dng] = ",,tiff" 26 ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \
27"
28
29PACKAGECONFIG[dng] = "-Dapps-output-dng=enabled,-Dapps-output-dng=disabled,tiff"
30PACKAGECONFIG[dw] = "-Dlibdw=enabled,-Dlibdw=disabled,elfutils,libdw"
31PACKAGECONFIG[compliance] = "-Dlc-compliance=enabled,-Dlc-compliance=disabled,gtest"
28PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" 32PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base"
29PACKAGECONFIG[pycamera] = "-Dpycamera=enabled,-Dpycamera=disabled,python3 python3-pybind11" 33PACKAGECONFIG[jpeg] = "-Dcam-jpeg=enabled,-Dcam-jpeg=disabled,libjpeg-turbo"
34PACKAGECONFIG[kms] = "-Dcam-output-kms=enabled,-Dcam-output-kms=disabled,libdrm"
35PACKAGECONFIG[opengl] = "-Dsoftisp-gpu=enabled,-Dsoftisp-gpu=disabled,virtual/libgl virtual/egl"
36PACKAGECONFIG[python] = "-Dpycamera=enabled,-Dpycamera=disabled,python3-pybind11"
30PACKAGECONFIG[raspberrypi] = ",,libpisp" 37PACKAGECONFIG[raspberrypi] = ",,libpisp"
38PACKAGECONFIG[sdl] = "-Dcam-output-sdl2=enabled,-Dcam-output-sdl2=disabled,virtual/libsdl2"
39PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
40PACKAGECONFIG[vimc] = ",,"
41PACKAGECONFIG[virtual] = ",,libyuv libjpeg-turbo"
31 42
43ARM_PIPELINES = "imx8-isi,mali-c55,simple,uvcvideo"
32# Raspberry Pi requires the meta-raspberrypi layer 44# Raspberry Pi requires the meta-raspberrypi layer
33# These values are coming from the project's meson.build file, 45# These values are coming from the project's meson.build file,
34# which lists the supported values by arch. 46# which lists the supported values by arch.
35ARM_PIPELINES = "${@bb.utils.contains('PACKAGECONFIG', 'raspberrypi', 'rpi/pisp,rpi/vc4,', '', d)}" 47ARM_PIPELINES .= "${@bb.utils.contains('PACKAGECONFIG', 'raspberrypi', ',rpi/pisp,rpi/vc4', '', d)}"
36ARM_PIPELINES .= "imx8-isi,mali-c55,simple,uvcvideo" 48ARM_PIPELINES .= "${@bb.utils.contains('PACKAGECONFIG', 'vimc', ',vimc', '', d)}"
49ARM_PIPELINES .= "${@bb.utils.contains('PACKAGECONFIG', 'virtual', ',virtual', '', d)}"
37 50
38LIBCAMERA_PIPELINES ??= "auto" 51LIBCAMERA_PIPELINES ??= "auto"
39LIBCAMERA_PIPELINES:arm ??= "${ARM_PIPELINES}" 52LIBCAMERA_PIPELINES:arm ??= "${ARM_PIPELINES}"
@@ -41,11 +54,11 @@ LIBCAMERA_PIPELINES:aarch64 ??= "${ARM_PIPELINES}"
41 54
42EXTRA_OEMESON = " \ 55EXTRA_OEMESON = " \
43 -Dpipelines=${LIBCAMERA_PIPELINES} \ 56 -Dpipelines=${LIBCAMERA_PIPELINES} \
44 -Dv4l2=true \ 57 -Dv4l2=enabled \
45 -Dcam=enabled \ 58 -Dcam=enabled \
46 -Dlc-compliance=disabled \
47 -Dtest=false \ 59 -Dtest=false \
48 -Ddocumentation=disabled \ 60 -Ddocumentation=disabled \
61 -Drpi-awb-nn=disabled \
49" 62"
50 63
51RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland qt', 'qtwayland', '', d)}" 64RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland qt', 'qtwayland', '', d)}"
@@ -78,6 +91,7 @@ do_package_recalculate_ipa_signatures() {
78} 91}
79 92
80FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" 93FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so"
94FILES:${PN}-compliance = "${bindir}/lc-compliance"
81FILES:${PN}-gst = "${libdir}/gstreamer-1.0" 95FILES:${PN}-gst = "${libdir}/gstreamer-1.0"
82FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera" 96FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera"
83 97
diff --git a/meta-multimedia/recipes-multimedia/libyuv/libyuv.bb b/meta-multimedia/recipes-multimedia/libyuv/libyuv.bb
new file mode 100644
index 0000000000..bc897830a7
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/libyuv/libyuv.bb
@@ -0,0 +1,20 @@
1SUMMARY = "libyuv is an open source project that includes YUV scaling and conversion functionality"
2HOMEPAGE = "https://chromium.googlesource.com/libyuv/libyuv"
3SECTION = "libs"
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=464282cfb405b005b9637f11103a7325"
6
7SRC_URI = "git://chromium.googlesource.com/libyuv/libyuv;protocol=https;branch=main"
8SRCREV = "5a17753597d77dee881d9d93097ca2c2079e9409"
9PV = "0.1+git"
10
11inherit cmake
12
13PACKAGECONFIG ??= "jpeg"
14PACKAGECONFIG[jpeg] = ",,libjpeg-turbo"
15
16EXTRA_OECMAKE += "-DUNIT_TEST=OFF"
17
18# QA Issue: -dev package libyuv-dev contains non-symlink .so '/usr/lib/libyuv.so' [dev-elf]
19SOLIBS = ".so"
20FILES_SOLIBSDEV = ""
diff --git a/meta-multimedia/recipes-multimedia/rav1e/librav1e-crates.inc b/meta-multimedia/recipes-multimedia/rav1e/librav1e-crates.inc
new file mode 100644
index 0000000000..3aa7f5bbe8
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/rav1e/librav1e-crates.inc
@@ -0,0 +1,546 @@
1# Autogenerated with 'bitbake -c update_crates rav1e'
2
3# from Cargo.lock
4SRC_URI += " \
5 crate://crates.io/addr2line/0.24.2 \
6 crate://crates.io/adler2/2.0.1 \
7 crate://crates.io/aho-corasick/1.1.3 \
8 crate://crates.io/aligned/0.4.2 \
9 crate://crates.io/aligned-vec/0.6.4 \
10 crate://crates.io/anes/0.1.6 \
11 crate://crates.io/anstream/0.6.19 \
12 crate://crates.io/anstyle/1.0.11 \
13 crate://crates.io/anstyle-parse/0.2.7 \
14 crate://crates.io/anstyle-query/1.1.3 \
15 crate://crates.io/anstyle-wincon/3.0.9 \
16 crate://crates.io/anyhow/1.0.98 \
17 crate://crates.io/aom-sys/0.3.3 \
18 crate://crates.io/arbitrary/1.4.1 \
19 crate://crates.io/arg_enum_proc_macro/0.3.4 \
20 crate://crates.io/arrayvec/0.7.6 \
21 crate://crates.io/as-slice/0.2.1 \
22 crate://crates.io/assert_cmd/2.0.17 \
23 crate://crates.io/autocfg/1.4.0 \
24 crate://crates.io/av-metrics/0.9.1 \
25 crate://crates.io/av-scenechange/0.14.1 \
26 crate://crates.io/av1-grain/0.2.4 \
27 crate://crates.io/backtrace/0.3.75 \
28 crate://crates.io/bindgen/0.69.5 \
29 crate://crates.io/bitflags/1.3.2 \
30 crate://crates.io/bitflags/2.9.1 \
31 crate://crates.io/bitstream-io/4.2.0 \
32 crate://crates.io/bstr/1.12.0 \
33 crate://crates.io/built/0.8.0 \
34 crate://crates.io/bumpalo/3.18.1 \
35 crate://crates.io/bytemuck/1.23.1 \
36 crate://crates.io/byteorder/1.5.0 \
37 crate://crates.io/byteorder-lite/0.1.0 \
38 crate://crates.io/cast/0.3.0 \
39 crate://crates.io/cc/1.2.26 \
40 crate://crates.io/cexpr/0.6.0 \
41 crate://crates.io/cfg-expr/0.15.8 \
42 crate://crates.io/cfg-if/1.0.1 \
43 crate://crates.io/ciborium/0.2.2 \
44 crate://crates.io/ciborium-io/0.2.2 \
45 crate://crates.io/ciborium-ll/0.2.2 \
46 crate://crates.io/clang-sys/1.8.1 \
47 crate://crates.io/clap/4.5.40 \
48 crate://crates.io/clap_builder/4.5.40 \
49 crate://crates.io/clap_complete/4.5.54 \
50 crate://crates.io/clap_derive/4.5.40 \
51 crate://crates.io/clap_lex/0.7.5 \
52 crate://crates.io/colorchoice/1.0.4 \
53 crate://crates.io/console/0.15.11 \
54 crate://crates.io/core2/0.4.0 \
55 crate://crates.io/crc32fast/1.4.2 \
56 crate://crates.io/criterion/0.6.0 \
57 crate://crates.io/criterion-plot/0.5.0 \
58 crate://crates.io/crossbeam/0.8.4 \
59 crate://crates.io/crossbeam-channel/0.5.15 \
60 crate://crates.io/crossbeam-deque/0.8.6 \
61 crate://crates.io/crossbeam-epoch/0.9.18 \
62 crate://crates.io/crossbeam-queue/0.3.12 \
63 crate://crates.io/crossbeam-utils/0.8.21 \
64 crate://crates.io/crunchy/0.2.3 \
65 crate://crates.io/diff/0.1.13 \
66 crate://crates.io/difflib/0.4.0 \
67 crate://crates.io/displaydoc/0.2.5 \
68 crate://crates.io/doc-comment/0.3.3 \
69 crate://crates.io/either/1.15.0 \
70 crate://crates.io/encode_unicode/1.0.0 \
71 crate://crates.io/env_logger/0.8.4 \
72 crate://crates.io/equator/0.4.2 \
73 crate://crates.io/equator-macro/0.4.2 \
74 crate://crates.io/equivalent/1.0.2 \
75 crate://crates.io/errno/0.3.12 \
76 crate://crates.io/fdeflate/0.3.7 \
77 crate://crates.io/fern/0.7.1 \
78 crate://crates.io/flate2/1.1.2 \
79 crate://crates.io/form_urlencoded/1.2.1 \
80 crate://crates.io/getrandom/0.2.16 \
81 crate://crates.io/getrandom/0.3.3 \
82 crate://crates.io/gimli/0.31.1 \
83 crate://crates.io/git2/0.20.2 \
84 crate://crates.io/glob/0.3.2 \
85 crate://crates.io/half/2.6.0 \
86 crate://crates.io/hashbrown/0.15.4 \
87 crate://crates.io/heck/0.5.0 \
88 crate://crates.io/home/0.5.11 \
89 crate://crates.io/icu_collections/2.0.0 \
90 crate://crates.io/icu_locale_core/2.0.0 \
91 crate://crates.io/icu_normalizer/2.0.0 \
92 crate://crates.io/icu_normalizer_data/2.0.0 \
93 crate://crates.io/icu_properties/2.0.1 \
94 crate://crates.io/icu_properties_data/2.0.1 \
95 crate://crates.io/icu_provider/2.0.0 \
96 crate://crates.io/idna/1.0.3 \
97 crate://crates.io/idna_adapter/1.2.1 \
98 crate://crates.io/image/0.25.6 \
99 crate://crates.io/indexmap/2.9.0 \
100 crate://crates.io/interpolate_name/0.2.4 \
101 crate://crates.io/is_terminal_polyfill/1.70.1 \
102 crate://crates.io/itertools/0.10.5 \
103 crate://crates.io/itertools/0.12.1 \
104 crate://crates.io/itertools/0.13.0 \
105 crate://crates.io/itertools/0.14.0 \
106 crate://crates.io/itoa/1.0.15 \
107 crate://crates.io/jobserver/0.1.33 \
108 crate://crates.io/js-sys/0.3.77 \
109 crate://crates.io/lab/0.11.0 \
110 crate://crates.io/lazy_static/1.5.0 \
111 crate://crates.io/lazycell/1.3.0 \
112 crate://crates.io/libc/0.2.172 \
113 crate://crates.io/libdav1d-sys/0.7.1+libdav1d.1.4.3 \
114 crate://crates.io/libfuzzer-sys/0.4.9 \
115 crate://crates.io/libgit2-sys/0.18.1+1.9.0 \
116 crate://crates.io/libloading/0.8.8 \
117 crate://crates.io/libz-sys/1.1.22 \
118 crate://crates.io/linux-raw-sys/0.4.15 \
119 crate://crates.io/linux-raw-sys/0.9.4 \
120 crate://crates.io/litemap/0.8.0 \
121 crate://crates.io/log/0.4.27 \
122 crate://crates.io/maybe-rayon/0.1.1 \
123 crate://crates.io/memchr/2.7.5 \
124 crate://crates.io/minimal-lexical/0.2.1 \
125 crate://crates.io/miniz_oxide/0.8.9 \
126 crate://crates.io/nasm-rs/0.3.0 \
127 crate://crates.io/new_debug_unreachable/1.0.6 \
128 crate://crates.io/nom/7.1.3 \
129 crate://crates.io/nom/8.0.0 \
130 crate://crates.io/noop_proc_macro/0.3.0 \
131 crate://crates.io/nu-ansi-term/0.46.0 \
132 crate://crates.io/num-bigint/0.4.6 \
133 crate://crates.io/num-derive/0.4.2 \
134 crate://crates.io/num-integer/0.1.46 \
135 crate://crates.io/num-rational/0.4.2 \
136 crate://crates.io/num-traits/0.2.19 \
137 crate://crates.io/object/0.36.7 \
138 crate://crates.io/once_cell/1.21.3 \
139 crate://crates.io/once_cell_polyfill/1.70.1 \
140 crate://crates.io/oorandom/11.1.5 \
141 crate://crates.io/overload/0.1.1 \
142 crate://crates.io/pastey/0.1.0 \
143 crate://crates.io/percent-encoding/2.3.1 \
144 crate://crates.io/pin-project-lite/0.2.16 \
145 crate://crates.io/pkg-config/0.3.32 \
146 crate://crates.io/plotters/0.3.7 \
147 crate://crates.io/plotters-backend/0.3.7 \
148 crate://crates.io/plotters-svg/0.3.7 \
149 crate://crates.io/png/0.17.16 \
150 crate://crates.io/potential_utf/0.1.2 \
151 crate://crates.io/ppv-lite86/0.2.21 \
152 crate://crates.io/predicates/3.1.3 \
153 crate://crates.io/predicates-core/1.0.9 \
154 crate://crates.io/predicates-tree/1.0.12 \
155 crate://crates.io/pretty_assertions/1.4.1 \
156 crate://crates.io/prettyplease/0.2.33 \
157 crate://crates.io/proc-macro2/1.0.95 \
158 crate://crates.io/profiling/1.0.16 \
159 crate://crates.io/profiling-procmacros/1.0.16 \
160 crate://crates.io/quickcheck/1.0.3 \
161 crate://crates.io/quote/1.0.40 \
162 crate://crates.io/r-efi/5.2.0 \
163 crate://crates.io/rand/0.8.5 \
164 crate://crates.io/rand/0.9.1 \
165 crate://crates.io/rand_chacha/0.9.0 \
166 crate://crates.io/rand_core/0.6.4 \
167 crate://crates.io/rand_core/0.9.3 \
168 crate://crates.io/rayon/1.10.0 \
169 crate://crates.io/rayon-core/1.12.1 \
170 crate://crates.io/regex/1.11.1 \
171 crate://crates.io/regex-automata/0.4.9 \
172 crate://crates.io/regex-syntax/0.8.5 \
173 crate://crates.io/rustc-demangle/0.1.25 \
174 crate://crates.io/rustc-hash/1.1.0 \
175 crate://crates.io/rustix/0.38.44 \
176 crate://crates.io/rustix/1.0.7 \
177 crate://crates.io/rustversion/1.0.21 \
178 crate://crates.io/ryu/1.0.20 \
179 crate://crates.io/same-file/1.0.6 \
180 crate://crates.io/scan_fmt/0.2.6 \
181 crate://crates.io/semver/1.0.26 \
182 crate://crates.io/serde/1.0.219 \
183 crate://crates.io/serde-big-array/0.5.1 \
184 crate://crates.io/serde_derive/1.0.219 \
185 crate://crates.io/serde_json/1.0.140 \
186 crate://crates.io/serde_spanned/0.6.9 \
187 crate://crates.io/sharded-slab/0.1.7 \
188 crate://crates.io/shlex/1.3.0 \
189 crate://crates.io/signal-hook/0.3.18 \
190 crate://crates.io/signal-hook-registry/1.4.5 \
191 crate://crates.io/simd-adler32/0.3.7 \
192 crate://crates.io/simd_helpers/0.1.0 \
193 crate://crates.io/smallvec/1.15.1 \
194 crate://crates.io/stable_deref_trait/1.2.0 \
195 crate://crates.io/syn/2.0.102 \
196 crate://crates.io/synstructure/0.13.2 \
197 crate://crates.io/system-deps/6.2.2 \
198 crate://crates.io/target-lexicon/0.12.16 \
199 crate://crates.io/terminal_size/0.4.2 \
200 crate://crates.io/termtree/0.5.1 \
201 crate://crates.io/thiserror/1.0.69 \
202 crate://crates.io/thiserror/2.0.12 \
203 crate://crates.io/thiserror-impl/1.0.69 \
204 crate://crates.io/thiserror-impl/2.0.12 \
205 crate://crates.io/thread_local/1.1.8 \
206 crate://crates.io/tinystr/0.8.1 \
207 crate://crates.io/tinytemplate/1.2.1 \
208 crate://crates.io/toml/0.8.23 \
209 crate://crates.io/toml_datetime/0.6.11 \
210 crate://crates.io/toml_edit/0.22.27 \
211 crate://crates.io/toml_write/0.1.2 \
212 crate://crates.io/tracing/0.1.41 \
213 crate://crates.io/tracing-attributes/0.1.29 \
214 crate://crates.io/tracing-chrome/0.7.2 \
215 crate://crates.io/tracing-core/0.1.34 \
216 crate://crates.io/tracing-log/0.2.0 \
217 crate://crates.io/tracing-subscriber/0.3.19 \
218 crate://crates.io/unicode-ident/1.0.18 \
219 crate://crates.io/unicode-width/0.2.1 \
220 crate://crates.io/url/2.5.4 \
221 crate://crates.io/utf8_iter/1.0.4 \
222 crate://crates.io/utf8parse/0.2.2 \
223 crate://crates.io/v_frame/0.3.9 \
224 crate://crates.io/valuable/0.1.1 \
225 crate://crates.io/vcpkg/0.2.15 \
226 crate://crates.io/version-compare/0.2.0 \
227 crate://crates.io/wait-timeout/0.2.1 \
228 crate://crates.io/walkdir/2.5.0 \
229 crate://crates.io/wasi/0.11.1+wasi-snapshot-preview1 \
230 crate://crates.io/wasi/0.14.2+wasi-0.2.4 \
231 crate://crates.io/wasm-bindgen/0.2.100 \
232 crate://crates.io/wasm-bindgen-backend/0.2.100 \
233 crate://crates.io/wasm-bindgen-macro/0.2.100 \
234 crate://crates.io/wasm-bindgen-macro-support/0.2.100 \
235 crate://crates.io/wasm-bindgen-shared/0.2.100 \
236 crate://crates.io/web-sys/0.3.77 \
237 crate://crates.io/which/4.4.2 \
238 crate://crates.io/winapi/0.3.9 \
239 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
240 crate://crates.io/winapi-util/0.1.9 \
241 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
242 crate://crates.io/windows-sys/0.59.0 \
243 crate://crates.io/windows-targets/0.52.6 \
244 crate://crates.io/windows-targets/0.53.0 \
245 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
246 crate://crates.io/windows_aarch64_gnullvm/0.53.0 \
247 crate://crates.io/windows_aarch64_msvc/0.52.6 \
248 crate://crates.io/windows_aarch64_msvc/0.53.0 \
249 crate://crates.io/windows_i686_gnu/0.52.6 \
250 crate://crates.io/windows_i686_gnu/0.53.0 \
251 crate://crates.io/windows_i686_gnullvm/0.52.6 \
252 crate://crates.io/windows_i686_gnullvm/0.53.0 \
253 crate://crates.io/windows_i686_msvc/0.52.6 \
254 crate://crates.io/windows_i686_msvc/0.53.0 \
255 crate://crates.io/windows_x86_64_gnu/0.52.6 \
256 crate://crates.io/windows_x86_64_gnu/0.53.0 \
257 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
258 crate://crates.io/windows_x86_64_gnullvm/0.53.0 \
259 crate://crates.io/windows_x86_64_msvc/0.52.6 \
260 crate://crates.io/windows_x86_64_msvc/0.53.0 \
261 crate://crates.io/winnow/0.7.11 \
262 crate://crates.io/wit-bindgen-rt/0.39.0 \
263 crate://crates.io/writeable/0.6.1 \
264 crate://crates.io/y4m/0.8.0 \
265 crate://crates.io/yansi/1.0.1 \
266 crate://crates.io/yoke/0.8.0 \
267 crate://crates.io/yoke-derive/0.8.0 \
268 crate://crates.io/zerocopy/0.8.25 \
269 crate://crates.io/zerocopy-derive/0.8.25 \
270 crate://crates.io/zerofrom/0.1.6 \
271 crate://crates.io/zerofrom-derive/0.1.6 \
272 crate://crates.io/zerotrie/0.2.2 \
273 crate://crates.io/zerovec/0.11.2 \
274 crate://crates.io/zerovec-derive/0.11.1 \
275"
276
277SRC_URI[addr2line-0.24.2.sha256sum] = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
278SRC_URI[adler2-2.0.1.sha256sum] = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
279SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
280SRC_URI[aligned-0.4.2.sha256sum] = "377e4c0ba83e4431b10df45c1d4666f178ea9c552cac93e60c3a88bf32785923"
281SRC_URI[aligned-vec-0.6.4.sha256sum] = "dc890384c8602f339876ded803c97ad529f3842aba97f6392b3dba0dd171769b"
282SRC_URI[anes-0.1.6.sha256sum] = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
283SRC_URI[anstream-0.6.19.sha256sum] = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933"
284SRC_URI[anstyle-1.0.11.sha256sum] = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd"
285SRC_URI[anstyle-parse-0.2.7.sha256sum] = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
286SRC_URI[anstyle-query-1.1.3.sha256sum] = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9"
287SRC_URI[anstyle-wincon-3.0.9.sha256sum] = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882"
288SRC_URI[anyhow-1.0.98.sha256sum] = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
289SRC_URI[aom-sys-0.3.3.sha256sum] = "623675d7dbe1d65db81582231b0971384277a4dd2006763021ba2436e86f812d"
290SRC_URI[arbitrary-1.4.1.sha256sum] = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
291SRC_URI[arg_enum_proc_macro-0.3.4.sha256sum] = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea"
292SRC_URI[arrayvec-0.7.6.sha256sum] = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
293SRC_URI[as-slice-0.2.1.sha256sum] = "516b6b4f0e40d50dcda9365d53964ec74560ad4284da2e7fc97122cd83174516"
294SRC_URI[assert_cmd-2.0.17.sha256sum] = "2bd389a4b2970a01282ee455294913c0a43724daedcd1a24c3eb0ec1c1320b66"
295SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
296SRC_URI[av-metrics-0.9.1.sha256sum] = "996ce95bbdb0203e5b91d4a0c9b81c0d67d11c80f884482a0c1ea19e732e3530"
297SRC_URI[av-scenechange-0.14.1.sha256sum] = "0f321d77c20e19b92c39e7471cf986812cbb46659d2af674adc4331ef3f18394"
298SRC_URI[av1-grain-0.2.4.sha256sum] = "4f3efb2ca85bc610acfa917b5aaa36f3fcbebed5b3182d7f877b02531c4b80c8"
299SRC_URI[backtrace-0.3.75.sha256sum] = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002"
300SRC_URI[bindgen-0.69.5.sha256sum] = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088"
301SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
302SRC_URI[bitflags-2.9.1.sha256sum] = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
303SRC_URI[bitstream-io-4.2.0.sha256sum] = "6afa0fc725d5ac9efc66f47b4c533ee850eb34aa6105681b5349c27157346ffa"
304SRC_URI[bstr-1.12.0.sha256sum] = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4"
305SRC_URI[built-0.8.0.sha256sum] = "f4ad8f11f288f48ca24471bbd51ac257aaeaaa07adae295591266b792902ae64"
306SRC_URI[bumpalo-3.18.1.sha256sum] = "793db76d6187cd04dff33004d8e6c9cc4e05cd330500379d2394209271b4aeee"
307SRC_URI[bytemuck-1.23.1.sha256sum] = "5c76a5792e44e4abe34d3abf15636779261d45a7450612059293d1d2cfc63422"
308SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
309SRC_URI[byteorder-lite-0.1.0.sha256sum] = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495"
310SRC_URI[cast-0.3.0.sha256sum] = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
311SRC_URI[cc-1.2.26.sha256sum] = "956a5e21988b87f372569b66183b78babf23ebc2e744b733e4350a752c4dafac"
312SRC_URI[cexpr-0.6.0.sha256sum] = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
313SRC_URI[cfg-expr-0.15.8.sha256sum] = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02"
314SRC_URI[cfg-if-1.0.1.sha256sum] = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
315SRC_URI[ciborium-0.2.2.sha256sum] = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e"
316SRC_URI[ciborium-io-0.2.2.sha256sum] = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757"
317SRC_URI[ciborium-ll-0.2.2.sha256sum] = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
318SRC_URI[clang-sys-1.8.1.sha256sum] = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
319SRC_URI[clap-4.5.40.sha256sum] = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f"
320SRC_URI[clap_builder-4.5.40.sha256sum] = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e"
321SRC_URI[clap_complete-4.5.54.sha256sum] = "aad5b1b4de04fead402672b48897030eec1f3bfe1550776322f59f6d6e6a5677"
322SRC_URI[clap_derive-4.5.40.sha256sum] = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce"
323SRC_URI[clap_lex-0.7.5.sha256sum] = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675"
324SRC_URI[colorchoice-1.0.4.sha256sum] = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
325SRC_URI[console-0.15.11.sha256sum] = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8"
326SRC_URI[core2-0.4.0.sha256sum] = "b49ba7ef1ad6107f8824dbe97de947cbaac53c44e7f9756a1fba0d37c1eec505"
327SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
328SRC_URI[criterion-0.6.0.sha256sum] = "3bf7af66b0989381bd0be551bd7cc91912a655a58c6918420c9527b1fd8b4679"
329SRC_URI[criterion-plot-0.5.0.sha256sum] = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
330SRC_URI[crossbeam-0.8.4.sha256sum] = "1137cd7e7fc0fb5d3c5a8678be38ec56e819125d8d7907411fe24ccb943faca8"
331SRC_URI[crossbeam-channel-0.5.15.sha256sum] = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
332SRC_URI[crossbeam-deque-0.8.6.sha256sum] = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
333SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
334SRC_URI[crossbeam-queue-0.3.12.sha256sum] = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115"
335SRC_URI[crossbeam-utils-0.8.21.sha256sum] = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
336SRC_URI[crunchy-0.2.3.sha256sum] = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929"
337SRC_URI[diff-0.1.13.sha256sum] = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
338SRC_URI[difflib-0.4.0.sha256sum] = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
339SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
340SRC_URI[doc-comment-0.3.3.sha256sum] = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
341SRC_URI[either-1.15.0.sha256sum] = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
342SRC_URI[encode_unicode-1.0.0.sha256sum] = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
343SRC_URI[env_logger-0.8.4.sha256sum] = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
344SRC_URI[equator-0.4.2.sha256sum] = "4711b213838dfee0117e3be6ac926007d7f433d7bbe33595975d4190cb07e6fc"
345SRC_URI[equator-macro-0.4.2.sha256sum] = "44f23cf4b44bfce11a86ace86f8a73ffdec849c9fd00a386a53d278bd9e81fb3"
346SRC_URI[equivalent-1.0.2.sha256sum] = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
347SRC_URI[errno-0.3.12.sha256sum] = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18"
348SRC_URI[fdeflate-0.3.7.sha256sum] = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c"
349SRC_URI[fern-0.7.1.sha256sum] = "4316185f709b23713e41e3195f90edef7fb00c3ed4adc79769cf09cc762a3b29"
350SRC_URI[flate2-1.1.2.sha256sum] = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d"
351SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
352SRC_URI[getrandom-0.2.16.sha256sum] = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
353SRC_URI[getrandom-0.3.3.sha256sum] = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
354SRC_URI[gimli-0.31.1.sha256sum] = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
355SRC_URI[git2-0.20.2.sha256sum] = "2deb07a133b1520dc1a5690e9bd08950108873d7ed5de38dcc74d3b5ebffa110"
356SRC_URI[glob-0.3.2.sha256sum] = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
357SRC_URI[half-2.6.0.sha256sum] = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9"
358SRC_URI[hashbrown-0.15.4.sha256sum] = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5"
359SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
360SRC_URI[home-0.5.11.sha256sum] = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
361SRC_URI[icu_collections-2.0.0.sha256sum] = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47"
362SRC_URI[icu_locale_core-2.0.0.sha256sum] = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a"
363SRC_URI[icu_normalizer-2.0.0.sha256sum] = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979"
364SRC_URI[icu_normalizer_data-2.0.0.sha256sum] = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3"
365SRC_URI[icu_properties-2.0.1.sha256sum] = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b"
366SRC_URI[icu_properties_data-2.0.1.sha256sum] = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632"
367SRC_URI[icu_provider-2.0.0.sha256sum] = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af"
368SRC_URI[idna-1.0.3.sha256sum] = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
369SRC_URI[idna_adapter-1.2.1.sha256sum] = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
370SRC_URI[image-0.25.6.sha256sum] = "db35664ce6b9810857a38a906215e75a9c879f0696556a39f59c62829710251a"
371SRC_URI[indexmap-2.9.0.sha256sum] = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e"
372SRC_URI[interpolate_name-0.2.4.sha256sum] = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60"
373SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
374SRC_URI[itertools-0.10.5.sha256sum] = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
375SRC_URI[itertools-0.12.1.sha256sum] = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
376SRC_URI[itertools-0.13.0.sha256sum] = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
377SRC_URI[itertools-0.14.0.sha256sum] = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
378SRC_URI[itoa-1.0.15.sha256sum] = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
379SRC_URI[jobserver-0.1.33.sha256sum] = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a"
380SRC_URI[js-sys-0.3.77.sha256sum] = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
381SRC_URI[lab-0.11.0.sha256sum] = "bf36173d4167ed999940f804952e6b08197cae5ad5d572eb4db150ce8ad5d58f"
382SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
383SRC_URI[lazycell-1.3.0.sha256sum] = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
384SRC_URI[libc-0.2.172.sha256sum] = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
385SRC_URI[libdav1d-sys-0.7.1+libdav1d.1.4.3.sha256sum] = "3d875e9669d116a603412a126de599b7bf47789a365b79fcf461fbf9c18d141f"
386SRC_URI[libfuzzer-sys-0.4.9.sha256sum] = "cf78f52d400cf2d84a3a973a78a592b4adc535739e0a5597a0da6f0c357adc75"
387SRC_URI[libgit2-sys-0.18.1+1.9.0.sha256sum] = "e1dcb20f84ffcdd825c7a311ae347cce604a6f084a767dec4a4929829645290e"
388SRC_URI[libloading-0.8.8.sha256sum] = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
389SRC_URI[libz-sys-1.1.22.sha256sum] = "8b70e7a7df205e92a1a4cd9aaae7898dac0aa555503cc0a649494d0d60e7651d"
390SRC_URI[linux-raw-sys-0.4.15.sha256sum] = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
391SRC_URI[linux-raw-sys-0.9.4.sha256sum] = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
392SRC_URI[litemap-0.8.0.sha256sum] = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
393SRC_URI[log-0.4.27.sha256sum] = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
394SRC_URI[maybe-rayon-0.1.1.sha256sum] = "8ea1f30cedd69f0a2954655f7188c6a834246d2bcf1e315e2ac40c4b24dc9519"
395SRC_URI[memchr-2.7.5.sha256sum] = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
396SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
397SRC_URI[miniz_oxide-0.8.9.sha256sum] = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
398SRC_URI[nasm-rs-0.3.0.sha256sum] = "12fcfa1bd49e0342ec1d07ed2be83b59963e7acbeb9310e1bb2c07b69dadd959"
399SRC_URI[new_debug_unreachable-1.0.6.sha256sum] = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
400SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
401SRC_URI[nom-8.0.0.sha256sum] = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
402SRC_URI[noop_proc_macro-0.3.0.sha256sum] = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8"
403SRC_URI[nu-ansi-term-0.46.0.sha256sum] = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
404SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
405SRC_URI[num-derive-0.4.2.sha256sum] = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
406SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
407SRC_URI[num-rational-0.4.2.sha256sum] = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
408SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
409SRC_URI[object-0.36.7.sha256sum] = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
410SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
411SRC_URI[once_cell_polyfill-1.70.1.sha256sum] = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
412SRC_URI[oorandom-11.1.5.sha256sum] = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
413SRC_URI[overload-0.1.1.sha256sum] = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
414SRC_URI[pastey-0.1.0.sha256sum] = "b3a8cb46bdc156b1c90460339ae6bfd45ba0394e5effbaa640badb4987fdc261"
415SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
416SRC_URI[pin-project-lite-0.2.16.sha256sum] = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
417SRC_URI[pkg-config-0.3.32.sha256sum] = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
418SRC_URI[plotters-0.3.7.sha256sum] = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
419SRC_URI[plotters-backend-0.3.7.sha256sum] = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
420SRC_URI[plotters-svg-0.3.7.sha256sum] = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670"
421SRC_URI[png-0.17.16.sha256sum] = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526"
422SRC_URI[potential_utf-0.1.2.sha256sum] = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585"
423SRC_URI[ppv-lite86-0.2.21.sha256sum] = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
424SRC_URI[predicates-3.1.3.sha256sum] = "a5d19ee57562043d37e82899fade9a22ebab7be9cef5026b07fda9cdd4293573"
425SRC_URI[predicates-core-1.0.9.sha256sum] = "727e462b119fe9c93fd0eb1429a5f7647394014cf3c04ab2c0350eeb09095ffa"
426SRC_URI[predicates-tree-1.0.12.sha256sum] = "72dd2d6d381dfb73a193c7fca536518d7caee39fc8503f74e7dc0be0531b425c"
427SRC_URI[pretty_assertions-1.4.1.sha256sum] = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d"
428SRC_URI[prettyplease-0.2.33.sha256sum] = "9dee91521343f4c5c6a63edd65e54f31f5c92fe8978c40a4282f8372194c6a7d"
429SRC_URI[proc-macro2-1.0.95.sha256sum] = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
430SRC_URI[profiling-1.0.16.sha256sum] = "afbdc74edc00b6f6a218ca6a5364d6226a259d4b8ea1af4a0ea063f27e179f4d"
431SRC_URI[profiling-procmacros-1.0.16.sha256sum] = "a65f2e60fbf1063868558d69c6beacf412dc755f9fc020f514b7955fc914fe30"
432SRC_URI[quickcheck-1.0.3.sha256sum] = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6"
433SRC_URI[quote-1.0.40.sha256sum] = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
434SRC_URI[r-efi-5.2.0.sha256sum] = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
435SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
436SRC_URI[rand-0.9.1.sha256sum] = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
437SRC_URI[rand_chacha-0.9.0.sha256sum] = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
438SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
439SRC_URI[rand_core-0.9.3.sha256sum] = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
440SRC_URI[rayon-1.10.0.sha256sum] = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
441SRC_URI[rayon-core-1.12.1.sha256sum] = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
442SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
443SRC_URI[regex-automata-0.4.9.sha256sum] = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
444SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
445SRC_URI[rustc-demangle-0.1.25.sha256sum] = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f"
446SRC_URI[rustc-hash-1.1.0.sha256sum] = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
447SRC_URI[rustix-0.38.44.sha256sum] = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
448SRC_URI[rustix-1.0.7.sha256sum] = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266"
449SRC_URI[rustversion-1.0.21.sha256sum] = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
450SRC_URI[ryu-1.0.20.sha256sum] = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
451SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
452SRC_URI[scan_fmt-0.2.6.sha256sum] = "0b53b0a5db882a8e2fdaae0a43f7b39e7e9082389e978398bdf223a55b581248"
453SRC_URI[semver-1.0.26.sha256sum] = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
454SRC_URI[serde-1.0.219.sha256sum] = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
455SRC_URI[serde-big-array-0.5.1.sha256sum] = "11fc7cc2c76d73e0f27ee52abbd64eec84d46f370c88371120433196934e4b7f"
456SRC_URI[serde_derive-1.0.219.sha256sum] = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
457SRC_URI[serde_json-1.0.140.sha256sum] = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
458SRC_URI[serde_spanned-0.6.9.sha256sum] = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3"
459SRC_URI[sharded-slab-0.1.7.sha256sum] = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
460SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
461SRC_URI[signal-hook-0.3.18.sha256sum] = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2"
462SRC_URI[signal-hook-registry-1.4.5.sha256sum] = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410"
463SRC_URI[simd-adler32-0.3.7.sha256sum] = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
464SRC_URI[simd_helpers-0.1.0.sha256sum] = "95890f873bec569a0362c235787f3aca6e1e887302ba4840839bcc6459c42da6"
465SRC_URI[smallvec-1.15.1.sha256sum] = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
466SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
467SRC_URI[syn-2.0.102.sha256sum] = "f6397daf94fa90f058bd0fd88429dd9e5738999cca8d701813c80723add80462"
468SRC_URI[synstructure-0.13.2.sha256sum] = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
469SRC_URI[system-deps-6.2.2.sha256sum] = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349"
470SRC_URI[target-lexicon-0.12.16.sha256sum] = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
471SRC_URI[terminal_size-0.4.2.sha256sum] = "45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed"
472SRC_URI[termtree-0.5.1.sha256sum] = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683"
473SRC_URI[thiserror-1.0.69.sha256sum] = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
474SRC_URI[thiserror-2.0.12.sha256sum] = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
475SRC_URI[thiserror-impl-1.0.69.sha256sum] = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
476SRC_URI[thiserror-impl-2.0.12.sha256sum] = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
477SRC_URI[thread_local-1.1.8.sha256sum] = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
478SRC_URI[tinystr-0.8.1.sha256sum] = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b"
479SRC_URI[tinytemplate-1.2.1.sha256sum] = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
480SRC_URI[toml-0.8.23.sha256sum] = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362"
481SRC_URI[toml_datetime-0.6.11.sha256sum] = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c"
482SRC_URI[toml_edit-0.22.27.sha256sum] = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a"
483SRC_URI[toml_write-0.1.2.sha256sum] = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801"
484SRC_URI[tracing-0.1.41.sha256sum] = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
485SRC_URI[tracing-attributes-0.1.29.sha256sum] = "1b1ffbcf9c6f6b99d386e7444eb608ba646ae452a36b39737deb9663b610f662"
486SRC_URI[tracing-chrome-0.7.2.sha256sum] = "bf0a738ed5d6450a9fb96e86a23ad808de2b727fd1394585da5cdd6788ffe724"
487SRC_URI[tracing-core-0.1.34.sha256sum] = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
488SRC_URI[tracing-log-0.2.0.sha256sum] = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
489SRC_URI[tracing-subscriber-0.3.19.sha256sum] = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008"
490SRC_URI[unicode-ident-1.0.18.sha256sum] = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
491SRC_URI[unicode-width-0.2.1.sha256sum] = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c"
492SRC_URI[url-2.5.4.sha256sum] = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
493SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
494SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
495SRC_URI[v_frame-0.3.9.sha256sum] = "666b7727c8875d6ab5db9533418d7c764233ac9c0cff1d469aec8fa127597be2"
496SRC_URI[valuable-0.1.1.sha256sum] = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
497SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
498SRC_URI[version-compare-0.2.0.sha256sum] = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b"
499SRC_URI[wait-timeout-0.2.1.sha256sum] = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11"
500SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
501SRC_URI[wasi-0.11.1+wasi-snapshot-preview1.sha256sum] = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
502SRC_URI[wasi-0.14.2+wasi-0.2.4.sha256sum] = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
503SRC_URI[wasm-bindgen-0.2.100.sha256sum] = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
504SRC_URI[wasm-bindgen-backend-0.2.100.sha256sum] = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
505SRC_URI[wasm-bindgen-macro-0.2.100.sha256sum] = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
506SRC_URI[wasm-bindgen-macro-support-0.2.100.sha256sum] = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
507SRC_URI[wasm-bindgen-shared-0.2.100.sha256sum] = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
508SRC_URI[web-sys-0.3.77.sha256sum] = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
509SRC_URI[which-4.4.2.sha256sum] = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
510SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
511SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
512SRC_URI[winapi-util-0.1.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
513SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
514SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
515SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
516SRC_URI[windows-targets-0.53.0.sha256sum] = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b"
517SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
518SRC_URI[windows_aarch64_gnullvm-0.53.0.sha256sum] = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
519SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
520SRC_URI[windows_aarch64_msvc-0.53.0.sha256sum] = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
521SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
522SRC_URI[windows_i686_gnu-0.53.0.sha256sum] = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
523SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
524SRC_URI[windows_i686_gnullvm-0.53.0.sha256sum] = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
525SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
526SRC_URI[windows_i686_msvc-0.53.0.sha256sum] = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
527SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
528SRC_URI[windows_x86_64_gnu-0.53.0.sha256sum] = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
529SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
530SRC_URI[windows_x86_64_gnullvm-0.53.0.sha256sum] = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
531SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
532SRC_URI[windows_x86_64_msvc-0.53.0.sha256sum] = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
533SRC_URI[winnow-0.7.11.sha256sum] = "74c7b26e3480b707944fc872477815d29a8e429d2f93a1ce000f5fa84a15cbcd"
534SRC_URI[wit-bindgen-rt-0.39.0.sha256sum] = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
535SRC_URI[writeable-0.6.1.sha256sum] = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb"
536SRC_URI[y4m-0.8.0.sha256sum] = "7a5a4b21e1a62b67a2970e6831bc091d7b87e119e7f9791aef9702e3bef04448"
537SRC_URI[yansi-1.0.1.sha256sum] = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
538SRC_URI[yoke-0.8.0.sha256sum] = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc"
539SRC_URI[yoke-derive-0.8.0.sha256sum] = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6"
540SRC_URI[zerocopy-0.8.25.sha256sum] = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb"
541SRC_URI[zerocopy-derive-0.8.25.sha256sum] = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef"
542SRC_URI[zerofrom-0.1.6.sha256sum] = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
543SRC_URI[zerofrom-derive-0.1.6.sha256sum] = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
544SRC_URI[zerotrie-0.2.2.sha256sum] = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595"
545SRC_URI[zerovec-0.11.2.sha256sum] = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
546SRC_URI[zerovec-derive-0.11.1.sha256sum] = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f"
diff --git a/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb b/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb
new file mode 100644
index 0000000000..836cd4448f
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb
@@ -0,0 +1,15 @@
1SUMMARY = "The fastest and safest AV1 encoder"
2HOMEPAGE = "https://github.com/xiph/rav1e"
3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=6a960f542b01a3e538903e87236b3668"
5
6inherit cargo_c pkgconfig cargo-update-recipe-crates
7
8require ${PN}-crates.inc
9
10DEPENDS += "nasm-native"
11
12SRC_URI += "git://github.com/xiph/rav1e.git;protocol=https;nobranch=1;tag=${PV}"
13SRCREV = "a2f01b3e233f531c28a20b4c29fb5c9e5d29fa6d"
14
15INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
diff --git a/meta-multimedia/recipes-multimedia/svt-av1/svt-av1_4.1.0.bb b/meta-multimedia/recipes-multimedia/svt-av1/svt-av1_4.1.0.bb
new file mode 100644
index 0000000000..8321d01057
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/svt-av1/svt-av1_4.1.0.bb
@@ -0,0 +1,14 @@
1SUMMARY = "Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)"
2HOMEPAGE = "https://gitlab.com/AOMediaCodec/SVT-AV1"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=87a85a33479e0270481b17d657c1949f"
5
6inherit cmake
7
8DEPENDS = "nasm-native"
9
10SRC_URI = "git://gitlab.com/AOMediaCodec/SVT-AV1.git;protocol=https;nobranch=1;tag=v${PV}"
11SRCREV = "c04f951541ad600e0d9c10836f2ab7b9bc69816d"
12
13INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
14
diff --git a/meta-networking/recipes-connectivity/cloudflared/cloudflared_2026.3.0.bb b/meta-networking/recipes-connectivity/cloudflared/cloudflared_2026.3.0.bb
new file mode 100644
index 0000000000..f0b8530a69
--- /dev/null
+++ b/meta-networking/recipes-connectivity/cloudflared/cloudflared_2026.3.0.bb
@@ -0,0 +1,36 @@
1SUMMARY = "Cloudflare Tunnel client"
2DESCRIPTION = "cloudflared is the command-line client for Cloudflare Tunnel, \
3a tunneling daemon that proxies traffic from the Cloudflare network to your origins."
4HOMEPAGE = "https://github.com/cloudflare/cloudflared"
5SECTION = "networking"
6
7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=175792518e4ac015ab6696d16c4f607e"
9
10SRC_URI = "git://github.com/cloudflare/cloudflared.git;protocol=https;branch=master;destsuffix=${GO_SRCURI_DESTSUFFIX} \
11 file://cloudflared.service \
12 file://default \
13 "
14SRCREV = "d2a87e9b93456ad7f82417400f4209d513668487"
15
16GO_IMPORT = "github.com/cloudflare/cloudflared"
17GO_INSTALL = "${GO_IMPORT}/cmd/cloudflared"
18GO_LINKSHARED = ""
19SRCREV_SHORT = "${@d.getVar('SRCREV')[:8]}"
20GO_EXTRA_LDFLAGS = "-X main.Version=${PV}-${SRCREV_SHORT}"
21
22inherit go-mod systemd
23
24SYSTEMD_SERVICE:${PN} = "cloudflared.service"
25
26do_install:append() {
27 install -d ${D}${systemd_system_unitdir}
28 install -m 0644 ${UNPACKDIR}/cloudflared.service ${D}${systemd_system_unitdir}/cloudflared.service
29 install -d ${D}${sysconfdir}/default
30 install -m 0644 ${UNPACKDIR}/default ${D}${sysconfdir}/default/cloudflared
31}
32
33FILES:${PN}-src += "${libdir}/go/src"
34
35# Fix shebang and QA Issue with scripts with /bin/bash and /usr/bin/python3
36INSANE_SKIP:${PN}-dev = "file-rdeps"
diff --git a/meta-networking/recipes-connectivity/cloudflared/files/cloudflared.service b/meta-networking/recipes-connectivity/cloudflared/files/cloudflared.service
new file mode 100644
index 0000000000..decaf0e329
--- /dev/null
+++ b/meta-networking/recipes-connectivity/cloudflared/files/cloudflared.service
@@ -0,0 +1,15 @@
1[Unit]
2Description=cloudflared
3After=network-online.target
4Wants=network-online.target
5
6[Service]
7Type=notify
8DynamicUser=yes
9EnvironmentFile=/etc/default/cloudflared
10ExecStart=/usr/bin/cloudflared --no-autoupdate tunnel run --token ${TUNNEL_TOKEN}
11Restart=on-failure
12RestartSec=5s
13
14[Install]
15WantedBy=multi-user.target
diff --git a/meta-networking/recipes-connectivity/cloudflared/files/default b/meta-networking/recipes-connectivity/cloudflared/files/default
new file mode 100644
index 0000000000..1e00173af6
--- /dev/null
+++ b/meta-networking/recipes-connectivity/cloudflared/files/default
@@ -0,0 +1,2 @@
1# Cloudflare Tunnel token from the dashboard
2TUNNEL_TOKEN=
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.56.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.56.0.bb
index 2cc0b76676..138d7118eb 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.56.0.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.56.0.bb
@@ -76,7 +76,7 @@ PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli \
76 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \ 76 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
77 ${@bb.utils.filter('DISTRO_FEATURES', 'wifi polkit ppp', d)} \ 77 ${@bb.utils.filter('DISTRO_FEATURES', 'wifi polkit ppp', d)} \
78 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \ 78 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \
79 ${@bb.utils.contains('DISTRO_FEATURES_OPTED_OUT', 'gobject-introspection-data', '', 'vala', d)} \ 79 ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'vala', '', d)} \
80" 80"
81 81
82inherit ${@bb.utils.contains('PACKAGECONFIG', 'vala', 'vala', '', d)} 82inherit ${@bb.utils.contains('PACKAGECONFIG', 'vala', 'vala', '', d)}
diff --git a/meta-networking/recipes-daemons/postfix/files/0001-Fix-build-with-musl.patch b/meta-networking/recipes-daemons/postfix/files/0001-Fix-build-with-musl.patch
new file mode 100644
index 0000000000..d09418eaac
--- /dev/null
+++ b/meta-networking/recipes-daemons/postfix/files/0001-Fix-build-with-musl.patch
@@ -0,0 +1,50 @@
1From cbe5ba0deeba6329eed63eade06bb8c062d0d445 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Fri, 8 May 2026 22:39:54 +0800
4Subject: [PATCH] Fix build with musl
5
6Guard glibc-specific version check with __GLIBC__ macro. When building
7with musl, __GLIBC__ is not defined, so the preprocessor previously fell
8through to the #else branch and defined NO_SNPRINTF, causing a build
9error:
10
11vbuf_print.c: In function 'vbuf_print':
12vbuf_print.c:208:46: error: macro 'VBUF_SNPRINTF' passed 5 arguments, but takes just 4
13 208 | VSTRING_ADDNUM(fmt, width);
14 | ^
15vbuf_print.c:126:9: note: macro 'VBUF_SNPRINTF' defined here
16 126 | #define VBUF_SNPRINTF(bp, sz, fmt, arg) do { \
17 | ^~~~~~~~~~~~~
18
19Wrap the entire block in #ifdef __GLIBC__ so that neither branch
20is entered on musl.
21
22Upstream-Status: Pending
23
24Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
25---
26 src/util/sys_defs.h | 2 ++
27 1 file changed, 2 insertions(+)
28
29diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h
30index 74319f2..6d3c7d2 100644
31--- a/src/util/sys_defs.h
32+++ b/src/util/sys_defs.h
33@@ -794,12 +794,14 @@ extern int initgroups(const char *, int);
34 #define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
35 #define NATIVE_COMMAND_DIR "/usr/sbin"
36 #define NATIVE_DAEMON_DIR "/usr/libexec/postfix"
37+#ifdef __GLIBC__
38 #if HAVE_GLIBC_API_VERSION_SUPPORT(2, 1)
39 #define SOCKADDR_SIZE socklen_t
40 #define SOCKOPT_SIZE socklen_t
41 #else
42 #define NO_SNPRINTF
43 #endif
44+#endif
45 #ifndef NO_IPV6
46 #define HAS_IPV6
47 #if HAVE_GLIBC_API_VERSION_SUPPORT(2, 4)
48--
492.34.1
50
diff --git a/meta-networking/recipes-daemons/postfix/files/0001-makedefs-Account-for-linux-7.x-version.patch b/meta-networking/recipes-daemons/postfix/files/0001-makedefs-Account-for-linux-7.x-version.patch
new file mode 100644
index 0000000000..4bc59ace7d
--- /dev/null
+++ b/meta-networking/recipes-daemons/postfix/files/0001-makedefs-Account-for-linux-7.x-version.patch
@@ -0,0 +1,47 @@
1From 5466d510dfbc2b7a81dcf766f83d2c89066c0446 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 11 May 2026 18:16:07 +0000
4Subject: [PATCH] makedefs: Account for linux 7.x version
5
6Major version has bumped to 7, update the scripts
7
8Upstream-Status: Backport [The latest stable version 3.11 already fixed]
9
10Refer:
11https://www.ftp.saix.net/MTA/postfix/index.html
12
13Signed-off-by: Changqing Li <changqing.li@windriver.com>
14---
15 makedefs | 2 +-
16 src/util/sys_defs.h | 2 +-
17 2 files changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/makedefs b/makedefs
20index 74b103d..fe8c618 100644
21--- a/makedefs
22+++ b/makedefs
23@@ -625,7 +625,7 @@ EOF
24 : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
25 : ${PLUGIN_LD="${CC-gcc} -shared"}
26 ;;
27- Linux.[3456].*)
28+ Linux.[34567].*)
29 SYSTYPE=LINUX$RELEASE_MAJOR
30 case "$CCARGS" in
31 *-DNO_DB*) ;;
32diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h
33index 70aab23..c5472eb 100644
34--- a/src/util/sys_defs.h
35+++ b/src/util/sys_defs.h
36@@ -763,7 +763,7 @@ extern int initgroups(const char *, int);
37 * LINUX.
38 */
39 #if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) \
40- || defined(LINUX6)
41+ || defined(LINUX6) || defined(LINUX7)
42 #define SUPPORTED
43 #define UINT32_TYPE unsigned int
44 #define UINT16_TYPE unsigned short
45--
462.53.0
47
diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.10.8.bb b/meta-networking/recipes-daemons/postfix/postfix_3.10.9.bb
index a66ecc0b5d..633e4a7a0d 100644
--- a/meta-networking/recipes-daemons/postfix/postfix_3.10.8.bb
+++ b/meta-networking/recipes-daemons/postfix/postfix_3.10.9.bb
@@ -26,9 +26,11 @@ SRC_URI = "http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P
26 file://0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ 26 file://0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch \
27 file://0004-Fix-icu-config.patch \ 27 file://0004-Fix-icu-config.patch \
28 file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ 28 file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \
29 file://0001-makedefs-Account-for-linux-7.x-version.patch \
30 file://0001-Fix-build-with-musl.patch \
29 " 31 "
30 32
31SRC_URI[sha256sum] = "31d4b3eb8093d823b5a151f571719ff7c0462571bc95e6440d87ca525bfb096c" 33SRC_URI[sha256sum] = "d4b4daab0af2e0c16c0d2d5ac3c7680d5ebd2001ea054f7f2a601c759801bc13"
32 34
33UPSTREAM_CHECK_URI = "https://www.postfix.org/announcements.html" 35UPSTREAM_CHECK_URI = "https://www.postfix.org/announcements.html"
34UPSTREAM_CHECK_REGEX = "postfix-(?P<pver>\d+(\.\d+)+)" 36UPSTREAM_CHECK_REGEX = "postfix-(?P<pver>\d+(\.\d+)+)"
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.9.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.9a.bb
index d64e0a0495..2e164a574b 100644
--- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.9.bb
+++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.9a.bb
@@ -4,8 +4,8 @@ HOMEPAGE = "http://www.proftpd.org"
4LICENSE = "GPL-2.0-or-later" 4LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=fb0d1484d11915fa88a6a7702f1dc184" 5LIC_FILES_CHKSUM = "file://COPYING;md5=fb0d1484d11915fa88a6a7702f1dc184"
6 6
7SRCREV = "ae25959adb05ae1d6ebfa1f36bf778c9c34e9410" 7SRCREV = "ec8a5544e81df54e202f52f1f70d206439389577"
8BRANCH = "${PV}" 8BRANCH = "1.3.9"
9 9
10SRC_URI = "git://github.com/proftpd/proftpd.git;branch=${BRANCH};protocol=https;tag=v${PV} \ 10SRC_URI = "git://github.com/proftpd/proftpd.git;branch=${BRANCH};protocol=https;tag=v${PV} \
11 file://basic.conf.patch \ 11 file://basic.conf.patch \
diff --git a/meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb b/meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb
index e7279013ed..7ea3eba1b0 100644
--- a/meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb
+++ b/meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb
@@ -64,3 +64,4 @@ FILES:${PN}-bin = "${bindir}"
64FILES:${PN}-dev += "${datadir}/${BPN}/examples" 64FILES:${PN}-dev += "${datadir}/${BPN}/examples"
65 65
66CVE_STATUS[CVE-2025-50518] = "disputed: happens only when library is used incorrectly" 66CVE_STATUS[CVE-2025-50518] = "disputed: happens only when library is used incorrectly"
67CVE_STATUS[CVE-2026-29013] = "fixed-version: fixed in 4.3.5b"
diff --git a/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb b/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb
index d27e60a18d..dbe0e8f9f5 100644
--- a/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb
+++ b/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb
@@ -16,9 +16,9 @@ SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.xz \
16 " 16 "
17SRC_URI[sha256sum] = "372931bda8556b310636a2f9020adc710f9bab66f47efe0ce90bff800ac2530c" 17SRC_URI[sha256sum] = "372931bda8556b310636a2f9020adc710f9bab66f47efe0ce90bff800ac2530c"
18 18
19inherit autotools manpages pkgconfig ptest python3native 19inherit autotools manpages pkgconfig ptest python3native systemd
20 20
21PACKAGECONFIG ?= "python readline json" 21PACKAGECONFIG ?= "python readline json ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
22PACKAGECONFIG[editline] = "--with-cli=editline, , libedit, , , linenoise readline" 22PACKAGECONFIG[editline] = "--with-cli=editline, , libedit, , , linenoise readline"
23PACKAGECONFIG[json] = "--with-json, --without-json, jansson" 23PACKAGECONFIG[json] = "--with-json, --without-json, jansson"
24PACKAGECONFIG[linenoise] = "--with-cli=linenoise, , linenoise, , , editline readline" 24PACKAGECONFIG[linenoise] = "--with-cli=linenoise, , linenoise, , , editline readline"
@@ -27,10 +27,14 @@ PACKAGECONFIG[mini-gmp] = "--with-mini-gmp, --without-mini-gmp"
27PACKAGECONFIG[python] = "" 27PACKAGECONFIG[python] = ""
28PACKAGECONFIG[readline] = "--with-cli=readline, , readline, , , editline linenoise" 28PACKAGECONFIG[readline] = "--with-cli=readline, , readline, , , editline linenoise"
29PACKAGECONFIG[xtables] = "--with-xtables, --without-xtables, iptables" 29PACKAGECONFIG[xtables] = "--with-xtables, --without-xtables, iptables"
30PACKAGECONFIG[systemd] = "--with-unitdir=${systemd_system_unitdir}, --without-unitdir"
30 31
31EXTRA_OECONF = " \ 32EXTRA_OECONF = " \
32 ${@bb.utils.contains_any('PACKAGECONFIG', 'editline linenoise readline', '', '--without-cli', d)}" 33 ${@bb.utils.contains_any('PACKAGECONFIG', 'editline linenoise readline', '', '--without-cli', d)}"
33 34
35SYSTEMD_SERVICE:${PN} = "nftables.service"
36SYSTEMD_AUTO_ENABLE:${PN} = "disable"
37
34PEP517_SOURCE_PATH = "${S}/py" 38PEP517_SOURCE_PATH = "${S}/py"
35 39
36# xtables will need it on musl see iptables 40# xtables will need it on musl see iptables
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0001-mDNSPosix-Rework-mbedtls-for-compatibility-with-mbed.patch b/meta-networking/recipes-protocols/mdns/mdns/0001-mDNSPosix-Rework-mbedtls-for-compatibility-with-mbed.patch
new file mode 100644
index 0000000000..a561fd232f
--- /dev/null
+++ b/meta-networking/recipes-protocols/mdns/mdns/0001-mDNSPosix-Rework-mbedtls-for-compatibility-with-mbed.patch
@@ -0,0 +1,57 @@
1From f4f5039eb90918b5248bd6266afdad0b33b2d010 Mon Sep 17 00:00:00 2001
2From: Alex Kiernan <alex.kiernan@gmail.com>
3Date: Thu, 30 Apr 2026 08:21:19 +0100
4Subject: [PATCH] mDNSPosix: Rework mbedtls for compatibility with mbedtls4
5
6Upstream-Status: Inactive-Upstream [Upstream does not take patches]
7Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
8---
9 mDNSPosix/mbedtls.c | 21 +++++----------------
10 1 file changed, 5 insertions(+), 16 deletions(-)
11
12diff --git a/mDNSPosix/mbedtls.c b/mDNSPosix/mbedtls.c
13index 6726ef9b9145..c4b7fd4edfff 100644
14--- a/mDNSPosix/mbedtls.c
15+++ b/mDNSPosix/mbedtls.c
16@@ -29,14 +29,10 @@
17 #include <errno.h>
18 #include <unistd.h>
19
20+#include <psa/crypto.h>
21+
22 #include <mbedtls/error.h>
23-#include <mbedtls/pk.h>
24-#include <mbedtls/ecp.h>
25-#include <mbedtls/ecdsa.h>
26-#include <mbedtls/entropy.h>
27-#include <mbedtls/ctr_drbg.h>
28-#include <mbedtls/sha256.h>
29-#include <mbedtls/base64.h>
30+#include <mbedtls/psa_util.h>
31
32 #include <mbedtls/x509.h>
33 #include <mbedtls/ssl.h>
34@@ -53,21 +49,14 @@ struct TLSServerContext_struct {
35 mbedtls_ssl_config config;
36 };
37
38-// Context that is shared amongs all TLS connections, regardless of which server cert/key is in use.
39-static mbedtls_entropy_context entropy;
40-static mbedtls_ctr_drbg_context ctr_drbg;
41-
42 mDNSBool
43 mDNSPosixTLSInit(void)
44 {
45 int status;
46
47- mbedtls_entropy_init(&entropy);
48- mbedtls_ctr_drbg_init(&ctr_drbg);
49-
50- status = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, NULL, 0);
51+ status = psa_crypto_init();
52 if (status != 0) {
53- LogRedact(MDNS_LOG_CATEGORY_DEFAULT, MDNS_LOG_ERROR, "Unable to seed RNG: %x", -status);
54+ LogRedact(MDNS_LOG_CATEGORY_DEFAULT, MDNS_LOG_ERROR, "PSA crypto init failed: %x", -status);
55 return mDNSfalse;
56 }
57 return mDNStrue;
diff --git a/meta-networking/recipes-protocols/mdns/mdns_2881.80.4.0.1.bb b/meta-networking/recipes-protocols/mdns/mdns_2881.100.56.0.1.bb
index 48bf3291b6..48e7a8d52d 100644
--- a/meta-networking/recipes-protocols/mdns/mdns_2881.80.4.0.1.bb
+++ b/meta-networking/recipes-protocols/mdns/mdns_2881.100.56.0.1.bb
@@ -15,9 +15,10 @@ SRC_URI = "git://github.com/apple-oss-distributions/mDNSResponder;protocol=https
15 file://0001-Fix-build-with-gcc-15.patch \ 15 file://0001-Fix-build-with-gcc-15.patch \
16 file://mdns.service \ 16 file://mdns.service \
17 file://0007-mDNSShared-Make-Apple-Wireless-Direct-Link-depend-on.patch \ 17 file://0007-mDNSShared-Make-Apple-Wireless-Direct-Link-depend-on.patch \
18 file://0001-mDNSPosix-Rework-mbedtls-for-compatibility-with-mbed.patch \
18 " 19 "
19BRANCH = "rel/mDNSResponder-2881" 20BRANCH = "rel/mDNSResponder-2881"
20SRCREV = "e2a1e56a2f8d29640908c48f4de3f1ba65d1af46" 21SRCREV = "ea3902cfeff86a04b4c684753c80e425edbd1a21"
21 22
22inherit github-releases manpages systemd update-rc.d 23inherit github-releases manpages systemd update-rc.d
23 24
@@ -47,7 +48,8 @@ EXTRA_OEMAKE = "os=linux 'CC=${CCLD}' 'LD=${CCLD}' 'LINKOPTS=${LDFLAGS}' STRIP=:
47 48
48# MDNS_VERSIONSTR_NODTS disables __DATE__ and __TIME__ in the version string, 49# MDNS_VERSIONSTR_NODTS disables __DATE__ and __TIME__ in the version string,
49# which are fixed anyway for build reproducibility. 50# which are fixed anyway for build reproducibility.
50TARGET_CPPFLAGS += "-DMDNS_VERSIONSTR_NODTS" 51TARGET_CPPFLAGS += "-DmDNSResponderVersion=${PV} \
52 -DMDNS_VERSIONSTR_NODTS"
51 53
52TARGET_CC_ARCH += "${LDFLAGS}" 54TARGET_CC_ARCH += "${LDFLAGS}"
53 55
diff --git a/meta-networking/recipes-protocols/opcua/open62541_1.4.16.bb b/meta-networking/recipes-protocols/opcua/open62541_1.5.4.bb
index 32f7148f4b..9a39bb0e4f 100644
--- a/meta-networking/recipes-protocols/opcua/open62541_1.4.16.bb
+++ b/meta-networking/recipes-protocols/opcua/open62541_1.5.4.bb
@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = "\
8" 8"
9 9
10SRCREV_FORMAT = "opcua_mdnsd_ua-nodeset_mqtt-c" 10SRCREV_FORMAT = "opcua_mdnsd_ua-nodeset_mqtt-c"
11SRCREV_opcua = "f63e2a819aff6e468242dc2e54ccbd5b75d63654" 11SRCREV_opcua = "dfd44a234645ed29cc6d190048bc8ae80c5454cd"
12SRCREV_mdnsd = "488d24fb9d427aec77df180268f0291eeee7fb8b" 12SRCREV_mdnsd = "488d24fb9d427aec77df180268f0291eeee7fb8b"
13SRCREV_ua-nodeset = "d1bb6a22125bd7cd986272b1ee98a18a91d76fff" 13SRCREV_ua-nodeset = "257db9ad98ee7ba4b67d3500b54bfc9d744a36af"
14SRCREV_mqtt-c = "0f4c34c8cc00b16cfee094745d68b8cdbaecd8e0" 14SRCREV_mqtt-c = "0f4c34c8cc00b16cfee094745d68b8cdbaecd8e0"
15 15
16SRC_URI = " \ 16SRC_URI = " \
17 git://github.com/open62541/open62541.git;name=opcua;branch=1.4;protocol=https \ 17 git://github.com/open62541/open62541.git;name=opcua;branch=1.5;protocol=https \
18 git://github.com/Pro/mdnsd.git;name=mdnsd;protocol=https;branch=master;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/mdnsd \ 18 git://github.com/Pro/mdnsd.git;name=mdnsd;protocol=https;branch=master;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/mdnsd \
19 git://github.com/OPCFoundation/UA-Nodeset;name=ua-nodeset;protocol=https;branch=latest;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/ua-nodeset \ 19 git://github.com/OPCFoundation/UA-Nodeset;name=ua-nodeset;protocol=https;branch=latest;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/ua-nodeset \
20 git://github.com/LiamBindle/MQTT-C.git;name=mqtt-c;protocol=https;branch=master;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/mqtt-c \ 20 git://github.com/LiamBindle/MQTT-C.git;name=mqtt-c;protocol=https;branch=master;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/mqtt-c \
@@ -59,4 +59,5 @@ do_configure:prepend:toolchain-clang:riscv32() {
59 59
60do_install:append(){ 60do_install:append(){
61 sed -i 's|${RECIPE_SYSROOT}|\$\{CMAKE_SYSROOT\}|g' ${D}${libdir}/cmake/open62541/open62541Targets.cmake 61 sed -i 's|${RECIPE_SYSROOT}|\$\{CMAKE_SYSROOT\}|g' ${D}${libdir}/cmake/open62541/open62541Targets.cmake
62 sed -i -e 's|-l[^ ]*/lib\([^ /]*\)\.so|-l\1|g' ${D}${libdir}/pkgconfig/open62541.pc
62} 63}
diff --git a/meta-networking/recipes-support/mdio-tools/mdio-netlink_1.3.1.bb b/meta-networking/recipes-support/mdio-tools/mdio-netlink_1.3.2.bb
index 52e7e53c32..52e7e53c32 100644
--- a/meta-networking/recipes-support/mdio-tools/mdio-netlink_1.3.1.bb
+++ b/meta-networking/recipes-support/mdio-tools/mdio-netlink_1.3.2.bb
diff --git a/meta-networking/recipes-support/mdio-tools/mdio-tools.inc b/meta-networking/recipes-support/mdio-tools/mdio-tools.inc
index fc8161eb1f..b90f476e89 100644
--- a/meta-networking/recipes-support/mdio-tools/mdio-tools.inc
+++ b/meta-networking/recipes-support/mdio-tools/mdio-tools.inc
@@ -4,5 +4,5 @@ HOMEPAGE = "https://github.com/wkz/mdio-tools"
4LICENSE = "GPL-2.0-or-later" 4LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6 6
7SRC_URI = "git://github.com/wkz/mdio-tools.git;protocol=https;branch=master" 7SRC_URI = "git://github.com/wkz/mdio-tools.git;protocol=https;branch=master;tag=${PV}"
8SRCREV = "f74eaf38dbda441df4fcaeb21ca4465957953a2f" 8SRCREV = "a1fca6b8fb3b5a95ebb28324a95673488dddc005"
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.2.bb
index 2c8f9b8c37..3b4a525da0 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.2.bb
@@ -6,3 +6,4 @@ DEPENDS += "virtual/kernel libmnl"
6inherit pkgconfig autotools 6inherit pkgconfig autotools
7 7
8RRECOMMENDS:${PN} = "kernel-module-mdio-netlink" 8RRECOMMENDS:${PN} = "kernel-module-mdio-netlink"
9
diff --git a/meta-networking/recipes-support/memcached/memcached/memcached-add-hugetlbfs-check.patch b/meta-networking/recipes-support/memcached/memcached/memcached-add-hugetlbfs-check.patch
deleted file mode 100644
index 26281e73ef..0000000000
--- a/meta-networking/recipes-support/memcached/memcached/memcached-add-hugetlbfs-check.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From dfa90817a08f206f7e2dbba44d913968ae7f7d94 Mon Sep 17 00:00:00 2001
2From: Chong Lu <Chong.Lu@windriver.com>
3Date: Tue, 19 Aug 2014 17:38:32 +0800
4Subject: [PATCH] memcached: add knob to detect whether hugetlbfs are checked
5
6Add knob to detect whether hugetlbfs are checked or not.
7
8Upstream-Status: Pending
9
10Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
11---
12 configure.ac | 6 +++++-
13 1 file changed, 5 insertions(+), 1 deletion(-)
14
15diff --git a/configure.ac b/configure.ac
16index 6f2ef97..bd7dd96 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -559,8 +559,12 @@ if test "x$enable_static" = "xyes"; then
20 fi
21
22 dnl ----------------------------------------------------------------------------
23+AC_ARG_ENABLE(hugetlbfs,
24+ [AS_HELP_STRING([--enable-hugetlbfs],[Enable hugetlbfs])])
25
26-AC_SEARCH_LIBS(gethugepagesizes, hugetlbfs)
27+if test "x$enable_hugetlbfs" = "xyes"; then
28+ AC_SEARCH_LIBS(gethugepagesizes, hugetlbfs)
29+fi
30
31 AC_HEADER_STDBOOL
32 AH_BOTTOM([#if HAVE_STDBOOL_H
diff --git a/meta-networking/recipes-support/memcached/memcached_1.6.41.bb b/meta-networking/recipes-support/memcached/memcached_1.6.41.bb
index 9d759069ba..e41ebdb171 100644
--- a/meta-networking/recipes-support/memcached/memcached_1.6.41.bb
+++ b/meta-networking/recipes-support/memcached/memcached_1.6.41.bb
@@ -19,17 +19,14 @@ RDEPENDS:${PN} += "perl perl-module-posix perl-module-autoloader \
19 perl-module-tie-hash bash \ 19 perl-module-tie-hash bash \
20 " 20 "
21 21
22SRC_URI = "http://www.memcached.org/files/${BP}.tar.gz \ 22SRC_URI = "http://www.memcached.org/files/${BP}.tar.gz"
23 file://memcached-add-hugetlbfs-check.patch \
24 "
25SRC_URI[sha256sum] = "e097073c156eeff9e12655b054f446d57374cfba5c132dcdbe7fac64e728286a" 23SRC_URI[sha256sum] = "e097073c156eeff9e12655b054f446d57374cfba5c132dcdbe7fac64e728286a"
26 24
27CVE_STATUS[CVE-2022-26635] = "disputed: this is a problem of applications using php-memcached inproperly" 25CVE_STATUS[CVE-2022-26635] = "disputed: this is a problem of applications using php-memcached inproperly"
28 26
29UPSTREAM_CHECK_URI = "${HOMEPAGE}" 27UPSTREAM_CHECK_URI = "${HOMEPAGE}"
30 28
31# set the same COMPATIBLE_HOST as libhugetlbfs 29COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64|riscv64|aarch64|arm).*-linux*"
32COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
33 30
34# assoc.c:83:9: error: variable 'depth' set but not used [-Werror,-Wunused-but-set-variable] 31# assoc.c:83:9: error: variable 'depth' set but not used [-Werror,-Wunused-but-set-variable]
35CFLAGS:append:toolchain-clang = " -Wno-error=unused-but-set-variable" 32CFLAGS:append:toolchain-clang = " -Wno-error=unused-but-set-variable"
@@ -42,9 +39,6 @@ python __anonymous () {
42 d.appendVar('EXTRA_OECONF', " ac_cv_c_endian=big") 39 d.appendVar('EXTRA_OECONF', " ac_cv_c_endian=big")
43} 40}
44 41
45PACKAGECONFIG ??= ""
46PACKAGECONFIG[hugetlbfs] = "--enable-hugetlbfs, --disable-hugetlbfs, libhugetlbfs"
47
48inherit update-rc.d 42inherit update-rc.d
49 43
50INITSCRIPT_NAME = "memcached" 44INITSCRIPT_NAME = "memcached"
diff --git a/meta-networking/recipes-support/nbdkit/nbdkit_1.47.7.bb b/meta-networking/recipes-support/nbdkit/nbdkit_1.47.8.bb
index 3b64ccb439..e0fee3fdf0 100644
--- a/meta-networking/recipes-support/nbdkit/nbdkit_1.47.7.bb
+++ b/meta-networking/recipes-support/nbdkit/nbdkit_1.47.8.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=26250adec854bc317493f6fb98efe049"
12SRC_URI = "git://gitlab.com/nbdkit/nbdkit.git;protocol=https;branch=master;tag=v${PV} \ 12SRC_URI = "git://gitlab.com/nbdkit/nbdkit.git;protocol=https;branch=master;tag=v${PV} \
13 file://0002-plugins-Avoid-absolute-buildpaths-in-binaries.patch \ 13 file://0002-plugins-Avoid-absolute-buildpaths-in-binaries.patch \
14 " 14 "
15SRCREV = "12ad24489c3de7b3810ae82fcffbdc113e1859ca" 15SRCREV = "83f13d978d9959bd3e92c54af9980a8d3ceed768"
16 16
17 17
18DEPENDS = "curl xz e2fsprogs zlib" 18DEPENDS = "curl xz e2fsprogs zlib"
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb
index 0cbe4641cd..6ddebde4d1 100644
--- a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb
+++ b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb
@@ -47,7 +47,7 @@ PACKAGECONFIG[iproute2] = "--enable-iproute2,,iproute2,iproute2-ip"
47PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" 47PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
48PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" 48PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
49 49
50RDEPENDS:${PN}:append = " bash" 50RDEPENDS:${PN}-dns-updown:append = " bash"
51RDEPENDS:${PN}-ptest:append = " bash" 51RDEPENDS:${PN}-ptest:append = " bash"
52 52
53do_install:append() { 53do_install:append() {
@@ -114,7 +114,7 @@ do_install_ptest() {
114 cp -f ${S}/tests/t_lpback.sh ${D}/${PTEST_PATH} 114 cp -f ${S}/tests/t_lpback.sh ${D}/${PTEST_PATH}
115} 115}
116 116
117PACKAGES =+ " ${PN}-sample " 117PACKAGES =+ " ${PN}-dns-updown ${PN}-sample "
118 118
119RRECOMMENDS:${PN} = "kernel-module-tun" 119RRECOMMENDS:${PN} = "kernel-module-tun"
120 120
@@ -124,5 +124,6 @@ FILES:${PN} += "${systemd_system_unitdir}/openvpn-server@.service \
124 ${systemd_system_unitdir}/openvpn-client@.service \ 124 ${systemd_system_unitdir}/openvpn-client@.service \
125 ${nonarch_libdir}/tmpfiles.d \ 125 ${nonarch_libdir}/tmpfiles.d \
126 " 126 "
127FILES:${PN}-dns-updown = "${libexecdir}/openvpn/dns-updown"
127FILES:${PN}-sample = "${sysconfdir}/openvpn/sample/ \ 128FILES:${PN}-sample = "${sysconfdir}/openvpn/sample/ \
128 " 129 "
diff --git a/meta-networking/recipes-support/strongswan/strongswan_6.0.5.bb b/meta-networking/recipes-support/strongswan/strongswan_6.0.6.bb
index 405080070c..daa6552899 100644
--- a/meta-networking/recipes-support/strongswan/strongswan_6.0.5.bb
+++ b/meta-networking/recipes-support/strongswan/strongswan_6.0.6.bb
@@ -10,7 +10,7 @@ DEPENDS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', ' tpm2-tss',
10 10
11SRC_URI = "https://download.strongswan.org/strongswan-${PV}.tar.bz2" 11SRC_URI = "https://download.strongswan.org/strongswan-${PV}.tar.bz2"
12 12
13SRC_URI[sha256sum] = "437460893655d6cfbc2def79d2da548cb5175b865520c507201ab2ec2e7895d9" 13SRC_URI[sha256sum] = "07df7cedae56a7f3bb07e66d21a1f9f87e961db70e99184e11d3819413e4f87c"
14 14
15UPSTREAM_CHECK_REGEX = "strongswan-(?P<pver>\d+(\.\d+)+)\.tar" 15UPSTREAM_CHECK_REGEX = "strongswan-(?P<pver>\d+(\.\d+)+)\.tar"
16 16
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf/android-gadget-setup b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf/android-gadget-setup
deleted file mode 100644
index 26cf30eddd..0000000000
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf/android-gadget-setup
+++ /dev/null
@@ -1,37 +0,0 @@
1#!/bin/sh
2
3[ ! -e /dev/pts ] && mkdir -p /dev/pts
4[ ! -e /dev/pts/0 ] && mount devpts /dev/pts -t devpts
5
6# TODO enable the lines below once we have support for getprop
7# retrieve the product info from Android
8# manufacturer=$(getprop ro.product.manufacturer Android)
9# model=$(getprop ro.product.model Android)
10# serial=$(getprop ro.serialno 0123456789ABCDEF)
11
12#below are now needed in order to use FunctionFS for ADB, tested to work with 3.4+ kernels
13if grep -q functionfs /proc/filesystems; then
14 mkdir -p /dev/usb-ffs/adb
15 mount -t functionfs adb /dev/usb-ffs/adb
16 #android-gadget-setup doesn't provide below 2 and without them it won't work, so we provide them here.
17 echo adb > /sys/class/android_usb/android0/f_ffs/aliases
18 echo ffs > /sys/class/android_usb/android0/functions
19fi
20
21manufacturer="$(cat /system/build.prop | grep -o 'ro.product.manufacturer=.*' | cut -d'=' -f 2)"
22model="$(cat /system/build.prop | grep -o 'ro.product.model=.*' | cut -d'=' -f 2)"
23# get the device serial number from /proc/cmdline directly(since we have no getprop on
24# GNU/Linux)
25serial="$(cat /proc/cmdline | sed 's/.*androidboot.serialno=//' | sed 's/ .*//')"
26
27echo $serial > /sys/class/android_usb/android0/iSerial
28echo $manufacturer > /sys/class/android_usb/android0/iManufacturer
29echo $model > /sys/class/android_usb/android0/iProduct
30
31echo "0" > /sys/class/android_usb/android0/enable
32echo "18d1" > /sys/class/android_usb/android0/idVendor
33echo "D002" > /sys/class/android_usb/android0/idProduct
34echo "adb" > /sys/class/android_usb/android0/functions
35echo "1" > /sys/class/android_usb/android0/enable
36
37sleep 4
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb
deleted file mode 100644
index 7bbac1db75..0000000000
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1DESCRIPTION = "Different utilities from Android - corresponding configuration files"
2SECTION = "console/utils"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6SRC_URI = "file://android-gadget-setup"
7
8S = "${UNPACKDIR}"
9
10do_install() {
11 install -d ${D}${bindir}
12 install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
13}
14
15python () {
16 pn = d.getVar('PN')
17 profprov = d.getVar("PREFERRED_PROVIDER_" + pn)
18 if profprov and pn != profprov:
19 raise bb.parse.SkipRecipe("PREFERRED_PROVIDER_%s set to %s, not %s" % (pn, profprov, pn))
20}
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/adbd.mk b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/adbd.mk
deleted file mode 100644
index 3282216b8e..0000000000
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/adbd.mk
+++ /dev/null
@@ -1,87 +0,0 @@
1include rules_yocto.mk
2NAME = adbd
3
4SOURCES = \
5 adb/adbconnection/adbconnection_server.cpp \
6 adb/daemon/auth.cpp \
7 adb/daemon/file_sync_service.cpp \
8 adb/daemon/file_sync_service.h \
9 adb/daemon/framebuffer_service.cpp \
10 adb/daemon/framebuffer_service.h \
11 adb/daemon/jdwp_service.cpp \
12 adb/daemon/main.cpp \
13 adb/daemon/restart_service.cpp \
14 adb/daemon/restart_service.h \
15 adb/daemon/services.cpp \
16 adb/daemon/shell_service.cpp \
17 adb/daemon/shell_service.h \
18 adb/daemon/usb_ffs.cpp \
19 adb/daemon/usb_legacy.cpp \
20 adb/daemon/usb.cpp \
21 adb/shell_service_protocol.cpp \
22 adb/adb.cpp \
23 adb/adb_io.cpp \
24 adb/adb_listeners.cpp \
25 adb/adb_trace.cpp \
26 adb/adb_unique_fd.cpp \
27 adb/adb_utils.cpp \
28 adb/fdevent/fdevent.cpp \
29 adb/fdevent/fdevent_epoll.cpp \
30 adb/services.cpp \
31 adb/sockets.cpp \
32 adb/socket_spec.cpp \
33 adb/sysdeps/errno.cpp \
34 adb/sysdeps/posix/network.cpp \
35 adb/sysdeps_unix.cpp \
36 adb/transport.cpp \
37 adb/transport_fd.cpp \
38 adb/transport_local.cpp \
39 adb/transport_usb.cpp \
40 adb/types.cpp \
41 diagnose_usb/diagnose_usb.cpp \
42 libasyncio/AsyncIO.cpp \
43
44SOURCES := $(foreach source, $(SOURCES), system/core/$(source))
45
46SOURCES += \
47 frameworks/native/libs/adbd_auth/adbd_auth.cpp
48
49CXXFLAGS += -std=gnu++20
50CPPFLAGS += -Isystem/coreinclude -Isystem/core/adb -Isystem/core/base/include -Idebian/out/system/core -Isystem/tools/mkbootimg/include/bootimg -Isystem/core/fs_mgr/include \
51 -Isystem/core/fs_mgr/include_fstab \
52 -DADB_VERSION='"$(DEB_VERSION)"' -D_GNU_SOURCE
53LDFLAGS += -Wl,-rpath='$$ORIGIN/../lib/android' -Wl,-rpath-link='$$ORIGIN/../lib/android' \
54 -lpthread -Ldebian/out/system/core -Ldebian/out/external/boringssl -lbase -lcrypto_utils -l:libcrypto.a -lcutils -llog -lresolv
55
56PAGE_SIZE ?= 4096
57
58CXXFLAGS += -UADB_HOST
59CXXFLAGS += -DADB_HOST=0
60CXXFLAGS += -DALLOW_ADBD_DISABLE_VERITY
61CXXFLAGS += -DALLOW_ADBD_NO_AUTH
62CXXFLAGS += -DPLATFORM_TOOLS_VERSION='"28.0.2"'
63CXXFLAGS += -Isystem/core/diagnose_usb/include
64CXXFLAGS += -Isystem/core/adb/daemon/include
65CXXFLAGS += -Isystem/core/adb/adbconnection/include
66CXXFLAGS += -Isystem/core/libasyncio/include
67CXXFLAGS += -Isystem/core/libcutils/include
68CXXFLAGS += -Isystem/core/libcrypto_utils/include
69CXXFLAGS += -Isystem/core/liblog/include/
70CXXFLAGS += -Isystem/core/libutils/include
71CXXFLAGS += -Iframeworks/native/libs/adbd_auth/include
72CXXFLAGS += -Wno-c++11-narrowing
73CXXFLAGS += -DPAGE_SIZE=$(PAGE_SIZE)
74
75
76# -latomic should be the last library specified
77# https://github.com/android/ndk/issues/589
78ifneq ($(filter armel mipsel,$(DEB_HOST_ARCH)),)
79 LDFLAGS += -latomic
80endif
81
82build: $(SOURCES)
83 mkdir --parents debian/out/system/core
84 $(CXX) $^ -o debian/out/system/core/adbd $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)
85
86clean:
87 $(RM) debian/out/system/core/adbd
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service
deleted file mode 100644
index b6661f2e39..0000000000
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service
+++ /dev/null
@@ -1,13 +0,0 @@
1[Unit]
2Description=Android Debug Bridge
3ConditionPathExists=/etc/usb-debugging-enabled
4Before=android-system.service
5
6[Service]
7Type=simple
8Restart=on-failure
9ExecStartPre=-/usr/bin/android-gadget-setup adb
10ExecStart=/usr/bin/adbd
11
12[Install]
13WantedBy=basic.target
diff --git a/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.16.9.bb b/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.16.10.bb
index 63c8a0bb7d..224269f1d8 100644
--- a/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.16.9.bb
+++ b/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.16.10.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
7DEPENDS = "zlib curl libsigc++-2.0 openssl cppunit" 7DEPENDS = "zlib curl libsigc++-2.0 openssl cppunit"
8 8
9SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https;tag=v${PV}" 9SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https;tag=v${PV}"
10SRCREV = "e88d4e7854abacd3036a0dec11927c1276c1e6b2" 10SRCREV = "3e6508fbcb9cef13c62d41ecd460990ff063a5df"
11 11
12UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 12UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
13 13
diff --git a/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.16.9.bb b/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.16.10.bb
index 7ce38e9597..36ef5a623e 100644
--- a/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.16.9.bb
+++ b/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.16.10.bb
@@ -7,7 +7,7 @@ DEPENDS = "autoconf-archive libsigc++-2.0 curl cppunit libtool libtorrent ncurse
7 7
8SRC_URI = "git://github.com/rakshasa/rtorrent;branch=master;protocol=https;tag=v${PV}" 8SRC_URI = "git://github.com/rakshasa/rtorrent;branch=master;protocol=https;tag=v${PV}"
9 9
10SRCREV = "b78fd9aef5d0060fe7bd8447cace38606e03f41c" 10SRCREV = "b5a606649a4800deb44c31d3ad74d01b4c5ca37a"
11 11
12inherit autotools pkgconfig 12inherit autotools pkgconfig
13 13
diff --git a/meta-oe/recipes-connectivity/thrift/thrift/0001-support-reproducible-builds.patch b/meta-oe/recipes-connectivity/thrift/thrift/0001-support-reproducible-builds.patch
deleted file mode 100644
index 7fad4ddaa6..0000000000
--- a/meta-oe/recipes-connectivity/thrift/thrift/0001-support-reproducible-builds.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From d4c19c3c88200c49d48c9d47971977627f98f51b Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 20 Nov 2025 11:43:45 +0800
4Subject: [PATCH] support reproducible builds
5
6In order to support reproducible builds [1], while using bison to generate
7source code, add COMPILE_FLAGS --file-prefix-map [2] to remove build path
8prefix and source path prefix in the generated header file.
9
10[1] https://reproducible-builds.org/
11[2] https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=dd878d18519689c7bbcd72de4c9f9e53085a3cbf
12
13Upstream-Status: Submitted [https://github.com/apache/thrift/pull/3246]
14
15Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
16---
17 compiler/cpp/CMakeLists.txt | 2 +-
18 compiler/cpp/tests/CMakeLists.txt | 2 +-
19 2 files changed, 2 insertions(+), 2 deletions(-)
20
21diff --git a/compiler/cpp/CMakeLists.txt b/compiler/cpp/CMakeLists.txt
22index 4c1c2c5..a1a8fcb 100644
23--- a/compiler/cpp/CMakeLists.txt
24+++ b/compiler/cpp/CMakeLists.txt
25@@ -30,7 +30,7 @@ find_package(BISON REQUIRED)
26 file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/thrift/)
27
28 # Create flex and bison files and build the lib parse static library
29-BISON_TARGET(thrifty ${CMAKE_CURRENT_SOURCE_DIR}/src/thrift/thrifty.yy ${CMAKE_CURRENT_BINARY_DIR}/thrift/thrifty.cc)
30+BISON_TARGET(thrifty ${CMAKE_CURRENT_SOURCE_DIR}/src/thrift/thrifty.yy ${CMAKE_CURRENT_BINARY_DIR}/thrift/thrifty.cc COMPILE_FLAGS "--file-prefix-map=${CMAKE_BINARY_DIR}='' --file-prefix-map=${CMAKE_SOURCE_DIR}=''")
31 FLEX_TARGET(thriftl ${CMAKE_CURRENT_SOURCE_DIR}/src/thrift/thriftl.ll ${CMAKE_CURRENT_BINARY_DIR}/thrift/thriftl.cc)
32 ADD_FLEX_BISON_DEPENDENCY(thriftl thrifty)
33
34diff --git a/compiler/cpp/tests/CMakeLists.txt b/compiler/cpp/tests/CMakeLists.txt
35index 6a078ec..39f5bb2 100644
36--- a/compiler/cpp/tests/CMakeLists.txt
37+++ b/compiler/cpp/tests/CMakeLists.txt
38@@ -45,7 +45,7 @@ find_package(BISON REQUIRED)
39 file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/thrift/)
40
41 # Create flex and bison files and build the lib parse static library
42-BISON_TARGET(thrifty ${THRIFT_COMPILER_SOURCE_DIR}/src/thrift/thrifty.yy ${CMAKE_CURRENT_BINARY_DIR}/thrift/thrifty.cc)
43+BISON_TARGET(thrifty ${THRIFT_COMPILER_SOURCE_DIR}/src/thrift/thrifty.yy ${CMAKE_CURRENT_BINARY_DIR}/thrift/thrifty.cc COMPILE_FLAGS "--file-prefix-map=${CMAKE_BINARY_DIR}='' --file-prefix-map=${CMAKE_SOURCE_DIR}=''")
44 FLEX_TARGET(thriftl ${THRIFT_COMPILER_SOURCE_DIR}/src/thrift/thriftl.ll ${CMAKE_CURRENT_BINARY_DIR}/thrift/thriftl.cc)
45 ADD_FLEX_BISON_DEPENDENCY(thriftl thrifty)
46
47--
482.34.1
49
diff --git a/meta-oe/recipes-connectivity/thrift/thrift_0.22.0.bb b/meta-oe/recipes-connectivity/thrift/thrift_0.23.0.bb
index 8ca1d0085e..4f90628b4a 100644
--- a/meta-oe/recipes-connectivity/thrift/thrift_0.22.0.bb
+++ b/meta-oe/recipes-connectivity/thrift/thrift_0.23.0.bb
@@ -3,16 +3,15 @@ DESCRIPTION = "A software framework, for scalable cross-language services devel
3HOMEPAGE = "https://thrift.apache.org/" 3HOMEPAGE = "https://thrift.apache.org/"
4 4
5LICENSE = "Apache-2.0" 5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=c40a383cb3f747e0c7abbf1482f194f0 \ 6LIC_FILES_CHKSUM = "file://LICENSE;md5=bdfca4cb0874071cc3e42d2ae3b05a77 \
7 file://NOTICE;md5=2659b43daca219f99a2f2626ea128f73" 7 file://NOTICE;md5=2659b43daca219f99a2f2626ea128f73"
8 8
9DEPENDS = "thrift-native boost flex-native bison-native openssl zlib" 9DEPENDS = "thrift-native boost flex-native bison-native openssl zlib"
10 10
11SRC_URI = "https://downloads.apache.org/${BPN}/${PV}/${BP}.tar.gz \ 11SRC_URI = "https://downloads.apache.org/${BPN}/${PV}/${BP}.tar.gz \
12 file://0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch \ 12 file://0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch \
13 file://0001-support-reproducible-builds.patch \
14 " 13 "
15SRC_URI[sha256sum] = "794a0e455787960d9f27ab92c38e34da27e8deeda7a5db0e59dc64a00df8a1e5" 14SRC_URI[sha256sum] = "1859d932d2ae1f13d16c5a196931208c116310a5ff50f2bfd11d3db03be8f46f"
16 15
17BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"
18 17
diff --git a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.6.1.bb b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.6.2.bb
index bedd379e89..569d12aaf9 100644
--- a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.6.1.bb
+++ b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.6.2.bb
@@ -6,7 +6,7 @@ LICENSE = "LGPL-3.0-or-later | BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308" 6LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308"
7 7
8SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https;tag=${PV}" 8SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https;tag=${PV}"
9SRCREV = "521a3d88bb731b94cc9998a0f711a5ca9e831e04" 9SRCREV = "c17186844a1493a246a4f4b8bde841c09322abc2"
10 10
11DEPENDS = "libsigc++-3" 11DEPENDS = "libsigc++-3"
12 12
diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.6.bb b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.6.bb
index c74b7a1f35..c754131e3f 100644
--- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.6.bb
+++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.6.bb
@@ -57,7 +57,7 @@ PACKAGECONFIG[veritysetup] = "--enable-veritysetup,--disable-veritysetup"
57PACKAGECONFIG[luks2-reencryption] = "--enable-luks2-reencryption,--disable-luks2-reencryption" 57PACKAGECONFIG[luks2-reencryption] = "--enable-luks2-reencryption,--disable-luks2-reencryption"
58PACKAGECONFIG[integritysetup] = "--enable-integritysetup,--disable-integritysetup" 58PACKAGECONFIG[integritysetup] = "--enable-integritysetup,--disable-integritysetup"
59PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux" 59PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
60PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,,,udev lvm2" 60PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,,,udev libdevmapper"
61PACKAGECONFIG[kernel_crypto] = "--enable-kernel_crypto,--disable-kernel_crypto" 61PACKAGECONFIG[kernel_crypto] = "--enable-kernel_crypto,--disable-kernel_crypto"
62# gcrypt-pkbdf2 requries --with-crypto_backend=gcrypt or the flag isn't 62# gcrypt-pkbdf2 requries --with-crypto_backend=gcrypt or the flag isn't
63# recognized. 63# recognized.
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/10-adbd-configfs.conf b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/10-adbd-configfs.conf
deleted file mode 100644
index ddf155a907..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/10-adbd-configfs.conf
+++ /dev/null
@@ -1,4 +0,0 @@
1[Service]
2ExecStartPre=/usr/bin/android-gadget-setup
3ExecStartPost=/usr/bin/android-gadget-start
4ExecStopPost=/usr/bin/android-gadget-cleanup
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-cleanup b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-cleanup
deleted file mode 100644
index f27d77df51..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-cleanup
+++ /dev/null
@@ -1,24 +0,0 @@
1#!/bin/sh
2
3[ -d /sys/kernel/config/usb_gadget ] || exit 0
4
5cd /sys/kernel/config/usb_gadget
6
7cd adb
8
9echo -n "" > UDC || true
10
11killall adbd || true
12
13umount /dev/usb-ffs/adb
14
15rm configs/c.1/ffs.usb0
16
17rmdir configs/c.1/strings/0x409
18rmdir configs/c.1
19
20rmdir functions/ffs.usb0
21rmdir strings/0x409
22
23cd ..
24rmdir adb
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-setup b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-setup
deleted file mode 100644
index 47e4edb9be..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-setup
+++ /dev/null
@@ -1,38 +0,0 @@
1#!/bin/sh
2
3set -e
4
5conf="Conf 1"
6manufacturer=RPB
7model="Android device"
8product=0xd002
9serial=0123456789ABCDEF
10vendor=0x18d1
11
12if [ -r /etc/android-gadget-setup.machine ] ; then
13 . /etc/android-gadget-setup.machine
14fi
15
16[ -d /sys/kernel/config/usb_gadget ] || modprobe libcomposite
17
18cd /sys/kernel/config/usb_gadget
19
20[ -d adb ] && /usr/bin/android-gadget-cleanup || true
21
22mkdir adb
23cd adb
24
25mkdir configs/c.1
26mkdir functions/ffs.usb0
27mkdir strings/0x409
28mkdir configs/c.1/strings/0x409
29echo -n "$vendor" > idVendor
30echo -n "$product" > idProduct
31echo "$serial" > strings/0x409/serialnumber
32echo "$manufacturer" > strings/0x409/manufacturer
33echo "$model" > strings/0x409/product
34echo "$conf" > configs/c.1/strings/0x409/configuration
35ln -s functions/ffs.usb0 configs/c.1
36
37mkdir -p /dev/usb-ffs/adb
38mount -t functionfs usb0 /dev/usb-ffs/adb
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start
deleted file mode 100644
index 76b5e29624..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start
+++ /dev/null
@@ -1,9 +0,0 @@
1#!/bin/sh
2
3set -e
4
5sleep 10
6
7ls /sys/class/udc/ | head -n 1 | xargs echo -n > /sys/kernel/config/usb_gadget/adb/UDC
8
9echo "Setting UDC $(ls /sys/class/udc/ | head -n 1) for USB ADB Gadget usage"
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb
deleted file mode 100644
index 342e7fd1a5..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1DESCRIPTION = "Different utilities from Android - corressponding configuration files for using ConfigFS"
2SECTION = "console/utils"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6S = "${UNPACKDIR}"
7
8SRC_URI = " \
9 file://android-gadget-setup \
10 file://android-gadget-start \
11 file://android-gadget-cleanup \
12 file://10-adbd-configfs.conf \
13"
14
15PACKAGE_ARCH = "${MACHINE_ARCH}"
16
17do_install() {
18 install -d ${D}${bindir}
19 install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
20 install -m 0755 ${UNPACKDIR}/android-gadget-start ${D}${bindir}
21 install -m 0755 ${UNPACKDIR}/android-gadget-cleanup ${D}${bindir}
22
23 if [ -r ${UNPACKDIR}/android-gadget-setup.machine ] ; then
24 install -d ${D}${sysconfdir}
25 install -m 0644 ${UNPACKDIR}/android-gadget-setup.machine ${D}${sysconfdir}
26 fi
27
28 install -d ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
29 install -m 0644 ${UNPACKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
30}
31
32FILES:${PN} += " \
33 ${systemd_unitdir}/system/ \
34"
35
36PROVIDES += "android-tools-conf"
37RPROVIDES:${PN} = "android-tools-conf"
38BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb b/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
index 764d6b404f..7bbac1db75 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
@@ -1,4 +1,4 @@
1DESCRIPTION = "Different utilities from Android - corressponding configuration files" 1DESCRIPTION = "Different utilities from Android - corresponding configuration files"
2SECTION = "console/utils" 2SECTION = "console/utils"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
@@ -7,8 +7,6 @@ SRC_URI = "file://android-gadget-setup"
7 7
8S = "${UNPACKDIR}" 8S = "${UNPACKDIR}"
9 9
10PACKAGE_ARCH = "${MACHINE_ARCH}"
11
12do_install() { 10do_install() {
13 install -d ${D}${bindir} 11 install -d ${D}${bindir}
14 install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir} 12 install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0001-Fixes-for-yocto-build.patch b/meta-oe/recipes-devtools/android-tools/android-tools/0001-Fixes-for-yocto-build.patch
index 1d18d47ec3..1d18d47ec3 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0001-Fixes-for-yocto-build.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/0001-Fixes-for-yocto-build.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch b/meta-oe/recipes-devtools/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch
index ccd289c81b..ccd289c81b 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch b/meta-oe/recipes-devtools/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch
index a35428b5b4..a35428b5b4 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch b/meta-oe/recipes-devtools/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch
index ea934f44d8..ea934f44d8 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch b/meta-oe/recipes-devtools/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch
index c82423908f..c82423908f 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch b/meta-oe/recipes-devtools/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch
index dfbdc2af66..dfbdc2af66 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/adb.mk b/meta-oe/recipes-devtools/android-tools/android-tools/adb.mk
deleted file mode 100644
index 0687c22c17..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/adb.mk
+++ /dev/null
@@ -1,72 +0,0 @@
1# Makefile for adb
2
3SRCDIR ?= $(S)
4
5VPATH += $(SRCDIR)/system/core/adb
6adb_SRC_FILES += adb.c
7adb_SRC_FILES += console.c
8adb_SRC_FILES += transport.c
9adb_SRC_FILES += transport_local.c
10adb_SRC_FILES += transport_usb.c
11adb_SRC_FILES += commandline.c
12adb_SRC_FILES += adb_client.c
13adb_SRC_FILES += adb_auth_host.c
14adb_SRC_FILES += sockets.c
15adb_SRC_FILES += services.c
16adb_SRC_FILES += file_sync_client.c
17adb_SRC_FILES += get_my_path_linux.c
18adb_SRC_FILES += usb_linux.c
19adb_SRC_FILES += usb_vendors.c
20adb_SRC_FILES += fdevent.c
21adb_OBJS := $(adb_SRC_FILES:.c=.o)
22
23VPATH += $(SRCDIR)/system/core/libcutils
24libcutils_SRC_FILES += atomic.c
25libcutils_SRC_FILES += hashmap.c
26libcutils_SRC_FILES += native_handle.c
27libcutils_SRC_FILES += config_utils.c
28libcutils_SRC_FILES += cpu_info.c
29libcutils_SRC_FILES += load_file.c
30# libcutils_SRC_FILES += open_memstream.c
31# libcutils_SRC_FILES += strdup16to8.c
32# libcutils_SRC_FILES += strdup8to16.c
33# libcutils_SRC_FILES += record_stream.c
34# libcutils_SRC_FILES += process_name.c
35# libcutils_SRC_FILES += threads.c
36# libcutils_SRC_FILES += sched_policy.c
37# libcutils_SRC_FILES += iosched_policy.c
38libcutils_SRC_FILES += str_parms.c
39libcutils_SRC_FILES += fs.c
40libcutils_SRC_FILES += multiuser.c
41libcutils_SRC_FILES += socket_inaddr_any_server.c
42libcutils_SRC_FILES += socket_local_client.c
43libcutils_SRC_FILES += socket_local_server.c
44libcutils_SRC_FILES += socket_loopback_client.c
45libcutils_SRC_FILES += socket_loopback_server.c
46libcutils_SRC_FILES += socket_network_client.c
47libcutils_SRC_FILES += sockets.c
48libcutils_SRC_FILES += ashmem-host.c
49libcutils_SRC_FILES += dlmalloc_stubs.c
50libcutils_OBJS := $(libcutils_SRC_FILES:.c=.o)
51
52CFLAGS += -DANDROID
53CFLAGS += -DWORKAROUND_BUG6558362
54CFLAGS += -DADB_HOST=1
55CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
56CFLAGS += -DANDROID_SMP=0
57CFLAGS += -I$(SRCDIR)/system/core/adb
58CFLAGS += -I$(SRCDIR)/system/core/include
59CFLAGS += -include $(SRCDIR)/build/core/combo/include/arch/$(android_arch)/AndroidConfig.h
60
61LIBS += libcutils.a -lpthread -lcrypto
62
63all: adb
64
65adb: libcutils.a $(adb_OBJS)
66 $(CC) -o $@ $(LDFLAGS) $(adb_OBJS) $(LIBS)
67
68libcutils.a: $(libcutils_OBJS)
69 $(AR) rcs $@ $(libcutils_OBJS)
70
71clean:
72 $(RM) $(adb_OBJS) $(libcutils_OBJS) adb *.a
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk b/meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk
index 31452ae104..3282216b8e 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk
@@ -1,164 +1,87 @@
1# Makefile for adbd 1include rules_yocto.mk
2 2NAME = adbd
3SRCDIR ?= $(S) 3
4 4SOURCES = \
5VPATH += $(SRCDIR)/system/core/adb 5 adb/adbconnection/adbconnection_server.cpp \
6adbd_SRC_FILES += adb.c 6 adb/daemon/auth.cpp \
7adbd_SRC_FILES += fdevent.c 7 adb/daemon/file_sync_service.cpp \
8adbd_SRC_FILES += transport.c 8 adb/daemon/file_sync_service.h \
9adbd_SRC_FILES += transport_local.c 9 adb/daemon/framebuffer_service.cpp \
10adbd_SRC_FILES += transport_usb.c 10 adb/daemon/framebuffer_service.h \
11adbd_SRC_FILES += adb_auth_client.c 11 adb/daemon/jdwp_service.cpp \
12adbd_SRC_FILES += sockets.c 12 adb/daemon/main.cpp \
13adbd_SRC_FILES += services.c 13 adb/daemon/restart_service.cpp \
14adbd_SRC_FILES += file_sync_service.c 14 adb/daemon/restart_service.h \
15adbd_SRC_FILES += jdwp_service.c 15 adb/daemon/services.cpp \
16adbd_SRC_FILES += framebuffer_service.c 16 adb/daemon/shell_service.cpp \
17adbd_SRC_FILES += remount_service.c 17 adb/daemon/shell_service.h \
18adbd_SRC_FILES += disable_verity_service.c 18 adb/daemon/usb_ffs.cpp \
19adbd_SRC_FILES += base64.c 19 adb/daemon/usb_legacy.cpp \
20adbd_SRC_FILES += usb_linux_client.c 20 adb/daemon/usb.cpp \
21adbd_OBJS := $(adbd_SRC_FILES:.c=.o) 21 adb/shell_service_protocol.cpp \
22 22 adb/adb.cpp \
23VPATH += $(SRCDIR)/system/core/liblog 23 adb/adb_io.cpp \
24liblog_SRC_FILES += logd_write.c 24 adb/adb_listeners.cpp \
25liblog_SRC_FILES += log_event_write.c 25 adb/adb_trace.cpp \
26liblog_SRC_FILES += logprint.c 26 adb/adb_unique_fd.cpp \
27liblog_SRC_FILES += event_tag_map.c 27 adb/adb_utils.cpp \
28liblog_SRC_FILES += fake_log_device.c 28 adb/fdevent/fdevent.cpp \
29liblog_OBJS := $(liblog_SRC_FILES:.c=.o) 29 adb/fdevent/fdevent_epoll.cpp \
30 30 adb/services.cpp \
31VPATH += $(SRCDIR)/system/core/fs_mgr 31 adb/sockets.cpp \
32fs_mgr_SRC_FILES += fs_mgr_fstab.c 32 adb/socket_spec.cpp \
33fs_mgr_OBJS := $(fs_mgr_SRC_FILES:.c=.o) 33 adb/sysdeps/errno.cpp \
34 34 adb/sysdeps/posix/network.cpp \
35VPATH += $(SRCDIR)/system/core/libcutils 35 adb/sysdeps_unix.cpp \
36libcutils_SRC_FILES += atomic.c 36 adb/transport.cpp \
37libcutils_SRC_FILES += hashmap.c 37 adb/transport_fd.cpp \
38libcutils_SRC_FILES += native_handle.c 38 adb/transport_local.cpp \
39libcutils_SRC_FILES += config_utils.c 39 adb/transport_usb.cpp \
40libcutils_SRC_FILES += cpu_info.c 40 adb/types.cpp \
41libcutils_SRC_FILES += load_file.c 41 diagnose_usb/diagnose_usb.cpp \
42# libcutils_SRC_FILES += open_memstream.c 42 libasyncio/AsyncIO.cpp \
43# libcutils_SRC_FILES += strdup16to8.c 43
44# libcutils_SRC_FILES += strdup8to16.c 44SOURCES := $(foreach source, $(SOURCES), system/core/$(source))
45# libcutils_SRC_FILES += record_stream.c 45
46# libcutils_SRC_FILES += process_name.c 46SOURCES += \
47# libcutils_SRC_FILES += threads.c 47 frameworks/native/libs/adbd_auth/adbd_auth.cpp
48# libcutils_SRC_FILES += sched_policy.c 48
49# libcutils_SRC_FILES += iosched_policy.c 49CXXFLAGS += -std=gnu++20
50libcutils_SRC_FILES += str_parms.c 50CPPFLAGS += -Isystem/coreinclude -Isystem/core/adb -Isystem/core/base/include -Idebian/out/system/core -Isystem/tools/mkbootimg/include/bootimg -Isystem/core/fs_mgr/include \
51libcutils_SRC_FILES += fs.c 51 -Isystem/core/fs_mgr/include_fstab \
52libcutils_SRC_FILES += multiuser.c 52 -DADB_VERSION='"$(DEB_VERSION)"' -D_GNU_SOURCE
53libcutils_SRC_FILES += socket_inaddr_any_server.c 53LDFLAGS += -Wl,-rpath='$$ORIGIN/../lib/android' -Wl,-rpath-link='$$ORIGIN/../lib/android' \
54libcutils_SRC_FILES += socket_local_client.c 54 -lpthread -Ldebian/out/system/core -Ldebian/out/external/boringssl -lbase -lcrypto_utils -l:libcrypto.a -lcutils -llog -lresolv
55libcutils_SRC_FILES += socket_local_server.c 55
56libcutils_SRC_FILES += socket_loopback_client.c 56PAGE_SIZE ?= 4096
57libcutils_SRC_FILES += socket_loopback_server.c 57
58libcutils_SRC_FILES += socket_network_client.c 58CXXFLAGS += -UADB_HOST
59libcutils_SRC_FILES += sockets.c 59CXXFLAGS += -DADB_HOST=0
60libcutils_SRC_FILES += ashmem-host.c 60CXXFLAGS += -DALLOW_ADBD_DISABLE_VERITY
61libcutils_SRC_FILES += dlmalloc_stubs.c 61CXXFLAGS += -DALLOW_ADBD_NO_AUTH
62libcutils_SRC_FILES += klog.c 62CXXFLAGS += -DPLATFORM_TOOLS_VERSION='"28.0.2"'
63libcutils_SRC_FILES += properties.c 63CXXFLAGS += -Isystem/core/diagnose_usb/include
64libcutils_OBJS := $(libcutils_SRC_FILES:.c=.o) 64CXXFLAGS += -Isystem/core/adb/daemon/include
65 65CXXFLAGS += -Isystem/core/adb/adbconnection/include
66VPATH += $(SRCDIR)/external/libselinux/src 66CXXFLAGS += -Isystem/core/libasyncio/include
67libselinux_SRC_FILES += booleans.c 67CXXFLAGS += -Isystem/core/libcutils/include
68libselinux_SRC_FILES += canonicalize_context.c 68CXXFLAGS += -Isystem/core/libcrypto_utils/include
69libselinux_SRC_FILES += disable.c 69CXXFLAGS += -Isystem/core/liblog/include/
70libselinux_SRC_FILES += enabled.c 70CXXFLAGS += -Isystem/core/libutils/include
71libselinux_SRC_FILES += fgetfilecon.c 71CXXFLAGS += -Iframeworks/native/libs/adbd_auth/include
72libselinux_SRC_FILES += fsetfilecon.c 72CXXFLAGS += -Wno-c++11-narrowing
73libselinux_SRC_FILES += getenforce.c 73CXXFLAGS += -DPAGE_SIZE=$(PAGE_SIZE)
74libselinux_SRC_FILES += getfilecon.c 74
75libselinux_SRC_FILES += getpeercon.c 75
76libselinux_SRC_FILES += lgetfilecon.c 76# -latomic should be the last library specified
77libselinux_SRC_FILES += load_policy.c 77# https://github.com/android/ndk/issues/589
78libselinux_SRC_FILES += lsetfilecon.c 78ifneq ($(filter armel mipsel,$(DEB_HOST_ARCH)),)
79libselinux_SRC_FILES += policyvers.c 79 LDFLAGS += -latomic
80libselinux_SRC_FILES += procattr.c 80endif
81libselinux_SRC_FILES += setenforce.c 81
82libselinux_SRC_FILES += setfilecon.c 82build: $(SOURCES)
83libselinux_SRC_FILES += context.c 83 mkdir --parents debian/out/system/core
84libselinux_SRC_FILES += mapping.c 84 $(CXX) $^ -o debian/out/system/core/adbd $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)
85libselinux_SRC_FILES += stringrep.c
86libselinux_SRC_FILES += compute_create.c
87libselinux_SRC_FILES += compute_av.c
88libselinux_SRC_FILES += avc.c
89libselinux_SRC_FILES += avc_internal.c
90libselinux_SRC_FILES += avc_sidtab.c
91libselinux_SRC_FILES += get_initial_context.c
92libselinux_SRC_FILES += checkAccess.c
93libselinux_SRC_FILES += sestatus.c
94libselinux_SRC_FILES += deny_unknown.c
95
96libselinux_SRC_FILES += callbacks.c
97libselinux_SRC_FILES += check_context.c
98libselinux_SRC_FILES += freecon.c
99libselinux_SRC_FILES += init.c
100libselinux_SRC_FILES += label.c
101libselinux_SRC_FILES += label_file.c
102libselinux_SRC_FILES += label_android_property.c
103libselinux_OBJS := $(libselinux_SRC_FILES:.c=.o)
104
105VPATH += $(SRCDIR)/system/extras/ext4_utils
106libext4_utils_SRC_FILES += make_ext4fs.c
107libext4_utils_SRC_FILES += ext4fixup.c
108libext4_utils_SRC_FILES += ext4_utils.c
109libext4_utils_SRC_FILES += allocate.c
110libext4_utils_SRC_FILES += contents.c
111libext4_utils_SRC_FILES += extent.c
112libext4_utils_SRC_FILES += indirect.c
113libext4_utils_SRC_FILES += uuid.c
114libext4_utils_SRC_FILES += sha1.c
115libext4_utils_SRC_FILES += wipe.c
116libext4_utils_SRC_FILES += crc16.c
117libext4_utils_SRC_FILES += ext4_sb.c
118libext4_utils_OBJS := $(libext4_utils_SRC_FILES:.c=.o)
119
120CFLAGS += -std=gnu11
121CFLAGS += -DANDROID
122CFLAGS += -DADB_HOST=0
123CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
124CFLAGS += -DALLOW_ADBD_ROOT=1
125CFLAGS += -DALLOW_ADBD_DISABLE_VERITY=1
126CFLAGS += -DPROP_NAME_MAX=32
127CFLAGS += -DPROP_VALUE_MAX=92
128CFLAGS += -DAUDITD_LOG_TAG=1003
129# CFLAGS += -DHOST
130CFLAGS += -DANDROID_SMP=0
131CFLAGS += -I$(SRCDIR)/system/core/adb
132CFLAGS += -I$(SRCDIR)/system/core/include
133CFLAGS += -I$(SRCDIR)/system/core/libsparse/include
134CFLAGS += -I$(SRCDIR)/system/extras/ext4_utils
135CFLAGS += -I$(SRCDIR)/system/core/fs_mgr/include
136CFLAGS += -I$(SRCDIR)/hardware/libhardware/include
137CFLAGS += -I$(SRCDIR)/external/libselinux/include
138CFLAGS += -include $(SRCDIR)/build/core/combo/include/arch/$(android_arch)/AndroidConfig.h
139
140LIBS += liblog.a libfs_mgr.a libcutils.a libselinux.a libext4_utils.a -lpthread -lbsd -lpcre -lresolv -lcrypto
141
142all: adbd
143
144adbd: liblog.a libfs_mgr.a libcutils.a libselinux.a libext4_utils.a $(adbd_OBJS)
145 $(CC) -o $@ $(LDFLAGS) $(adbd_OBJS) $(LIBS)
146
147liblog.a: $(liblog_OBJS)
148 $(AR) rcs $@ $(liblog_OBJS)
149
150libfs_mgr.a: $(fs_mgr_OBJS)
151 $(AR) rcs $@ $(fs_mgr_OBJS)
152
153libcutils.a: $(libcutils_OBJS)
154 $(AR) rcs $@ $(libcutils_OBJS)
155
156libselinux.a: $(libselinux_OBJS)
157 export CFLAGS="-DANDROID -DHOST"
158 $(AR) rcs $@ $(libselinux_OBJS)
159
160libext4_utils.a: $(libext4_utils_OBJS)
161 $(AR) rcs $@ $(libext4_utils_OBJS)
162 85
163clean: 86clean:
164 $(RM) *.o *.a adbd 87 $(RM) debian/out/system/core/adbd
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/build/0001-Riscv-Add-risc-v-Android-config-header.patch b/meta-oe/recipes-devtools/android-tools/android-tools/build/0001-Riscv-Add-risc-v-Android-config-header.patch
deleted file mode 100644
index c091fd404b..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/build/0001-Riscv-Add-risc-v-Android-config-header.patch
+++ /dev/null
@@ -1,361 +0,0 @@
1From 82dce13ea7b5b31c63851bd67f66072413917e73 Mon Sep 17 00:00:00 2001
2From: Chenxi Mao <maochenxi@eswin.com>
3Date: Mon, 20 Apr 2020 15:32:40 +0800
4Subject: [PATCH 1/1] Riscv: Add risc-v Android config header
5
6---
7Upstream-Status: Pending
8
9 .../arch/linux-riscv64/AndroidConfig.h | 340 ++++++++++++++++++
10 1 file changed, 340 insertions(+)
11 create mode 100644 core/combo/include/arch/linux-riscv64/AndroidConfig.h
12
13diff --git a/core/combo/include/arch/linux-riscv64/AndroidConfig.h b/core/combo/include/arch/linux-riscv64/AndroidConfig.h
14new file mode 100644
15index 0000000000..bcbda8f87f
16--- /dev/null
17+++ b/core/combo/include/arch/linux-riscv64/AndroidConfig.h
18@@ -0,0 +1,340 @@
19+/*
20+ * Copyright (C) 2013 The Android Open Source Project
21+ *
22+ * Licensed under the Apache License, Version 2.0 (the "License");
23+ * you may not use this file except in compliance with the License.
24+ * You may obtain a copy of the License at
25+ *
26+ * http://www.apache.org/licenses/LICENSE-2.0
27+ *
28+ * Unless required by applicable law or agreed to in writing, software
29+ * distributed under the License is distributed on an "AS IS" BASIS,
30+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31+ * See the License for the specific language governing permissions and
32+ * limitations under the License.
33+ */
34+
35+/*
36+ * Android config -- "android-aarch64". Used for ARM aarch64 device builds.
37+ */
38+#ifndef _ANDROID_CONFIG_H
39+#define _ANDROID_CONFIG_H
40+
41+/*
42+ * ===========================================================================
43+ * !!! IMPORTANT !!!
44+ * ===========================================================================
45+ *
46+ * This file is included by ALL C/C++ source files. Don't put anything in
47+ * here unless you are absolutely certain it can't go anywhere else.
48+ *
49+ * Any C++ stuff must be wrapped with "#ifdef __cplusplus". Do not use "//"
50+ * comments.
51+ */
52+
53+/*
54+ * Threading model. Choose one:
55+ *
56+ * HAVE_PTHREADS - use the pthreads library.
57+ * HAVE_WIN32_THREADS - use Win32 thread primitives.
58+ * -- combine HAVE_CREATETHREAD, HAVE_CREATEMUTEX, and HAVE__BEGINTHREADEX
59+ */
60+#define HAVE_PTHREADS
61+
62+/*
63+ * Do we have pthread_setname_np()?
64+ *
65+ * (HAVE_PTHREAD_SETNAME_NP is used by WebKit to enable a function with
66+ * the same name but different parameters, so we can't use that here.)
67+ */
68+#define HAVE_ANDROID_PTHREAD_SETNAME_NP
69+
70+/*
71+ * Do we have the futex syscall?
72+ */
73+#define HAVE_FUTEX
74+
75+/*
76+ * Process creation model. Choose one:
77+ *
78+ * HAVE_FORKEXEC - use fork() and exec()
79+ * HAVE_WIN32_PROC - use CreateProcess()
80+ */
81+#define HAVE_FORKEXEC
82+
83+/*
84+ * Process out-of-memory adjustment. Set if running on Linux,
85+ * where we can write to /proc/<pid>/oom_adj to modify the out-of-memory
86+ * badness adjustment.
87+ */
88+#define HAVE_OOM_ADJ
89+
90+/*
91+ * IPC model. Choose one:
92+ *
93+ * HAVE_SYSV_IPC - use the classic SysV IPC mechanisms (semget, shmget).
94+ * HAVE_MACOSX_IPC - use Macintosh IPC mechanisms (sem_open, mmap).
95+ * HAVE_WIN32_IPC - use Win32 IPC (CreateSemaphore, CreateFileMapping).
96+ * HAVE_ANDROID_IPC - use Android versions (?, mmap).
97+ */
98+#define HAVE_ANDROID_IPC
99+
100+/*
101+ * Memory-mapping model. Choose one:
102+ *
103+ * HAVE_POSIX_FILEMAP - use the Posix sys/mmap.h
104+ * HAVE_WIN32_FILEMAP - use Win32 filemaps
105+ */
106+#define HAVE_POSIX_FILEMAP
107+
108+/*
109+ * Define this if you have <termio.h>
110+ */
111+#define HAVE_TERMIO_H 1
112+
113+/*
114+ * Define this if you have <sys/sendfile.h>
115+ */
116+#define HAVE_SYS_SENDFILE_H 1
117+
118+/*
119+ * Define this if you build against MSVCRT.DLL
120+ */
121+/* #define HAVE_MS_C_RUNTIME */
122+
123+/*
124+ * Define this if you have sys/uio.h
125+ */
126+#define HAVE_SYS_UIO_H 1
127+
128+/*
129+ * Define this if your platforms implements symbolic links
130+ * in its filesystems
131+ */
132+#define HAVE_SYMLINKS
133+
134+/*
135+ * Define this if we have localtime_r().
136+ */
137+/* #define HAVE_LOCALTIME_R 1 */
138+
139+/*
140+ * Define this if we have gethostbyname_r().
141+ */
142+/* #define HAVE_GETHOSTBYNAME_R */
143+
144+/*
145+ * Define this if we have ioctl().
146+ */
147+#define HAVE_IOCTL
148+
149+/*
150+ * Define this if we want to use WinSock.
151+ */
152+/* #define HAVE_WINSOCK */
153+
154+/*
155+ * Define this if have clock_gettime() and friends
156+ */
157+#define HAVE_POSIX_CLOCKS
158+
159+/*
160+ * Define this if we have linux style epoll()
161+ */
162+#define HAVE_EPOLL
163+
164+/*
165+ * Endianness of the target machine. Choose one:
166+ *
167+ * HAVE_ENDIAN_H -- have endian.h header we can include.
168+ * HAVE_LITTLE_ENDIAN -- we are little endian.
169+ * HAVE_BIG_ENDIAN -- we are big endian.
170+ */
171+#define HAVE_ENDIAN_H
172+#define HAVE_LITTLE_ENDIAN
173+
174+#define _FILE_OFFSET_BITS 64
175+/* #define _LARGEFILE_SOURCE 1 */
176+
177+/*
178+ * Define if platform has off64_t (and lseek64 and other xxx64 functions)
179+ */
180+#define HAVE_OFF64_T
181+
182+/*
183+ * Defined if we have the backtrace() call for retrieving a stack trace.
184+ * Needed for CallStack to operate; if not defined, CallStack is
185+ * non-functional.
186+ */
187+#define HAVE_BACKTRACE 0
188+
189+/*
190+ * Defined if we have the cxxabi.h header for demangling C++ symbols. If
191+ * not defined, stack crawls will be displayed with raw mangled symbols
192+ */
193+#define HAVE_CXXABI 0
194+
195+/*
196+ * Defined if we have the gettid() system call.
197+ */
198+#define HAVE_GETTID
199+
200+/*
201+ * Defined if we have the sched_setscheduler() call
202+ */
203+#define HAVE_SCHED_SETSCHEDULER
204+
205+/*
206+ * Add any extra platform-specific defines here.
207+ */
208+#ifndef __linux__
209+#define __linux__
210+#endif
211+
212+/*
213+ * Define if we have <malloc.h> header
214+ */
215+#define HAVE_MALLOC_H
216+
217+/*
218+ * Define if we're running on *our* linux on device or emulator.
219+ */
220+#define HAVE_ANDROID_OS 1
221+
222+/*
223+ * Define if we have Linux-style non-filesystem Unix Domain Sockets
224+ */
225+#define HAVE_LINUX_LOCAL_SOCKET_NAMESPACE 1
226+
227+/*
228+ * Define if we have Linux's inotify in <sys/inotify.h>.
229+ */
230+#define HAVE_INOTIFY 1
231+
232+/*
233+ * Define if we have madvise() in <sys/mman.h>
234+ */
235+#define HAVE_MADVISE 1
236+
237+/*
238+ * Define if tm struct has tm_gmtoff field
239+ */
240+#define HAVE_TM_GMTOFF 1
241+
242+/*
243+ * Define if dirent struct has d_type field
244+ */
245+#define HAVE_DIRENT_D_TYPE 1
246+
247+/*
248+ * Define if libc includes Android system properties implementation.
249+ */
250+#define HAVE_LIBC_SYSTEM_PROPERTIES 1
251+
252+/*
253+ * Define if system provides a system property server (should be
254+ * mutually exclusive with HAVE_LIBC_SYSTEM_PROPERTIES).
255+ */
256+/* #define HAVE_SYSTEM_PROPERTY_SERVER */
257+
258+/*
259+ * What CPU architecture does this platform use?
260+ */
261+#define ARCH_AARCH64
262+
263+/*
264+ * Define if the size of enums is as short as possible,
265+ */
266+/* #define HAVE_SHORT_ENUMS */
267+
268+/*
269+ * sprintf() format string for shared library naming.
270+ */
271+#define OS_SHARED_LIB_FORMAT_STR "lib%s.so"
272+
273+/*
274+ * type for the third argument to mincore().
275+ */
276+#define MINCORE_POINTER_TYPE unsigned char *
277+
278+/*
279+ * The default path separator for the platform
280+ */
281+#define OS_PATH_SEPARATOR '/'
282+
283+/*
284+ * Is the filesystem case sensitive?
285+ */
286+#define OS_CASE_SENSITIVE
287+
288+/*
289+ * Define if <sys/socket.h> exists.
290+ */
291+#define HAVE_SYS_SOCKET_H 1
292+
293+/*
294+ * Define if the strlcpy() function exists on the system.
295+ */
296+#define HAVE_STRLCPY 1
297+
298+/*
299+ * Define if the open_memstream() function exists on the system.
300+ */
301+/* #define HAVE_OPEN_MEMSTREAM 1 */
302+
303+/*
304+ * Define if the BSD funopen() function exists on the system.
305+ */
306+#define HAVE_FUNOPEN 1
307+
308+/*
309+ * Define if prctl() exists
310+ */
311+#define HAVE_PRCTL 1
312+
313+/*
314+ * Define if writev() exists
315+ */
316+#define HAVE_WRITEV 1
317+
318+/*
319+ * Define if <stdint.h> exists.
320+ */
321+#define HAVE_STDINT_H 1
322+
323+/*
324+ * Define if <stdbool.h> exists.
325+ */
326+#define HAVE_STDBOOL_H 1
327+
328+/*
329+ * Define if <sched.h> exists.
330+ */
331+#define HAVE_SCHED_H 1
332+
333+/*
334+ * Define if pread() exists
335+ */
336+#define HAVE_PREAD 1
337+
338+/*
339+ * Define if we have st_mtim in struct stat
340+ */
341+#define HAVE_STAT_ST_MTIM 1
342+
343+/*
344+ * Define if printf() supports %zd for size_t arguments
345+ */
346+#define HAVE_PRINTF_ZD 1
347+
348+/*
349+ * Define to 1 if <stdlib.h> provides qsort_r() with a BSD style function prototype.
350+ */
351+#define HAVE_BSD_QSORT_R 0
352+
353+/*
354+ * Define to 1 if <stdlib.h> provides qsort_r() with a GNU style function prototype.
355+ */
356+#define HAVE_GNU_QSORT_R 0
357+
358+#endif /* _ANDROID_CONFIG_H */
359--
3602.17.1
361
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0001-adb-remove-selinux-extensions.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0001-adb-remove-selinux-extensions.patch
deleted file mode 100644
index 7d20c50680..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0001-adb-remove-selinux-extensions.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From 7b7200727413ca4a9bb132221c543ec033dffafa Mon Sep 17 00:00:00 2001
2From: Sergio Schvezov <sergio.schvezov@canonical.com>
3Date: Wed, 7 Sep 2016 12:58:47 +0300
4Subject: [PATCH] adb: remove selinux extensions
5
6* drop useless includes of Android SELINUX extensions
7* avoids having to clone another module
8* this should be sent upstream
9
10Upstream-Status: Inappropriate
11
12Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13---
14 adb/file_sync_service.c | 3 ---
15 1 file changed, 3 deletions(-)
16
17diff --git a/adb/file_sync_service.c b/adb/file_sync_service.c
18index 7933858516..3cbd0cd863 100644
19--- a/adb/file_sync_service.c
20+++ b/adb/file_sync_service.c
21@@ -26,7 +26,6 @@
22
23 #include <errno.h>
24 #include <private/android_filesystem_config.h>
25-#include <selinux/android.h>
26 #include "sysdeps.h"
27
28 #define TRACE_TAG TRACE_SYNC
29@@ -73,7 +72,6 @@ static int mkdirs(char *name)
30 *x = '/';
31 return ret;
32 }
33- selinux_android_restorecon(name, 0);
34 }
35 *x++ = '/';
36 }
37@@ -251,7 +249,6 @@ static int handle_send_file(int s, char *path, uid_t uid,
38 if(fd >= 0) {
39 struct utimbuf u;
40 adb_close(fd);
41- selinux_android_restorecon(path, 0);
42 u.actime = timestamp;
43 u.modtime = timestamp;
44 utime(path, &u);
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch
deleted file mode 100644
index 82e97152be..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From db3a3714be07c8ab51b9ae7b035e4afe9f39c645 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 7 Sep 2022 13:20:22 -0700
4Subject: [PATCH] memory.h: Always define strlcpy for glibc based systems
5
6android-config.h file includes on compiler cmdline sets HAVE_STRLCPY
7unconditionally, since bionic supports it, its no big deal on android
8and also no problem when using musl since implementation exists for musl
9too, but glibc does not provide this. So either we include libbsd or use
10the implementation provided by android-tools here. We are currently
11using the in tree implementation for systems which do not provide it
12
13Upstream-Status: Pending
14
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 include/cutils/memory.h | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/include/cutils/memory.h b/include/cutils/memory.h
21index e725cdd032..9e99353c58 100644
22--- a/include/cutils/memory.h
23+++ b/include/cutils/memory.h
24@@ -30,7 +30,7 @@ void android_memset16(uint16_t* dst, uint16_t value, size_t size);
25 /* size is given in bytes and must be multiple of 4 */
26 void android_memset32(uint32_t* dst, uint32_t value, size_t size);
27
28-#if !HAVE_STRLCPY
29+#if !HAVE_STRLCPY || defined(__GLIBC__)
30 /* Declaration of strlcpy() for platforms that don't already have it. */
31 size_t strlcpy(char *dst, const char *src, size_t size);
32 #endif
33--
342.37.3
35
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0002-adb-Use-local-sockets-where-appropriate.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0002-adb-Use-local-sockets-where-appropriate.patch
deleted file mode 100644
index 3627110ad8..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0002-adb-Use-local-sockets-where-appropriate.patch
+++ /dev/null
@@ -1,70 +0,0 @@
1From d855f042ca09a358cebe2d3c1d29d512afd7ebb8 Mon Sep 17 00:00:00 2001
2From: Hilko Bengen <bengen@debian.org>
3Date: Wed, 7 Sep 2016 12:58:47 +0300
4Subject: [PATCH] adb: Use local sockets where appropriate
5
6Upstream-Status: Inappropriate
7---
8 adb/adb.c | 6 +++++-
9 adb/adb_client.c | 5 +++--
10 adb/transport_local.c | 3 ++-
11 3 files changed, 10 insertions(+), 4 deletions(-)
12
13diff --git a/adb/adb.c b/adb/adb.c
14index 10a1e0da26..027edd9359 100644
15--- a/adb/adb.c
16+++ b/adb/adb.c
17@@ -1230,7 +1230,11 @@ int launch_server(int server_port)
18 */
19 void build_local_name(char* target_str, size_t target_size, int server_port)
20 {
21- snprintf(target_str, target_size, "tcp:%d", server_port);
22+ if (gListenAll > 0) {
23+ snprintf(target_str, target_size, "tcp:%d", server_port);
24+ } else {
25+ snprintf(target_str, target_size, "local:%d", server_port);
26+ }
27 }
28
29 #if !ADB_HOST
30diff --git a/adb/adb_client.c b/adb/adb_client.c
31index eb1720d22c..a383faefe3 100644
32--- a/adb/adb_client.c
33+++ b/adb/adb_client.c
34@@ -185,12 +185,12 @@ int _adb_connect(const char *service)
35 strcpy(__adb_error, "service name too long");
36 return -1;
37 }
38- snprintf(tmp, sizeof tmp, "%04x", len);
39+ snprintf(tmp, sizeof tmp, "%d", __adb_server_port);
40
41 if (__adb_server_name)
42 fd = socket_network_client(__adb_server_name, __adb_server_port, SOCK_STREAM);
43 else
44- fd = socket_loopback_client(__adb_server_port, SOCK_STREAM);
45+ fd = socket_local_client(tmp, ANDROID_SOCKET_NAMESPACE_ABSTRACT, SOCK_STREAM);
46
47 if(fd < 0) {
48 strcpy(__adb_error, "cannot connect to daemon");
49@@ -201,6 +201,7 @@ int _adb_connect(const char *service)
50 return -1;
51 }
52
53+ snprintf(tmp, sizeof tmp, "%04x", len);
54 if(writex(fd, tmp, 4) || writex(fd, service, len)) {
55 strcpy(__adb_error, "write failure during connection");
56 adb_close(fd);
57diff --git a/adb/transport_local.c b/adb/transport_local.c
58index 948cc15812..71582a8c88 100644
59--- a/adb/transport_local.c
60+++ b/adb/transport_local.c
61@@ -121,7 +121,8 @@ int local_connect_arbitrary_ports(int console_port, int adb_port)
62 }
63 #endif
64 if (fd < 0) {
65- fd = socket_loopback_client(adb_port, SOCK_STREAM);
66+ snprintf(buf, sizeof buf, "%d", adb_port);
67+ fd = socket_local_client(buf, ANDROID_SOCKET_NAMESPACE_ABSTRACT, SOCK_STREAM);
68 }
69
70 if (fd >= 0) {
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0003-adb-define-shell-command.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0003-adb-define-shell-command.patch
deleted file mode 100644
index cf1d9cbc3d..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0003-adb-define-shell-command.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 4421c2e19946dcd651fd8ac022b96627fc526149 Mon Sep 17 00:00:00 2001
2From: Fathi Boudra <fabo@debian.org>
3Date: Wed, 7 Sep 2016 12:58:47 +0300
4Subject: [PATCH] adb: define shell command
5
6we intend to run on Linux system so the shell is always /bin/sh,
7for the host or the target.
8
9Upstream-Status: Inappropriate
10---
11 adb/services.c | 4 ----
12 1 file changed, 4 deletions(-)
13
14diff --git a/adb/services.c b/adb/services.c
15index 21b08dc201..d44b0c5068 100644
16--- a/adb/services.c
17+++ b/adb/services.c
18@@ -299,11 +299,7 @@ static int create_subproc_raw(const char *cmd, const char *arg0, const char *arg
19 }
20 #endif /* !ABD_HOST */
21
22-#if ADB_HOST
23 #define SHELL_COMMAND "/bin/sh"
24-#else
25-#define SHELL_COMMAND "/system/bin/sh"
26-#endif
27
28 #if !ADB_HOST
29 static void subproc_waiter_service(int fd, void *cookie)
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0004-adb-Fix-build-on-big-endian-systems.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0004-adb-Fix-build-on-big-endian-systems.patch
deleted file mode 100644
index 7f03cd2beb..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0004-adb-Fix-build-on-big-endian-systems.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From 548b8ca62c64a16305929e2eaf3d546d48de9c25 Mon Sep 17 00:00:00 2001
2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3Date: Tue, 21 Feb 2017 19:46:24 +0100
4Subject: [PATCH] adb: Fix build on big endian systems
5
6The usb_linux_client.c file defines cpu_to_le16/32 by using the C
7library htole16/32 function calls. However, cpu_to_le16/32 are used
8when initializing structures, i.e in a context where a function call
9is not allowed.
10
11It works fine on little endian systems because htole16/32 are defined
12by the C library as no-ops. But on big-endian systems, they are
13actually doing something, which might involve calling a function,
14causing build failures.
15
16To solve this, we simply open-code cpu_to_le16/32 in a way that allows
17them to be used when initializing structures.
18
19Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20---
21Upstream-Status: Pending
22
23 adb/usb_linux_client.c | 11 +++++++++--
24 1 file changed, 9 insertions(+), 2 deletions(-)
25
26diff --git a/adb/usb_linux_client.c b/adb/usb_linux_client.c
27index 8426e0ea14..6e8b5bbbd2 100644
28--- a/adb/usb_linux_client.c
29+++ b/adb/usb_linux_client.c
30@@ -34,8 +34,15 @@
31 #define MAX_PACKET_SIZE_FS 64
32 #define MAX_PACKET_SIZE_HS 512
33
34-#define cpu_to_le16(x) htole16(x)
35-#define cpu_to_le32(x) htole32(x)
36+#if __BYTE_ORDER == __LITTLE_ENDIAN
37+# define cpu_to_le16(x) (x)
38+# define cpu_to_le32(x) (x)
39+#else
40+# define cpu_to_le16(x) ((((x) >> 8) & 0xffu) | (((x) & 0xffu) << 8))
41+# define cpu_to_le32(x) \
42+ ((((x) & 0xff000000u) >> 24) | (((x) & 0x00ff0000u) >> 8) | \
43+ (((x) & 0x0000ff00u) << 8) | (((x) & 0x000000ffu) << 24))
44+#endif
45
46 struct usb_handle
47 {
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0005-adb-add-base64-implementation.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0005-adb-add-base64-implementation.patch
deleted file mode 100644
index 4827ffe042..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0005-adb-add-base64-implementation.patch
+++ /dev/null
@@ -1,350 +0,0 @@
1From 753bcb5971401b82fb2e6197d31c9e386f6d0392 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 15 Sep 2017 15:46:38 -0700
4Subject: [PATCH] adb: add base64 implementation
5
6musl needs it
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10Upstream-Status: Pending
11
12 adb/adb_auth_client.c | 2 +-
13 adb/base64.c | 315 ++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 316 insertions(+), 1 deletion(-)
15 create mode 100644 adb/base64.c
16
17diff --git a/adb/adb_auth_client.c b/adb/adb_auth_client.c
18index 55e9dcad19..104b413b8b 100644
19--- a/adb/adb_auth_client.c
20+++ b/adb/adb_auth_client.c
21@@ -75,7 +75,7 @@ static void read_keys(const char *file, struct listnode *list)
22 if (sep)
23 *sep = '\0';
24
25- ret = __b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
26+ ret = b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
27 if (ret != sizeof(key->key)) {
28 D("%s: Invalid base64 data ret=%d\n", file, ret);
29 free(key);
30diff --git a/adb/base64.c b/adb/base64.c
31new file mode 100644
32index 0000000000..95da284d0d
33--- /dev/null
34+++ b/adb/base64.c
35@@ -0,0 +1,315 @@
36+/*
37+ * Copyright (c) 1996-1999 by Internet Software Consortium.
38+ *
39+ * Permission to use, copy, modify, and distribute this software for any
40+ * purpose with or without fee is hereby granted, provided that the above
41+ * copyright notice and this permission notice appear in all copies.
42+ *
43+ * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
44+ * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
45+ * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
46+ * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
47+ * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
48+ * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
49+ * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
50+ * SOFTWARE.
51+ */
52+
53+/*
54+ * Portions Copyright (c) 1995 by International Business Machines, Inc.
55+ *
56+ * International Business Machines, Inc. (hereinafter called IBM) grants
57+ * permission under its copyrights to use, copy, modify, and distribute this
58+ * Software with or without fee, provided that the above copyright notice and
59+ * all paragraphs of this notice appear in all copies, and that the name of IBM
60+ * not be used in connection with the marketing of any product incorporating
61+ * the Software or modifications thereof, without specific, written prior
62+ * permission.
63+ *
64+ * To the extent it has a right to do so, IBM grants an immunity from suit
65+ * under its patents, if any, for the use, sale or manufacture of products to
66+ * the extent that such products are used for performing Domain Name System
67+ * dynamic updates in TCP/IP networks by means of the Software. No immunity is
68+ * granted for any product per se or for any other function of any product.
69+ *
70+ * THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES,
71+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
72+ * PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL,
73+ * DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING
74+ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN
75+ * IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
76+ */
77+
78+#if !defined(LINT) && !defined(CODECENTER)
79+static const char rcsid[] = "$BINDId: base64.c,v 8.7 1999/10/13 16:39:33 vixie Exp $";
80+#endif /* not lint */
81+
82+#include <sys/types.h>
83+#include <sys/param.h>
84+#include <sys/socket.h>
85+
86+#include <netinet/in.h>
87+#include <arpa/inet.h>
88+#include <arpa/nameser.h>
89+
90+#include <ctype.h>
91+#include <resolv.h>
92+#include <stdio.h>
93+#include <stdlib.h>
94+#include <stdint.h>
95+#include <string.h>
96+
97+#define Assert(Cond) if (!(Cond)) abort()
98+
99+static const char Base64[] =
100+ "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
101+static const char Pad64 = '=';
102+
103+/* (From RFC1521 and draft-ietf-dnssec-secext-03.txt)
104+ The following encoding technique is taken from RFC 1521 by Borenstein
105+ and Freed. It is reproduced here in a slightly edited form for
106+ convenience.
107+
108+ A 65-character subset of US-ASCII is used, enabling 6 bits to be
109+ represented per printable character. (The extra 65th character, "=",
110+ is used to signify a special processing function.)
111+
112+ The encoding process represents 24-bit groups of input bits as output
113+ strings of 4 encoded characters. Proceeding from left to right, a
114+ 24-bit input group is formed by concatenating 3 8-bit input groups.
115+ These 24 bits are then treated as 4 concatenated 6-bit groups, each
116+ of which is translated into a single digit in the base64 alphabet.
117+
118+ Each 6-bit group is used as an index into an array of 64 printable
119+ characters. The character referenced by the index is placed in the
120+ output string.
121+
122+ Table 1: The Base64 Alphabet
123+
124+ Value Encoding Value Encoding Value Encoding Value Encoding
125+ 0 A 17 R 34 i 51 z
126+ 1 B 18 S 35 j 52 0
127+ 2 C 19 T 36 k 53 1
128+ 3 D 20 U 37 l 54 2
129+ 4 E 21 V 38 m 55 3
130+ 5 F 22 W 39 n 56 4
131+ 6 G 23 X 40 o 57 5
132+ 7 H 24 Y 41 p 58 6
133+ 8 I 25 Z 42 q 59 7
134+ 9 J 26 a 43 r 60 8
135+ 10 K 27 b 44 s 61 9
136+ 11 L 28 c 45 t 62 +
137+ 12 M 29 d 46 u 63 /
138+ 13 N 30 e 47 v
139+ 14 O 31 f 48 w (pad) =
140+ 15 P 32 g 49 x
141+ 16 Q 33 h 50 y
142+
143+ Special processing is performed if fewer than 24 bits are available
144+ at the end of the data being encoded. A full encoding quantum is
145+ always completed at the end of a quantity. When fewer than 24 input
146+ bits are available in an input group, zero bits are added (on the
147+ right) to form an integral number of 6-bit groups. Padding at the
148+ end of the data is performed using the '=' character.
149+
150+ Since all base64 input is an integral number of octets, only the
151+ -------------------------------------------------
152+ following cases can arise:
153+
154+ (1) the final quantum of encoding input is an integral
155+ multiple of 24 bits; here, the final unit of encoded
156+ output will be an integral multiple of 4 characters
157+ with no "=" padding,
158+ (2) the final quantum of encoding input is exactly 8 bits;
159+ here, the final unit of encoded output will be two
160+ characters followed by two "=" padding characters, or
161+ (3) the final quantum of encoding input is exactly 16 bits;
162+ here, the final unit of encoded output will be three
163+ characters followed by one "=" padding character.
164+ */
165+
166+int
167+b64_ntop(const uint8_t* src, size_t srclength, char* target, size_t targsize)
168+{
169+ size_t datalength = 0;
170+ uint8_t input[3];
171+ uint8_t output[4];
172+ size_t i;
173+
174+ while (2 < srclength) {
175+ input[0] = *src++;
176+ input[1] = *src++;
177+ input[2] = *src++;
178+ srclength -= 3;
179+
180+ output[0] = input[0] >> 2;
181+ output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4);
182+ output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6);
183+ output[3] = input[2] & 0x3f;
184+ Assert(output[0] < 64);
185+ Assert(output[1] < 64);
186+ Assert(output[2] < 64);
187+ Assert(output[3] < 64);
188+
189+ if (datalength + 4 > targsize)
190+ return (-1);
191+ target[datalength++] = Base64[output[0]];
192+ target[datalength++] = Base64[output[1]];
193+ target[datalength++] = Base64[output[2]];
194+ target[datalength++] = Base64[output[3]];
195+ }
196+
197+ /* Now we worry about padding. */
198+ if (0 != srclength) {
199+ /* Get what's left. */
200+ input[0] = input[1] = input[2] = '\0';
201+ for (i = 0; i < srclength; i++)
202+ input[i] = *src++;
203+
204+ output[0] = input[0] >> 2;
205+ output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4);
206+ output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6);
207+ Assert(output[0] < 64);
208+ Assert(output[1] < 64);
209+ Assert(output[2] < 64);
210+
211+ if (datalength + 4 > targsize)
212+ return (-1);
213+ target[datalength++] = Base64[output[0]];
214+ target[datalength++] = Base64[output[1]];
215+ if (srclength == 1)
216+ target[datalength++] = Pad64;
217+ else
218+ target[datalength++] = Base64[output[2]];
219+ target[datalength++] = Pad64;
220+ }
221+ if (datalength >= targsize)
222+ return (-1);
223+ target[datalength] = '\0'; /* Returned value doesn't count \0. */
224+ return (datalength);
225+}
226+
227+/* skips all whitespace anywhere.
228+ converts characters, four at a time, starting at (or after)
229+ src from base - 64 numbers into three 8 bit bytes in the target area.
230+ it returns the number of data bytes stored at the target, or -1 on error.
231+ */
232+
233+int b64_pton(const char* src, uint8_t* target, size_t targsize)
234+{
235+ int tarindex, state, ch;
236+ char *pos;
237+
238+ state = 0;
239+ tarindex = 0;
240+
241+ while ((ch = *src++) != '\0') {
242+ if (isspace(ch)) /* Skip whitespace anywhere. */
243+ continue;
244+
245+ if (ch == Pad64)
246+ break;
247+
248+ pos = strchr(Base64, ch);
249+ if (pos == 0) /* A non-base64 character. */
250+ return (-1);
251+
252+ switch (state) {
253+ case 0:
254+ if (target) {
255+ if ((size_t)tarindex >= targsize)
256+ return (-1);
257+ target[tarindex] = (pos - Base64) << 2;
258+ }
259+ state = 1;
260+ break;
261+ case 1:
262+ if (target) {
263+ if ((size_t)tarindex + 1 >= targsize)
264+ return (-1);
265+ target[tarindex] |= (pos - Base64) >> 4;
266+ target[tarindex+1] = ((pos - Base64) & 0x0f)
267+ << 4 ;
268+ }
269+ tarindex++;
270+ state = 2;
271+ break;
272+ case 2:
273+ if (target) {
274+ if ((size_t)tarindex + 1 >= targsize)
275+ return (-1);
276+ target[tarindex] |= (pos - Base64) >> 2;
277+ target[tarindex+1] = ((pos - Base64) & 0x03)
278+ << 6;
279+ }
280+ tarindex++;
281+ state = 3;
282+ break;
283+ case 3:
284+ if (target) {
285+ if ((size_t)tarindex >= targsize)
286+ return (-1);
287+ target[tarindex] |= (pos - Base64);
288+ }
289+ tarindex++;
290+ state = 0;
291+ break;
292+ default:
293+ abort();
294+ }
295+ }
296+
297+ /*
298+ * We are done decoding Base-64 chars. Let's see if we ended
299+ * on a byte boundary, and/or with erroneous trailing characters.
300+ */
301+
302+ if (ch == Pad64) { /* We got a pad char. */
303+ ch = *src++; /* Skip it, get next. */
304+ switch (state) {
305+ case 0: /* Invalid = in first position */
306+ case 1: /* Invalid = in second position */
307+ return (-1);
308+
309+ case 2: /* Valid, means one byte of info */
310+ /* Skip any number of spaces. */
311+ for ((void)NULL; ch != '\0'; ch = *src++)
312+ if (!isspace(ch))
313+ break;
314+ /* Make sure there is another trailing = sign. */
315+ if (ch != Pad64)
316+ return (-1);
317+ ch = *src++; /* Skip the = */
318+ /* Fall through to "single trailing =" case. */
319+ /* FALLTHROUGH */
320+
321+ case 3: /* Valid, means two bytes of info */
322+ /*
323+ * We know this char is an =. Is there anything but
324+ * whitespace after it?
325+ */
326+ for ((void)NULL; ch != '\0'; ch = *src++)
327+ if (!isspace(ch))
328+ return (-1);
329+
330+ /*
331+ * Now make sure for cases 2 and 3 that the "extra"
332+ * bits that slopped past the last full byte were
333+ * zeros. If we don't check them, they become a
334+ * subliminal channel.
335+ */
336+ if (target && target[tarindex] != 0)
337+ return (-1);
338+ }
339+ } else {
340+ /*
341+ * We ended by seeing the end of the string. Make sure we
342+ * have no partial bytes lying around.
343+ */
344+ if (state != 0)
345+ return (-1);
346+ }
347+
348+ return (tarindex);
349+}
350+
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0006-adb-Musl-fixes.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0006-adb-Musl-fixes.patch
deleted file mode 100644
index 182b1eb29e..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0006-adb-Musl-fixes.patch
+++ /dev/null
@@ -1,130 +0,0 @@
1From 62d957a1271c88ec08d67984fbe31601f0bd41a9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 15 Sep 2017 15:50:57 -0700
4Subject: [PATCH] adb: Musl fixes
5
6__nonnull is gcc specific
7include sys/types.h for size_t
8Do not redefine close() and lseek()
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12Upstream-Status: Pending
13
14 adb/adb.h | 2 ++
15 adb/disable_verity_service.c | 13 ++++++++-----
16 adb/framebuffer_service.c | 7 ++++---
17 adb/sysdeps.h | 12 ++++++------
18 4 files changed, 20 insertions(+), 14 deletions(-)
19
20--- a/adb/adb.h
21+++ b/adb/adb.h
22@@ -18,7 +18,9 @@
23 #define __ADB_H
24
25 #include <limits.h>
26+#include <sys/types.h>
27
28+#include "fdevent.h"
29 #include "adb_trace.h"
30 #include "transport.h" /* readx(), writex() */
31
32--- a/adb/disable_verity_service.c
33+++ b/adb/disable_verity_service.c
34@@ -14,25 +14,32 @@
35 * limitations under the License.
36 */
37
38-#include "sysdeps.h"
39
40 #define TRACE_TAG TRACE_ADB
41 #include "adb.h"
42+#include "sysdeps.h"
43+#include "cutils/properties.h"
44+#include "ext4_sb.h"
45+#include <fs_mgr.h>
46
47 #include <stdio.h>
48 #include <stdarg.h>
49 #include <sys/stat.h>
50 #include <fcntl.h>
51 #include <inttypes.h>
52-
53-#include "cutils/properties.h"
54-#include "ext4_sb.h"
55-#include <fs_mgr.h>
56+#include <unistd.h>
57+#include <errno.h>
58+#include <stdbool.h>
59+
60+#if defined(__linux__) && !defined(__GLIBC__)
61+#define lseek64 lseek
62+#define off64_t off_t
63+#endif
64
65 #define FSTAB_PREFIX "/fstab."
66 struct fstab *fstab;
67
68-__attribute__((__format__(printf, 2, 3))) __nonnull((2))
69+__attribute__((__format__(printf, 2, 3))) __attribute__((nonnull((2))))
70 static void write_console(int fd, const char* format, ...)
71 {
72 char buffer[256];
73--- a/adb/framebuffer_service.c
74+++ b/adb/framebuffer_service.c
75@@ -14,6 +14,10 @@
76 * limitations under the License.
77 */
78
79+#include "fdevent.h"
80+#include "adb.h"
81+#include "sysdeps.h"
82+
83 #include <stdlib.h>
84 #include <stdio.h>
85 #include <unistd.h>
86@@ -23,9 +27,6 @@
87 #include <sys/types.h>
88 #include <sys/wait.h>
89
90-#include "fdevent.h"
91-#include "adb.h"
92-
93 #include <linux/fb.h>
94 #include <sys/ioctl.h>
95 #include <sys/mman.h>
96--- a/adb/sysdeps.h
97+++ b/adb/sysdeps.h
98@@ -123,8 +123,8 @@ static __inline__ int unix_close(int fd
99 {
100 return close(fd);
101 }
102-#undef close
103-#define close ____xxx_close
104+//#undef close
105+//#define close ____xxx_close
106
107 static __inline__ int unix_read(int fd, void* buf, size_t len)
108 {
109@@ -369,8 +369,8 @@ static __inline__ int adb_close(int fd)
110 {
111 return close(fd);
112 }
113-#undef close
114-#define close ____xxx_close
115+//#undef close
116+//#define close ____xxx_close
117
118
119 static __inline__ int adb_read(int fd, void* buf, size_t len)
120@@ -392,8 +392,8 @@ static __inline__ int adb_lseek(int f
121 {
122 return lseek(fd, pos, where);
123 }
124-#undef lseek
125-#define lseek ___xxx_lseek
126+//#undef lseek
127+//#define lseek ___xxx_lseek
128
129 static __inline__ int adb_unlink(const char* path)
130 {
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch
deleted file mode 100644
index 64fbce4cbe..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From de393bba41c8feff932c77d6c30233945f380d42 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 11 Aug 2018 13:23:37 +0000
4Subject: [PATCH] adb: usb_linux.c: fix build with glibc-2.28
5
6* include sysmacros for major, minor
7
8Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
9---
10Upstream-Status: Pending
11
12 adb/usb_linux.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/adb/usb_linux.c b/adb/usb_linux.c
16index f16bdd0361..c8a7732441 100644
17--- a/adb/usb_linux.c
18+++ b/adb/usb_linux.c
19@@ -22,6 +22,7 @@
20 #include <sys/ioctl.h>
21 #include <sys/types.h>
22 #include <sys/time.h>
23+#include <sys/sysmacros.h>
24 #include <dirent.h>
25 #include <fcntl.h>
26 #include <errno.h>
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0008-adb-Allow-adbd-to-be-ran-as-root.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0008-adb-Allow-adbd-to-be-ran-as-root.patch
deleted file mode 100644
index ad21b5aaa6..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0008-adb-Allow-adbd-to-be-ran-as-root.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1From 3a788e9168c9b9eac66c4fa479413f4a95c61be4 Mon Sep 17 00:00:00 2001
2From: Florent Revest <revestflo@gmail.com>
3Date: Mon, 30 Oct 2017 21:05:46 +0100
4Subject: [PATCH] adb: Allow adbd to be ran as root
5
6---
7Upstream-Status: Pending
8
9 adb/adb.c | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/adb/adb.c b/adb/adb.c
13index 027edd9359..e0f7ecde45 100644
14--- a/adb/adb.c
15+++ b/adb/adb.c
16@@ -1271,6 +1271,7 @@ static int should_drop_privileges() {
17 int secure = 0;
18 char value[PROPERTY_VALUE_MAX];
19
20+ return 0;
21 /* run adbd in secure mode if ro.secure is set and
22 ** we are not in the emulator
23 */
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch
deleted file mode 100644
index a4dc6e1e35..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch
+++ /dev/null
@@ -1,110 +0,0 @@
1From dd195778a9930b7967b21a3b8eb390b70253dbad Mon Sep 17 00:00:00 2001
2From: David Ng <dave@codeaurora.org>
3Date: Fri, 27 Jul 2012 17:15:03 -0700
4Subject: [PATCH] mkbootimg: Add --dt parameter to specify DT image
5
6New optional --dt parameter to specify a kernel device
7tree image.
8
9Upstream-Status: Inappropriate
10---
11 mkbootimg/bootimg.h | 7 +++++--
12 mkbootimg/mkbootimg.c | 21 +++++++++++++++++++++
13 2 files changed, 26 insertions(+), 2 deletions(-)
14
15diff --git a/mkbootimg/bootimg.h b/mkbootimg/bootimg.h
16index 9171d85a7b..308c537d6b 100644
17--- a/mkbootimg/bootimg.h
18+++ b/mkbootimg/bootimg.h
19@@ -41,8 +41,8 @@ struct boot_img_hdr
20
21 unsigned tags_addr; /* physical addr for kernel tags */
22 unsigned page_size; /* flash page size we assume */
23- unsigned unused[2]; /* future expansion: should be 0 */
24-
25+ unsigned dt_size; /* device tree in bytes */
26+ unsigned unused; /* future expansion: should be 0 */
27 unsigned char name[BOOT_NAME_SIZE]; /* asciiz product name */
28
29 unsigned char cmdline[BOOT_ARGS_SIZE];
30@@ -64,10 +64,13 @@ struct boot_img_hdr
31 ** +-----------------+
32 ** | second stage | o pages
33 ** +-----------------+
34+** | device tree | p pages
35+** +-----------------+
36 **
37 ** n = (kernel_size + page_size - 1) / page_size
38 ** m = (ramdisk_size + page_size - 1) / page_size
39 ** o = (second_size + page_size - 1) / page_size
40+** p = (dt_size + page_size - 1) / page_size
41 **
42 ** 0. all entities are page_size aligned in flash
43 ** 1. kernel and ramdisk are required (size != 0)
44diff --git a/mkbootimg/mkbootimg.c b/mkbootimg/mkbootimg.c
45index fc92b4dc30..658052cdf2 100644
46--- a/mkbootimg/mkbootimg.c
47+++ b/mkbootimg/mkbootimg.c
48@@ -65,6 +65,7 @@ int usage(void)
49 " [ --board <boardname> ]\n"
50 " [ --base <address> ]\n"
51 " [ --pagesize <pagesize> ]\n"
52+ " [ --dt <filename> ]\n"
53 " -o|--output <filename>\n"
54 );
55 return 1;
56@@ -105,6 +106,8 @@ int main(int argc, char **argv)
57 char *cmdline = "";
58 char *bootimg = 0;
59 char *board = "";
60+ char *dt_fn = 0;
61+ void *dt_data = 0;
62 unsigned pagesize = 2048;
63 int fd;
64 SHA_CTX ctx;
65@@ -158,6 +161,8 @@ int main(int argc, char **argv)
66 fprintf(stderr,"error: unsupported page size %d\n", pagesize);
67 return -1;
68 }
69+ } else if(!strcmp(arg, "--dt")) {
70+ dt_fn = val;
71 } else {
72 return usage();
73 }
74@@ -232,6 +237,14 @@ int main(int argc, char **argv)
75 }
76 }
77
78+ if(dt_fn) {
79+ dt_data = load_file(dt_fn, &hdr.dt_size);
80+ if (dt_data == 0) {
81+ fprintf(stderr,"error: could not load device tree image '%s'\n", dt_fn);
82+ return 1;
83+ }
84+ }
85+
86 /* put a hash of the contents in the header so boot images can be
87 * differentiated based on their first 2k.
88 */
89@@ -242,6 +255,10 @@ int main(int argc, char **argv)
90 SHA_update(&ctx, &hdr.ramdisk_size, sizeof(hdr.ramdisk_size));
91 SHA_update(&ctx, second_data, hdr.second_size);
92 SHA_update(&ctx, &hdr.second_size, sizeof(hdr.second_size));
93+ if(dt_data) {
94+ SHA_update(&ctx, dt_data, hdr.dt_size);
95+ SHA_update(&ctx, &hdr.dt_size, sizeof(hdr.dt_size));
96+ }
97 sha = SHA_final(&ctx);
98 memcpy(hdr.id, sha,
99 SHA_DIGEST_SIZE > sizeof(hdr.id) ? sizeof(hdr.id) : SHA_DIGEST_SIZE);
100@@ -266,6 +283,10 @@ int main(int argc, char **argv)
101 if(write_padding(fd, pagesize, hdr.second_size)) goto fail;
102 }
103
104+ if(dt_data) {
105+ if(write(fd, dt_data, hdr.dt_size) != (ssize_t) hdr.dt_size) goto fail;
106+ if(write_padding(fd, pagesize, hdr.dt_size)) goto fail;
107+ }
108 return 0;
109
110 fail:
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0010-Use-linux-capability.h-on-linux-systems-too.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0010-Use-linux-capability.h-on-linux-systems-too.patch
deleted file mode 100644
index 2c607ff67c..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0010-Use-linux-capability.h-on-linux-systems-too.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1From ef743c9c3c7452ae904a5c343ee2b759ab3a87cb Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <loic.minier@ubuntu.com>
3Date: Wed, 7 Sep 2016 12:58:47 +0300
4Subject: [PATCH] Use linux/capability.h on linux systems too
5
6Upstream-Status: Inappropriate
7---
8 include/private/android_filesystem_config.h | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
12index 2f528b95c8..3e0b00928e 100644
13--- a/include/private/android_filesystem_config.h
14+++ b/include/private/android_filesystem_config.h
15@@ -27,7 +27,7 @@
16 #include <sys/types.h>
17 #include <stdint.h>
18
19-#ifdef HAVE_ANDROID_OS
20+#if defined(HAVE_ANDROID_OS) || defined(__linux__)
21 #include <linux/capability.h>
22 #else
23 #include "android_filesystem_capability.h"
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0011-Remove-bionic-specific-calls.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0011-Remove-bionic-specific-calls.patch
deleted file mode 100644
index 5b18f461a3..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0011-Remove-bionic-specific-calls.patch
+++ /dev/null
@@ -1,64 +0,0 @@
1From 9eff8799831961c0edf6e37e5d4cbf43baa7c748 Mon Sep 17 00:00:00 2001
2From: Fathi Boudra <fabo@debian.org>
3Date: Wed, 7 Sep 2016 12:58:47 +0300
4Subject: [PATCH] Remove bionic specific calls
5
6Upstream-Status: Inappropriate
7---
8 include/cutils/properties.h | 1 -
9 libcutils/properties.c | 2 +-
10 liblog/logd_write.c | 5 +++++
11 3 files changed, 6 insertions(+), 2 deletions(-)
12
13diff --git a/include/cutils/properties.h b/include/cutils/properties.h
14index 798db8b36f..7d01f28d6e 100644
15--- a/include/cutils/properties.h
16+++ b/include/cutils/properties.h
17@@ -19,7 +19,6 @@
18
19 #include <sys/cdefs.h>
20 #include <stddef.h>
21-#include <sys/system_properties.h>
22 #include <stdint.h>
23
24 #ifdef __cplusplus
25diff --git a/libcutils/properties.c b/libcutils/properties.c
26index b283658aa4..4151e7882c 100644
27--- a/libcutils/properties.c
28+++ b/libcutils/properties.c
29@@ -104,10 +104,10 @@ int32_t property_get_int32(const char *key, int32_t default_value) {
30 return (int32_t)property_get_imax(key, INT32_MIN, INT32_MAX, default_value);
31 }
32
33+#undef HAVE_LIBC_SYSTEM_PROPERTIES
34 #ifdef HAVE_LIBC_SYSTEM_PROPERTIES
35
36 #define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
37-#include <sys/_system_properties.h>
38
39 int property_set(const char *key, const char *value)
40 {
41diff --git a/liblog/logd_write.c b/liblog/logd_write.c
42index b2668cedb7..f5a44fe901 100644
43--- a/liblog/logd_write.c
44+++ b/liblog/logd_write.c
45@@ -23,6 +23,7 @@
46 #include <stdlib.h>
47 #include <string.h>
48 #include <sys/stat.h>
49+#include <sys/syscall.h>
50 #include <sys/types.h>
51 #if (FAKE_LOG_DEVICE == 0)
52 #include <sys/socket.h>
53@@ -205,7 +206,11 @@ static int __write_to_log_kernel(log_id_t log_id, struct iovec *vec, size_t nr)
54 realtime_ts.tv_nsec = ts.tv_nsec;
55
56 log_id_buf = log_id;
57+#ifdef __BIONIC__
58 tid = gettid();
59+#else
60+ tid = (pid_t) syscall(__NR_gettid);
61+#endif
62
63 newVec[0].iov_base = (unsigned char *) &log_id_buf;
64 newVec[0].iov_len = sizeof_log_id_t;
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch
deleted file mode 100644
index b0feb65921..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1From cd4525d760c6f88c9bf85f7bf488da79cd0d3264 Mon Sep 17 00:00:00 2001
2From: Fathi Boudra <fabo@debian.org>
3Date: Wed, 7 Sep 2016 12:58:47 +0300
4Subject: [PATCH] Fix implicit declaration of stlcat/strlcopy functions
5
6Upstream-Status: Inappropriate
7---
8 adb/adb.c | 1 +
9 fs_mgr/fs_mgr_fstab.c | 2 +-
10 include/cutils/sockets.h | 2 +-
11 3 files changed, 3 insertions(+), 2 deletions(-)
12
13diff --git a/adb/adb.c b/adb/adb.c
14index e0f7ecde45..aaefd9b401 100644
15--- a/adb/adb.c
16+++ b/adb/adb.c
17@@ -41,6 +41,7 @@
18 #include <sys/prctl.h>
19 #include <getopt.h>
20 #include <selinux/selinux.h>
21+#include <grp.h>
22 #else
23 #include "usb_vendors.h"
24 #endif
25diff --git a/fs_mgr/fs_mgr_fstab.c b/fs_mgr/fs_mgr_fstab.c
26index edd9591164..9ddb4643b5 100644
27--- a/fs_mgr/fs_mgr_fstab.c
28+++ b/fs_mgr/fs_mgr_fstab.c
29@@ -17,7 +17,7 @@
30 #include <ctype.h>
31 #include <stdio.h>
32 #include <stdlib.h>
33-#include <string.h>
34+#include <bsd/string.h>
35 #include <sys/mount.h>
36
37 #include "fs_mgr_priv.h"
38diff --git a/include/cutils/sockets.h b/include/cutils/sockets.h
39index daf43ec944..d3270c69e7 100644
40--- a/include/cutils/sockets.h
41+++ b/include/cutils/sockets.h
42@@ -19,7 +19,7 @@
43
44 #include <errno.h>
45 #include <stdlib.h>
46-#include <string.h>
47+#include <bsd/string.h>
48 #include <stdbool.h>
49
50 #ifdef HAVE_WINSOCK
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0013-adb-Support-riscv64.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0013-adb-Support-riscv64.patch
deleted file mode 100644
index 5138556d63..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0013-adb-Support-riscv64.patch
+++ /dev/null
@@ -1,191 +0,0 @@
1From 48ddf4fb999931942c359350fb31cd557514e1c6 Mon Sep 17 00:00:00 2001
2From: Chenxi Mao <maochenxi@eswin.com>
3Date: Mon, 20 Apr 2020 15:27:22 +0800
4Subject: [PATCH 1/1] adb: Support riscv64
5
6---
7Upstream-Status: Pending
8
9 include/cutils/atomic-inline.h | 2 +
10 include/cutils/atomic-riscv64.h | 156 ++++++++++++++++++++++++++++++++
11 2 files changed, 158 insertions(+)
12 create mode 100644 include/cutils/atomic-riscv64.h
13
14diff --git a/include/cutils/atomic-inline.h b/include/cutils/atomic-inline.h
15index a31e913579..b5dc38209c 100644
16--- a/include/cutils/atomic-inline.h
17+++ b/include/cutils/atomic-inline.h
18@@ -55,6 +55,8 @@ extern "C" {
19 #include <cutils/atomic-mips64.h>
20 #elif defined(__mips__)
21 #include <cutils/atomic-mips.h>
22+#elif defined(__riscv) && __riscv_xlen == 64
23+#include <cutils/atomic-riscv64.h>
24 #else
25 #error atomic operations are unsupported
26 #endif
27diff --git a/include/cutils/atomic-riscv64.h b/include/cutils/atomic-riscv64.h
28new file mode 100644
29index 0000000000..2664db5a86
30--- /dev/null
31+++ b/include/cutils/atomic-riscv64.h
32@@ -0,0 +1,156 @@
33+/*
34+ * Copyright (C) 2014 The Android Open Source Project
35+ * All rights reserved.
36+ *
37+ * Redistribution and use in source and binary forms, with or without
38+ * modification, are permitted provided that the following conditions
39+ * are met:
40+ * * Redistributions of source code must retain the above copyright
41+ * notice, this list of conditions and the following disclaimer.
42+ * * Redistributions in binary form must reproduce the above copyright
43+ * notice, this list of conditions and the following disclaimer in
44+ * the documentation and/or other materials provided with the
45+ * distribution.
46+ *
47+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
48+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
49+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
50+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
51+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
52+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
53+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
54+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
55+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
56+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
57+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58+ * SUCH DAMAGE.
59+ */
60+
61+#ifndef ANDROID_CUTILS_ATOMIC_RISCV64_H
62+#define ANDROID_CUTILS_ATOMIC_RISCV64_H
63+
64+#include <stdint.h>
65+
66+#ifndef ANDROID_ATOMIC_INLINE
67+#define ANDROID_ATOMIC_INLINE inline __attribute__((always_inline))
68+#endif
69+
70+/*
71+ TODOAArch64: Revisit the below functions and check for potential
72+ optimizations using assembly code or otherwise.
73+*/
74+
75+extern ANDROID_ATOMIC_INLINE
76+void android_compiler_barrier(void)
77+{
78+ __asm__ __volatile__ ("" : : : "memory");
79+}
80+
81+extern ANDROID_ATOMIC_INLINE
82+void android_memory_barrier(void)
83+{
84+ __asm__ __volatile__ ("fence rw,rw" : : : "memory");
85+}
86+
87+extern ANDROID_ATOMIC_INLINE
88+int32_t android_atomic_acquire_load(volatile const int32_t *ptr)
89+{
90+ int32_t value = *ptr;
91+ android_memory_barrier();
92+ return value;
93+}
94+
95+extern ANDROID_ATOMIC_INLINE
96+int32_t android_atomic_release_load(volatile const int32_t *ptr)
97+{
98+ android_memory_barrier();
99+ return *ptr;
100+}
101+
102+extern ANDROID_ATOMIC_INLINE
103+void android_atomic_acquire_store(int32_t value, volatile int32_t *ptr)
104+{
105+ *ptr = value;
106+ android_memory_barrier();
107+}
108+
109+extern ANDROID_ATOMIC_INLINE
110+void android_atomic_release_store(int32_t value, volatile int32_t *ptr)
111+{
112+ android_memory_barrier();
113+ *ptr = value;
114+}
115+
116+extern ANDROID_ATOMIC_INLINE
117+int android_atomic_cas(int32_t old_value, int32_t new_value,
118+ volatile int32_t *ptr)
119+{
120+ return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value;
121+}
122+
123+extern ANDROID_ATOMIC_INLINE
124+int android_atomic_acquire_cas(int32_t old_value, int32_t new_value,
125+ volatile int32_t *ptr)
126+{
127+ int status = android_atomic_cas(old_value, new_value, ptr);
128+ android_memory_barrier();
129+ return status;
130+}
131+
132+extern ANDROID_ATOMIC_INLINE
133+int android_atomic_release_cas(int32_t old_value, int32_t new_value,
134+ volatile int32_t *ptr)
135+{
136+ android_memory_barrier();
137+ return android_atomic_cas(old_value, new_value, ptr);
138+}
139+
140+extern ANDROID_ATOMIC_INLINE
141+int32_t android_atomic_add(int32_t increment, volatile int32_t *ptr)
142+{
143+ int32_t prev, status;
144+ android_memory_barrier();
145+ do {
146+ prev = *ptr;
147+ status = android_atomic_cas(prev, prev + increment, ptr);
148+ } while (__builtin_expect(status != 0, 0));
149+ return prev;
150+}
151+
152+extern ANDROID_ATOMIC_INLINE
153+int32_t android_atomic_inc(volatile int32_t *addr)
154+{
155+ return android_atomic_add(1, addr);
156+}
157+
158+extern ANDROID_ATOMIC_INLINE
159+int32_t android_atomic_dec(volatile int32_t *addr)
160+{
161+ return android_atomic_add(-1, addr);
162+}
163+
164+extern ANDROID_ATOMIC_INLINE
165+int32_t android_atomic_and(int32_t value, volatile int32_t *ptr)
166+{
167+ int32_t prev, status;
168+ android_memory_barrier();
169+ do {
170+ prev = *ptr;
171+ status = android_atomic_cas(prev, prev & value, ptr);
172+ } while (__builtin_expect(status != 0, 0));
173+ return prev;
174+}
175+
176+extern ANDROID_ATOMIC_INLINE
177+int32_t android_atomic_or(int32_t value, volatile int32_t *ptr)
178+{
179+ int32_t prev, status;
180+ android_memory_barrier();
181+ do {
182+ prev = *ptr;
183+ status = android_atomic_cas(prev, prev | value, ptr);
184+ } while (__builtin_expect(status != 0, 0));
185+ return prev;
186+}
187+
188+#endif /* ANDROID_CUTILS_ATOMIC_RISCV_H */
189--
1902.17.1
191
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0014-add-u3-ss-descriptor-support-for-adb.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0014-add-u3-ss-descriptor-support-for-adb.patch
deleted file mode 100644
index cf23f3c251..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0014-add-u3-ss-descriptor-support-for-adb.patch
+++ /dev/null
@@ -1,344 +0,0 @@
1From dae9a11f3a158357966399aef97c48b5f16934d9 Mon Sep 17 00:00:00 2001
2From: Jiacheng Liu <jiacheng.liu@mediatek.com>
3Date: Sat, 24 Jul 2021 11:01:18 +0800
4Subject: [PATCH] android-tools: adb: add u3 ss descriptor support
5
6Porting u3 Superspeed descriptor support to open-embedded android-tools package.
7This patch origins from the the patch in android project [1], but has been
8modified for backporting to android-tools_5.1.1.r37.
9
10[1] https://android.googlesource.com/platform/system/core/+/d6ee9f26a5163af4121f4380264fcbd4e6851a17%5E%21
11
12Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
13Signed-off-by: Jiacheng Liu <jiacheng.liu@mediatek.com>
14---
15Upstream-Status: Pending
16
17 adb/usb_linux_client.c | 275 +++++++++++++++++++++++++++++++----------
18 1 file changed, 207 insertions(+), 68 deletions(-)
19
20diff --git a/adb/usb_linux_client.c b/adb/usb_linux_client.c
21index 6e8b5bb..884e85e 100644
22--- a/adb/usb_linux_client.c
23+++ b/adb/usb_linux_client.c
24@@ -31,8 +31,10 @@
25 #define TRACE_TAG TRACE_USB
26 #include "adb.h"
27
28+#define USB_EXT_PROP_UNICODE 1
29 #define MAX_PACKET_SIZE_FS 64
30 #define MAX_PACKET_SIZE_HS 512
31+#define MAX_PACKET_SIZE_SS 1024
32
33 #if __BYTE_ORDER == __LITTLE_ENDIAN
34 # define cpu_to_le16(x) (x)
35@@ -62,74 +64,185 @@ struct usb_handle
36 int bulk_in; /* "in" from the host's perspective => sink for adbd */
37 };
38
39-static const struct {
40- struct usb_functionfs_descs_head header;
41- struct {
42- struct usb_interface_descriptor intf;
43- struct usb_endpoint_descriptor_no_audio source;
44- struct usb_endpoint_descriptor_no_audio sink;
45- } __attribute__((packed)) fs_descs, hs_descs;
46-} __attribute__((packed)) descriptors = {
47- .header = {
48- .magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC),
49- .length = cpu_to_le32(sizeof(descriptors)),
50- .fs_count = 3,
51- .hs_count = 3,
52+struct func_desc {
53+ struct usb_interface_descriptor intf;
54+ struct usb_endpoint_descriptor_no_audio source;
55+ struct usb_endpoint_descriptor_no_audio sink;
56+} __attribute__((packed));
57+
58+struct ss_func_desc {
59+ struct usb_interface_descriptor intf;
60+ struct usb_endpoint_descriptor_no_audio source;
61+ struct usb_ss_ep_comp_descriptor source_comp;
62+ struct usb_endpoint_descriptor_no_audio sink;
63+ struct usb_ss_ep_comp_descriptor sink_comp;
64+} __attribute__((packed));
65+
66+struct desc_v1 {
67+ struct usb_functionfs_descs_head_v1 {
68+ __le32 magic;
69+ __le32 length;
70+ __le32 fs_count;
71+ __le32 hs_count;
72+ } __attribute__((packed)) header;
73+ struct func_desc fs_descs, hs_descs;
74+} __attribute__((packed));
75+
76+struct usb_os_desc_ext_prop {
77+ uint32_t dwSize;
78+ uint32_t dwPropertyDataType;
79+
80+ // Property name and value are transmitted as UTF-16, but the kernel only
81+ // accepts ASCII values and performs the conversion for us.
82+ uint16_t wPropertyNameLength;
83+ char bPropertyName[20];
84+
85+ uint32_t dwPropertyDataLength;
86+ char bProperty[39];
87+} __attribute__((packed)) os_desc_guid = {
88+ .dwSize = sizeof(struct usb_os_desc_ext_prop),
89+ .dwPropertyDataType = cpu_to_le32(USB_EXT_PROP_UNICODE),
90+ .wPropertyNameLength = cpu_to_le16(20),
91+ .bPropertyName = "DeviceInterfaceGUID",
92+ .dwPropertyDataLength = cpu_to_le32(39),
93+ .bProperty = "{F72FE0D4-CBCB-407D-8814-9ED673D0DD6B}",
94+};
95+
96+struct usb_ext_prop_values {
97+ struct usb_os_desc_ext_prop guid;
98+} __attribute__((packed));
99+
100+struct desc_v2 {
101+ struct usb_functionfs_descs_head_v2 header;
102+ // The rest of the structure depends on the flags in the header.
103+ __le32 fs_count;
104+ __le32 hs_count;
105+ __le32 ss_count;
106+ __le32 os_count;
107+ struct func_desc fs_descs, hs_descs;
108+ struct ss_func_desc ss_descs;
109+ struct usb_os_desc_header os_header;
110+ struct usb_ext_compat_desc os_desc;
111+ struct usb_os_desc_header os_prop_header;
112+ struct usb_ext_prop_values os_prop_values;
113+} __attribute__((packed));
114+
115+static struct func_desc fs_descriptors = {
116+ .intf = {
117+ .bLength = sizeof(fs_descriptors.intf),
118+ .bDescriptorType = USB_DT_INTERFACE,
119+ .bInterfaceNumber = 0,
120+ .bNumEndpoints = 2,
121+ .bInterfaceClass = ADB_CLASS,
122+ .bInterfaceSubClass = ADB_SUBCLASS,
123+ .bInterfaceProtocol = ADB_PROTOCOL,
124+ .iInterface = 1, /* first string from the provided table */
125+ },
126+ .source = {
127+ .bLength = sizeof(fs_descriptors.source),
128+ .bDescriptorType = USB_DT_ENDPOINT,
129+ .bEndpointAddress = 1 | USB_DIR_OUT,
130+ .bmAttributes = USB_ENDPOINT_XFER_BULK,
131+ .wMaxPacketSize = MAX_PACKET_SIZE_FS,
132+ },
133+ .sink = {
134+ .bLength = sizeof(fs_descriptors.sink),
135+ .bDescriptorType = USB_DT_ENDPOINT,
136+ .bEndpointAddress = 2 | USB_DIR_IN,
137+ .bmAttributes = USB_ENDPOINT_XFER_BULK,
138+ .wMaxPacketSize = MAX_PACKET_SIZE_FS,
139+ },
140+};
141+
142+static struct func_desc hs_descriptors = {
143+ .intf = {
144+ .bLength = sizeof(hs_descriptors.intf),
145+ .bDescriptorType = USB_DT_INTERFACE,
146+ .bInterfaceNumber = 0,
147+ .bNumEndpoints = 2,
148+ .bInterfaceClass = ADB_CLASS,
149+ .bInterfaceSubClass = ADB_SUBCLASS,
150+ .bInterfaceProtocol = ADB_PROTOCOL,
151+ .iInterface = 1, /* first string from the provided table */
152+ },
153+ .source = {
154+ .bLength = sizeof(hs_descriptors.source),
155+ .bDescriptorType = USB_DT_ENDPOINT,
156+ .bEndpointAddress = 1 | USB_DIR_OUT,
157+ .bmAttributes = USB_ENDPOINT_XFER_BULK,
158+ .wMaxPacketSize = MAX_PACKET_SIZE_HS,
159+ },
160+ .sink = {
161+ .bLength = sizeof(hs_descriptors.sink),
162+ .bDescriptorType = USB_DT_ENDPOINT,
163+ .bEndpointAddress = 2 | USB_DIR_IN,
164+ .bmAttributes = USB_ENDPOINT_XFER_BULK,
165+ .wMaxPacketSize = MAX_PACKET_SIZE_HS,
166+ },
167+};
168+
169+static struct ss_func_desc ss_descriptors = {
170+ .intf = {
171+ .bLength = sizeof(ss_descriptors.intf),
172+ .bDescriptorType = USB_DT_INTERFACE,
173+ .bInterfaceNumber = 0,
174+ .bNumEndpoints = 2,
175+ .bInterfaceClass = ADB_CLASS,
176+ .bInterfaceSubClass = ADB_SUBCLASS,
177+ .bInterfaceProtocol = ADB_PROTOCOL,
178+ .iInterface = 1, /* first string from the provided table */
179+ },
180+ .source = {
181+ .bLength = sizeof(ss_descriptors.source),
182+ .bDescriptorType = USB_DT_ENDPOINT,
183+ .bEndpointAddress = 1 | USB_DIR_OUT,
184+ .bmAttributes = USB_ENDPOINT_XFER_BULK,
185+ .wMaxPacketSize = MAX_PACKET_SIZE_SS,
186+ },
187+ .source_comp = {
188+ .bLength = sizeof(ss_descriptors.source_comp),
189+ .bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
190+ .bMaxBurst = 4,
191 },
192- .fs_descs = {
193- .intf = {
194- .bLength = sizeof(descriptors.fs_descs.intf),
195- .bDescriptorType = USB_DT_INTERFACE,
196- .bInterfaceNumber = 0,
197- .bNumEndpoints = 2,
198- .bInterfaceClass = ADB_CLASS,
199- .bInterfaceSubClass = ADB_SUBCLASS,
200- .bInterfaceProtocol = ADB_PROTOCOL,
201- .iInterface = 1, /* first string from the provided table */
202- },
203- .source = {
204- .bLength = sizeof(descriptors.fs_descs.source),
205- .bDescriptorType = USB_DT_ENDPOINT,
206- .bEndpointAddress = 1 | USB_DIR_OUT,
207- .bmAttributes = USB_ENDPOINT_XFER_BULK,
208- .wMaxPacketSize = MAX_PACKET_SIZE_FS,
209- },
210- .sink = {
211- .bLength = sizeof(descriptors.fs_descs.sink),
212- .bDescriptorType = USB_DT_ENDPOINT,
213- .bEndpointAddress = 2 | USB_DIR_IN,
214- .bmAttributes = USB_ENDPOINT_XFER_BULK,
215- .wMaxPacketSize = MAX_PACKET_SIZE_FS,
216- },
217+ .sink = {
218+ .bLength = sizeof(ss_descriptors.sink),
219+ .bDescriptorType = USB_DT_ENDPOINT,
220+ .bEndpointAddress = 2 | USB_DIR_IN,
221+ .bmAttributes = USB_ENDPOINT_XFER_BULK,
222+ .wMaxPacketSize = MAX_PACKET_SIZE_SS,
223 },
224- .hs_descs = {
225- .intf = {
226- .bLength = sizeof(descriptors.hs_descs.intf),
227- .bDescriptorType = USB_DT_INTERFACE,
228- .bInterfaceNumber = 0,
229- .bNumEndpoints = 2,
230- .bInterfaceClass = ADB_CLASS,
231- .bInterfaceSubClass = ADB_SUBCLASS,
232- .bInterfaceProtocol = ADB_PROTOCOL,
233- .iInterface = 1, /* first string from the provided table */
234- },
235- .source = {
236- .bLength = sizeof(descriptors.hs_descs.source),
237- .bDescriptorType = USB_DT_ENDPOINT,
238- .bEndpointAddress = 1 | USB_DIR_OUT,
239- .bmAttributes = USB_ENDPOINT_XFER_BULK,
240- .wMaxPacketSize = MAX_PACKET_SIZE_HS,
241- },
242- .sink = {
243- .bLength = sizeof(descriptors.hs_descs.sink),
244- .bDescriptorType = USB_DT_ENDPOINT,
245- .bEndpointAddress = 2 | USB_DIR_IN,
246- .bmAttributes = USB_ENDPOINT_XFER_BULK,
247- .wMaxPacketSize = MAX_PACKET_SIZE_HS,
248- },
249+ .sink_comp = {
250+ .bLength = sizeof(ss_descriptors.sink_comp),
251+ .bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
252+ .bMaxBurst = 4,
253 },
254 };
255
256+struct usb_ext_compat_desc os_desc_compat = {
257+ .bFirstInterfaceNumber = 0,
258+ .Reserved1 = cpu_to_le32(1),
259+ .CompatibleID = { 'W', 'I', 'N', 'U', 'S', 'B', '\0', '\0'},
260+ .SubCompatibleID = {0},
261+ .Reserved2 = {0},
262+};
263+
264+static struct usb_os_desc_header os_desc_header = {
265+ .interface = cpu_to_le32(0),
266+ .dwLength = cpu_to_le32(sizeof(os_desc_header) + sizeof(os_desc_compat)),
267+ .bcdVersion = cpu_to_le32(1),
268+ .wIndex = cpu_to_le32(4),
269+ .bCount = cpu_to_le32(1),
270+ .Reserved = cpu_to_le32(0),
271+};
272+
273+static struct usb_os_desc_header os_prop_header = {
274+ .interface = cpu_to_le32(0),
275+ .dwLength = cpu_to_le32(sizeof(os_desc_header) + sizeof(struct usb_ext_prop_values)),
276+ .bcdVersion = cpu_to_le32(1),
277+ .wIndex = cpu_to_le32(5),
278+ .wCount = cpu_to_le16(1),
279+};
280+
281 #define STR_INTERFACE_ "ADB Interface"
282
283 static const struct {
284@@ -151,8 +264,6 @@ static const struct {
285 },
286 };
287
288-
289-
290 static void *usb_adb_open_thread(void *x)
291 {
292 struct usb_handle *usb = (struct usb_handle *)x;
293@@ -270,6 +381,24 @@ static void usb_adb_init()
294 static void init_functionfs(struct usb_handle *h)
295 {
296 ssize_t ret;
297+ struct desc_v1 v1_descriptor = {};
298+ struct desc_v2 v2_descriptor = {};
299+
300+ v2_descriptor.header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2);
301+ v2_descriptor.header.length = cpu_to_le32(sizeof(v2_descriptor));
302+ v2_descriptor.header.flags = FUNCTIONFS_HAS_FS_DESC | FUNCTIONFS_HAS_HS_DESC |
303+ FUNCTIONFS_HAS_SS_DESC | FUNCTIONFS_HAS_MS_OS_DESC;
304+ v2_descriptor.fs_count = 3;
305+ v2_descriptor.hs_count = 3;
306+ v2_descriptor.ss_count = 5;
307+ v2_descriptor.os_count = 2;
308+ v2_descriptor.fs_descs = fs_descriptors;
309+ v2_descriptor.hs_descs = hs_descriptors;
310+ v2_descriptor.ss_descs = ss_descriptors;
311+ v2_descriptor.os_header = os_desc_header;
312+ v2_descriptor.os_desc = os_desc_compat;
313+ v2_descriptor.os_prop_header = os_prop_header;
314+ v2_descriptor.os_prop_values.guid = os_desc_guid;
315
316 if (h->control < 0) { // might have already done this before
317 D("OPENING %s\n", USB_FFS_ADB_EP0);
318@@ -279,10 +408,20 @@ static void init_functionfs(struct usb_handle *h)
319 goto err;
320 }
321
322- ret = adb_write(h->control, &descriptors, sizeof(descriptors));
323+ ret = adb_write(h->control, &v2_descriptor, sizeof(v2_descriptor));
324 if (ret < 0) {
325- D("[ %s: write descriptors failed: errno=%d ]\n", USB_FFS_ADB_EP0, errno);
326- goto err;
327+ D("[ %s: write v2_descriptor failed: errno=%d ]\n", USB_FFS_ADB_EP0, errno);
328+ v1_descriptor.header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC);
329+ v1_descriptor.header.length = cpu_to_le32(sizeof(v1_descriptor));
330+ v1_descriptor.header.fs_count = 3;
331+ v1_descriptor.header.hs_count = 3;
332+ v1_descriptor.fs_descs = fs_descriptors;
333+ v1_descriptor.hs_descs = hs_descriptors;
334+ ret = adb_write(h->control, &v1_descriptor, sizeof(v1_descriptor));
335+ if (ret < 0) {
336+ D("[ %s: failed to write USB descriptors]\n", USB_FFS_ADB_EP0);
337+ goto err;
338+ }
339 }
340
341 ret = adb_write(h->control, &strings, sizeof(strings));
342--
3432.18.0
344
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch
deleted file mode 100644
index 5009c73a05..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1From 7b74d23ed955206a789a96bdc3288593e702afac Mon Sep 17 00:00:00 2001
2From: Sean Anderson <sean.anderson@seco.com>
3Date: Thu, 30 Dec 2021 15:16:08 -0500
4Subject: [PATCH] libsparse: Split off most of sparse_file_read_normal into a
5 helper function
6
7This carves out the core of sparse_file_read_normal and splits it off so
8it can be reused in the next patch. No functional change intended.
9
10Change-Id: Id00491fd7e5bb6fa28c517a0bb32b8b506539d4d
11Upstream-Status: Backport [95657f3e5976d96073f7bbfe3a49192509999d1d]
12Signed-off-by: Sean Anderson <sean.anderson@seco.com>
13---
14 libsparse/sparse_read.c | 21 ++++++++++++++++-----
15 1 file changed, 16 insertions(+), 5 deletions(-)
16
17diff --git a/libsparse/sparse_read.c b/libsparse/sparse_read.c
18index 8e188e9a4..ee4abd86a 100644
19--- a/libsparse/sparse_read.c
20+++ b/libsparse/sparse_read.c
21@@ -353,13 +353,11 @@ static int sparse_file_read_sparse(struct sparse_file *s, int fd, bool crc)
22 return 0;
23 }
24
25-static int sparse_file_read_normal(struct sparse_file *s, int fd)
26+static int do_sparse_file_read_normal(struct sparse_file *s, int fd, uint32_t* buf, int64_t offset,
27+ int64_t remain)
28 {
29 int ret;
30- uint32_t *buf = malloc(s->block_size);
31- unsigned int block = 0;
32- int64_t remain = s->len;
33- int64_t offset = 0;
34+ unsigned int block = offset / s->block_size;
35 unsigned int to_read;
36 unsigned int i;
37 bool sparse_block;
38@@ -403,6 +401,19 @@ static int sparse_file_read_normal(struct sparse_file *s, int fd)
39 return 0;
40 }
41
42+static int sparse_file_read_normal(struct sparse_file* s, int fd)
43+{
44+ int ret;
45+ uint32_t* buf = (uint32_t*)malloc(s->block_size);
46+
47+ if (!buf)
48+ return -ENOMEM;
49+
50+ ret = do_sparse_file_read_normal(s, fd, buf, 0, s->len);
51+ free(buf);
52+ return ret;
53+}
54+
55 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc)
56 {
57 if (crc && !sparse) {
58--
592.35.1.1320.gc452695387.dirty
60
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch
deleted file mode 100644
index e5221d2b4c..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch
+++ /dev/null
@@ -1,188 +0,0 @@
1From 41574b628ec4229c24dfe289af7b6978edcca4ed Mon Sep 17 00:00:00 2001
2From: Sean Anderson <sean.anderson@seco.com>
3Date: Thu, 30 Dec 2021 15:19:41 -0500
4Subject: [PATCH] libsparse: Add "hole" mode to sparse_file_read
5
6This adds support for filesystem-level sparse files. These files have
7holes which are not stored in the filesystem and when read are full of
8zeros. While these zeros may be significant in some types of files,
9other types of files may not care about the contents of holes. For
10example, most filesystem creation tools write to all the blocks they
11care about. Those blocks not written to will remain holes, and can be
12safely represented by "don't care" chunks. Using "don't care" chunks
13instead of fill chunks can result in a substantial reduction of the time
14it takes to program a sparse image.
15
16To accomplish this, we extend the existing "sparse" boolean parameter to
17be an enum of mode types. This enum represents the strategy we take when
18reading in a file. For the most part the implementation is
19straightforward. We use lseek to determine where the holes in the file
20are, and then use do_sparse_file_read_normal to create chunks for the
21data section. Note that every file has an implicit hole at its end.
22
23Change-Id: I0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
24Upstream-Status: Backport [f96466b05543b984ef7315d830bab4a409228d35]
25Signed-off-by: Sean Anderson <sean.anderson@seco.com>
26---
27 libsparse/img2simg.c | 2 +-
28 libsparse/include/sparse/sparse.h | 32 +++++++++++---
29 libsparse/sparse_read.c | 71 +++++++++++++++++++++++++++++--
30 3 files changed, 93 insertions(+), 12 deletions(-)
31
32diff --git a/libsparse/img2simg.c b/libsparse/img2simg.c
33index a0db36f45..2e171b613 100644
34--- a/libsparse/img2simg.c
35+++ b/libsparse/img2simg.c
36@@ -96,7 +96,7 @@ int main(int argc, char *argv[])
37 }
38
39 sparse_file_verbose(s);
40- ret = sparse_file_read(s, in, false, false);
41+ ret = sparse_file_read(s, in, SPARSE_READ_MODE_NORMAL, false);
42 if (ret) {
43 fprintf(stderr, "Failed to read file\n");
44 exit(-1);
45diff --git a/libsparse/include/sparse/sparse.h b/libsparse/include/sparse/sparse.h
46index 8b757d22a..b68aa21a8 100644
47--- a/libsparse/include/sparse/sparse.h
48+++ b/libsparse/include/sparse/sparse.h
49@@ -196,23 +196,41 @@ int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc);
50 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc,
51 int (*write)(void *priv, const void *data, int len), void *priv);
52
53+/**
54+ * enum sparse_read_mode - The method to use when reading in files
55+ * @SPARSE_READ_MODE_NORMAL: The input is a regular file. Constant chunks of
56+ * data (including holes) will be be converted to
57+ * fill chunks.
58+ * @SPARSE_READ_MODE_SPARSE: The input is an Android sparse file.
59+ * @SPARSE_READ_MODE_HOLE: The input is a regular file. Holes will be converted
60+ * to "don't care" chunks. Other constant chunks will
61+ * be converted to fill chunks.
62+ */
63+enum sparse_read_mode {
64+ SPARSE_READ_MODE_NORMAL = false,
65+ SPARSE_READ_MODE_SPARSE = true,
66+ SPARSE_READ_MODE_HOLE,
67+};
68+
69 /**
70 * sparse_file_read - read a file into a sparse file cookie
71 *
72 * @s - sparse file cookie
73 * @fd - file descriptor to read from
74- * @sparse - read a file in the Android sparse file format
75+ * @mode - mode to use when reading the input file
76 * @crc - verify the crc of a file in the Android sparse file format
77 *
78- * Reads a file into a sparse file cookie. If sparse is true, the file is
79- * assumed to be in the Android sparse file format. If sparse is false, the
80- * file will be sparsed by looking for block aligned chunks of all zeros or
81- * another 32 bit value. If crc is true, the crc of the sparse file will be
82- * verified.
83+ * Reads a file into a sparse file cookie. If @mode is
84+ * %SPARSE_READ_MODE_SPARSE, the file is assumed to be in the Android sparse
85+ * file format. If @mode is %SPARSE_READ_MODE_NORMAL, the file will be sparsed
86+ * by looking for block aligned chunks of all zeros or another 32 bit value. If
87+ * @mode is %SPARSE_READ_MODE_HOLE, the file will be sparsed like
88+ * %SPARSE_READ_MODE_NORMAL, but holes in the file will be converted to "don't
89+ * care" chunks. If crc is true, the crc of the sparse file will be verified.
90 *
91 * Returns 0 on success, negative errno on error.
92 */
93-int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc);
94+int sparse_file_read(struct sparse_file *s, int fd, enum sparse_read_mode mode, bool crc);
95
96 /**
97 * sparse_file_import - import an existing sparse file
98diff --git a/libsparse/sparse_read.c b/libsparse/sparse_read.c
99index ee4abd86a..81f48cc13 100644
100--- a/libsparse/sparse_read.c
101+++ b/libsparse/sparse_read.c
102@@ -414,16 +414,79 @@ static int sparse_file_read_normal(struct sparse_file* s, int fd)
103 return ret;
104 }
105
106-int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc)
107+#ifdef __linux__
108+static int sparse_file_read_hole(struct sparse_file* s, int fd)
109 {
110- if (crc && !sparse) {
111+ int ret;
112+ uint32_t* buf = (uint32_t*)malloc(s->block_size);
113+ int64_t end = 0;
114+ int64_t start = 0;
115+
116+ if (!buf) {
117+ return -ENOMEM;
118+ }
119+
120+ do {
121+ start = lseek(fd, end, SEEK_DATA);
122+ if (start < 0) {
123+ if (errno == ENXIO)
124+ /* The rest of the file is a hole */
125+ break;
126+
127+ error("could not seek to data");
128+ free(buf);
129+ return -errno;
130+ } else if (start > s->len) {
131+ break;
132+ }
133+
134+ end = lseek(fd, start, SEEK_HOLE);
135+ if (end < 0) {
136+ error("could not seek to end");
137+ free(buf);
138+ return -errno;
139+ }
140+ end = min(end, s->len);
141+
142+ start = ALIGN_DOWN(start, s->block_size);
143+ end = ALIGN(end, s->block_size);
144+ if (lseek(fd, start, SEEK_SET) < 0) {
145+ free(buf);
146+ return -errno;
147+ }
148+
149+ ret = do_sparse_file_read_normal(s, fd, buf, start, end - start);
150+ if (ret) {
151+ free(buf);
152+ return ret;
153+ }
154+ } while (end < s->len);
155+
156+ free(buf);
157+ return 0;
158+}
159+#else
160+static int sparse_file_read_hole(struct sparse_file* s __unused, int fd __unused)
161+{
162+ return -ENOTSUP;
163+}
164+#endif
165+
166+int sparse_file_read(struct sparse_file *s, int fd, enum sparse_read_mode mode, bool crc)
167+{
168+ if (crc && mode != SPARSE_READ_MODE_SPARSE) {
169 return -EINVAL;
170 }
171
172- if (sparse) {
173+ switch (mode) {
174+ case SPARSE_READ_MODE_SPARSE:
175 return sparse_file_read_sparse(s, fd, crc);
176- } else {
177+ case SPARSE_READ_MODE_NORMAL:
178 return sparse_file_read_normal(s, fd);
179+ case SPARSE_READ_MODE_HOLE:
180+ return sparse_file_read_hole(s, fd);
181+ default:
182+ return -EINVAL;
183 }
184 }
185
186--
1872.35.1.1320.gc452695387.dirty
188
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch
deleted file mode 100644
index 9d19f58095..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch
+++ /dev/null
@@ -1,114 +0,0 @@
1From 00cce57eff1a0de3b93efa5da225e9eb33d19659 Mon Sep 17 00:00:00 2001
2From: Sean Anderson <sean.anderson@seco.com>
3Date: Thu, 30 Dec 2021 15:34:28 -0500
4Subject: [PATCH] img2simg: Add support for converting holes to "don't care"
5 chunks
6
7This adds support for converting files with holes to "don't care"
8chunks. This can result in a substantial reduction in the time it takes
9to program an image if it has many holes.
10
11Generally, constants compared to argc have been reduced by one, since we
12no longer have the program name as the first argument.
13
14Change-Id: I00750edc07d6415dcc07ae0351e9397b0222b7ba
15Upstream-Status: Backport [6150b00b6025918da8c28e5c2f929ecdf480a9d6]
16Signed-off-by: Sean Anderson <sean.anderson@seco.com>
17---
18 libsparse/img2simg.c | 41 ++++++++++++++++++++++++++++++-----------
19 1 file changed, 30 insertions(+), 11 deletions(-)
20
21diff --git a/libsparse/img2simg.c b/libsparse/img2simg.c
22index 2e171b613..c985d5449 100644
23--- a/libsparse/img2simg.c
24+++ b/libsparse/img2simg.c
25@@ -40,25 +40,42 @@
26
27 void usage()
28 {
29- fprintf(stderr, "Usage: img2simg <raw_image_file> <sparse_image_file> [<block_size>]\n");
30+ fprintf(stderr, "Usage: img2simg [-s] <raw_image_file> <sparse_image_file> [<block_size>]\n");
31 }
32
33 int main(int argc, char *argv[])
34 {
35+ char *arg_in;
36+ char *arg_out;
37+ enum sparse_read_mode mode = SPARSE_READ_MODE_NORMAL;
38+ int extra;
39 int in;
40+ int opt;
41 int out;
42 int ret;
43 struct sparse_file *s;
44 unsigned int block_size = 4096;
45 off64_t len;
46
47- if (argc < 3 || argc > 4) {
48+ while ((opt = getopt(argc, argv, "s")) != -1) {
49+ switch (opt) {
50+ case 's':
51+ mode = SPARSE_READ_MODE_HOLE;
52+ break;
53+ default:
54+ usage();
55+ exit(-1);
56+ }
57+ }
58+
59+ extra = argc - optind;
60+ if (extra < 2 || extra > 3) {
61 usage();
62 exit(-1);
63 }
64
65- if (argc == 4) {
66- block_size = atoi(argv[3]);
67+ if (extra == 3) {
68+ block_size = atoi(argv[optind + 2]);
69 }
70
71 if (block_size < 1024 || block_size % 4 != 0) {
72@@ -66,22 +83,24 @@ int main(int argc, char *argv[])
73 exit(-1);
74 }
75
76- if (strcmp(argv[1], "-") == 0) {
77+ arg_in = argv[optind];
78+ if (strcmp(arg_in, "-") == 0) {
79 in = STDIN_FILENO;
80 } else {
81- in = open(argv[1], O_RDONLY | O_BINARY);
82+ in = open(arg_in, O_RDONLY | O_BINARY);
83 if (in < 0) {
84- fprintf(stderr, "Cannot open input file %s\n", argv[1]);
85+ fprintf(stderr, "Cannot open input file %s\n", arg_in);
86 exit(-1);
87 }
88 }
89
90- if (strcmp(argv[2], "-") == 0) {
91+ arg_out = argv[optind + 1];
92+ if (strcmp(arg_out, "-") == 0) {
93 out = STDOUT_FILENO;
94 } else {
95- out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
96+ out = open(arg_out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
97 if (out < 0) {
98- fprintf(stderr, "Cannot open output file %s\n", argv[2]);
99+ fprintf(stderr, "Cannot open output file %s\n", arg_out);
100 exit(-1);
101 }
102 }
103@@ -96,7 +115,7 @@ int main(int argc, char *argv[])
104 }
105
106 sparse_file_verbose(s);
107- ret = sparse_file_read(s, in, SPARSE_READ_MODE_NORMAL, false);
108+ ret = sparse_file_read(s, in, mode, false);
109 if (ret) {
110 fprintf(stderr, "Failed to read file\n");
111 exit(-1);
112--
1132.35.1.1320.gc452695387.dirty
114
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/adb_libssl_11.diff b/meta-oe/recipes-devtools/android-tools/android-tools/core/adb_libssl_11.diff
deleted file mode 100644
index ddb41ea4b0..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/adb_libssl_11.diff
+++ /dev/null
@@ -1,48 +0,0 @@
1Description: adb: Make compatible with openssl 1.1
2 OpenSSL version 1.1 brought some API changes which broke the build here,
3 fix that by accessing rsa->n (and e) directly, using RSA_get0_key instead.
4Author: Chirayu Desai <chirayudesai1@gmail.com
5Last-Update: 2016-11-10
6---
7Upstream-Status: Pending
8
9This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
10---
11Upstream-Status: Pending
12
13 system/core/adb/adb_auth_host.c | 5 +++--
14 1 file changed, 3 insertions(+), 2 deletions(-)
15
16--- a/adb/adb_auth_host.c
17+++ b/adb/adb_auth_host.c
18@@ -75,6 +75,7 @@ static int RSA_to_RSAPublicKey(RSA *rsa,
19 BIGNUM* rem = BN_new();
20- BIGNUM* n = BN_new();
21+ const BIGNUM* n;
22 BIGNUM* n0inv = BN_new();
23+ const BIGNUM* e;
24
25 if (RSA_size(rsa) != RSANUMBYTES) {
26 ret = 0;
27@@ -82,7 +83,7 @@ static int RSA_to_RSAPublicKey(RSA *rsa,
28 }
29
30 BN_set_bit(r32, 32);
31- BN_copy(n, rsa->n);
32+ RSA_get0_key(rsa, &n, &e, NULL);
33 BN_set_bit(r, RSANUMWORDS * 32);
34 BN_mod_sqr(rr, r, n, ctx);
35 BN_div(NULL, rem, n, r32, ctx);
36@@ -96,11 +97,10 @@ static int RSA_to_RSAPublicKey(RSA *rsa,
37 BN_div(n, rem, n, r32, ctx);
38 pkey->n[i] = BN_get_word(rem);
39 }
40- pkey->exponent = BN_get_word(rsa->e);
41+ pkey->exponent = BN_get_word(e);
42
43 out:
44 BN_free(n0inv);
45- BN_free(n);
46 BN_free(rem);
47 BN_free(r);
48 BN_free(rr);
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/core/b64_pton_function_decl.patch b/meta-oe/recipes-devtools/android-tools/android-tools/core/b64_pton_function_decl.patch
deleted file mode 100644
index 80410f1d2b..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/core/b64_pton_function_decl.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1Add protoype declaration for b64_pton
2
3Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5--- a/adb/adb_auth_client.c
6+++ b/adb/adb_auth_client.c
7@@ -29,6 +29,7 @@
8
9 #define TRACE_TAG TRACE_AUTH
10
11+extern int b64_pton(const char* src, uint8_t* target, size_t targsize);
12
13 struct adb_public_key {
14 struct listnode node;
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Add-riscv64-support.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/Add-riscv64-support.patch
index 9fd0fa792c..9fd0fa792c 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Add-riscv64-support.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/Add-riscv64-support.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Added-missing-headers.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/Added-missing-headers.patch
index d827d7d3c2..d827d7d3c2 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Added-missing-headers.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/Added-missing-headers.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Nonnull.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/Nonnull.patch
index 54bd52c61a..54bd52c61a 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Nonnull.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/Nonnull.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Vector-cast.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/Vector-cast.patch
index b2881e0213..b2881e0213 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Vector-cast.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/Vector-cast.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/add-missing-headers.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/add-missing-headers.patch
index 681d2c6553..681d2c6553 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/add-missing-headers.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/add-missing-headers.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch
index e8e216161e..e8e216161e 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch
index a04a887c68..a04a887c68 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch
index 4da65ea285..4da65ea285 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch
index 1e0f15ddf0..1e0f15ddf0 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch
index 35df944d1c..35df944d1c 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch
index 441031f536..441031f536 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-build-on-non-x86.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-build-on-non-x86.patch
index b1caa60c4a..b1caa60c4a 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-build-on-non-x86.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-build-on-non-x86.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch
index 5f24d0b4a0..5f24d0b4a0 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-standard-namespace-errors.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-standard-namespace-errors.patch
index 4380308f13..4380308f13 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-standard-namespace-errors.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-standard-namespace-errors.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/hard-code-build-number.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/hard-code-build-number.patch
index 4d7323bd2f..4d7323bd2f 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/hard-code-build-number.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/hard-code-build-number.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/libusb-header-path.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/libusb-header-path.patch
index 122bd70e7d..122bd70e7d 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/libusb-header-path.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/libusb-header-path.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch
index e8494ab433..e8494ab433 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/simg_dump-python3.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/simg_dump-python3.patch
index 6664dc2aa5..6664dc2aa5 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/simg_dump-python3.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/simg_dump-python3.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/stdatomic.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/stdatomic.patch
index e11f3cc783..e11f3cc783 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/stdatomic.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/stdatomic.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/stub-out-fastdeploy.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/stub-out-fastdeploy.patch
index d86ef230f7..d86ef230f7 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/stub-out-fastdeploy.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/stub-out-fastdeploy.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch
index 9fd0fa792c..9fd0fa792c 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Added-missing-headers.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Added-missing-headers.patch
index d827d7d3c2..d827d7d3c2 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Added-missing-headers.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Added-missing-headers.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Nonnull.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Nonnull.patch
index 54bd52c61a..54bd52c61a 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Nonnull.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Nonnull.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Vector-cast.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Vector-cast.patch
index b2881e0213..b2881e0213 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Vector-cast.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Vector-cast.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/add-missing-headers.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/add-missing-headers.patch
index 681d2c6553..681d2c6553 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/add-missing-headers.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/add-missing-headers.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch
index 61032944d8..61032944d8 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch
index 441031f536..441031f536 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch
index b1caa60c4a..b1caa60c4a 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch
index 5f24d0b4a0..5f24d0b4a0 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch
index 4380308f13..4380308f13 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/hard-code-build-number.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/hard-code-build-number.patch
index 4d7323bd2f..4d7323bd2f 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/hard-code-build-number.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/hard-code-build-number.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libusb-header-path.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/libusb-header-path.patch
index 122bd70e7d..122bd70e7d 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libusb-header-path.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/libusb-header-path.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch
index 0b5087f283..0b5087f283 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch
index e8494ab433..e8494ab433 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/simg_dump-python3.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/simg_dump-python3.patch
index 6664dc2aa5..6664dc2aa5 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/simg_dump-python3.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/simg_dump-python3.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/stdatomic.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/stdatomic.patch
index e11f3cc783..e11f3cc783 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/stdatomic.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/stdatomic.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch
index d86ef230f7..d86ef230f7 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch
index 70e732131f..70e732131f 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch b/meta-oe/recipes-devtools/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch
index 70e732131f..70e732131f 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/ext4_utils.mk b/meta-oe/recipes-devtools/android-tools/android-tools/ext4_utils.mk
deleted file mode 100644
index c18aa9c4d2..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/ext4_utils.mk
+++ /dev/null
@@ -1,103 +0,0 @@
1# Makefile for ext4_utils
2
3SRCDIR ?= $(S)
4
5VPATH += $(SRCDIR)/system/extras/ext4_utils
6make_ext4fs_SRC_FILES += make_ext4fs_main.c
7make_ext4fs_SRC_FILES += canned_fs_config.c
8make_ext4fs_OBJS := $(make_ext4fs_SRC_FILES:.c=.o)
9
10ext2simg_SRC_FILES += ext2simg.c
11ext2simg_OBJS := $(ext2simg_SRC_FILES:.c=.o)
12
13ext4fixup_SRC_FILES += ext4fixup_main.c
14ext4fixup_OBJS := $(ext4fixup_SRC_FILES:.c=.o)
15
16libext4_utils_SRC_FILES += make_ext4fs.c
17libext4_utils_SRC_FILES += ext4fixup.c
18libext4_utils_SRC_FILES += ext4_utils.c
19libext4_utils_SRC_FILES += allocate.c
20libext4_utils_SRC_FILES += contents.c
21libext4_utils_SRC_FILES += extent.c
22libext4_utils_SRC_FILES += indirect.c
23libext4_utils_SRC_FILES += uuid.c
24libext4_utils_SRC_FILES += sha1.c
25libext4_utils_SRC_FILES += wipe.c
26libext4_utils_SRC_FILES += crc16.c
27libext4_utils_SRC_FILES += ext4_sb.c
28libext4_utils_OBJS := $(libext4_utils_SRC_FILES:.c=.o)
29
30VPATH += $(SRCDIR)/system/core/libsparse
31simg2img_SRC_FILES += simg2img.c
32simg2img_SRC_FILES += sparse_crc32.c
33simg2img_OBJS := $(simg2img_SRC_FILES:.c=.o)
34
35img2simg_SRC_FILES += img2simg.c
36img2simg_OBJS := $(img2simg_SRC_FILES:.c=.o)
37
38simg2simg_SRC_FILES += simg2simg.c
39simg2simg_SRC_FILES += sparse_crc32.c
40simg2simg_OBJS := $(simg2simg_SRC_FILES:.c=.o)
41
42libsparse_SRC_FILES += backed_block.c
43libsparse_SRC_FILES += output_file.c
44libsparse_SRC_FILES += sparse.c
45libsparse_SRC_FILES += sparse_crc32.c
46libsparse_SRC_FILES += sparse_err.c
47libsparse_SRC_FILES += sparse_read.c
48libsparse_OBJS := $(libsparse_SRC_FILES:.c=.o)
49
50VPATH += $(SRCDIR)/external/libselinux/src
51libselinux_SRC_FILES += callbacks.c
52libselinux_SRC_FILES += check_context.c
53libselinux_SRC_FILES += freecon.c
54libselinux_SRC_FILES += init.c
55libselinux_SRC_FILES += label.c
56libselinux_SRC_FILES += label_file.c
57libselinux_SRC_FILES += label_android_property.c
58libselinux_OBJS := $(libselinux_SRC_FILES:.c=.o)
59
60CFLAGS += -DANDROID
61CFLAGS += -DHOST
62CFLAGS += -I$(SRCDIR)/system/extras/ext4_utils
63CFLAGS += -I$(SRCDIR)/system/core/include
64CFLAGS += -I$(SRCDIR)/system/core/libsparse/include
65CFLAGS += -I$(SRCDIR)/external/libselinux/include
66CFLAGS += -include $(SRCDIR)/build/core/combo/include/arch/$(android_arch)/AndroidConfig.h
67
68all: make_ext4fs ext2simg ext4fixup simg2img img2simg simg2simg
69
70make_ext4fs: libext4_utils.a libsparse.a libselinux.a $(make_ext4fs_OBJS)
71 $(CC) -o $@ $(LDFLAGS) $(make_ext4fs_OBJS) \
72 libext4_utils.a libsparse.a libselinux.a -lz -lpcre
73
74ext2simg: libext4_utils.a libselinux.a libsparse.a $(ext2simg_OBJS)
75 $(CC) -o $@ $(LDFLAGS) $(ext2simg_OBJS) \
76 libext4_utils.a libselinux.a libsparse.a -lz -lpcre
77
78ext4fixup: libext4_utils.a libsparse.a $(ext4fixup_OBJS)
79 $(CC) -o $@ $(LDFLAGS) $(ext4fixup_OBJS) libext4_utils.a libsparse.a -lz
80
81simg2img: libsparse.a $(simg2img_OBJS)
82 $(CC) -o $@ $(LDFLAGS) $(simg2img_OBJS) libsparse.a -lz
83
84img2simg: libsparse.a $(img2simg_OBJS)
85 $(CC) -o $@ $(LDFLAGS) $(img2simg_OBJS) libsparse.a -lz
86
87simg2simg: libsparse.a $(simg2simg_OBJS)
88 $(CC) -o $@ $(LDFLAGS) $(simg2simg_OBJS) libsparse.a -lz
89
90libext4_utils.a: $(libext4_utils_OBJS)
91 $(AR) rcs $@ $(libext4_utils_OBJS)
92
93libsparse.a: $(libsparse_OBJS)
94 $(AR) rcs $@ $(libsparse_OBJS)
95
96libselinux.a: $(libselinux_OBJS)
97 $(AR) rcs $@ $(libselinux_OBJS)
98
99clean:
100 $(RM) $(make_ext4fs_OBJS) $(ext2simg_OBJS) $(ext4fixup_OBJS) \
101 $(simg2img_OBJS) $(img2simg_OBJS) $(simg2simg_OBJS) \
102 $(libext4_utils_OBJS) $(libsparse_OBJS) $(libselinux_OBJS) \
103 make_ext4fs ext2simg ext4fixup simg2img img2simg simg2simg *.a
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/extras/0001-ext4_utils-remove-selinux-extensions.patch b/meta-oe/recipes-devtools/android-tools/android-tools/extras/0001-ext4_utils-remove-selinux-extensions.patch
deleted file mode 100644
index 4a19a5d65a..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/extras/0001-ext4_utils-remove-selinux-extensions.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 354604da9d152f1931e91991d3f34197fc8fc759 Mon Sep 17 00:00:00 2001
2From: Sergio Schvezov <sergio.schvezov@canonical.com>
3Date: Tue, 2 Oct 2018 16:36:54 +0000
4Subject: [PATCH] ext4_utils: remove selinux extensions
5
6* drop useless includes of Android SELINUX extensions
7* avoids having to clone another module
8* this should be sent upstream
9
10Upstream-Status: Inappropriate
11---
12 ext4_utils/make_ext4fs.c | 1 -
13 ext4_utils/make_ext4fs_main.c | 1 -
14 2 files changed, 2 deletions(-)
15
16diff --git a/ext4_utils/make_ext4fs.c b/ext4_utils/make_ext4fs.c
17index 2f89ae8a0..732afbed7 100644
18--- a/ext4_utils/make_ext4fs.c
19+++ b/ext4_utils/make_ext4fs.c
20@@ -62,7 +62,6 @@
21
22 #include <selinux/selinux.h>
23 #include <selinux/label.h>
24-#include <selinux/android.h>
25
26 #define O_BINARY 0
27
28diff --git a/ext4_utils/make_ext4fs_main.c b/ext4_utils/make_ext4fs_main.c
29index a6c5f6160..f8e7b9da9 100644
30--- a/ext4_utils/make_ext4fs_main.c
31+++ b/ext4_utils/make_ext4fs_main.c
32@@ -32,7 +32,6 @@
33 #ifndef USE_MINGW
34 #include <selinux/selinux.h>
35 #include <selinux/label.h>
36-#include <selinux/android.h>
37 #else
38 struct selabel_handle;
39 #endif
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch b/meta-oe/recipes-devtools/android-tools/android-tools/extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch
deleted file mode 100644
index 3b50ffbf36..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch
+++ /dev/null
@@ -1,78 +0,0 @@
1From b9254539811ce912bfd16dd1d185eba7a10cceff Mon Sep 17 00:00:00 2001
2From: Markus Mayer <mmayer@mmayer.net>
3Date: Wed, 7 Sep 2016 12:58:47 +0300
4Subject: [PATCH] ext4_utils: add -o argument to preserve ownership
5
6See also https://android-review.googlesource.com/#/c/100312/
7
8Upstream-Status: Inappropriate
9---
10 ext4_utils/make_ext4fs.c | 6 ++++++
11 ext4_utils/make_ext4fs_main.c | 10 ++++++++--
12 2 files changed, 14 insertions(+), 2 deletions(-)
13
14diff --git a/ext4_utils/make_ext4fs.c b/ext4_utils/make_ext4fs.c
15index 732afbed7..2cbf04399 100644
16--- a/ext4_utils/make_ext4fs.c
17+++ b/ext4_utils/make_ext4fs.c
18@@ -67,6 +67,8 @@
19
20 #endif
21
22+int preserve_owner = 0;
23+
24 /* TODO: Not implemented:
25 Allocating blocks in the same block group as the file inode
26 Hash or binary tree directories
27@@ -185,6 +187,10 @@ static u32 build_directory_structure(const char *full_path, const char *dir_path
28 } else {
29 dentries[i].mtime = fixed_time;
30 }
31+ if (preserve_owner) {
32+ dentries[i].uid = stat.st_uid;
33+ dentries[i].gid = stat.st_gid;
34+ }
35 uint64_t capabilities;
36 if (fs_config_func != NULL) {
37 #ifdef ANDROID
38diff --git a/ext4_utils/make_ext4fs_main.c b/ext4_utils/make_ext4fs_main.c
39index f8e7b9da9..e82d43277 100644
40--- a/ext4_utils/make_ext4fs_main.c
41+++ b/ext4_utils/make_ext4fs_main.c
42@@ -47,13 +47,15 @@ struct selabel_handle;
43 extern struct fs_info info;
44
45
46+extern int preserve_owner;
47+
48 static void usage(char *path)
49 {
50 fprintf(stderr, "%s [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]\n", basename(path));
51 fprintf(stderr, " [ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ]\n");
52 fprintf(stderr, " [ -L <label> ] [ -f ] [ -a <android mountpoint> ]\n");
53 fprintf(stderr, " [ -S file_contexts ] [ -C fs_config ] [ -T timestamp ]\n");
54- fprintf(stderr, " [ -z | -s ] [ -w ] [ -c ] [ -J ] [ -v ] [ -B <block_list_file> ]\n");
55+ fprintf(stderr, " [ -z | -s ] [ -w ] [ -c ] [ -J ] [ -o ] [ -v ] [ -B <block_list_file> ]\n");
56 fprintf(stderr, " <filename> [<directory>]\n");
57 }
58
59@@ -79,7 +81,7 @@ int main(int argc, char **argv)
60 struct selinux_opt seopts[] = { { SELABEL_OPT_PATH, "" } };
61 #endif
62
63- while ((opt = getopt(argc, argv, "l:j:b:g:i:I:L:a:S:T:C:B:fwzJsctv")) != -1) {
64+ while ((opt = getopt(argc, argv, "l:j:b:g:i:I:L:a:S:T:C:B:fwzJsctov")) != -1) {
65 switch (opt) {
66 case 'l':
67 info.len = parse_num(optarg);
68@@ -142,6 +144,10 @@ int main(int argc, char **argv)
69 }
70 #endif
71 break;
72+ case 'o':
73+ preserve_owner = 1;
74+ printf("Warning: Enabling 'preserve ownership', this is an unofficial feature!\n");
75+ break;
76 case 'v':
77 verbose = 1;
78 break;
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch b/meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch
deleted file mode 100644
index b77c0ebc13..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch
+++ /dev/null
@@ -1,69 +0,0 @@
1From c9f8cb184a7218c97ff966db44da6dd814c0e273 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Fri, 21 Mar 2025 09:49:32 +0000
4Subject: [PATCH] ext4_utils: drop unused parameter from allocate_inode()
5
6* fixes build with gcc-15:
7 http://errors.yoctoproject.org/Errors/Details/848455/
8
9TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c: In function 'make_directory':
10TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c:115:29: error: too many arguments to function 'allocate_inode'; expected 0, have 1
11 115 | inode_num = allocate_inode(info);
12 | ^~~~~~~~~~~~~~ ~~~~
13In file included from TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c:32:
14TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/allocate.h:61:5: note: declared here
15 61 | u32 allocate_inode();
16 | ^~~~~~~~~~~~~~
17TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c: In function 'make_file':
18TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c:183:21: error: too many arguments to function 'allocate_inode'; expected 0, have 1
19 183 | inode_num = allocate_inode(info);
20 | ^~~~~~~~~~~~~~ ~~~~
21TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/allocate.h:61:5: note: declared here
22 61 | u32 allocate_inode();
23 | ^~~~~~~~~~~~~~
24TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c: In function 'make_link':
25TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c:218:21: error: too many arguments to function 'allocate_inode'; expected 0, have 1
26 218 | inode_num = allocate_inode(info);
27 | ^~~~~~~~~~~~~~ ~~~~
28TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/allocate.h:61:5: note: declared here
29 61 | u32 allocate_inode();
30 | ^~~~~~~~~~~~~~
31make: *** [<builtin>: contents.o] Error 1
32
33Upstream-Status: Pending [this whole code was removed in newer version android-9.0.0_r1 https://android.googlesource.com/platform/system/extras/+/7a837fcd6e9c0e0219f743052c78cc1c5988dfaf]
34Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
35---
36 ext4_utils/contents.c | 6 +++---
37 1 file changed, 3 insertions(+), 3 deletions(-)
38
39diff --git a/ext4_utils/contents.c b/ext4_utils/contents.c
40index 3144de93f..ac1b71706 100644
41--- a/ext4_utils/contents.c
42+++ b/ext4_utils/contents.c
43@@ -112,7 +112,7 @@ u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries,
44 len = blocks * info.block_size;
45
46 if (dir_inode_num) {
47- inode_num = allocate_inode(info);
48+ inode_num = allocate_inode();
49 } else {
50 dir_inode_num = EXT4_ROOT_INO;
51 inode_num = EXT4_ROOT_INO;
52@@ -180,7 +180,7 @@ u32 make_file(const char *filename, u64 len)
53 struct ext4_inode *inode;
54 u32 inode_num;
55
56- inode_num = allocate_inode(info);
57+ inode_num = allocate_inode();
58 if (inode_num == EXT4_ALLOCATE_FAILED) {
59 error("failed to allocate inode\n");
60 return EXT4_ALLOCATE_FAILED;
61@@ -215,7 +215,7 @@ u32 make_link(const char *link)
62 u32 inode_num;
63 u32 len = strlen(link);
64
65- inode_num = allocate_inode(info);
66+ inode_num = allocate_inode();
67 if (inode_num == EXT4_ALLOCATE_FAILED) {
68 error("failed to allocate inode\n");
69 return EXT4_ALLOCATE_FAILED;
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/fastboot.mk b/meta-oe/recipes-devtools/android-tools/android-tools/fastboot.mk
deleted file mode 100644
index b9ba95f38a..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/fastboot.mk
+++ /dev/null
@@ -1,89 +0,0 @@
1# Makefile for fastboot
2
3SRCDIR ?= $(S)
4
5VPATH += $(SRCDIR)/system/core/fastboot
6fastboot_SRC_FILES += protocol.c
7fastboot_SRC_FILES += engine.c
8fastboot_SRC_FILES += bootimg.c
9fastboot_SRC_FILES += fastboot.c
10fastboot_SRC_FILES += util.c
11fastboot_SRC_FILES += fs.c
12fastboot_SRC_FILES += usb_linux.c
13fastboot_SRC_FILES += util_linux.c
14fastboot_OBJS := $(fastboot_SRC_FILES:.c=.o)
15
16VPATH += $(SRCDIR)/system/core/libzipfile
17libzipfile_SRC_FILES += centraldir.c
18libzipfile_SRC_FILES += zipfile.c
19libzipfile_OBJS := $(libzipfile_SRC_FILES:.c=.o)
20
21VPATH += $(SRCDIR)/system/extras/ext4_utils
22libext4_utils_SRC_FILES += make_ext4fs.c
23libext4_utils_SRC_FILES += ext4fixup.c
24libext4_utils_SRC_FILES += ext4_utils.c
25libext4_utils_SRC_FILES += allocate.c
26libext4_utils_SRC_FILES += contents.c
27libext4_utils_SRC_FILES += extent.c
28libext4_utils_SRC_FILES += indirect.c
29libext4_utils_SRC_FILES += uuid.c
30libext4_utils_SRC_FILES += sha1.c
31libext4_utils_SRC_FILES += wipe.c
32libext4_utils_SRC_FILES += crc16.c
33libext4_utils_SRC_FILES += ext4_sb.c
34libext4_utils_OBJS := $(libext4_utils_SRC_FILES:.c=.o)
35
36VPATH += $(SRCDIR)/system/core/libsparse
37libsparse_SRC_FILES += backed_block.c
38libsparse_SRC_FILES += output_file.c
39libsparse_SRC_FILES += sparse.c
40libsparse_SRC_FILES += sparse_crc32.c
41libsparse_SRC_FILES += sparse_err.c
42libsparse_SRC_FILES += sparse_read.c
43libsparse_OBJS := $(libsparse_SRC_FILES:.c=.o)
44
45VPATH += $(SRCDIR)/external/libselinux/src
46libselinux_SRC_FILES += callbacks.c
47libselinux_SRC_FILES += check_context.c
48libselinux_SRC_FILES += freecon.c
49libselinux_SRC_FILES += init.c
50libselinux_SRC_FILES += label.c
51libselinux_SRC_FILES += label_file.c
52libselinux_SRC_FILES += label_android_property.c
53libselinux_OBJS := $(libselinux_SRC_FILES:.c=.o)
54
55CFLAGS += -std=gnu11
56CFLAGS += -DANDROID
57# CFLAGS += -DUSE_F2FS
58CFLAGS += -DHOST
59CFLAGS += -I$(SRCDIR)/system/core/fastboot
60CFLAGS += -I$(SRCDIR)/system/core/include
61CFLAGS += -I$(SRCDIR)/system/core/mkbootimg
62CFLAGS += -I$(SRCDIR)/system/extras/ext4_utils
63CFLAGS += -I$(SRCDIR)/system/extras/f2fs_utils
64CFLAGS += -I$(SRCDIR)/system/core/libsparse/include
65CFLAGS += -I$(SRCDIR)/external/libselinux/include
66CFLAGS += -include $(SRCDIR)/build/core/combo/include/arch/$(android_arch)/AndroidConfig.h
67
68LIBS += libzipfile.a libext4_utils.a libsparse.a libselinux.a -lz -lpcre
69
70all: fastboot
71
72fastboot: libzipfile.a libext4_utils.a libsparse.a libselinux.a $(fastboot_OBJS)
73 $(CC) -o $@ $(LDFLAGS) $(fastboot_OBJS) $(LIBS)
74
75libzipfile.a: $(libzipfile_OBJS)
76 $(AR) rcs $@ $(libzipfile_OBJS)
77
78libext4_utils.a: $(libext4_utils_OBJS)
79 $(AR) rcs $@ $(libext4_utils_OBJS)
80
81libsparse.a: $(libsparse_OBJS)
82 $(AR) rcs $@ $(libsparse_OBJS)
83
84libselinux.a: $(libselinux_OBJS)
85 $(AR) rcs $@ $(libselinux_OBJS)
86
87clean:
88 $(RM) $(fastboot_OBJS) $(libzipfile_OBJS) $(libext4_utils_OBJS) \
89 $(libsparse_OBJS) $(libselinux_OBJS) fastboot *.a
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/gitignore b/meta-oe/recipes-devtools/android-tools/android-tools/gitignore
deleted file mode 100644
index b034c10a1e..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/gitignore
+++ /dev/null
@@ -1,59 +0,0 @@
1*
2!.gitignore
3!*.indirectionsymlink
4!*.[ch]
5!*.mk
6!*.patch
7!*.service
8!NOTICE
9!MODULE_LICENSE_*
10!/system/
11!/system/core/
12!/system/core/adb/
13!/system/core/fastboot/
14!/system/core/fs_mgr/
15!/system/core/fs_mgr/include/
16!/system/core/include/
17!/system/core/include/android/
18!/system/core/include/cutils/
19!/system/core/include/log/
20!/system/core/include/mincrypt/
21!/system/core/include/private/
22!/system/core/include/utils/
23!/system/core/include/zipfile/
24!/system/core/liblog/
25!/system/core/liblog/tests/
26!/system/core/libcutils/
27!/system/core/libmincrypt/
28!/system/core/libzipfile/
29!/system/core/libsparse/
30!/system/core/libsparse/include/
31!/system/core/libsparse/include/sparse/
32!/system/core/libsparse/simg_dump.py
33!/system/core/mkbootimg/
34!/system/extras/
35!/system/extras/ext4_utils/
36!/system/extras/ext4_utils/mkuserimg.sh
37!/system/extras/ext4_utils/test_ext4fixup
38!/system/extras/f2fs_utils/
39!/hardware/
40!/hardware/libhardware/
41!/hardware/libhardware/include/
42!/hardware/libhardware/include/hardware/
43!/external/
44!/external/libselinux/
45!/external/libselinux/include/
46!/external/libselinux/include/selinux/
47!/external/libselinux/src/
48!/external/f2fs-tools/
49!/external/f2fs-tools/include/
50!/external/f2fs-tools/lib/
51!/external/f2fs-tools/mkfs/
52!/build/
53!/build/core/
54!/build/core/version_defaults.mk
55!/build/core/combo/
56!/build/core/combo/include/
57!/build/core/combo/include/arch/
58!/build/core/combo/include/arch/linux-*/
59!/build/core/combo/include/arch/linux-*/AndroidConfig.h
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-Remove-bionic-specific-calls.patch b/meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-Remove-bionic-specific-calls.patch
deleted file mode 100644
index 9de2593df8..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-Remove-bionic-specific-calls.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From 36654a4484117e5f4d63a810c0d94bc9c7ee3a83 Mon Sep 17 00:00:00 2001
2From: Fathi Boudra <fabo@debian.org>
3Date: Tue, 2 Oct 2018 16:36:54 +0000
4Subject: [PATCH] Remove bionic specific calls
5
6Upstream-Status: Inappropriate
7
8Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
9---
10 src/procattr.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/procattr.c b/src/procattr.c
14index f350808..761cf8e 100644
15--- a/src/procattr.c
16+++ b/src/procattr.c
17@@ -8,7 +8,7 @@
18 #include "selinux_internal.h"
19 #include "policy.h"
20
21-#ifdef HOST
22+#ifndef __BIONIC__
23 static pid_t gettid(void)
24 {
25 return syscall(__NR_gettid);
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch b/meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch
deleted file mode 100644
index 8b5e4cf999..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch
+++ /dev/null
@@ -1,51 +0,0 @@
1From f4f9d24860e1b5cd4f6a014f3fda7cd33ebe5be7 Mon Sep 17 00:00:00 2001
2From: Petr Lautrbach <plautrba@redhat.com>
3Date: Sat, 27 Jul 2019 08:20:20 -0700
4Subject: [PATCH] libselinux: Do not define gettid() if glibc >= 2.30 is used
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Since version 2.30 glibc implements gettid() system call wrapper, see
10https://sourceware.org/bugzilla/show_bug.cgi?id=6399
11
12Fixes:
13cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -c -o procattr.o procattr.c
14procattr.c:28:14: error: static declaration of ‘gettid’ follows non-static declaration
15 28 | static pid_t gettid(void)
16 | ^~~~~~
17In file included from /usr/include/unistd.h:1170,
18 from procattr.c:2:
19/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
20 34 | extern __pid_t gettid (void) __THROW;
21 | ^~~~~~
22
23Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
24Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
25Signed-off-by: Khem Raj <raj.khem@gmail.com>
26---
27Upstream-Status: Pending
28
29 src/procattr.c | 14 +++++++++++++-
30 1 file changed, 13 insertions(+), 1 deletion(-)
31
32--- a/src/procattr.c
33+++ b/src/procattr.c
34@@ -8,12 +8,16 @@
35 #include "selinux_internal.h"
36 #include "policy.h"
37
38-#ifndef __BIONIC__
39+/* Bionic and glibc >= 2.30 declare gettid() system call wrapper in unistd.h and
40+ * has a definition for it */
41+#if defined(__GLIBC_)
42+#if !__GLIBC_PREREQ(2,30)
43 static pid_t gettid(void)
44 {
45 return syscall(__NR_gettid);
46 }
47 #endif
48+#endif
49
50 static int getprocattrcon(char ** context,
51 pid_t pid, const char *attr)
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/mkbootimg.mk b/meta-oe/recipes-devtools/android-tools/android-tools/mkbootimg.mk
deleted file mode 100644
index 519f609fd2..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools/mkbootimg.mk
+++ /dev/null
@@ -1,29 +0,0 @@
1# Makefile for mkbootimg
2
3SRCDIR ?= $(S)
4
5VPATH += $(SRCDIR)/system/core/mkbootimg
6mkbootimg_SRC_FILES += mkbootimg.c
7mkbootimg_OBJS := $(mkbootimg_SRC_FILES:.c=.o)
8
9VPATH += $(SRCDIR)/system/core/libmincrypt
10libmincrypt_SRC_FILES := dsa_sig.c p256.c p256_ec.c p256_ecdsa.c rsa.c sha.c sha256.c
11libmincrypt_OBJS := $(libmincrypt_SRC_FILES:.c=.o)
12
13CFLAGS += -DANDROID
14CFLAGS += -I$(SRCDIR)/system/core/mkbootimg
15CFLAGS += -I$(SRCDIR)/system/core/include
16CFLAGS += -include $(SRCDIR)/build/core/combo/include/arch/$(android_arch)/AndroidConfig.h
17
18LIBS += libmincrypt.a
19
20all: mkbootimg
21
22mkbootimg: libmincrypt.a $(mkbootimg_OBJS)
23 $(CC) -o $@ $(LDFLAGS) $(mkbootimg_OBJS) $(LIBS)
24
25libmincrypt.a: $(libmincrypt_OBJS)
26 $(AR) rcs $@ $(libmincrypt_OBJS)
27
28clean:
29 $(RM) $(mkbootimg_OBJS) $(libmincrypt_OBJS) mkbootimg *.a
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/remount b/meta-oe/recipes-devtools/android-tools/android-tools/remount
index 751c3501ef..751c3501ef 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/remount
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/remount
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/rules_yocto.mk b/meta-oe/recipes-devtools/android-tools/android-tools/rules_yocto.mk
index 2c808d3c1e..2c808d3c1e 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/rules_yocto.mk
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/rules_yocto.mk
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb b/meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb
index 3d4e95b496..b3a3f78254 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
7 file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f \ 7 file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f \
8 file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ 8 file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \
9" 9"
10DEPENDS = "libbsd libpcre zlib libcap libusb squashfs-tools 7zip libselinux googletest" 10DEPENDS = "libbsd libpcre zlib libcap libusb squashfs-tools 7zip googletest"
11 11
12SRCREV_core = "abfd66fafcbb691d7860df059f1df1c9b1ef29da" 12SRCREV_core = "abfd66fafcbb691d7860df059f1df1c9b1ef29da"
13 13
@@ -191,3 +191,6 @@ FILES:${PN}-fstools = "\
191FILES:${PN} += "${libdir}/android ${libdir}/android/*" 191FILES:${PN} += "${libdir}/android ${libdir}/android/*"
192 192
193BBCLASSEXTEND = "native" 193BBCLASSEXTEND = "native"
194
195PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
196PACKAGECONFIG[selinux] = ",,libselinux"
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
deleted file mode 100644
index c04a1ef8c4..0000000000
--- a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
+++ /dev/null
@@ -1,189 +0,0 @@
1DESCRIPTION = "Different utilities from Android"
2SECTION = "console/utils"
3LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-2-Clause & BSD-3-Clause"
4LIC_FILES_CHKSUM = " \
5 file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10 \
6 file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6 \
7 file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f \
8 file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \
9"
10DEPENDS = "libbsd libpcre zlib libcap"
11DEPENDS:append:class-target = " openssl"
12
13ANDROID_MIRROR = "android.googlesource.com"
14
15# matches with android-5.1.1_r37
16SRCREV_core = "2314b110bdebdbfd2d94c502282f9e57c849897e"
17SRCREV_extras = "3ecbe8d841df96127d7855661293e5ab6ba6c205"
18SRCREV_libhardware = "be55eb1f4d840c82ffaf7c47460df17ff5bc4d9b"
19SRCREV_libselinux = "07e9e1339ad1ba608acfba9dce2d0f474b252feb"
20SRCREV_build = "16e987def3d7d8f7d30805eb95cef69e52a87dbc"
21
22SRCREV_FORMAT = "core_extras_libhardware_libselinux_build"
23SRC_URI = " \
24 git://${ANDROID_MIRROR}/platform/system/core;name=core;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/system/core \
25 git://${ANDROID_MIRROR}/platform/system/extras;name=extras;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/system/extras \
26 git://${ANDROID_MIRROR}/platform/hardware/libhardware;name=libhardware;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/hardware/libhardware \
27 git://${ANDROID_MIRROR}/platform/external/libselinux;name=libselinux;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/libselinux \
28 git://${ANDROID_MIRROR}/platform/build;name=build;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/build \
29 file://core/0001-adb-remove-selinux-extensions.patch;patchdir=system/core \
30 file://core/0002-adb-Use-local-sockets-where-appropriate.patch;patchdir=system/core \
31 file://core/0003-adb-define-shell-command.patch;patchdir=system/core \
32 file://core/0004-adb-Fix-build-on-big-endian-systems.patch;patchdir=system/core \
33 file://core/0005-adb-add-base64-implementation.patch;patchdir=system/core \
34 file://core/0006-adb-Musl-fixes.patch;patchdir=system/core \
35 file://core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch;patchdir=system/core \
36 file://core/0008-adb-Allow-adbd-to-be-ran-as-root.patch;patchdir=system/core \
37 file://core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch;patchdir=system/core \
38 file://core/0010-Use-linux-capability.h-on-linux-systems-too.patch;patchdir=system/core \
39 file://core/0011-Remove-bionic-specific-calls.patch;patchdir=system/core \
40 file://core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch;patchdir=system/core \
41 file://core/adb_libssl_11.diff;patchdir=system/core \
42 file://core/b64_pton_function_decl.patch;patchdir=system/core \
43 file://core/0013-adb-Support-riscv64.patch;patchdir=system/core \
44 file://core/0014-add-u3-ss-descriptor-support-for-adb.patch;patchdir=system/core \
45 file://core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch;patchdir=system/core \
46 file://core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch;patchdir=system/core \
47 file://core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch;patchdir=system/core \
48 file://core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch;patchdir=system/core \
49 file://extras/0001-ext4_utils-remove-selinux-extensions.patch;patchdir=system/extras \
50 file://extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch;patchdir=system/extras \
51 file://extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch;patchdir=system/extras \
52 file://libselinux/0001-Remove-bionic-specific-calls.patch;patchdir=external/libselinux \
53 file://libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch;patchdir=external/libselinux \
54 file://android-tools-adbd.service \
55 file://build/0001-Riscv-Add-risc-v-Android-config-header.patch;patchdir=build \
56 file://gitignore \
57 file://adb.mk;subdir=${BPN} \
58 file://adbd.mk;subdir=${BPN} \
59 file://ext4_utils.mk;subdir=${BPN} \
60 file://fastboot.mk;subdir=${BPN} \
61 file://mkbootimg.mk;subdir=${BPN} \
62"
63
64
65B = "${WORKDIR}/${BPN}"
66
67# http://errors.yoctoproject.org/Errors/Details/133881/
68ARM_INSTRUCTION_SET:armv4 = "arm"
69ARM_INSTRUCTION_SET:armv5 = "arm"
70
71COMPATIBLE_HOST:powerpc = "(null)"
72COMPATIBLE_HOST:powerpc64 = "(null)"
73COMPATIBLE_HOST:powerpc64le = "(null)"
74
75inherit systemd
76
77SYSTEMD_PACKAGES = "${PN}-adbd"
78SYSTEMD_SERVICE:${PN}-adbd = "android-tools-adbd.service"
79
80# Find libbsd headers during native builds
81CC:append:class-native = " -I${STAGING_INCDIR}"
82CC:append:class-nativesdk = " -I${STAGING_INCDIR}"
83
84TOOLS = "adb fastboot ext4_utils mkbootimg adbd"
85
86# Adb needs sys/capability.h, which is not available for native*
87TOOLS:class-native = "fastboot ext4_utils mkbootimg"
88TOOLS:class-nativesdk = "fastboot ext4_utils mkbootimg"
89
90do_compile() {
91 cp ${UNPACKDIR}/gitignore ${S}/.gitignore
92
93 # Setting both variables below causing our makefiles to not work with
94 # implicit make rules
95 CFLAGS="-ffile-prefix-map=${S}=${TARGET_DBGSRC_DIR}"
96 unset CPPFLAGS
97
98 export SRCDIR=${S}
99
100 case "${HOST_ARCH}" in
101 arm)
102 export android_arch=linux-arm
103 ;;
104 aarch64)
105 export android_arch=linux-arm64
106 ;;
107 riscv64)
108 export android_arch=linux-riscv64
109 ;;
110 mips|mipsel)
111 export android_arch=linux-mips
112 ;;
113 mips64|mips64el)
114 export android_arch=linux-mips64
115 ;;
116 powerpc|powerpc64)
117 export android_arch=linux-ppc
118 ;;
119 i586|i686|x86_64)
120 export android_arch=linux-x86
121 ;;
122 esac
123
124 for tool in ${TOOLS}; do
125 mkdir -p ${B}/${tool}
126 oe_runmake -f ${UNPACKDIR}/${BPN}/${tool}.mk -C ${B}/${tool}
127 done
128}
129
130do_install() {
131 if echo ${TOOLS} | grep -q "ext4_utils" ; then
132 install -D -p -m0755 ${S}/system/core/libsparse/simg_dump.py ${D}${bindir}/simg_dump
133 install -D -p -m0755 ${S}/system/extras/ext4_utils/mkuserimg.sh ${D}${bindir}/mkuserimg
134
135 install -m0755 ${B}/ext4_utils/ext2simg ${D}${bindir}
136 install -m0755 ${B}/ext4_utils/ext4fixup ${D}${bindir}
137 install -m0755 ${B}/ext4_utils/img2simg ${D}${bindir}
138 install -m0755 ${B}/ext4_utils/make_ext4fs ${D}${bindir}
139 install -m0755 ${B}/ext4_utils/simg2img ${D}${bindir}
140 install -m0755 ${B}/ext4_utils/simg2simg ${D}${bindir}
141 fi
142
143 if echo ${TOOLS} | grep -q "adb\>" ; then
144 install -d ${D}${bindir}
145 install -m0755 ${B}/adb/adb ${D}${bindir}
146 fi
147
148 if echo ${TOOLS} | grep -q "adbd" ; then
149 install -d ${D}${bindir}
150 install -m0755 ${B}/adbd/adbd ${D}${bindir}
151 fi
152
153 # Outside the if statement to avoid errors during do_package
154 install -D -p -m0644 ${UNPACKDIR}/android-tools-adbd.service \
155 ${D}${systemd_unitdir}/system/android-tools-adbd.service
156
157 if echo ${TOOLS} | grep -q "fastboot" ; then
158 install -d ${D}${bindir}
159 install -m0755 ${B}/fastboot/fastboot ${D}${bindir}
160 fi
161
162 if echo ${TOOLS} | grep -q "mkbootimg" ; then
163 install -d ${D}${bindir}
164 install -m0755 ${B}/mkbootimg/mkbootimg ${D}${bindir}
165 fi
166}
167
168PACKAGES =+ "${PN}-fstools ${PN}-adbd"
169
170RDEPENDS:${PN}-adbd = "${PN}-conf"
171RDEPENDS:${PN}-fstools = "bash"
172
173FILES:${PN}-adbd = "\
174 ${bindir}/adbd \
175 ${systemd_unitdir}/system/android-tools-adbd.service \
176"
177
178FILES:${PN}-fstools = "\
179 ${bindir}/ext2simg \
180 ${bindir}/ext4fixup \
181 ${bindir}/img2simg \
182 ${bindir}/make_ext4fs \
183 ${bindir}/simg2img \
184 ${bindir}/simg2simg \
185 ${bindir}/simg_dump \
186 ${bindir}/mkuserimg \
187"
188
189BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-devtools/ctags/ctags_6.2.20260329.0.bb b/meta-oe/recipes-devtools/ctags/ctags_6.2.20260426.0.bb
index 76bb5b77be..c3e6df01b2 100644
--- a/meta-oe/recipes-devtools/ctags/ctags_6.2.20260329.0.bb
+++ b/meta-oe/recipes-devtools/ctags/ctags_6.2.20260426.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 = "34659e2cb02e055c74e929c5bad291470a729570" 17SRCREV = "0498b5983b38f835ece70890ea171d1c1204f284"
18SRC_URI = "git://github.com/universal-ctags/ctags;branch=master;protocol=https;tag=p${PV}" 18SRC_URI = "git://github.com/universal-ctags/ctags;branch=master;protocol=https;tag=p${PV}"
19 19
20 20
diff --git a/meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.9.bb b/meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.11.bb
index c6db2ef38c..5865202841 100644
--- a/meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.9.bb
+++ b/meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.11.bb
@@ -1,12 +1,12 @@
1SUMMARY = "EditorConfig helps maintain consistent coding styles across various editors and IDEs." 1SUMMARY = "EditorConfig helps maintain consistent coding styles across various editors and IDEs."
2HOMEPAGE = "https://https://editorconfig.org" 2HOMEPAGE = "https://editorconfig.org"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "BSD-2-Clause" 4LICENSE = "BSD-2-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=38f617473e9f7373b5e79baf437accf8" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=38f617473e9f7373b5e79baf437accf8"
6 6
7SRC_URI = "git://github.com/editorconfig/editorconfig-core-c.git;protocol=https;branch=master" 7SRC_URI = "git://github.com/editorconfig/editorconfig-core-c.git;protocol=https;branch=master;tag=v${PV}"
8 8
9SRCREV = "e082c947e7f7b14240195d55c060a6e1eda1b0a1" 9SRCREV = "0ba157eff167c1b2d1bc0c3e13975b7a73fb9d25"
10 10
11inherit cmake 11inherit cmake
12 12
diff --git a/meta-oe/recipes-devtools/isocline/isocline_1.0.9.bb b/meta-oe/recipes-devtools/isocline/isocline_1.1.0.bb
index 2afc4500df..c50ac01c49 100644
--- a/meta-oe/recipes-devtools/isocline/isocline_1.0.9.bb
+++ b/meta-oe/recipes-devtools/isocline/isocline_1.1.0.bb
@@ -9,7 +9,7 @@ LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=8d05469c537534c7405c82c81a526bcd" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=8d05469c537534c7405c82c81a526bcd"
10 10
11SRC_URI = "git://github.com/daanx/isocline.git;protocol=https;branch=main;tag=v${PV}" 11SRC_URI = "git://github.com/daanx/isocline.git;protocol=https;branch=main;tag=v${PV}"
12SRCREV = "74d34bc453f5b91f1f8d8ded2840e1553623d135" 12SRCREV = "d55a58139badbe83d61c5d89954fa5bddcabe6d7"
13 13
14 14
15inherit cmake 15inherit cmake
diff --git a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.1.bb
index edaaea26b6..a369650ec5 100644
--- a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb
+++ b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.1.bb
@@ -13,13 +13,11 @@ SECTION = "libs"
13 13
14LIC_FILES_CHKSUM = "file://COPYING;md5=ea061f8731d5e6a5761dfad951ef5f5f" 14LIC_FILES_CHKSUM = "file://COPYING;md5=ea061f8731d5e6a5761dfad951ef5f5f"
15 15
16SRC_URI = "git://github.com/jemalloc/jemalloc.git;branch=dev;protocol=https \ 16SRC_URI = "git://github.com/jemalloc/jemalloc.git;branch=master;protocol=https;tag=${PV} \
17 file://run-ptest \ 17 file://run-ptest \
18 " 18 "
19SRCREV = "630434bb0ac619f7beec927569782d924c459385" 19SRCREV = "81034ce1f1373e37dc865038e1bc8eeecf559ce8"
20PV_LONG := "${PV}-171-g${SRCREV}" 20PV_LONG := "${PV}-171-g${SRCREV}"
21PV .= "+git"
22
23 21
24inherit autotools ptest 22inherit autotools ptest
25 23
diff --git a/meta-oe/recipes-devtools/perl/exiftool_13.52.bb b/meta-oe/recipes-devtools/perl/exiftool_13.57.bb
index f40116144e..fc4ee18494 100644
--- a/meta-oe/recipes-devtools/perl/exiftool_13.52.bb
+++ b/meta-oe/recipes-devtools/perl/exiftool_13.57.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://perl-Image-ExifTool.spec;beginline=5;endline=5;md5=ff
7 7
8inherit cpan 8inherit cpan
9 9
10SRCREV = "02c78a2e051894b57ad8a11024f8cfa05957e725" 10SRCREV = "dae9b7a86cb47c4d2bee8606455c7c27af8a3d56"
11SRC_URI = "git://github.com/exiftool/exiftool;protocol=https;branch=master;tag=${PV}" 11SRC_URI = "git://github.com/exiftool/exiftool;protocol=https;branch=master;tag=${PV}"
12 12
13RDEPENDS:${PN} = " \ 13RDEPENDS:${PN} = " \
diff --git a/meta-oe/recipes-devtools/php/php_8.5.5.bb b/meta-oe/recipes-devtools/php/php_8.5.6.bb
index 2924b478ad..db5bba9ccc 100644
--- a/meta-oe/recipes-devtools/php/php_8.5.5.bb
+++ b/meta-oe/recipes-devtools/php/php_8.5.6.bb
@@ -32,7 +32,7 @@ UPSTREAM_CHECK_REGEX = "releases/tag/php-(?P<pver>\d+(\.\d+)+)"
32 32
33S = "${UNPACKDIR}/php-${PV}" 33S = "${UNPACKDIR}/php-${PV}"
34 34
35SRC_URI[sha256sum] = "ee262beff61c431965d1f97192854b36208adeac38983c3498bb3500ae87283c" 35SRC_URI[sha256sum] = "4457240f65f0c59a620920d66cdab1b12100a431e03ad9febe38b13a1b25957f"
36 36
37CVE_STATUS_GROUPS += "CVE_STATUS_PHP" 37CVE_STATUS_GROUPS += "CVE_STATUS_PHP"
38CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored." 38CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored."
diff --git a/meta-oe/recipes-extended/7zip/7zip_26.00.bb b/meta-oe/recipes-extended/7zip/7zip_26.01.bb
index 85219b5052..a3e124518a 100644
--- a/meta-oe/recipes-extended/7zip/7zip_26.00.bb
+++ b/meta-oe/recipes-extended/7zip/7zip_26.01.bb
@@ -12,7 +12,7 @@ SRC_URI = "git://github.com/ip7z/7zip.git;protocol=https;branch=main;tag=${PV} \
12 file://0001-Remove-treating-warning-as-errors.patch \ 12 file://0001-Remove-treating-warning-as-errors.patch \
13 file://7z_wrapper.sh \ 13 file://7z_wrapper.sh \
14 " 14 "
15SRCREV = "839151eaaad24771892afaae6bac690e31e58384" 15SRCREV = "8c63d71ff886bda90c86db28466287f977374237"
16 16
17UPSTREAM_CHECK_URI = "https://github.com/ip7z/7zip/releases/latest" 17UPSTREAM_CHECK_URI = "https://github.com/ip7z/7zip/releases/latest"
18 18
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_5.0.2.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_5.0.3.bb
index 3f3299459c..4153cba106 100644
--- a/meta-oe/recipes-extended/fluentbit/fluentbit_5.0.2.bb
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_5.0.3.bb
@@ -17,7 +17,7 @@ DEPENDS = "\
17" 17"
18DEPENDS:append:libc-musl = " fts" 18DEPENDS:append:libc-musl = " fts"
19 19
20SRCREV = "66ffbe43bd0b393ec418e6f5851a23461fa478d4" 20SRCREV = "63ed88ee65a1164b5be52b5ddab0344271a2825c"
21SRC_URI = "\ 21SRC_URI = "\
22 git://github.com/fluent/fluent-bit.git;nobranch=1;protocol=https;tag=v${PV} \ 22 git://github.com/fluent/fluent-bit.git;nobranch=1;protocol=https;tag=v${PV} \
23 file://0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch \ 23 file://0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch \
diff --git a/meta-oe/recipes-extended/haveged/haveged_1.9.19.bb b/meta-oe/recipes-extended/haveged/haveged_1.9.20.bb
index 69de5628c4..2ea12b3977 100644
--- a/meta-oe/recipes-extended/haveged/haveged_1.9.19.bb
+++ b/meta-oe/recipes-extended/haveged/haveged_1.9.20.bb
@@ -6,7 +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
9SRCREV = "0ef7dd915ee8be4ca2bb10b5cc2bee92b8ede61d" 9SRCREV = "e2d96806273caa9ce7457e2f8669a3c40517ca27"
10SRC_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 \
11" 11"
12 12
diff --git a/meta-oe/recipes-extended/highway/highway_1.3.0.bb b/meta-oe/recipes-extended/highway/highway_1.4.0.bb
index ddd684bb45..a85620710d 100644
--- a/meta-oe/recipes-extended/highway/highway_1.3.0.bb
+++ b/meta-oe/recipes-extended/highway/highway_1.4.0.bb
@@ -9,7 +9,7 @@ inherit cmake
9SRC_URI = "git://github.com/google/highway.git;protocol=https;branch=master \ 9SRC_URI = "git://github.com/google/highway.git;protocol=https;branch=master \
10 file://0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch" 10 file://0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch"
11 11
12SRCREV = "c34a36fb145de0a922a6e719b217033e1ff2eece" 12SRCREV = "2607d3b5b0113992fe84d3848859eae13b3b52c1"
13PV .= "+git" 13PV .= "+git"
14 14
15EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release" 15EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"
diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_3.4.0.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_3.5.0.bb
index 2263e0bbdd..d7395bef44 100644
--- a/meta-oe/recipes-extended/libblockdev/libblockdev_3.4.0.bb
+++ b/meta-oe/recipes-extended/libblockdev/libblockdev_3.5.0.bb
@@ -12,10 +12,10 @@ 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=master;protocol=https \ 15SRC_URI = "git://github.com/storaged-project/libblockdev;branch=master;protocol=https;tag=${PV} \
16 file://0001-fix-pythondir-for-multilib-when-cross-compiling.patch \ 16 file://0001-fix-pythondir-for-multilib-when-cross-compiling.patch \
17 " 17 "
18SRCREV = "c1053b3643f0b4f3d4549ac8f3ae85fdecbb2c72" 18SRCREV = "065d6910a0e915dbe633356da7bad9c4b3a2e2b9"
19 19
20FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}" 20FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}"
21 21
diff --git a/meta-oe/recipes-extended/parallel/parallel_20260322.bb b/meta-oe/recipes-extended/parallel/parallel_20260422.bb
index 5a9980e66f..74cf8c75e2 100644
--- a/meta-oe/recipes-extended/parallel/parallel_20260322.bb
+++ b/meta-oe/recipes-extended/parallel/parallel_20260422.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \
12" 12"
13 13
14SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2" 14SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2"
15SRC_URI[sha256sum] = "764680e932f4d0d21cf0329bd9f9eed659895de16836001f6491533b822befe0" 15SRC_URI[sha256sum] = "664cf165d66ea217b2f49cd96a7865ecf90c9d0616599cc2aba8cad481d907bb"
16 16
17inherit autotools bash-completion 17inherit autotools bash-completion
18 18
diff --git a/meta-oe/recipes-graphics/kmscon/kmscon_9.3.3.bb b/meta-oe/recipes-graphics/kmscon/kmscon_9.3.5.bb
index 46550bb6d1..b730faf414 100644
--- a/meta-oe/recipes-graphics/kmscon/kmscon_9.3.3.bb
+++ b/meta-oe/recipes-graphics/kmscon/kmscon_9.3.5.bb
@@ -21,7 +21,7 @@ DEPENDS = "\
21" 21"
22 22
23SRC_URI = "git://github.com/kmscon/kmscon;protocol=https;branch=main;tag=v${PV}" 23SRC_URI = "git://github.com/kmscon/kmscon;protocol=https;branch=main;tag=v${PV}"
24SRCREV = "03e50c7db0489daaa41b5f62946fd6aaeab63a6e" 24SRCREV = "a8832afb1dcca5bb4c0476d4c13c7239fecbd93a"
25 25
26inherit meson pkgconfig systemd 26inherit meson pkgconfig systemd
27 27
diff --git a/meta-oe/recipes-graphics/libtsm/libtsm_4.4.3.bb b/meta-oe/recipes-graphics/libtsm/libtsm_4.5.0.bb
index 8168360dec..9e999fe970 100644
--- a/meta-oe/recipes-graphics/libtsm/libtsm_4.4.3.bb
+++ b/meta-oe/recipes-graphics/libtsm/libtsm_4.5.0.bb
@@ -22,7 +22,7 @@ LIC_FILES_CHKSUM = "\
22DEPENDS = "xkeyboard-config" 22DEPENDS = "xkeyboard-config"
23 23
24SRC_URI = "git://github.com/kmscon/libtsm;protocol=https;branch=main;tag=v${PV}" 24SRC_URI = "git://github.com/kmscon/libtsm;protocol=https;branch=main;tag=v${PV}"
25SRCREV = "6cdacfc452bf29d98e297fe3a96e55e94a88ce3e" 25SRCREV = "556373437d1c5f57f4dfc7c6cc1330e5088a4174"
26 26
27inherit meson pkgconfig 27inherit meson pkgconfig
28 28
diff --git a/meta-oe/recipes-graphics/neatvnc/neatvnc/0001-Use-aml-v1.patch b/meta-oe/recipes-graphics/neatvnc/neatvnc/0001-Use-aml-v1.patch
index 26c3a0230c..7413316bcc 100644
--- a/meta-oe/recipes-graphics/neatvnc/neatvnc/0001-Use-aml-v1.patch
+++ b/meta-oe/recipes-graphics/neatvnc/neatvnc/0001-Use-aml-v1.patch
@@ -1,4 +1,4 @@
1From a4b238241f3f3016ef3ddcd260c1490a9c9e8168 Mon Sep 17 00:00:00 2001 1From 8b95d3c1d5f475668d53cc21a7abf431d9a9822b Mon Sep 17 00:00:00 2001
2From: Andri Yngvason <andri@yngvason.is> 2From: Andri Yngvason <andri@yngvason.is>
3Date: Sun, 23 Mar 2025 15:55:11 +0000 3Date: Sun, 23 Mar 2025 15:55:11 +0000
4Subject: [PATCH] Use aml v1 4Subject: [PATCH] Use aml v1
@@ -15,13 +15,13 @@ Upstream-Status: Backport [https://github.com/any1/neatvnc/commit/a4b238241f3f30
15 src/server.c | 6 ++---- 15 src/server.c | 6 ++----
16 src/stream/gnutls.c | 6 +++--- 16 src/stream/gnutls.c | 6 +++---
17 src/stream/tcp.c | 6 +++--- 17 src/stream/tcp.c | 6 +++---
18 11 files changed, 35 insertions(+), 41 deletions(-) 18 10 files changed, 34 insertions(+), 39 deletions(-)
19 19
20diff --git a/meson.build b/meson.build 20diff --git a/meson.build b/meson.build
21index 1017ffd..e731886 100644 21index a0d7401..b094d9b 100644
22--- a/meson.build 22--- a/meson.build
23+++ b/meson.build 23+++ b/meson.build
24@@ -71,7 +71,7 @@ libavcodec = dependency('libavcodec', required: get_option('h264')) 24@@ -63,7 +63,7 @@ libavcodec = dependency('libavcodec', required: get_option('h264'))
25 libavfilter = dependency('libavfilter', required: get_option('h264')) 25 libavfilter = dependency('libavfilter', required: get_option('h264'))
26 libavutil = dependency('libavutil', required: get_option('h264')) 26 libavutil = dependency('libavutil', required: get_option('h264'))
27 27
@@ -159,10 +159,10 @@ index a361974..441df19 100644
159 struct encoded_frame* result; 159 struct encoded_frame* result;
160 result = encoded_frame_new(self->dst.data, self->dst.len, self->n_rects, 160 result = encoded_frame_new(self->dst.data, self->dst.len, self->n_rects,
161diff --git a/src/enc/zrle.c b/src/enc/zrle.c 161diff --git a/src/enc/zrle.c b/src/enc/zrle.c
162index 42044dc..e775f34 100644 162index 503c738..c043983 100644
163--- a/src/enc/zrle.c 163--- a/src/enc/zrle.c
164+++ b/src/enc/zrle.c 164+++ b/src/enc/zrle.c
165@@ -315,9 +315,9 @@ static int zrle_encode_frame(struct zrle_encoder* self, 165@@ -340,9 +340,9 @@ static int zrle_encode_frame(struct zrle_encoder* self, z_stream* zs,
166 return 0; 166 return 0;
167 } 167 }
168 168
@@ -174,7 +174,7 @@ index 42044dc..e775f34 100644
174 int rc __attribute__((unused)); 174 int rc __attribute__((unused));
175 175
176 struct nvnc_fb* fb = self->current_fb; 176 struct nvnc_fb* fb = self->current_fb;
177@@ -349,9 +349,9 @@ static void zrle_encoder_do_work(void* obj) 177@@ -374,9 +374,9 @@ static void zrle_encoder_do_work(void* obj)
178 assert(self->current_result); 178 assert(self->current_result);
179 } 179 }
180 180
@@ -215,7 +215,7 @@ index e24798b..8f4cfa0 100644
215 } 215 }
216 216
217diff --git a/src/server.c b/src/server.c 217diff --git a/src/server.c b/src/server.c
218index f172658..61da4dd 100644 218index a4f0ad9..099be28 100644
219--- a/src/server.c 219--- a/src/server.c
220+++ b/src/server.c 220+++ b/src/server.c
221@@ -210,9 +210,8 @@ static void client_close(struct nvnc_client* client) 221@@ -210,9 +210,8 @@ static void client_close(struct nvnc_client* client)
@@ -229,7 +229,7 @@ index f172658..61da4dd 100644
229 struct nvnc_client* client = aml_get_userdata(idle); 229 struct nvnc_client* client = aml_get_userdata(idle);
230 client->close_task = NULL; 230 client->close_task = NULL;
231 aml_stop(aml_get_default(), idle); 231 aml_stop(aml_get_default(), idle);
232@@ -2033,9 +2032,8 @@ static void on_client_event(struct stream* stream, enum stream_event event) 232@@ -2013,9 +2012,8 @@ static void on_client_event(struct stream* stream, enum stream_event event)
233 client->buffer_index = 0; 233 client->buffer_index = 0;
234 } 234 }
235 235
@@ -276,6 +276,3 @@ index 37f139a..95f5aa8 100644
276 276
277 // We hold a reference here in case the stream gets destroyed inside 277 // We hold a reference here in case the stream gets destroyed inside
278 // callback. 278 // callback.
279--
2802.43.0
281
diff --git a/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.5.bb b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb
index b83a886f11..34cfbf18cc 100644
--- a/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.5.bb
+++ b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb
@@ -10,7 +10,7 @@ SRC_URI = "git://github.com/any1/neatvnc;branch=v0.9;protocol=https \
10 file://0001-Use-aml-v1.patch \ 10 file://0001-Use-aml-v1.patch \
11 " 11 "
12 12
13SRCREV = "36ef59a83291368d72f471700702a8b6a76f763b" 13SRCREV = "3295c11b934a83dbcb44beabf3f21a8b885a2d11"
14 14
15 15
16DEPENDS = "libdrm pixman aml zlib" 16DEPENDS = "libdrm pixman aml zlib"
diff --git a/meta-oe/recipes-graphics/xorg-app/iceauth_1.0.10.bb b/meta-oe/recipes-graphics/xorg-app/iceauth_1.0.11.bb
index 7d025de4c4..d10d9d2cfb 100644
--- a/meta-oe/recipes-graphics/xorg-app/iceauth_1.0.10.bb
+++ b/meta-oe/recipes-graphics/xorg-app/iceauth_1.0.11.bb
@@ -12,5 +12,5 @@ BBCLASSEXTEND = "native"
12DEPENDS += "libice" 12DEPENDS += "libice"
13 13
14SRC_URI_EXT = "xz" 14SRC_URI_EXT = "xz"
15SRC_URI[sha256sum] = "3deefb7da26af9dc799b5628d929d91c9af68c78575639944db3b955f29aa029" 15SRC_URI[sha256sum] = "9d633cf0d4d1d98e3ef02d18660372958b60a67016e8a72cd04093a8d8f8d4e9"
16 16
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_408.bb b/meta-oe/recipes-graphics/xorg-app/xterm_409.bb
index 0f76bc1209..d013a73ab4 100644
--- a/meta-oe/recipes-graphics/xorg-app/xterm_408.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xterm_409.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=413ff95100710d7a81
7SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \ 7SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
8 file://0001-include-missing-pty.h-header-for-openpty.patch \ 8 file://0001-include-missing-pty.h-header-for-openpty.patch \
9 " 9 "
10SRC_URI[sha256sum] = "27dc9e770885f98fbd0b5b40bcda959dc11ec9ba21f0a33b12aafffcc7f9b813" 10SRC_URI[sha256sum] = "349dc755c49299ca4b8e3a90f7201dff41877a1e6ac16129e439d76493246c40"
11 11
12PACKAGECONFIG ?= "" 12PACKAGECONFIG ?= ""
13PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native" 13PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native"
diff --git a/meta-oe/recipes-graphics/xorg-data/xbitmaps_1.1.3.bb b/meta-oe/recipes-graphics/xorg-data/xbitmaps_1.1.3.bb
deleted file mode 100644
index 5f49152972..0000000000
--- a/meta-oe/recipes-graphics/xorg-data/xbitmaps_1.1.3.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1require xorg-data-common.inc
2
3SUMMARY = "Common X11 Bitmaps"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=dbd075aaffa4a60a8d00696f2e4b9a8f"
6
7SRC_URI[sha256sum] = "ad6cad54887832a17d86c2ccfc5e52a1dfab090f8307b152c78b0e1529cd0f7a"
diff --git a/meta-oe/recipes-graphics/xorg-data/xbitmaps_1.1.4.bb b/meta-oe/recipes-graphics/xorg-data/xbitmaps_1.1.4.bb
new file mode 100644
index 0000000000..3da81156a7
--- /dev/null
+++ b/meta-oe/recipes-graphics/xorg-data/xbitmaps_1.1.4.bb
@@ -0,0 +1,7 @@
1require xorg-data-common.inc
2
3SUMMARY = "Common X11 Bitmaps"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=91d7417ea327b03bd865e34bb3b6bc0e"
6
7SRC_URI[sha256sum] = "895722f136e21e728c52f2d99fd2dae95018b9ddad1bac1f29d61bcd6593721d"
diff --git a/meta-oe/recipes-kernel/bpftool/bpftool-native_6.16.bb b/meta-oe/recipes-kernel/bpftool/bpftool-native_6.16.bb
index fe3ad6138e..edc635517a 100644
--- a/meta-oe/recipes-kernel/bpftool/bpftool-native_6.16.bb
+++ b/meta-oe/recipes-kernel/bpftool/bpftool-native_6.16.bb
@@ -9,7 +9,10 @@ DEPENDS = "binutils-native elfutils-native"
9 9
10inherit native bash-completion 10inherit native bash-completion
11 11
12SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v6.x/linux-${PV}.tar.xz" 12SRC_URI = "\
13 ${KERNELORG_MIRROR}/linux/kernel/v6.x/linux-${PV}.tar.xz \
14 file://0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch \
15"
13SRC_URI[sha256sum] = "1a4be2fe6b5246aa4ac8987a8a4af34c42a8dd7d08b46ab48516bcc1befbcd83" 16SRC_URI[sha256sum] = "1a4be2fe6b5246aa4ac8987a8a4af34c42a8dd7d08b46ab48516bcc1befbcd83"
14 17
15S = "${UNPACKDIR}/linux-${PV}" 18S = "${UNPACKDIR}/linux-${PV}"
diff --git a/meta-oe/recipes-kernel/bpftool/bpftool/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch b/meta-oe/recipes-kernel/bpftool/bpftool/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch
new file mode 100644
index 0000000000..9d2338c821
--- /dev/null
+++ b/meta-oe/recipes-kernel/bpftool/bpftool/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch
@@ -0,0 +1,69 @@
1From ab21cf885fb2af179c44d8beeabd716133b9385d Mon Sep 17 00:00:00 2001
2From: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
3Date: Sat, 6 Dec 2025 14:28:25 +0500
4Subject: [PATCH] libbpf: Fix -Wdiscarded-qualifiers under C23
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9commit d70f79fef65810faf64dbae1f3a1b5623cdb2345 upstream.
10
11glibc ≥ 2.42 (GCC 15) defaults to -std=gnu23, which promotes
12-Wdiscarded-qualifiers to an error.
13
14In C23, strstr() and strchr() return "const char *".
15
16Change variable types to const char * where the pointers are never
17modified (res, sym_sfx, next_path).
18
19Suggested-by: Florian Weimer <fweimer@redhat.com>
20Suggested-by: Andrii Nakryiko <andrii@kernel.org>
21Signed-off-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
22Link: https://lore.kernel.org/r/20251206092825.1471385-1-mikhail.v.gavrilov@gmail.com
23Signed-off-by: Alexei Starovoitov <ast@kernel.org>
24[ shung-hsi.yu: needed to fix kernel build failure due to libbpf since glibc
25 2.43+ (which adds 'const' qualifier to strstr) ]
26Signed-off-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
27Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28
29Upstream-Status: Backport[https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=ab21cf885fb2af179c44d8beeabd716133b9385d]
30Signed-off-by: He Zhe <zhe.he@windriver.com>
31---
32 tools/lib/bpf/libbpf.c | 7 ++++---
33 1 file changed, 4 insertions(+), 3 deletions(-)
34
35diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
36index dd3b2f57082d..9c98c6adb6d0 100644
37--- a/tools/lib/bpf/libbpf.c
38+++ b/tools/lib/bpf/libbpf.c
39@@ -8245,7 +8245,7 @@ static int kallsyms_cb(unsigned long long sym_addr, char sym_type,
40 struct bpf_object *obj = ctx;
41 const struct btf_type *t;
42 struct extern_desc *ext;
43- char *res;
44+ const char *res;
45
46 res = strstr(sym_name, ".llvm.");
47 if (sym_type == 'd' && res)
48@@ -11574,7 +11574,8 @@ static int avail_kallsyms_cb(unsigned long long sym_addr, char sym_type,
49 *
50 * [0] fb6a421fb615 ("kallsyms: Match symbols exactly with CONFIG_LTO_CLANG")
51 */
52- char sym_trim[256], *psym_trim = sym_trim, *sym_sfx;
53+ char sym_trim[256], *psym_trim = sym_trim;
54+ const char *sym_sfx;
55
56 if (!(sym_sfx = strstr(sym_name, ".llvm.")))
57 return 0;
58@@ -12159,7 +12160,7 @@ static int resolve_full_path(const char *file, char *result, size_t result_sz)
59 if (!search_paths[i])
60 continue;
61 for (s = search_paths[i]; s != NULL; s = strchr(s, ':')) {
62- char *next_path;
63+ const char *next_path;
64 int seg_len;
65
66 if (s[0] == ':')
67--
682.34.1
69
diff --git a/meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.1.bb b/meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.2.bb
index 0db94b40fa..7e63435e90 100644
--- a/meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.1.bb
+++ b/meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.2.bb
@@ -8,7 +8,7 @@ DEPENDS = "libcap"
8SRC_URI = " \ 8SRC_URI = " \
9 https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz \ 9 https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz \
10" 10"
11SRC_URI[sha256sum] = "c1b7455a1283b1295879a46d5f001dfd088c0bb0f238abb5e128b3583a246f71" 11SRC_URI[sha256sum] = "69abc30005d2186baf7737feacd8da35633b93cf5af38838ecff17c5f8e924f6"
12 12
13inherit meson bash-completion github-releases manpages pkgconfig 13inherit meson bash-completion github-releases manpages pkgconfig
14 14
diff --git a/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_26.26.0404682.bb b/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_26.33.0420460.bb
index 454e702e66..a86869e752 100644
--- a/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_26.26.0404682.bb
+++ b/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_26.33.0420460.bb
@@ -9,7 +9,7 @@ LICENSE = "GPL-3.0-only"
9LIC_FILES_CHKSUM = "file://spectre-meltdown-checker.sh;beginline=2;endline=2;md5=3ae5399e70af7be9b93f72568069e2f4" 9LIC_FILES_CHKSUM = "file://spectre-meltdown-checker.sh;beginline=2;endline=2;md5=3ae5399e70af7be9b93f72568069e2f4"
10 10
11SRC_URI = "git://github.com/speed47/spectre-meltdown-checker;protocol=https;branch=master;tag=v${PV}" 11SRC_URI = "git://github.com/speed47/spectre-meltdown-checker;protocol=https;branch=master;tag=v${PV}"
12SRCREV = "8a6f9d5d638c601d2a875669015a6cb217e40f49" 12SRCREV = "1c067add59115190e8d87313ff5899b29bff0ff3"
13 13
14# binutils: readelf,objdump might be used for deeper analysis 14# binutils: readelf,objdump might be used for deeper analysis
15# coreutils: dd with iflag=skip_bytes oflag=seek_bytes in some cases 15# coreutils: dd with iflag=skip_bytes oflag=seek_bytes in some cases
diff --git a/meta-oe/recipes-shells/dash/dash_0.5.13.2.bb b/meta-oe/recipes-shells/dash/dash_0.5.13.3.bb
index 94a5d87c5d..48533e908a 100644
--- a/meta-oe/recipes-shells/dash/dash_0.5.13.2.bb
+++ b/meta-oe/recipes-shells/dash/dash_0.5.13.3.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b5262b4a1a1bff72b48e935531976d2e"
8inherit autotools update-alternatives 8inherit autotools update-alternatives
9 9
10SRC_URI = "http://gondor.apana.org.au/~herbert/${BPN}/files/${BP}.tar.gz" 10SRC_URI = "http://gondor.apana.org.au/~herbert/${BPN}/files/${BP}.tar.gz"
11SRC_URI[sha256sum] = "e7136826b1eed6ce3193e8affa2f70b1b2b9168dd91ffa7ddb4f46e9e62054fe" 11SRC_URI[sha256sum] = "a83727c1299ac4c3d9d43979393b3a4eb00275d5636ae02526e7979d51d6fbd1"
12 12
13CVE_PRODUCT = "dash:dash" 13CVE_PRODUCT = "dash:dash"
14 14
diff --git a/meta-oe/recipes-support/fastfetch/fastfetch_2.61.0.bb b/meta-oe/recipes-support/fastfetch/fastfetch_2.62.1.bb
index 8db0b608f1..160ac87bcb 100644
--- a/meta-oe/recipes-support/fastfetch/fastfetch_2.61.0.bb
+++ b/meta-oe/recipes-support/fastfetch/fastfetch_2.62.1.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2090e7d93df7ad5a3d41f6fb4226ac76"
11DEPENDS = "yyjson" 11DEPENDS = "yyjson"
12 12
13SRC_URI = "git://github.com/fastfetch-cli/fastfetch.git;protocol=https;branch=master;tag=${PV}" 13SRC_URI = "git://github.com/fastfetch-cli/fastfetch.git;protocol=https;branch=master;tag=${PV}"
14SRCREV = "e5d600600614f5496b02907a11a7bc80c369d266" 14SRCREV = "4a61cdb1c9e4044ee959751e00bac1266dc6ebf9"
15 15
16inherit cmake pkgconfig 16inherit cmake pkgconfig
17 17
diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.24.2.bb b/meta-oe/recipes-support/freerdp/freerdp3_3.25.0.bb
index a4561495cf..e71f2e213f 100644
--- a/meta-oe/recipes-support/freerdp/freerdp3_3.24.2.bb
+++ b/meta-oe/recipes-support/freerdp/freerdp3_3.25.0.bb
@@ -8,7 +8,7 @@ RDEPENDS:${PN}-ptest += "cmake coreutils"
8 8
9inherit pkgconfig cmake ptest 9inherit pkgconfig cmake ptest
10 10
11SRCREV = "3028b706908f81767d9b9c744a90778c28f57d61" 11SRCREV = "90e7f064dc3ab8672b8ec714059d8cd51be0743f"
12SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;nobranch=1;protocol=https;tag=${PV} \ 12SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;nobranch=1;protocol=https;tag=${PV} \
13 file://run-ptest" 13 file://run-ptest"
14 14
@@ -68,6 +68,8 @@ do_configure:prepend() {
68 sed -i 's|="\${CMAKE_CURRENT_BINARY_DIR}|="${PTEST_PATH}/test|' ${S}/winpr/libwinpr/utils/test/CMakeLists.txt 68 sed -i 's|="\${CMAKE_CURRENT_BINARY_DIR}|="${PTEST_PATH}/test|' ${S}/winpr/libwinpr/utils/test/CMakeLists.txt
69 sed -i 's|="\${CMAKE_CURRENT_SOURCE_DIR}|="${PTEST_PATH}/test|' ${S}/libfreerdp/codec/test/CMakeLists.txt 69 sed -i 's|="\${CMAKE_CURRENT_SOURCE_DIR}|="${PTEST_PATH}/test|' ${S}/libfreerdp/codec/test/CMakeLists.txt
70 sed -i 's|="\${CMAKE_CURRENT_BINARY_DIR}|="${PTEST_PATH}/test|' ${S}/libfreerdp/codec/test/CMakeLists.txt 70 sed -i 's|="\${CMAKE_CURRENT_BINARY_DIR}|="${PTEST_PATH}/test|' ${S}/libfreerdp/codec/test/CMakeLists.txt
71 sed -i 's|="\${CMAKE_CURRENT_BINARY_DIR}|="${PTEST_PATH}/test|' ${S}/server/proxy/test/CMakeLists.txt
72 sed -i 's|="\${CMAKE_CURRENT_SOURCE_DIR}|="${PTEST_PATH}/test|' ${S}/server/proxy/test/CMakeLists.txt
71 73
72} 74}
73 75
@@ -89,6 +91,7 @@ do_install_ptest() {
89 cp -r ${S}/resources ${D}${PTEST_PATH} 91 cp -r ${S}/resources ${D}${PTEST_PATH}
90 cp -r ${S}/libfreerdp/codec/test/planar ${D}${PTEST_PATH}/test/ 92 cp -r ${S}/libfreerdp/codec/test/planar ${D}${PTEST_PATH}/test/
91 cp -r ${S}/libfreerdp/codec/test/interleaved ${D}${PTEST_PATH}/test/ 93 cp -r ${S}/libfreerdp/codec/test/interleaved ${D}${PTEST_PATH}/test/
94 cp -r ${S}/server/proxy/test/conf ${D}${PTEST_PATH}/test/
92 95
93 cd ${B} 96 cd ${B}
94 # the test definitions, how to execute the tests 97 # the test definitions, how to execute the tests
diff --git a/meta-oe/recipes-support/glaze/glaze_7.3.3.bb b/meta-oe/recipes-support/glaze/glaze_7.6.0.bb
index e733d166b2..7d0e1d87ae 100644
--- a/meta-oe/recipes-support/glaze/glaze_7.3.3.bb
+++ b/meta-oe/recipes-support/glaze/glaze_7.6.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
5 5
6SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV}" 6SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV}"
7 7
8SRCREV = "dbf6caec935b768546587a413e45d033480c4483" 8SRCREV = "e4d8b406bc509cf236a11bc455fad29a024d5fb2"
9 9
10inherit cmake 10inherit cmake
11 11
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-19.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-21.bb
index 18c23cb0d4..bfcdb2495d 100644
--- a/meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-19.bb
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-21.bb
@@ -17,7 +17,7 @@ SRC_URI = "git://github.com/ImageMagick/ImageMagick.git;branch=main;protocol=htt
17 file://imagemagick-ptest.sh \ 17 file://imagemagick-ptest.sh \
18" 18"
19 19
20SRCREV = "9fbd2b79450e930edb95e8158d412e57a7b27e83" 20SRCREV = "c86de049cefb8dd739e16f0e2fdc1ef8d2006d59"
21 21
22inherit autotools pkgconfig update-alternatives ptest 22inherit autotools pkgconfig update-alternatives ptest
23export ac_cv_sys_file_offset_bits = "64" 23export ac_cv_sys_file_offset_bits = "64"
diff --git a/meta-oe/recipes-support/jsoncons/jsoncons_1.6.0.bb b/meta-oe/recipes-support/jsoncons/jsoncons_1.7.0.bb
index 64860c06dd..7ae4755d33 100644
--- a/meta-oe/recipes-support/jsoncons/jsoncons_1.6.0.bb
+++ b/meta-oe/recipes-support/jsoncons/jsoncons_1.7.0.bb
@@ -5,7 +5,7 @@ LICENSE = "BSL-1.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=6ee7f7ed2001e4cde4679fdb8926f820" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=6ee7f7ed2001e4cde4679fdb8926f820"
6 6
7SRC_URI = "git://github.com/danielaparker/jsoncons.git;protocol=https;branch=master;tag=v${PV}" 7SRC_URI = "git://github.com/danielaparker/jsoncons.git;protocol=https;branch=master;tag=v${PV}"
8SRCREV = "128553c8d1b222c30819656d123590accb60689d" 8SRCREV = "cb54cdc3134a62634466bf7bcd24f1a906f4ef25"
9 9
10 10
11inherit cmake 11inherit cmake
diff --git a/meta-oe/recipes-support/lcms/lcms/CVE-2026-41254_1.patch b/meta-oe/recipes-support/lcms/lcms/CVE-2026-41254_1.patch
deleted file mode 100644
index 2ed8e9f587..0000000000
--- a/meta-oe/recipes-support/lcms/lcms/CVE-2026-41254_1.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From c83cfcd249d06950a307cee8d1e22b7f6a78a8a7 Mon Sep 17 00:00:00 2001
2From: Marti Maria <marti.maria@littlecms.com>
3Date: Thu, 19 Feb 2026 09:07:20 +0100
4Subject: [PATCH] Fix integer overflow in CubeSize()
5
6Thanks to @zerojackyi for reporting
7
8CVE: CVE-2026-41254
9Upstream-Status: Backport [https://github.com/mm2/Little-CMS/commit/da6110b1d14abc394633a388209abd5ebedd7ab0]
10Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
11---
12 src/cmslut.c | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15diff --git a/src/cmslut.c b/src/cmslut.c
16index 1089148..b245209 100644
17--- a/src/cmslut.c
18+++ b/src/cmslut.c
19@@ -460,7 +460,8 @@ void EvaluateCLUTfloatIn16(const cmsFloat32Number In[], cmsFloat32Number Out[],
20 static
21 cmsUInt32Number CubeSize(const cmsUInt32Number Dims[], cmsUInt32Number b)
22 {
23- cmsUInt32Number rv, dim;
24+ cmsUInt32Number dim;
25+ cmsUInt64Number rv;
26
27 _cmsAssert(Dims != NULL);
28
diff --git a/meta-oe/recipes-support/lcms/lcms/CVE-2026-41254_2.patch b/meta-oe/recipes-support/lcms/lcms/CVE-2026-41254_2.patch
deleted file mode 100644
index be8c759a6f..0000000000
--- a/meta-oe/recipes-support/lcms/lcms/CVE-2026-41254_2.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From f5994aea02d5620f3182cafdcf116ffe9d6c9fd2 Mon Sep 17 00:00:00 2001
2From: Marti Maria <marti.maria@littlecms.com>
3Date: Thu, 12 Mar 2026 22:57:35 +0100
4Subject: [PATCH] check for overflow
5
6Thanks to Guanni Qu for detecting & reporting the issue
7
8CVE: CVE-2026-41254
9Upstream-Status: Backport [https://github.com/mm2/Little-CMS/commit/e0641b1828d0a1af5ecb1b11fe22f24fceefd4bc]
10Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
11---
12 src/cmslut.c | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15diff --git a/src/cmslut.c b/src/cmslut.c
16index b245209..c1dbb32 100644
17--- a/src/cmslut.c
18+++ b/src/cmslut.c
19@@ -468,12 +468,12 @@ cmsUInt32Number CubeSize(const cmsUInt32Number Dims[], cmsUInt32Number b)
20 for (rv = 1; b > 0; b--) {
21
22 dim = Dims[b-1];
23- if (dim <= 1) return 0; // Error
24-
25- rv *= dim;
26+ if (dim <= 1) return 0;
27
28 // Check for overflow
29 if (rv > UINT_MAX / dim) return 0;
30+
31+ rv *= dim;
32 }
33
34 // Again, prevent overflow
diff --git a/meta-oe/recipes-support/lcms/lcms_2.18.bb b/meta-oe/recipes-support/lcms/lcms_2.19.bb
index 1ff3b3908f..fa33678b18 100644
--- a/meta-oe/recipes-support/lcms/lcms_2.18.bb
+++ b/meta-oe/recipes-support/lcms/lcms_2.19.bb
@@ -3,11 +3,8 @@ SECTION = "libs"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=e9ce323c4b71c943a785db90142b228a" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=e9ce323c4b71c943a785db90142b228a"
5 5
6SRC_URI = "${SOURCEFORGE_MIRROR}/lcms/lcms2-${PV}.tar.gz \ 6SRC_URI = "${SOURCEFORGE_MIRROR}/lcms/lcms2-${PV}.tar.gz"
7 file://CVE-2026-41254_1.patch \ 7SRC_URI[sha256sum] = "49e7e134e4299733dd0eda434fa468997a28ab3d33fa397c642b03644f552216"
8 file://CVE-2026-41254_2.patch \
9 "
10SRC_URI[sha256sum] = "ee67be3566f459362c1ee094fde2c159d33fa0390aa4ed5f5af676f9e5004347"
11 8
12DEPENDS = "tiff" 9DEPENDS = "tiff"
13 10
diff --git a/meta-oe/recipes-support/libfido2/libfido2_1.16.0.bb b/meta-oe/recipes-support/libfido2/libfido2_1.17.0.bb
index 09d34603d6..1c15196792 100644
--- a/meta-oe/recipes-support/libfido2/libfido2_1.16.0.bb
+++ b/meta-oe/recipes-support/libfido2/libfido2_1.17.0.bb
@@ -7,10 +7,10 @@ LICENSE = "BSD-2-Clause"
7SECTION = "libs/network" 7SECTION = "libs/network"
8DEPENDS = "libcbor openssl zlib udev" 8DEPENDS = "libcbor openssl zlib udev"
9 9
10LIC_FILES_CHKSUM = "file://LICENSE;md5=20be19aaa222f71738712b26f7f8717b" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=81b68c65611c3a2eaac9e44814284719"
11 11
12SRC_URI = "https://developers.yubico.com/${BPN}/Releases/${BPN}-${PV}.tar.gz" 12SRC_URI = "https://developers.yubico.com/${BPN}/Releases/${BPN}-${PV}.tar.gz"
13SRC_URI[sha256sum] = "8c2b6fb279b5b42e9ac92ade71832e485852647b53607c43baaafbbcecea04e4" 13SRC_URI[sha256sum] = "c1012c8871d71b65872fd5ff1a9d6b0838a55683a03e85ba97479ce57129c736"
14 14
15inherit cmake pkgconfig manpages 15inherit cmake pkgconfig manpages
16 16
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.4.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.4.bb
index 2c8d9f1873..e6de4b0313 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.4.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.4.bb
@@ -32,9 +32,13 @@ PACKAGES =+ "${PN}-gpiosim ${PN}-glib ${PN}-manager ${PN}-manager-cfg ${PN}-cli"
32FILES:${PN}-tools += "${bindir}/gpionotify" 32FILES:${PN}-tools += "${bindir}/gpionotify"
33FILES:${PN}-gpiosim += "${libdir}/libgpiosim.so.*" 33FILES:${PN}-gpiosim += "${libdir}/libgpiosim.so.*"
34FILES:${PN}-gpiosim-dev += "${includedir}/gpiosim.h" 34FILES:${PN}-gpiosim-dev += "${includedir}/gpiosim.h"
35FILES:${PN}-glib += "${libdir}/libgpiod-glib.so.*" 35FILES:${PN}-glib += " \
36 ${libdir}/libgpiod-glib.so.* \
37 ${libdir}/girepository-1.0/* \
38"
36FILES:${PN}-manager += " \ 39FILES:${PN}-manager += " \
37 ${bindir}/gpio-manager \ 40 ${bindir}/gpio-manager \
41 ${libdir}/libgpiodbus.so.* \
38 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/gpio-manager.service', '', d)} \ 42 ${@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)} \ 43 ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${sysconfdir}/init.d/gpio-manager', '', d)} \
40" 44"
diff --git a/meta-oe/recipes-support/lvm2/lvm2.bb b/meta-oe/recipes-support/lvm2/lvm2.bb
index f569424e27..4bdf5f37fb 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2.bb
@@ -86,9 +86,11 @@ FILES:${PN}-scripts = " \
86 ${sbindir}/fsadm \ 86 ${sbindir}/fsadm \
87 ${sbindir}/lvmconf \ 87 ${sbindir}/lvmconf \
88 ${sbindir}/lvmdump \ 88 ${sbindir}/lvmdump \
89 ${sbindir}/lvm_import_vdo \
90 ${sbindir}/lvmpersist \
91 ${libexecdir}/lvresize_fs_helper \
89" 92"
90 93
91RDEPENDS:${PN} = "bash"
92RDEPENDS:${PN}:append:class-target = " libdevmapper" 94RDEPENDS:${PN}:append:class-target = " libdevmapper"
93RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper" 95RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper"
94 96
diff --git a/meta-oe/recipes-support/md4c/md4c_0.5.2.bb b/meta-oe/recipes-support/md4c/md4c_0.5.3.bb
index 59f2e430aa..12bcf15a87 100644
--- a/meta-oe/recipes-support/md4c/md4c_0.5.2.bb
+++ b/meta-oe/recipes-support/md4c/md4c_0.5.3.bb
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=383f39920f391605af6e8e46e60e2378"
8 8
9 9
10SRC_URI = " \ 10SRC_URI = " \
11 git://github.com/mity/md4c.git;protocol=https;branch=master \ 11 git://github.com/mity/md4c.git;protocol=https;branch=master;tag=release-${PV} \
12" 12"
13 13
14SRCREV = "729e6b8b320caa96328968ab27d7db2235e4fb47" 14SRCREV = "472c417005c2c71b8617de4f7b8d6b30411d78f4"
15 15
16inherit cmake 16inherit cmake
diff --git a/meta-oe/recipes-support/nss/nss_3.122.bb b/meta-oe/recipes-support/nss/nss_3.123.1.bb
index 70aee3d9db..413f0ef2ac 100644
--- a/meta-oe/recipes-support/nss/nss_3.122.bb
+++ b/meta-oe/recipes-support/nss/nss_3.123.1.bb
@@ -33,7 +33,7 @@ SRC_URI = "https://ftp.mozilla.org/pub/security/nss/releases/${VERSION_DIR}/src/
33 file://0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch \ 33 file://0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch \
34 file://0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch \ 34 file://0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch \
35 " 35 "
36SRC_URI[sha256sum] = "2699478b843b9f09c61f85341578df514463a0069447c816bef0d59bd800d777" 36SRC_URI[sha256sum] = "42065a3ff780a9710a3dddcd1cee9b9be2aa40628883cea851d562eb58b178b0"
37 37
38UPSTREAM_CHECK_URI = "https://ftp.mozilla.org/pub/security/nss/releases/" 38UPSTREAM_CHECK_URI = "https://ftp.mozilla.org/pub/security/nss/releases/"
39UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>\d+(\_\d+)+)" 39UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>\d+(\_\d+)+)"
diff --git a/meta-oe/recipes-support/uriparser/uriparser_1.0.0.bb b/meta-oe/recipes-support/uriparser/uriparser_1.0.1.bb
index b9c5100803..987c28744b 100644
--- a/meta-oe/recipes-support/uriparser/uriparser_1.0.0.bb
+++ b/meta-oe/recipes-support/uriparser/uriparser_1.0.1.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://src/COPYING;md5=fcc5a53146c2401f4b4f6a3bdf3f0168 \
10 10
11SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${BP}/${BP}.tar.gz \ 11SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${BP}/${BP}.tar.gz \
12 file://run-ptest" 12 file://run-ptest"
13SRC_URI[sha256sum] = "291f25264a5c025005b1bc39de3c029e6a6ca0a8d6cfa5e61cb5b03702c0884d" 13SRC_URI[sha256sum] = "5a3b7c491a1e9033d86b9c00a947bafc46407187938578daf799a4155cb7c88a"
14 14
15inherit cmake github-releases ptest 15inherit cmake github-releases ptest
16 16
diff --git a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.2.6.bb b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.2.8.bb
index ac941de811..6b6a2f23ff 100644
--- a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.2.6.bb
+++ b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.2.8.bb
@@ -15,7 +15,7 @@ VBOX_NAME = "VirtualBox-${PV}"
15SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/${VBOX_NAME}.tar.bz2 \ 15SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/${VBOX_NAME}.tar.bz2 \
16 file://Makefile.utils \ 16 file://Makefile.utils \
17" 17"
18SRC_URI[sha256sum] = "c58443a0e6fcc7fc7e84c1011a10823b3540c6a2b8f2e27c4d8971272baf09f7" 18SRC_URI[sha256sum] = "0642ed4a12b7204cd30c0abbc2c10c1cc7ad55ce1756a01e86a16d4b6b066592"
19 19
20S ?= "${UNPACKDIR}/vbox_module" 20S ?= "${UNPACKDIR}/vbox_module"
21S:task-unpack = "${UNPACKDIR}/${VBOX_NAME}" 21S:task-unpack = "${UNPACKDIR}/${VBOX_NAME}"
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.50.6.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.50.6.bb
index c3f736568f..67f95620fd 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.50.6.bb
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.50.6.bb
@@ -113,6 +113,10 @@ CXXFLAGS:append:arc = " -mlong-calls"
113# Needed for non-mesa graphics stacks when x11 is disabled 113# Needed for non-mesa graphics stacks when x11 is disabled
114CXXFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" 114CXXFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
115 115
116# Fix Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71:
117# error: cannot tail-call: tail call production failed
118CXXFLAGS:append:riscv64 = " -DSKCMS_HAS_MUSTTAIL=0"
119
116# Javascript JIT is not supported on powerpc 120# Javascript JIT is not supported on powerpc
117EXTRA_OECMAKE:append:powerpc = " -DENABLE_JIT=OFF " 121EXTRA_OECMAKE:append:powerpc = " -DENABLE_JIT=OFF "
118EXTRA_OECMAKE:append:powerpc64 = " -DENABLE_JIT=OFF " 122EXTRA_OECMAKE:append:powerpc64 = " -DENABLE_JIT=OFF "
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib/0001-python3-aspectlib-backport-fix-for-selftest.patch b/meta-python/recipes-devtools/python/python3-aspectlib/0001-python3-aspectlib-backport-fix-for-selftest.patch
new file mode 100644
index 0000000000..05d7b63126
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-aspectlib/0001-python3-aspectlib-backport-fix-for-selftest.patch
@@ -0,0 +1,37 @@
1From 2e007c5c3ed048491c29e37991e6788f41728b31 Mon Sep 17 00:00:00 2001
2From: Ionel Cristian Mărieș <contact@ionelmc.ro>
3Date: Fri, 24 Apr 2026 13:17:54 +0000
4Subject: [PATCH] python3-aspectlib: backport fix for selftest
5
6Partial backport of upstream commit b85abdb056("Fix some cleanup regressions")
7
8Changes excluded:
9The stacklevel assertion updates in test_aspectlib.py and
10test_integrations.py are omitted. These are specific to upstream's
11test suite configuration and cause failures in this environment
12without providing functional value to the core library.
13
14Upstream-Status: Backport [https://github.com/ionelmc/python-aspectlib/commit/b85abdb0565d1598ce56bd49d49dc709d4e16081]
15
16Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
17---
18 tests/conftest.py | 7 ++++---
19 1 file changed, 4 insertions(+), 3 deletions(-)
20
21diff --git a/tests/conftest.py b/tests/conftest.py
22index ee54d9d..29caa50 100644
23--- a/tests/conftest.py
24+++ b/tests/conftest.py
25@@ -1,5 +1,6 @@
26-def pytest_ignore_collect(path, config):
27- basename = path.basename
28+from pathlib import Path
29
30- if 'pytestsupport' in basename:
31+
32+def pytest_ignore_collect(collection_path: Path, config):
33+ if 'pytestsupport' in collection_path.__fspath__():
34 return True
35--
362.53.0
37
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
index 854a14441c..7bfee7ff7a 100644
--- a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
@@ -8,6 +8,7 @@ HOMEPAGE = "https://github.com/ionelmc/python-aspectlib"
8LICENSE = "BSD-2-Clause" 8LICENSE = "BSD-2-Clause"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76"
10 10
11SRC_URI += "file://0001-python3-aspectlib-backport-fix-for-selftest.patch"
11SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92" 12SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92"
12 13
13inherit ptest-python-pytest pypi setuptools3 14inherit ptest-python-pytest pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-asyncinotify_4.4.2.bb b/meta-python/recipes-devtools/python/python3-asyncinotify_4.4.4.bb
index bdda38734d..f2f868e972 100644
--- a/meta-python/recipes-devtools/python/python3-asyncinotify_4.4.2.bb
+++ b/meta-python/recipes-devtools/python/python3-asyncinotify_4.4.4.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] = "52ad97aa5332dd78592ab9c64171f2953447d98f9170b9bd440c5d19b17d0416" 6SRC_URI[sha256sum] = "a8afc92bec6666807ca50524156fca22655325cba6e2b51d842b8ec0d399c708"
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-bumble_0.0.226.bb b/meta-python/recipes-devtools/python/python3-bumble_0.0.228.bb
index d5cc66f74d..aa011258f8 100644
--- a/meta-python/recipes-devtools/python/python3-bumble_0.0.226.bb
+++ b/meta-python/recipes-devtools/python/python3-bumble_0.0.228.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/google/bumble"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=7a775f1b11285b6abedd76748d176125" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=7a775f1b11285b6abedd76748d176125"
5 5
6SRC_URI[sha256sum] = "e96f62c282a7376ab56b2f799e232d0985a8965e049030c50a59c4ff0b10f592" 6SRC_URI[sha256sum] = "78fb156548dd738a28ecba539e7aaa138117516a8811482e9801bcd35a4fbbbd"
7 7
8inherit pypi python_setuptools_build_meta ptest-python-pytest 8inherit pypi python_setuptools_build_meta ptest-python-pytest
9 9
diff --git a/meta-python/recipes-devtools/python/python3-cmake_4.3.1.bb b/meta-python/recipes-devtools/python/python3-cmake_4.3.2.bb
index 5787b73d98..cfb1d3a2a8 100644
--- a/meta-python/recipes-devtools/python/python3-cmake_4.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cmake_4.3.2.bb
@@ -11,7 +11,7 @@ PYPI_PACKAGE = "cmake"
11PYPI_ARCHIVE_NAME_PREFIX = "pypi-" 11PYPI_ARCHIVE_NAME_PREFIX = "pypi-"
12 12
13inherit pypi python_setuptools_build_meta 13inherit pypi python_setuptools_build_meta
14SRC_URI[sha256sum] = "6fe523413cdd2568a19a6ec297b8f869a95a3f8edaf0dd73731b81412216e00e" 14SRC_URI[sha256sum] = "5f47f5f00910c474662d09a0516413c6e9750bde73cdc52dea3988102a274e06"
15 15
16SRC_URI += " \ 16SRC_URI += " \
17 file://CMakeLists.txt \ 17 file://CMakeLists.txt \
diff --git a/meta-python/recipes-devtools/python/python3-cmd2_3.4.0.bb b/meta-python/recipes-devtools/python/python3-cmd2_3.5.1.bb
index 2ed0bdc769..1d57d7a8b9 100644
--- a/meta-python/recipes-devtools/python/python3-cmd2_3.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-cmd2_3.5.1.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f2a861642858e0858af9dd4e4716bae0"
5 5
6DEPENDS += "python3-setuptools-scm-native" 6DEPENDS += "python3-setuptools-scm-native"
7 7
8SRC_URI[sha256sum] = "fd43ef7540609469f055858146f2c592ca4c58e3c336b5efbc5502459ab0bdb2" 8SRC_URI[sha256sum] = "1637f765e764b022dfa617f4711fb441599732082eb6310cf8739fbaec2335a0"
9 9
10inherit pypi python_setuptools_build_meta python3native 10inherit pypi python_setuptools_build_meta python3native
11 11
diff --git a/meta-python/recipes-devtools/python/python3-cyclonedx-python-lib_11.7.0.bb b/meta-python/recipes-devtools/python/python3-cyclonedx-python-lib_11.7.0.bb
new file mode 100644
index 0000000000..56c108c6fe
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cyclonedx-python-lib_11.7.0.bb
@@ -0,0 +1,19 @@
1SUMMARY = "Python library for CycloneDX"
2HOMEPAGE = "https://github.com/CycloneDX/cyclonedx-python-lib/"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
5
6SRC_URI[sha256sum] = "fb1bc3dedfa31208444dbd743007f478ab6984010a184e5bd466bffd969e936e"
7
8inherit pypi python_poetry_core
9
10PYPI_PACKAGE = "cyclonedx_python_lib"
11
12BBCLASSEXTEND = "native nativesdk"
13
14RDEPENDS:${PN} = "\
15 python3-py-serializable \
16 python3-sortedcontainers \
17 python3-jsonschema \
18 python3-referencing \
19"
diff --git a/meta-python/recipes-devtools/python/python3-faker_40.13.0.bb b/meta-python/recipes-devtools/python/python3-faker_40.15.0.bb
index 97f0e6e8f6..cb7e3ebbff 100644
--- a/meta-python/recipes-devtools/python/python3-faker_40.13.0.bb
+++ b/meta-python/recipes-devtools/python/python3-faker_40.15.0.bb
@@ -7,7 +7,7 @@ HOMEPAGE = "https://github.com/joke2k/faker"
7LICENSE = "MIT" 7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=53360c4126f7d03b63cb79b0dab9e9e1" 8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=53360c4126f7d03b63cb79b0dab9e9e1"
9 9
10SRC_URI[sha256sum] = "a0751c84c3abac17327d7bb4c98e8afe70ebf7821e01dd7d0b15cd8856415525" 10SRC_URI[sha256sum] = "20f3a6ec8c266b74d4c554e34118b21c3c2056c0b4a519d15c8decb3a4e6e795"
11 11
12inherit pypi setuptools3 ptest-python-pytest 12inherit pypi setuptools3 ptest-python-pytest
13 13
diff --git a/meta-python/recipes-devtools/python/python3-fastapi_0.135.3.bb b/meta-python/recipes-devtools/python/python3-fastapi_0.136.1.bb
index a4bdb19bbf..27346415c4 100644
--- a/meta-python/recipes-devtools/python/python3-fastapi_0.135.3.bb
+++ b/meta-python/recipes-devtools/python/python3-fastapi_0.136.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://fastapi.tiangolo.com/"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=95792ff3fe8e11aa49ceb247e66e4810" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=95792ff3fe8e11aa49ceb247e66e4810"
5 5
6SRC_URI[sha256sum] = "bd6d7caf1a2bdd8d676843cdcd2287729572a1ef524fc4d65c17ae002a1be654" 6SRC_URI[sha256sum] = "7af665ad7acfa0a3baf8983d393b6b471b9da10ede59c60045f49fbc89a0fa7f"
7 7
8SRC_URI += "file://run-ptest" 8SRC_URI += "file://run-ptest"
9 9
diff --git a/meta-python/recipes-devtools/python/python3-filelock_3.25.2.bb b/meta-python/recipes-devtools/python/python3-filelock_3.29.0.bb
index 6f1a32ef8f..9957fa224f 100644
--- a/meta-python/recipes-devtools/python/python3-filelock_3.25.2.bb
+++ b/meta-python/recipes-devtools/python/python3-filelock_3.29.0.bb
@@ -6,7 +6,7 @@ LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=2c6acbdf7bb74caa37512c3a5ca6857b" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=2c6acbdf7bb74caa37512c3a5ca6857b"
7 7
8SRC_URI += "file://run-ptest" 8SRC_URI += "file://run-ptest"
9SRC_URI[sha256sum] = "b64ece2b38f4ca29dd3e810287aa8c48182bbecd1ae6e9ae126c9b35f1382694" 9SRC_URI[sha256sum] = "69974355e960702e789734cb4871f884ea6fe50bd8404051a3530bc07809cf90"
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12 12
diff --git a/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.4.0.bb b/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.5.0.bb
index 189ed5335b..a311730980 100644
--- a/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.5.0.bb
@@ -8,7 +8,7 @@ inherit pypi python_flit_core
8PYPI_PACKAGE = "flask_marshmallow" 8PYPI_PACKAGE = "flask_marshmallow"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" 9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
10 10
11SRC_URI[sha256sum] = "98c90a253052c72d2ddddc925539ac33bbd780c6fba86478ffe18e3b89d8b471" 11SRC_URI[sha256sum] = "7c06b56e41647eccdb3cd57c25b109f19191b4c62509362bd64920cdf601a066"
12 12
13RDEPENDS:${PN} += "\ 13RDEPENDS:${PN} += "\
14 python3-flask \ 14 python3-flask \
diff --git a/meta-python/recipes-devtools/python/python3-flask-wtf_1.2.2.bb b/meta-python/recipes-devtools/python/python3-flask-wtf_1.3.0.bb
index 0ce3de0856..2c1f8af8e8 100644
--- a/meta-python/recipes-devtools/python/python3-flask-wtf_1.2.2.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-wtf_1.3.0.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple integration of Flask and WTForms."
2LICENSE = "BSD-3-Clause" 2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d98d089889e14b227732d45dac3aacc4" 3LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d98d089889e14b227732d45dac3aacc4"
4 4
5SRC_URI[sha256sum] = "79d2ee1e436cf570bccb7d916533fa18757a2f18c290accffab1b9a0b684666b" 5SRC_URI[sha256sum] = "61d5dabc50c3df885c297dcbd80810443a5d632106c8a69cab8ce740f0cdd7cc"
6 6
7PYPI_PACKAGE = "flask_wtf" 7PYPI_PACKAGE = "flask_wtf"
8UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" 8UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
diff --git a/meta-python/recipes-devtools/python/python3-greenlet_3.4.0.bb b/meta-python/recipes-devtools/python/python3-greenlet_3.5.0.bb
index 728c2b7940..a68ae74ded 100644
--- a/meta-python/recipes-devtools/python/python3-greenlet_3.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-greenlet_3.5.0.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] = "f50a96b64dafd6169e595a5c56c9146ef80333e67d4476a65a9c55f400fc22ff" 7SRC_URI[sha256sum] = "d419647372241bc68e957bf38d5c1f98852155e4146bd1e4121adea81f4f01e4"
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-identify_2.6.18.bb b/meta-python/recipes-devtools/python/python3-identify_2.6.19.bb
index 7418b43150..9b8d49c61d 100644
--- a/meta-python/recipes-devtools/python/python3-identify_2.6.18.bb
+++ b/meta-python/recipes-devtools/python/python3-identify_2.6.19.bb
@@ -6,7 +6,7 @@ PYPI_PACKAGE = "identify"
6 6
7inherit pypi setuptools3 7inherit pypi setuptools3
8 8
9SRC_URI[sha256sum] = "873ac56a5e3fd63e7438a7ecbc4d91aca692eb3fefa4534db2b7913f3fc352fd" 9SRC_URI[sha256sum] = "6be5020c38fcb07da56c53733538a3081ea5aa70d36a156f83044bfbf9173842"
10 10
11RDEPENDS:${PN} = " \ 11RDEPENDS:${PN} = " \
12 python3-ukkonen \ 12 python3-ukkonen \
diff --git a/meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.7.bb
index 1bcd3a457f..57a1b4965f 100644
--- a/meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb
+++ b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.7.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4"
5 5
6DEPENDS = "python3-hatchling-native" 6DEPENDS = "python3-hatchling-native"
7SRC_URI[sha256sum] = "224a96eeb86c4b2831d274239d3468dc0b7819264f608f595b2f9d01f79a6e38" 7SRC_URI[sha256sum] = "1a97a50420de32b86c422cceadf950f1f343ba03a28b878a757ee492b741c093"
8 8
9inherit pypi python_hatchling 9inherit pypi python_hatchling
10 10
diff --git a/meta-python/recipes-devtools/python/python3-ipython_9.12.0.bb b/meta-python/recipes-devtools/python/python3-ipython_9.13.0.bb
index 1dcac8b51c..c563b110e1 100644
--- a/meta-python/recipes-devtools/python/python3-ipython_9.12.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ipython_9.13.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] = "01daa83f504b693ba523b5a407246cabde4eb4513285a3c6acaff11a66735ee4" 6SRC_URI[sha256sum] = "7e834b6afc99f020e3f05966ced34792f40267d64cb1ea9043886dab0dde5967"
7 7
8RDEPENDS:${PN} = "\ 8RDEPENDS:${PN} = "\
9 python3-setuptools \ 9 python3-setuptools \
diff --git a/meta-python/recipes-devtools/python/python3-moteus_0.3.100.bb b/meta-python/recipes-devtools/python/python3-moteus_0.3.101.bb
index fe12809d78..0b7d636cd6 100644
--- a/meta-python/recipes-devtools/python/python3-moteus_0.3.100.bb
+++ b/meta-python/recipes-devtools/python/python3-moteus_0.3.101.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c2d9643b4523fdf462
5 5
6inherit pypi python_setuptools_build_meta 6inherit pypi python_setuptools_build_meta
7 7
8SRC_URI[sha256sum] = "cab1bdcffc18b83ebb52066b1bffe6de7c1354b163b3bd63e430b4fa04fbc6b9" 8SRC_URI[sha256sum] = "a288796f54515a40b02f548d8bcfb47c1e846e6460748d81856798c463b35cf5"
9 9
10S = "${UNPACKDIR}/moteus-${PV}" 10S = "${UNPACKDIR}/moteus-${PV}"
11 11
diff --git a/meta-python/recipes-devtools/python/python3-packageurl-python_0.17.6.bb b/meta-python/recipes-devtools/python/python3-packageurl-python_0.17.6.bb
new file mode 100644
index 0000000000..4ae0f3a824
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-packageurl-python_0.17.6.bb
@@ -0,0 +1,12 @@
1SUMMARY = "A purl aka. Package URL parser and builder"
2HOMEPAGE = "https://github.com/package-url/packageurl-python"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://mit.LICENSE;md5=ec425c78d8beabdb209b01c5fbcd38e0"
5
6SRC_URI[sha256sum] = "1252ce3a102372ca6f86eb968e16f9014c4ba511c5c37d95a7f023e2ca6e5c25"
7
8inherit pypi setuptools3
9
10PYPI_PACKAGE = "packageurl_python"
11
12BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-pre-commit_4.5.1.bb b/meta-python/recipes-devtools/python/python3-pre-commit_4.6.0.bb
index df4769c13e..2dbe9e557b 100644
--- a/meta-python/recipes-devtools/python/python3-pre-commit_4.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pre-commit_4.6.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b53a93744e3ff841e5fc9a934da8e1c8"
5PYPI_PACKAGE = "pre_commit" 5PYPI_PACKAGE = "pre_commit"
6 6
7inherit pypi setuptools3 7inherit pypi setuptools3
8SRC_URI[sha256sum] = "eb545fcff725875197837263e977ea257a402056661f09dae08e4b149b030a61" 8SRC_URI[sha256sum] = "718d2208cef53fdc38206e40524a6d4d9576d103eb16f0fec11c875e7716e9d9"
9 9
10RDEPENDS:${PN} = " \ 10RDEPENDS:${PN} = " \
11 python3-cfgv \ 11 python3-cfgv \
diff --git a/meta-python/recipes-devtools/python/python3-py-serializable_2.1.0.bb b/meta-python/recipes-devtools/python/python3-py-serializable_2.1.0.bb
new file mode 100644
index 0000000000..8e2a6111d7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-py-serializable_2.1.0.bb
@@ -0,0 +1,14 @@
1SUMMARY = "Library for serializing and deserializing Python Objects to and from JSON and XML."
2HOMEPAGE = "https://github.com/madpah/serializable"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
5
6SRC_URI[sha256sum] = "9d5db56154a867a9b897c0163b33a793c804c80cee984116d02d49e4578fc103"
7
8inherit pypi python_poetry_core
9
10PYPI_PACKAGE = "py_serializable"
11
12BBCLASSEXTEND = "native nativesdk"
13
14RDEPENDS:${PN} += "python3-defusedxml"
diff --git a/meta-python/recipes-devtools/python/python3-pymisp_2.5.33.1.bb b/meta-python/recipes-devtools/python/python3-pymisp_2.5.33.2.bb
index 4885dda859..59fa072eb4 100644
--- a/meta-python/recipes-devtools/python/python3-pymisp_2.5.33.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pymisp_2.5.33.2.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] = "b5cd9aac342596fbe2696b7c3ee02a2a221574557c0334451b0d4e21a4c5928f" 6SRC_URI[sha256sum] = "ed45ae12bb58082c5dd7e8bd35bee3a3b7eee54196d3451fa4bb7051535dbd2e"
7 7
8inherit python_poetry_core pypi 8inherit python_poetry_core pypi
9 9
diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.16.0.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.17.0.bb
index 75d0504d46..663de17352 100644
--- a/meta-python/recipes-devtools/python/python3-pymongo_4.16.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pymongo_4.17.0.bb
@@ -8,7 +8,7 @@ HOMEPAGE = "https://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] = "8ba8405065f6e258a6f872fe62d797a28f383a12178c7153c01ed04e845c600c" 11SRC_URI[sha256sum] = "70ffa08ba641468cc068cf46c06b34f01a8ce3489f6411309fcb5ceabe6b2fc0"
12 12
13CVE_PRODUCT = "pymongo" 13CVE_PRODUCT = "pymongo"
14 14
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.9.5.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb
index d5c95cf546..834546b9db 100644
--- a/meta-python/recipes-devtools/python/python3-pyroute2_0.9.5.bb
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dccbff78d7d79ae7e53953d43445c6e6 \
4 file://LICENSE.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 4 file://LICENSE.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
5 file://LICENSE.Apache-2.0;md5=34281e312165f843a2b7d1f114fe65ce" 5 file://LICENSE.Apache-2.0;md5=34281e312165f843a2b7d1f114fe65ce"
6 6
7SRC_URI[sha256sum] = "a198ccbe545b031b00b10da4b44df33d548db04af944be8107c05a215ba03872" 7SRC_URI[sha256sum] = "6bc5e2ea9a372ded682b4ede4028ba00236bd6e35b42d833f39a96b219ef1db2"
8 8
9inherit python_setuptools_build_meta pypi ptest-python-pytest 9inherit python_setuptools_build_meta pypi ptest-python-pytest
10 10
diff --git a/meta-python/recipes-devtools/python/python3-pytest-codspeed_4.3.0.bb b/meta-python/recipes-devtools/python/python3-pytest-codspeed_4.4.0.bb
index 3fc2715102..efab39fd5f 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-codspeed_4.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-codspeed_4.4.0.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=2856cbe664e8843cd4fd4c1d1d85c2c3" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=2856cbe664e8843cd4fd4c1d1d85c2c3"
5 5
6DEPENDS = "python3-cffi-native" 6DEPENDS = "python3-cffi-native"
7SRC_URI[sha256sum] = "5230d9d65f39063a313ed1820df775166227ec5c20a1122968f85653d5efee48" 7SRC_URI[sha256sum] = "edb7c101d9c50439a42cf02cfa9c0ac92da618841636bbebf87c3fa54669442a"
8 8
9inherit pypi python_hatchling 9inherit pypi python_hatchling
10 10
diff --git a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.26.bb b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.27.bb
index 46046dc050..184f5212a8 100644
--- a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.26.bb
+++ b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.27.bb
@@ -2,7 +2,7 @@ SUMMARY = "A streaming multipart parser for Python"
2LICENSE = "Apache-2.0" 2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" 3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
4 4
5SRC_URI[sha256sum] = "08fadc45918cd615e26846437f50c5d6d23304da32c341f289a617127b081f17" 5SRC_URI[sha256sum] = "9870a6a8c5a20a5bf4f07c017bd1489006ff8836cff097b6933355ee2b49b602"
6 6
7inherit pypi python_hatchling ptest-python-pytest 7inherit pypi python_hatchling ptest-python-pytest
8 8
diff --git a/meta-python/recipes-devtools/python/python3-sentry-sdk_2.57.0.bb b/meta-python/recipes-devtools/python/python3-sentry-sdk_2.58.0.bb
index 94fc007b84..d752b7cca7 100644
--- a/meta-python/recipes-devtools/python/python3-sentry-sdk_2.57.0.bb
+++ b/meta-python/recipes-devtools/python/python3-sentry-sdk_2.58.0.bb
@@ -15,7 +15,7 @@ RDEPENDS:${PN} += "\
15 python3-datetime \ 15 python3-datetime \
16" 16"
17 17
18SRC_URI[sha256sum] = "4be8d1e71c32fb27f79c577a337ac8912137bba4bcbc64a4ec1da4d6d8dc5199" 18SRC_URI[sha256sum] = "c1144d947352d54e5b7daa63596d9f848adf684989c06c4f5a659f0c85a18f6f"
19 19
20PYPI_PACKAGE = "sentry_sdk" 20PYPI_PACKAGE = "sentry_sdk"
21 21
diff --git a/meta-python/recipes-devtools/python/python3-simplejson_3.20.2.bb b/meta-python/recipes-devtools/python/python3-simplejson_4.1.1.bb
index f1a8d55132..0579513a96 100644
--- a/meta-python/recipes-devtools/python/python3-simplejson_3.20.2.bb
+++ b/meta-python/recipes-devtools/python/python3-simplejson_4.1.1.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://cheeseshop.python.org/pypi/simplejson"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e"
6 6
7SRC_URI[sha256sum] = "5fe7a6ce14d1c300d80d08695b7f7e633de6cd72c80644021874d985b3393649" 7SRC_URI[sha256sum] = "c08eb9f7a90f77ae470e19a07472e9a79ebc0d1c2315d86a72767665bd5ba79f"
8 8
9inherit pypi setuptools3 9inherit pypi setuptools3
10 10
diff --git a/meta-python/recipes-devtools/python/python3-tox_4.52.1.bb b/meta-python/recipes-devtools/python/python3-tox_4.53.0.bb
index dbac6deed8..bf3c1d3690 100644
--- a/meta-python/recipes-devtools/python/python3-tox_4.52.1.bb
+++ b/meta-python/recipes-devtools/python/python3-tox_4.53.0.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://tox.readthedocs.org/"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7"
8 8
9SRC_URI[sha256sum] = "297e71ea0ae4ef3acc45cb5fdf080b74537e6ecb5eea7d4646fa7322ca10473e" 9SRC_URI[sha256sum] = "62c780e42f87d34ee60f2ea20342156253794fdcbd6885fd797d98ee05009f22"
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-typer_0.24.1.bb b/meta-python/recipes-devtools/python/python3-typer_0.25.0.bb
index 6538f16f0d..c38fbc9761 100644
--- a/meta-python/recipes-devtools/python/python3-typer_0.24.1.bb
+++ b/meta-python/recipes-devtools/python/python3-typer_0.25.0.bb
@@ -7,7 +7,7 @@ HOMEPAGE = "https://github.com/fastapi/typer"
7LICENSE = "MIT" 7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617"
9 9
10SRC_URI[sha256sum] = "e39b4732d65fbdcde189ae76cf7cd48aeae72919dea1fdfc16593be016256b45" 10SRC_URI[sha256sum] = "123eaf9f19bb40fd268310e12a542c0c6b4fab9c98d9d23342a01ff95e3ce930"
11 11
12inherit pypi python_pdm ptest 12inherit pypi python_pdm ptest
13 13
diff --git a/meta-python/recipes-devtools/python/python3-tzdata_2026.1.bb b/meta-python/recipes-devtools/python/python3-tzdata_2026.2.bb
index 9a66460e76..0a94aa59ff 100644
--- a/meta-python/recipes-devtools/python/python3-tzdata_2026.1.bb
+++ b/meta-python/recipes-devtools/python/python3-tzdata_2026.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] = "67658a1903c75917309e753fdc349ac0efd8c27db7a0cb406a25be4840f87f98" 7SRC_URI[sha256sum] = "9173fde7d80d9018e02a662e168e5a2d04f87c41ea174b139fbef642eda62d10"
8 8
9inherit pypi python_setuptools_build_meta ptest-python-pytest 9inherit pypi python_setuptools_build_meta ptest-python-pytest
10 10
diff --git a/meta-python/recipes-devtools/python/python3-virtualenv_21.2.1.bb b/meta-python/recipes-devtools/python/python3-virtualenv_21.3.0.bb
index 3ff03e43c7..492d1ff731 100644
--- a/meta-python/recipes-devtools/python/python3-virtualenv_21.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-virtualenv_21.3.0.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] = "b66ffe81301766c0d5e2208fc3576652c59d44e7b731fc5f5ed701c9b537fa78" 9SRC_URI[sha256sum] = "733750db978ec95c2d8eb4feadaa57091002bce404cb39ba69899cf7bd28944e"
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-xxhash_3.6.0.bb b/meta-python/recipes-devtools/python/python3-xxhash_3.7.0.bb
index c62595c4d1..57755cce74 100644
--- a/meta-python/recipes-devtools/python/python3-xxhash_3.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-xxhash_3.7.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=82f3295151c5e61043a4a201c031a5ee"
5 5
6DEPENDS += "python3-setuptools-scm-native" 6DEPENDS += "python3-setuptools-scm-native"
7 7
8SRC_URI[sha256sum] = "f0162a78b13a0d7617b2845b90c763339d1f1d82bb04a4b07f4ab535cc5e05d6" 8SRC_URI[sha256sum] = "6cc4eefbb542a5d6ffd6d70ea9c502957c925e800f998c5630ecc809d6702bae"
9 9
10SRC_URI += " \ 10SRC_URI += " \
11 file://run-ptest \ 11 file://run-ptest \
diff --git a/meta-python/recipes-devtools/python/python3-zopeinterface_8.3.bb b/meta-python/recipes-devtools/python/python3-zopeinterface_8.4.bb
index 2dc586a3ab..51169e04f7 100644
--- a/meta-python/recipes-devtools/python/python3-zopeinterface_8.3.bb
+++ b/meta-python/recipes-devtools/python/python3-zopeinterface_8.4.bb
@@ -6,7 +6,7 @@ PYPI_PACKAGE = "zope_interface"
6UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" 6UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
7 7
8inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
9SRC_URI[sha256sum] = "e1a9de7d0b5b5c249a73b91aebf4598ce05e334303af6aa94865893283e9ff10" 9SRC_URI[sha256sum] = "9dbee7925a23aa6349738892c911019d4095a96cff487b743482073ecbc174a8"
10PACKAGES =. "${PN}-test " 10PACKAGES =. "${PN}-test "
11 11
12RPROVIDES:${PN} += "zope-interfaces" 12RPROVIDES:${PN} += "zope-interfaces"
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet_3.13.2.bb b/meta-python/recipes-extended/python-blivet/python3-blivet_3.13.2.bb
index a159979b73..69ec8c0487 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet_3.13.2.bb
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet_3.13.2.bb
@@ -17,7 +17,7 @@ SRC_URI += "\
17" 17"
18SRC_URI[sha256sum] = "6d8374d05eeab513b2a26cf01267e853df7b31e13ad1a1ba7d73a856190d0518" 18SRC_URI[sha256sum] = "6d8374d05eeab513b2a26cf01267e853df7b31e13ad1a1ba7d73a856190d0518"
19 19
20inherit pypi features_check systemd setuptools3_legacy 20inherit pypi features_check systemd python_setuptools_build_meta
21 21
22REQUIRED_DISTRO_FEATURES = "systemd" 22REQUIRED_DISTRO_FEATURES = "systemd"
23 23
diff --git a/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.2.bb b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.5.bb
index 7684b1dccc..d494f0ffd6 100644
--- a/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.2.bb
+++ b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.5.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
12 12
13SRC_URI = "git://github.com/swagger-api/swagger-ui;branch=master;protocol=https;tag=v${PV}" 13SRC_URI = "git://github.com/swagger-api/swagger-ui;branch=master;protocol=https;tag=v${PV}"
14 14
15SRCREV = "d02a2df106961d8cb6bceb6b4b3aa8d9f6faaf4a" 15SRCREV = "dcb493cdbf58fa885047513bd176a644f92c4955"
16 16
17CVE_STATUS[CVE-2016-1000229] = "fixed-version: fixed since 2.2.1" 17CVE_STATUS[CVE-2016-1000229] = "fixed-version: fixed since 2.2.1"
18 18
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.66.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.67.bb
index 630c6f3b1b..082f533c85 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.66.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.67.bb
@@ -27,7 +27,7 @@ SRC_URI:append:class-target = " \
27 " 27 "
28 28
29LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3" 29LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3"
30SRC_URI[sha256sum] = "94d7ff2b42acbb828e870ba29e4cbad48e558a79c623ad3596e4116efcfea25a" 30SRC_URI[sha256sum] = "66cd206637b0d5c446fa7dabe75fe03525da8fb55855876c46288cd88b136aa4"
31 31
32S = "${UNPACKDIR}/httpd-${PV}" 32S = "${UNPACKDIR}/httpd-${PV}"
33 33
diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.28.3.bb b/meta-webserver/recipes-httpd/nginx/nginx_1.28.3.bb
deleted file mode 100644
index 9872a6de3b..0000000000
--- a/meta-webserver/recipes-httpd/nginx/nginx_1.28.3.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1require nginx.inc
2
3LIC_FILES_CHKSUM = "file://LICENSE;md5=3dc49537b08b14c8b66ad247bb4c4593"
4
5SRC_URI[sha256sum] = "2c96a946bfb0882a21744ed429770a2123ae1828c7c48665092993ddee91a918"
6
7CVE_STATUS[CVE-2025-53859] = "cpe-stable-backport: Fix is included in 1.28.1"
diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb b/meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb
deleted file mode 100644
index 4d884fcbb3..0000000000
--- a/meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1require nginx.inc
2
3# 1.28.x branch is the current stable branch, the recommended default
4# 1.29.x is the current mainline branches containing all new features
5DEFAULT_PREFERENCE = "-1"
6
7LIC_FILES_CHKSUM = "file://LICENSE;md5=79da1c70d587d3a199af9255ad393f99"
8
9SRC_URI[sha256sum] = "673f8fb8c0961c44fbd9410d6161831453609b44063d3f2948253fc2b5692139"
10
diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.30.0.bb b/meta-webserver/recipes-httpd/nginx/nginx_1.30.0.bb
new file mode 100644
index 0000000000..139fe24dcd
--- /dev/null
+++ b/meta-webserver/recipes-httpd/nginx/nginx_1.30.0.bb
@@ -0,0 +1,6 @@
1require nginx.inc
2
3LIC_FILES_CHKSUM = "file://LICENSE;md5=79da1c70d587d3a199af9255ad393f99"
4
5SRC_URI[sha256sum] = "058188c64bf22baecaa72b809a6318a4f9ba623889c554feab03f7cb853ab31b"
6
diff --git a/meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.21.bb b/meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.26.bb
index 61a94f7bf4..77c6b4c2ca 100644
--- a/meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.21.bb
+++ b/meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.26.bb
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7 7
8DEPENDS = "gtk+3 glib-2.0 xfce4-dev-tools-native intltool-native" 8DEPENDS = "gtk+3 glib-2.0 xfce4-dev-tools-native intltool-native"
9 9
10SRC_URI = "git://github.com/ib/xarchiver.git;branch=master;protocol=https" 10SRC_URI = "git://github.com/ib/xarchiver.git;branch=master;protocol=https;tag=${PV}"
11SRCREV = "55f923ebc623bcc8f53368543847350a23688189" 11SRCREV = "e14d54e1c85f4dbc78b89042017ebdc0fe5e2f4c"
12 12
13 13
14inherit gettext pkgconfig autotools gtk-icon-cache features_check mime-xdg 14inherit gettext pkgconfig autotools gtk-icon-cache features_check mime-xdg
diff --git a/meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.20.1.bb b/meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.20.2.bb
index 5cd0213951..996330cc45 100644
--- a/meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.20.1.bb
+++ b/meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.20.2.bb
@@ -24,7 +24,7 @@ inherit xfce features_check
24 24
25REQUIRED_DISTRO_FEATURES = "x11" 25REQUIRED_DISTRO_FEATURES = "x11"
26 26
27SRC_URI[sha256sum] = "acccde849265bbf4093925ba847977b7abf70bb2977e4f78216570e887c157b8" 27SRC_URI[sha256sum] = "1d9bd76015fb6e9aca05e73cd998c7c66ed4fc8c10b626e08fc2eb7c39df3f7b"
28 28
29PACKAGECONFIG ??= "notify" 29PACKAGECONFIG ??= "notify"
30PACKAGECONFIG[notify] = "-Dnotifications=enabled,-Dnotifications=disabled,libnotify" 30PACKAGECONFIG[notify] = "-Dnotifications=enabled,-Dnotifications=disabled,libnotify"