summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-01-15 13:59:56 +0100
committerErich Eckner <git@eckner.net>2023-01-15 13:59:56 +0100
commitafd6bd3aef25b33ea4dcdcc80bae4ca8eb1e9d77 (patch)
tree8731af87a0ffad703cc4671026e1dacb1ab9a23b
parent8ceeb42a006bd751832290d3b5792b39be323716 (diff)
downloadcrux-ports-afd6bd3aef25b33ea4dcdcc80bae4ca8eb1e9d77.tar.xz
pax-utils new
-rw-r--r--manualPorts/pax-utils/.footprint16
-rw-r--r--manualPorts/pax-utils/.md5sum1
-rw-r--r--manualPorts/pax-utils/.signature5
-rw-r--r--manualPorts/pax-utils/Pkgfile19
4 files changed, 41 insertions, 0 deletions
diff --git a/manualPorts/pax-utils/.footprint b/manualPorts/pax-utils/.footprint
new file mode 100644
index 0000000..c4ccc1c
--- /dev/null
+++ b/manualPorts/pax-utils/.footprint
@@ -0,0 +1,16 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/local/
+drwxr-xr-x root/root usr/local/bin/
+-rwxr-xr-x root/root usr/local/bin/dumpelf
+-rwxr-xr-x root/root usr/local/bin/lddtree
+-rwxr-xr-x root/root usr/local/bin/pspax
+-rwxr-xr-x root/root usr/local/bin/scanelf
+-rwxr-xr-x root/root usr/local/bin/scanmacho
+-rwxr-xr-x root/root usr/local/bin/symtree
+drwxr-xr-x root/root usr/local/share/
+drwxr-xr-x root/root usr/local/share/man/
+drwxr-xr-x root/root usr/local/share/man/man1/
+-rw-r--r-- root/root usr/local/share/man/man1/dumpelf.1.gz
+-rw-r--r-- root/root usr/local/share/man/man1/pspax.1.gz
+-rw-r--r-- root/root usr/local/share/man/man1/scanelf.1.gz
+-rw-r--r-- root/root usr/local/share/man/man1/scanmacho.1.gz
diff --git a/manualPorts/pax-utils/.md5sum b/manualPorts/pax-utils/.md5sum
new file mode 100644
index 0000000..1953574
--- /dev/null
+++ b/manualPorts/pax-utils/.md5sum
@@ -0,0 +1 @@
+1cc3f2bb2527cd97fd1e1c5783fc2b6a v1.3.6.tar.gz
diff --git a/manualPorts/pax-utils/.signature b/manualPorts/pax-utils/.signature
new file mode 100644
index 0000000..8c5a41d
--- /dev/null
+++ b/manualPorts/pax-utils/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGnsqqqGRQDTqb3zweyYmQQ/PAyo7khmjcpltAwRzje1LMJL2TC6LPjRC4M87v9XJEdzXKW/WVnmpTVvnPXjfsws=
+SHA256 (Pkgfile) = e2f0e280aa51692e63c4e40ca681e3dc800b2dbf14bf9f18c4cdcafe7fffcc16
+SHA256 (.footprint) = 6344a1cb78582866a57313de44687b0e703412d34c1db18c215c73f0024ec7f1
+SHA256 (v1.3.6.tar.gz) = 082375d573db0c91683683678785a3ddfd07dc53f11c25b46215ca1dd02c3bde
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"
+
+}