summaryrefslogtreecommitdiff
path: root/opt/firejail/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'opt/firejail/MAKEPKG')
-rw-r--r--opt/firejail/MAKEPKG49
1 files changed, 49 insertions, 0 deletions
diff --git a/opt/firejail/MAKEPKG b/opt/firejail/MAKEPKG
new file mode 100644
index 0000000..93c7ea1
--- /dev/null
+++ b/opt/firejail/MAKEPKG
@@ -0,0 +1,49 @@
+#!/bin/mkpkg
+# description: SUID sandbox using Linux namespaces and seccomp-bpf
+# url: https://github.com/netblue30/firejail
+
+name=firejail
+version=0.9.80
+release=1
+depends=()
+makedeps=(autoconf automake)
+permissions=(
+ /usr/bin/firejail:root:root:4755
+ /usr/bin/firecfg:root:root:755
+ /usr/bin/firemon:root:root:755
+ /usr/bin/jailcheck:root:root:755
+ /etc/firejail/firejail.config:root:root:644
+)
+source=(
+ https://github.com/netblue30/firejail/releases/download/$version/$name-$version.tar.xz
+)
+sha256sums=(
+ "0ccfb835c7a33c0dd5b4c522b8677c8af867eb65d4ef97a726d13cbc251164db"
+)
+
+build() {
+ cd $name-$version
+
+ autoreconf -fiv
+ GAWK=mawk \
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-dbusproxy \
+ --disable-apparmor \
+ --disable-selinux \
+ --disable-x11
+ make
+ make DESTDIR=$PKG install
+
+ # Remove shell completions
+ rm -rf $PKG/usr/share/bash-completion
+ rm -rf $PKG/usr/share/zsh
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh