diff mbox series

[meta-oe,v2,8/9] protobuf: set CVE_PRODUCT

Message ID 20250203182210.574300-8-peter.marko@siemens.com
State Accepted
Headers show
Series [meta-oe,v2,1/9] protobuf: remove unneeded atomic linker flag | expand

Commit Message

Peter Marko Feb. 3, 2025, 6:22 p.m. UTC
From: Peter Marko <peter.marko@siemens.com>

Add all relevant products from following query.
Also remove generic "protobuf" to avoid matching golang:protobuf.

.../downloads/CVE_CHECK2$ sqlite3 nvdcve_2-2.db
sqlite> select vendor, product, count(*) from products where product like '%protobuf%' group by vendor, product;
golang|protobuf|1
google|google-protobuf|5
google|protobuf|2
google|protobuf-cpp|4
google|protobuf-java|15
google|protobuf-javalite|12
google|protobuf-kotlin|6
google|protobuf-kotlin-lite|4
google|protobuf-python|4
protobuf|protobuf|1
protobuf-c_project|protobuf-c|2
protobufjs_project|protobufjs|3
rust-protobuf_project|rust-protobuf|2

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
v2: typos in git commit

 meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb
index 7a26967dc8..a470a7c643 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb
@@ -27,6 +27,8 @@  UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.(25\.(\d+)))"
 
 S = "${WORKDIR}/git"
 
+CVE_PRODUCT = "google:protobuf protobuf:protobuf google-protobuf protobuf-cpp"
+
 inherit cmake pkgconfig ptest
 
 PACKAGECONFIG ??= ""