diff options
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | profiles/crusader-kings-ii.profile | 26 | ||||
-rw-r--r-- | profiles/crusader-kings-iii.profile | 29 |
3 files changed, 57 insertions, 2 deletions
@@ -1,7 +1,7 @@ # Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net> pkgname=firejail-profiles -pkgver=20200822 +pkgver=20200903 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=('12f152335083aeba1d16fc3dd2b4af64417e8b689068870c10b0d6b3250361e243acea5abd98b43e99fd9f9715edc62c4ee8e8519de018fe7f0e484b02ac5338') +b2sums=('cb9ae4ffbc36c5b18f941488353e48f247613d64563be7d6abe2941944918eebceef80b105a3d3b4c665546535375e439f0fd86ede80a3198c1419d633a37566') package() { install --directory ${pkgdir}/etc/firejail diff --git a/profiles/crusader-kings-ii.profile b/profiles/crusader-kings-ii.profile new file mode 100644 index 0000000..47d1743 --- /dev/null +++ b/profiles/crusader-kings-ii.profile @@ -0,0 +1,26 @@ +# This file is overwritten after every install/update +# Persistent local customizations +include crusader-kings-ii.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/games/Crusader Kings II +noblacklist ${HOME}/.paradoxinteractive +noblacklist ${HOME}/.paradoxinteractive/Crusader Kings II + +whitelist ${HOME}/games/Crusader Kings II +read-only ${HOME}/games/Crusader Kings II +mkdir ${HOME}/.paradoxinteractive +mkdir ${HOME}/.paradoxinteractive/Crusader Kings II +whitelist ${HOME}/.paradoxinteractive +read-only ${HOME}/.paradoxinteractive +whitelist ${HOME}/.paradoxinteractive/Crusader Kings II +read-write ${HOME}/.paradoxinteractive/Crusader Kings II + +private-etc asound.conf,group,localtime,machine-id,passwd,pulse + +ignore memory-deny-write-execute + +ignore noexec ${HOME} + +include generic-game.inc diff --git a/profiles/crusader-kings-iii.profile b/profiles/crusader-kings-iii.profile new file mode 100644 index 0000000..af4abb6 --- /dev/null +++ b/profiles/crusader-kings-iii.profile @@ -0,0 +1,29 @@ +# This file is overwritten after every install/update +# Persistent local customizations +include crusader-kings-iii.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/games/Crusader Kings III +noblacklist ${HOME}/.local/share/Paradox Interactive +noblacklist ${HOME}/.local/share/Paradox Interactive/Crusader Kings III + +whitelist ${HOME}/games/Crusader Kings III +read-only ${HOME}/games/Crusader Kings III +mkdir ${HOME}/.local/share/Paradox Interactive +mkdir ${HOME}/.local/share/Paradox Interactive/Crusader Kings III +whitelist ${HOME}/.local/share/Paradox Interactive +read-only ${HOME}/.local/share/Paradox Interactive +whitelist ${HOME}/.local/share/Paradox Interactive/Crusader Kings III +read-write ${HOME}/.local/share/Paradox Interactive/Crusader Kings III + +# CK3 requires ptrace to function +seccomp !ptrace + +private-etc asound.conf,group,localtime,machine-id,passwd,pulse + +ignore memory-deny-write-execute + +ignore noexec ${HOME} + +include generic-game.inc |