From 61bcec12151de17a53c1f6bda155cfcbcc0467b8 Mon Sep 17 00:00:00 2001 From: Beniamin Sandu Date: Wed, 17 Apr 2024 23:32:19 +0100 Subject: [PATCH] libtorrent-rasterbar: fix CVE mapping Set CVE_PRODUCT for this recipe to fix the mapping, as it was checking against the wrong recipe before. Log from cve_check after change: NOTE: libtorrent-rasterbar-2.0.10 is not vulnerable to CVE-2008-0646 NOTE: libtorrent-rasterbar-2.0.10 is not vulnerable to CVE-2009-1760 NOTE: libtorrent-rasterbar-2.0.10 is not vulnerable to CVE-2016-5301 NOTE: libtorrent-rasterbar-2.0.10 is not vulnerable to CVE-2016-7164 NOTE: libtorrent-rasterbar-2.0.10 is not vulnerable to CVE-2017-9847 Signed-off-by: Beniamin Sandu Signed-off-by: Khem Raj --- .../libtorrent-rasterbar/libtorrent-rasterbar_2.0.10.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.10.bb b/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.10.bb index 084e3c4080..f2de1f468d 100644 --- a/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.10.bb +++ b/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.10.bb @@ -17,6 +17,8 @@ S = "${WORKDIR}/git" inherit cmake pkgconfig python3targetconfig +CVE_PRODUCT = "libtorrent" + EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" PACKAGECONFIG ??= "python3"