diff mbox series

[meta-networking,14/15] ot-br-posix: upgrade 0.3.0+git -> 2026.11.0

Message ID 20261130163151.1629071-15-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upgrades and fetch fixes | expand

Commit Message

Khem Raj Nov. 30, 2026, 4:31 p.m. UTC
Upstream now makes monthly date releases; build the v2026.11.0 tag.

Replace gitsm with git entries for every submodule (recursively), pinned
at the revisions the tag records: openthread, its mbedtls (v3.6.5) and
mbedtls-framework, cJSON and cpp-httplib (v0.19.0). mbedtls became a
submodule of openthread in this range, and its CMake refuses to configure
without the framework submodule. Pass OTBR_VERSION so the version does
not come from git describe.

Notable changes since cb0bfde934ad (63 commits):
- REST: listen on a unix socket, Enhanced Route TLV in network
  diagnostics, pending dataset via MGMT_PENDING_SET
- firewall: nftables table named after the Thread interface, IPv4 left
  out of the ingress filter, nat_forward chain dropped, table reinstalled
  when deleted externally
- agent: NAT44 masquerade only with NAT64; stderr logging when syslog is
  disabled
- mDNS/DNS-SD fixes, netlink ACK verification, D-Bus GetAll handling
  of failing properties
- openthread moved to v2026.11.0 era main

The existing patches still apply.

License-Update: Add the mbedtls license (Apache-2.0); it is built and
linked in statically, but was not listed.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...-posix_git.bb => ot-br-posix_2026.11.0.bb} | 26 +++++++++++++++----
 1 file changed, 21 insertions(+), 5 deletions(-)
 rename meta-networking/recipes-connectivity/openthread/{ot-br-posix_git.bb => ot-br-posix_2026.11.0.bb} (63%)
diff mbox series

Patch

diff --git a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb b/meta-networking/recipes-connectivity/openthread/ot-br-posix_2026.11.0.bb
similarity index 63%
rename from meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb
rename to meta-networking/recipes-connectivity/openthread/ot-br-posix_2026.11.0.bb
index 556dd4e4f4..cdf0a124e1 100644
--- a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb
+++ b/meta-networking/recipes-connectivity/openthread/ot-br-posix_2026.11.0.bb
@@ -3,23 +3,38 @@ 
 # SPDX-License-Identifier: Apache-2.0
 SUMMARY = "OpenThread Border Router"
 SECTION = "net"
-LICENSE = "BSD-3-Clause AND MIT"
+LICENSE = "BSD-3-Clause AND MIT AND Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=87109e44b2fda96a8991f27684a7349c \
                     file://third_party/cJSON/repo/LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0 \
                     file://third_party/cpp-httplib/repo/LICENSE;md5=1321bdf796c67e3a8ab8e352dd81474b \
                     file://third_party/openthread/repo/LICENSE;md5=543b6fe90ec5901a683320a36390c65f \
+                    file://third_party/openthread/repo/third_party/mbedtls/repo/LICENSE;md5=379d5819937a6c2f1ef1630d341e026d \
                     "
 DEPENDS = "autoconf-archive dbus readline jsoncpp boost libnetfilter-queue protobuf protobuf-native"
-SRCREV = "cb0bfde934ad7519610a63b75c067f8d7601fe21"
-PV = "0.3.0+git"
-
-SRC_URI = "gitsm://github.com/openthread/ot-br-posix.git;protocol=https;branch=main \
+OT_DIR = "${BB_GIT_DEFAULT_DESTSUFFIX}/third_party/openthread/repo"
+SRC_URI = "git://github.com/openthread/ot-br-posix.git;protocol=https;branch=main;tag=v${PV};name=otbr \
+           git://github.com/openthread/openthread.git;protocol=https;branch=main;name=openthread;destsuffix=${OT_DIR} \
+           git://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls-3.6;name=mbedtls;destsuffix=${OT_DIR}/third_party/mbedtls/repo \
+           git://github.com/Mbed-TLS/mbedtls-framework.git;protocol=https;branch=main;name=mbedtlsfw;destsuffix=${OT_DIR}/third_party/mbedtls/repo/framework \
+           git://github.com/DaveGamble/cJSON.git;protocol=https;branch=master;name=cjson;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/third_party/cJSON/repo \
+           git://github.com/yhirose/cpp-httplib.git;protocol=https;branch=master;name=httplib;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/third_party/cpp-httplib/repo \
            file://0001-cmake-Disable-nonnull-compare-warning-on-gcc.patch \
            file://default-cxx-std.patch \
            file://0001-x509_crt-Zero-initialize-mbedtls_x509_time-at-declar.patch;patchdir=third_party/openthread/repo \
            file://0001-posix-backtrace-Reference-sCrashCallback-on-non-gli.patch;patchdir=third_party/openthread/repo \
            "
 
+# Submodules (recursively) listed in .gitmodules, at the revisions v${PV} pins
+SRCREV_otbr = "76fb21d666a41050b43f8eaabc30e71d9d75d9fd"
+SRCREV_openthread = "ecd308b4a00f76d643b352f8f5c4ffc287bb33a2"
+# v3.6.5
+SRCREV_mbedtls = "e185d7fd85499c8ce5ca2a54f5cf8fe7dbe3f8df"
+SRCREV_mbedtlsfw = "457996474728cb8e968ed21953b72f74d2f536b2"
+SRCREV_cjson = "cf97c6f066d81fdbba4ef722cfd327bbbba2365c"
+# v0.19.0
+SRCREV_httplib = "03cf43ebaa55f27a2778bed870ea3549f7e84e2c"
+SRCREV_FORMAT = "otbr"
+
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 SYSTEMD_SERVICE:${PN} = "otbr-agent.service"
@@ -59,6 +74,7 @@  EXTRA_OECMAKE = "-DBUILD_TESTING=OFF \
                  -DOT_DHCP6_CLIENT=ON \
                  -DOT_DHCP6_SERVER=ON \
                  -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
+                 -DOTBR_VERSION=${PV} \
                  "
 
 RDEPENDS:${PN} = "iproute2 ipset"