python3-lief: set CVE_PRODUCT

The correct CVE_PRODUCT is "lief" for this recipe instead of the default
${PN}, that doesn't match relevant CVEs.

See CVE db query:
sqlite> select * from products where product like 'lief';
CVE-2021-32297|lief-project|lief|||0.11.4|<=
CVE-2022-38306|lief-project|lief|||0.12.1|<
CVE-2022-38307|lief-project|lief|||0.12.1|<
CVE-2022-38495|lief-project|lief|||0.12.1|<=
CVE-2022-38496|lief-project|lief|||0.12.1|<=
CVE-2022-38497|lief-project|lief|||0.12.1|<=
CVE-2022-40922|lief-project|lief|0.12.1|=||
CVE-2022-40923|lief-project|lief|0.12.1|=||
CVE-2022-43171|lief-project|lief|0.12.1|=||
CVE-2024-31636|lief-project|lief|0.14.1|=||

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2025-12-31 08:54:15 +01:00 committed by Khem Raj
parent b4fd4a6217
commit 30b0c458bb
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -12,6 +12,8 @@ SRC_URI = " \
file://0002-api-python-config-default.toml-Debug.patch \
"
CVE_PRODUCT = "lief"
PEP517_SOURCE_PATH = "${S}/api/python"
export LIEF_BUILD_DIR = "${B}"