summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2022-07-26 17:30:54 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2022-07-26 17:30:54 -0700
commit6e4317e70e86111664527442e76375e0af8dbd46 (patch)
treec0fdb8cebac13df7b715892cf47dd80e8cf30cea
parentRebuild for updates. (diff)
downloadfirejail-profiles-6e4317e70e86111664527442e76375e0af8dbd46.tar.xz
Add profile for CrossCode
Clean up vlc.local to better allow optional screenshot support.
-rw-r--r--PKGBUILD4
-rw-r--r--profiles/crosscode.profile20
-rw-r--r--profiles/vlc.local4
3 files changed, 26 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 30f28c9..3c57bac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
pkgname=firejail-profiles
-pkgver=20220630
+pkgver=20220726
pkgrel=1
pkgdesc="Additional firejail profiles and locals"
arch=('any')
url="https://library.iserlohn-fortress.net/firejail-profiles.git"
license=('GPLv3')
source=(profiles.tar.gz)
-b2sums=('faab2b9053a88c5865847acfd594adb811336ceae8fb5d8a859ab1642aa080741904fe732042cf3f45b346fe5b0f823be21dc3d9f9dc6b0c74fb310889972b00')
+b2sums=('7da7d78a0b4b2880eee24188fc1adeb479eb966fbf6b2318c1c150bd4d2ee64565e21373a912617de185331102517a2c36afaa52d5f9d19b7842dbabf12eb494')
package() {
depends=('firejail' 'hardened-malloc')
diff --git a/profiles/crosscode.profile b/profiles/crosscode.profile
new file mode 100644
index 0000000..ff51984
--- /dev/null
+++ b/profiles/crosscode.profile
@@ -0,0 +1,20 @@
+# This file is overwritten after every install/update
+# Persistent local customizations
+include crosscode.local
+# Persistent global definitions
+include globals.local
+
+# Required if launching from the start.sh instead of the raw executable
+#ignore blacklist ${PATH}/bash
+#ignore blacklist ${PATH}/sh
+
+mkdir ${HOME}/.config/CrossCode
+
+whitelist ${HOME}/.config/CrossCode
+whitelist-ro ${HOME}/games/CrossCode
+
+ignore memory-deny-write-execute
+
+ignore noexec ${HOME}
+
+include generic-game.inc
diff --git a/profiles/vlc.local b/profiles/vlc.local
index 183924d..78cf4f1 100644
--- a/profiles/vlc.local
+++ b/profiles/vlc.local
@@ -9,9 +9,13 @@ include disable-xdg.inc
whitelist-ro ${DOWNLOADS}
whitelist-ro ${MUSIC}
+
+# Comment to allow screenshots
whitelist-ro ${PICTURES}
# Uncomment to allow screenshots
+#whitelist ${PICTURES}
#read-write ${PICTURES}
+
whitelist-ro ${VIDEOS}
# # alsa audio will work with ipc-namespace,