diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-12-02 21:12:37 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-12-02 21:12:37 -0800 |
commit | 2579e0614dd9633148f9bc7b567b072fb8f93e34 (patch) | |
tree | d8383178a5b17993affa7bf3169dac76ae3b3d17 | |
parent | Add timberborn and barotrauma profiles (diff) | |
download | firejail-profiles-2579e0614dd9633148f9bc7b567b072fb8f93e34.tar.xz |
Added starsector profile
Update slay-the-spire profile
Added generic-java-game.inc
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | profiles/generic-java-game.inc | 23 | ||||
-rw-r--r-- | profiles/slay-the-spire.profile | 22 | ||||
-rw-r--r-- | profiles/starsector.profile | 20 |
4 files changed, 54 insertions, 15 deletions
@@ -1,7 +1,7 @@ # Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net> pkgname=firejail-profiles -pkgver=20210920 +pkgver=20211202 pkgrel=1 pkgdesc="Additional firejail profiles and locals" arch=('any') @@ -9,7 +9,7 @@ url="https://library.iserlohn-fortress.net/firejail-profiles.git" license=('GPLv3') depends=('firejail' 'hardened-malloc') source=(profiles.tar.gz) -b2sums=('3a846a427ea5c695ca532d6b809919aab26d56b064ebd55b7ab254ce34a01b2caae9e8587f1576dde0b767a0ab3e54cc0e12cfa6fb57e5dd61a9dec9d0df341a') +b2sums=('031b892e6552e54390f89d441b25a77a96301fb344ceff490bd1fb339b53e385ff3bc420c7e748ebbf3168cc8c360093c8f86be5ed551295060b3cf66becc839') package() { install --directory ${pkgdir}/etc/firejail diff --git a/profiles/generic-java-game.inc b/profiles/generic-java-game.inc new file mode 100644 index 0000000..b92ef76 --- /dev/null +++ b/profiles/generic-java-game.inc @@ -0,0 +1,23 @@ +# This file is overwritten after every install/update +# Persistent local customizations +include generic-java-game.local + +# # # Examples for creating profiles +# See slay-the-spire-profile +# See starsector.profile + +# # Java games require the ? folder to store data +# # But mkdir refuses to create it citing invalid characters +# # This folder will need to be created manually before first run +#mkdir ${HOME}/games/Starsector/? + +# The ? folder needs to be writable +#whitelist ${HOME}/games/Starsector +#read-only ${HOME}/games/Starsector +#read-write ${HOME}/games/Starsector/? + +ignore memory-deny-write-execute + +ignore noexec ${HOME} + +include generic-game.inc diff --git a/profiles/slay-the-spire.profile b/profiles/slay-the-spire.profile index 1ab5def..616e6ea 100644 --- a/profiles/slay-the-spire.profile +++ b/profiles/slay-the-spire.profile @@ -4,23 +4,19 @@ include slay-the-spire.local # Persistent global definitions include globals.local +# # Slay The Spire needs the ? folder to store data +# # But mkdir refuses to create it citing invalid characters #mkdir ${HOME}/games/Slay The Spire/game/? mkdir ${HOME}/games/Slay The Spire/game/betaPreferences +mkfile ${HOME}/games/Slay The Spire/game/info.displayconfig mkdir ${HOME}/games/Slay The Spire/game/runs mkdir ${HOME}/games/Slay The Spire/game/saves mkdir ${HOME}/games/Slay The Spire/game/sendToDevs whitelist ${HOME}/games/Slay The Spire -#read-only ${HOME}/games/Slay The Spire -#whitelist ${HOME}/games/Slay The Spire/game/? -#read-write ${HOME}/games/Slay The Spire/game/? -#whitelist ${HOME}/games/Slay The Spire/game/betaPreferences -#read-write ${HOME}/games/Slay The Spire/game/betaPreferences -#whitelist ${HOME}/games/Slay The Spire/game/sendToDevs -#read-write ${HOME}/games/Slay The Spire/game/sendToDevs -read-only ${HOME}/games/Slay The Spire/game/sendToDevs +read-only ${HOME}/games/Slay The Spire +read-write ${HOME}/games/Slay The Spire/game/info.displayconfig +read-write ${HOME}/games/Slay The Spire/game/? +read-write ${HOME}/games/Slay The Spire/game/runs +read-write ${HOME}/games/Slay The Spire/game/saves -ignore memory-deny-write-execute - -ignore noexec ${HOME} - -include generic-game.inc +include generic-java-game.inc diff --git a/profiles/starsector.profile b/profiles/starsector.profile new file mode 100644 index 0000000..0e0be4b --- /dev/null +++ b/profiles/starsector.profile @@ -0,0 +1,20 @@ +# This file is overwritten after every install/update +# Persistent local customizations +include starsector.local +# Persistent global definitions +include globals.local + +# Starsector requires both bash and sh +ignore blacklist ${PATH}/bash +ignore blacklist ${PATH}/sh + +# # Starsector needs the ? folder to store data +# # But mkdir refuses to create it citing invalid characters +#mkdir ${HOME}/games/Starsector/? +whitelist ${HOME}/games/Starsector +read-only ${HOME}/games/Starsector +read-write ${HOME}/games/Starsector/? +read-write ${HOME}/games/Starsector/saves +read-write ${HOME}/games/Starsector/screenshots + +include generic-java-game.inc |