From 6e4317e70e86111664527442e76375e0af8dbd46 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Tue, 26 Jul 2022 17:30:54 -0700 Subject: Add profile for CrossCode Clean up vlc.local to better allow optional screenshot support. --- PKGBUILD | 4 ++-- profiles/crosscode.profile | 20 ++++++++++++++++++++ profiles/vlc.local | 4 ++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 profiles/crosscode.profile diff --git a/PKGBUILD b/PKGBUILD index 30f28c9..3c57bac 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,14 @@ # Maintainer: jc_gargma 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, -- cgit v1.2.1