summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb')
-rw-r--r--meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb
new file mode 100644
index 0000000000..08dfcb7545
--- /dev/null
+++ b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb
@@ -0,0 +1,30 @@
1SUMMARY = "Security-focused ELF files checking tool"
2DESCRIPTION = "This is a small set of various PaX aware and related \
3utilities for ELF binaries. It can check ELF binary files and running \
4processes for issues that might be relevant when using ELF binaries \
5along with PaX, such as non-PIC code or executable stack and heap."
6HOMEPAGE = "https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities"
7LICENSE = "GPL-2.0-or-later"
8LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
9
10SRC_URI = "git://github.com/gentoo/pax-utils;protocol=https;branch=master;tag=v${PV}"
11SRCREV = "d279ca563775105859f1f8c8467b8244d758cc62"
12
13RDEPENDS:${PN} += "bash"
14
15BBCLASSEXTEND = "native"
16
17inherit meson pkgconfig
18
19PACKAGECONFIG ??= ""
20
21PACKAGECONFIG[libcap] = "-Duse_libcap=enabled, -Duse_libcap=disabled, libcap"
22PACKAGECONFIG[libseccomp] = "-Duse_seccomp=true, -Duse_seccomp=false, libseccomp"
23PACKAGECONFIG[pyelftools] = "-Dlddtree_implementation=python, -Dlddtree_implementation=sh,, python3-pyelftools"
24
25do_install:append(){
26 if ${@bb.utils.contains('PACKAGECONFIG', 'pyelftools', 'true', 'false', d)}; then
27 sed -i 's,#!/usr/bin/env python,#!/usr/bin/env python3,' ${D}${bindir}/lddtree
28 fi
29}
30