summaryrefslogtreecommitdiff
path: root/manualPorts/pax-utils/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/pax-utils/Pkgfile')
-rw-r--r--manualPorts/pax-utils/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/manualPorts/pax-utils/Pkgfile b/manualPorts/pax-utils/Pkgfile
new file mode 100644
index 0000000..0c4f52c
--- /dev/null
+++ b/manualPorts/pax-utils/Pkgfile
@@ -0,0 +1,19 @@
+# Description: ELF utils that can check files for security relevant properties
+# URL: https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on: bash libcap libseccomp meson python3 python3-pyelftools
+
+name=pax-utils
+version=1.3.6
+release=1
+source=("https://github.com/gentoo/$name/archive/refs/tags/v$version.tar.gz")
+
+build() {
+
+ sed -E 's|( paths =) \[\]|\1 ["/usr/lib"]|g' -i $name-$version/lddtree.py
+
+ meson $name-$version build -Duse_seccomp=true
+ meson compile -C build
+ meson install -C build --destdir "$PKG"
+
+}