similarity index 95%
rename from meta-oe/recipes-devtools/protobuf/protobuf_6.33.6.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_7.36.2.bb
@@ -16,7 +16,7 @@ PROTOC_BRANCH = "${@d.getVar('PV').split('.', 2)[1]}.x"
DEPENDS = "zlib abseil-cpp jsoncpp"
DEPENDS:append:class-target = " protobuf-native"
-SRCREV = "6e1998413a5bca7c058b85999667893f167434bc"
+SRCREV = "2c74169b34066ceb8ddb6b882fcb3fb32d737a55"
SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=${PROTOC_BRANCH};protocol=https;tag=${PROTOC_VERSION} \
file://run-ptest \
@@ -25,11 +25,11 @@ SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=${PROTOC_BRANCH}
"
# Upstream dropped the language-major prefix after v6.31.1: releases are now
-# tagged vNN.N (v33.6 == this recipe's 6.33.6, cf. PROTOC_VERSION above). Match
+# tagged vNN.N (v36.2 == this recipe's 7.36.2, cf. PROTOC_VERSION above). Match
# those two-component tags so the real latest release is reported; the leading
-# "6." in PV means the comparison stays off-by-a-major, so this reads as UPDATE
+# C++ major in PV means the comparison stays off-by-a-major, so this reads as UPDATE
# rather than MATCH even when current.
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+)$"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+\.\d+)$"
CVE_PRODUCT = "google:protobuf protobuf:protobuf google-protobuf protobuf-cpp"
The C++ library major version moves from 6 to 7 at protoc v34; this recipe now builds protoc tag v36.2 (36.x branch). - C++ API break in v34: FieldDescriptor::label(), is_optional() and has_optional_keyword() removed, generator headers made private, [[nodiscard]] added to many accessors, arena-enabled constructors of RepeatedField/RepeatedPtrField/Map made private - Recursion limits added for JSON Any/WKT parsing and nested messages; integer overflow check in RepeatedPtrField::MergeFrom - New protobuf_BUILD_LIBPROTOBUF option; tests are no longer built by default - C++ and Python (python3-protobuf 7.36.2) are back on the same release Both local patches still apply without fuzz. PV stays in the <cpp-major>.<protoc> form so PROTOC_VERSION/PROTOC_BRANCH derive v36.2 and 36.x. protobuf-c needs the label() fix from the previous commit. Anchor UPSTREAM_CHECK_GITTAGREGEX to release tags only. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- .../protobuf/{protobuf_6.33.6.bb => protobuf_7.36.2.bb} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename meta-oe/recipes-devtools/protobuf/{protobuf_6.33.6.bb => protobuf_7.36.2.bb} (95%)