summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-07-06 00:58:30 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-07-06 00:58:30 -0700
commitdf8f32b247471da494011250c322f547f24c386d (patch)
tree414cb339fb03c4685dc2e1648d1a02e54bd08908
parentChecksums (diff)
downloadfirejail-profiles-df8f32b247471da494011250c322f547f24c386d.tar.xz
Add profile for cities skylines
-rw-r--r--PKGBUILD4
-rw-r--r--profiles/cities-skylines.profile30
2 files changed, 32 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a0e65ae..4c24fb8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
pkgname=firejail-profiles
-pkgver=20200704
+pkgver=20200706
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=('d923f14b9e6a53f93815c171c17fc9c42ebc58b65c5ec8b93c1b0f6b6c313a3013e131418ca14a3ae5675a83e182fd9bae1a50a6d9e1c30c3ef74eed9b51e001')
+b2sums=('e206beda07e8651c2e8a1bafb6227418a6648423d647daae2e22c917fb335369eabe061acd12e6d7d24957f35b7c408551f44fe83ae37646276bbcfd80fba7ab')
package() {
install --directory ${pkgdir}/etc/firejail
diff --git a/profiles/cities-skylines.profile b/profiles/cities-skylines.profile
new file mode 100644
index 0000000..142db0d
--- /dev/null
+++ b/profiles/cities-skylines.profile
@@ -0,0 +1,30 @@
+# This file is overwritten after every install/update
+# Persistent local customizations
+include cities-skylines.local
+# Persistent global definitions
+include globals.local
+
+noblacklist ${HOME}/.config/unity3d
+noblacklist ${HOME}/.config/unity3d/Colossal Order
+noblacklist ${HOME}/.config/unity3d/Colossal Order/Cities_ Skylines
+noblacklist ${HOME}/.local/share/Colossal Order
+noblacklist ${HOME}/.local/share/Colossal Order/Cities_Skylines
+
+mkdir ${HOME}/.config/unity3d
+mkdir ${HOME}/.config/unity3d/Colossal Order
+mkdir ${HOME}/.config/unity3d/Colossal Order/Cities_ Skylines
+mkdir ${HOME}/.local/share/Colossal Order
+mkdir ${HOME}/.local/share/Colossal Order/Cities_Skylines
+whitelist ${HOME}/.config/unity3d/Colossal Order/Cities_ Skylines
+whitelist ${HOME}/.local/share/Colossal Order/Cities_Skylines
+whitelist ${HOME}/games/CitiesSkylines
+read-only ${HOME}/games/CitiesSkylines
+
+protocol unix,netlink
+seccomp !name_to_handle_at,!kcmp
+
+ignore memory-deny-write-execute
+
+ignore noexec ${HOME}
+
+include generic-game.inc