mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
36 lines
1.1 KiB
BlitzBasic
36 lines
1.1 KiB
BlitzBasic
SUMMARY = "Library to instrument executable formats"
|
|
DESCRIPTION = "LIEF: Library to Instrument Executable Formats"
|
|
HOMEPAGE = "https://github.com/lief-project/LIEF"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=9ab5db472ff936b441055522f5000547"
|
|
SECTION = "libs"
|
|
|
|
SRCREV = "fe54643fe3d7a699c68b164dae87afb1eb059342"
|
|
SRC_URI = " \
|
|
git://github.com/lief-project/LIEF.git;protocol=https;branch=release/0.17.x;tag=${PV} \
|
|
file://0001-build-requirements.txt-Allow-newer-versions.patch \
|
|
file://0002-api-python-config-default.toml-Debug.patch \
|
|
"
|
|
|
|
CVE_PRODUCT = "lief"
|
|
|
|
PEP517_SOURCE_PATH = "${S}/api/python"
|
|
|
|
export LIEF_BUILD_DIR = "${B}"
|
|
|
|
inherit python_setuptools_build_meta
|
|
|
|
DEPENDS += "\
|
|
python3-scikit-build-native \
|
|
python3-scikit-build-core-native \
|
|
python3-tomli-native \
|
|
python3-pydantic-native \
|
|
ninja-native \
|
|
ccache-native \
|
|
python3-typing-inspection \
|
|
"
|
|
# https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203
|
|
COMPATIBLE_HOST:x86 = "null"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|