From a78e6d21094eacf338ca8038c05fea24f19b2ddf Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 14 Nov 2025 13:58:04 +0100 Subject: python3-checksec-py, python3-pylddwrap, python3-icontract: add recipes they were sent for meta-security long time ago in 2021: https://lists.yoctoproject.org/g/yocto/message/54470 but never merged there, now there are lief, docopt, rich, asttokens already in meta-python and checksec-py depends on lief version, e.g. https://github.com/Wenzel/checksec.py/commit/976d530867756d1393189708aa98308b07b1f3b2 is needed to fixcompatibility with newer lief currently in meta-python Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- .../python/python3-checksec-py_0.7.5.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-checksec-py_0.7.5.bb (limited to 'meta-python/recipes-devtools/python/python3-checksec-py_0.7.5.bb') diff --git a/meta-python/recipes-devtools/python/python3-checksec-py_0.7.5.bb b/meta-python/recipes-devtools/python/python3-checksec-py_0.7.5.bb new file mode 100644 index 0000000000..8d8e54e227 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-checksec-py_0.7.5.bb @@ -0,0 +1,27 @@ +SUMMARY = "Recipe to embedded the Python PiP Package checksec_py" +HOMEPAGE = "https://pypi.org/project/checksec_py" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" + +PR = "r0" + +inherit pypi python_poetry_core +PYPI_PACKAGE = "checksec_py" +SRC_URI[sha256sum] = "892854f95d17a76d8f45a5c0cc597b9f1bebced3fffb9c7205d0baaf5eace886" + +SRC_URI += " \ + file://0001-main-Add-option-to-ignore-symlinks.patch \ +" + +RDEPENDS:${PN} += " \ + python3-docopt \ + python3-lief \ + python3-pylddwrap \ + python3-rich \ +" + +# python3-lief is not available for x86: +# https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203 +COMPATIBLE_HOST:x86 = "null" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf