From cc4aa9b9d0263de0ea172db4d97ea9f98ae022b3 Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Mon, 19 Jan 2026 18:55:04 +0100 Subject: python3-lief: upgrade 0.17.1 -> 0.17.2 Contains fix for CVE-2025-15504 Changelog: - Differentiate Mach-O FAT magic bytes and Java class - Fix MinGW compilation for some configuration - Fix alignment issue when rebuilding PE relocations - Fix infinite loop when processing v2 dynamic relocation - Ensure that added DYN ELF sections are properly aligned - Fix GnuHash null dereference - Fix strong performance issue when parsing certain Mach-O Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-lief_0.17.1.bb | 35 ---------------------- .../recipes-devtools/python/python3-lief_0.17.2.bb | 35 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-lief_0.17.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-lief_0.17.2.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-lief_0.17.1.bb b/meta-python/recipes-devtools/python/python3-lief_0.17.1.bb deleted file mode 100644 index de6390d210..0000000000 --- a/meta-python/recipes-devtools/python/python3-lief_0.17.1.bb +++ /dev/null @@ -1,35 +0,0 @@ -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" diff --git a/meta-python/recipes-devtools/python/python3-lief_0.17.2.bb b/meta-python/recipes-devtools/python/python3-lief_0.17.2.bb new file mode 100644 index 0000000000..e7de6b6d3b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lief_0.17.2.bb @@ -0,0 +1,35 @@ +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 = "aa2b617f47c2f75fca9ff00b146dabbaf1b9f422" +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" -- cgit v1.2.3-54-g00ecf