From 644a70ff4e12fa87aaca08cc408aacb872e5b934 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sun, 3 Apr 2022 12:53:48 -0700 Subject: Convert heart of iron 4 profile name to hoi4 as per the binary name. --- PKGBUILD | 4 ++-- profiles/hearts-of-iron-iv.profile | 31 ------------------------------- profiles/hoi4.profile | 31 +++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 profiles/hearts-of-iron-iv.profile create mode 100644 profiles/hoi4.profile diff --git a/PKGBUILD b/PKGBUILD index ca3e7a6..394a7c6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: jc_gargma pkgname=firejail-profiles -pkgver=20220211 +pkgver=20220403 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=('7335e6b3210225b56874b88c7c349c1f7a3510a6b4187c3569f26689be01f8677417ea33a94341c728c1e63de8da6525029dc4e861e5202f7d66dfe722198ba0') +b2sums=('519a6d613d3b1386a25a08da074062f5f90bc73079fa74c56c954c91a593b8fb43fdb2ae64e1ea4612a1faa9a52cb66e09ec3e99afbbd5c4d2c17414839c178e') package() { install --directory ${pkgdir}/etc/firejail diff --git a/profiles/hearts-of-iron-iv.profile b/profiles/hearts-of-iron-iv.profile deleted file mode 100644 index 49bb746..0000000 --- a/profiles/hearts-of-iron-iv.profile +++ /dev/null @@ -1,31 +0,0 @@ -# This file is overwritten after every install/update -# Persistent local customizations -include hearts-of-iron-iv.local -# Persistent global definitions -include globals.local - -ignore include disable-shell.inc - -noblacklist ${HOME}/games/Hearts of Iron IV -noblacklist ${HOME}/.local/share/Paradox Interactive -noblacklist ${HOME}/.local/share/Paradox Interactive/Hearts of Iron IV - -whitelist ${HOME}/games/Hearts of Iron IV -read-only ${HOME}/games/Hearts of Iron IV -mkdir ${HOME}/.local/share/Paradox Interactive -mkdir ${HOME}/.local/share/Paradox Interactive/Hearts of Iron IV -whitelist ${HOME}/.local/share/Paradox Interactive -read-only ${HOME}/.local/share/Paradox Interactive -whitelist ${HOME}/.local/share/Paradox Interactive/Hearts of Iron IV -read-write ${HOME}/.local/share/Paradox Interactive/Hearts of Iron IV - -# HoI4 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 diff --git a/profiles/hoi4.profile b/profiles/hoi4.profile new file mode 100644 index 0000000..ac1efc0 --- /dev/null +++ b/profiles/hoi4.profile @@ -0,0 +1,31 @@ +# This file is overwritten after every install/update +# Persistent local customizations +include hoi4.local +# Persistent global definitions +include globals.local + +ignore include disable-shell.inc + +noblacklist ${HOME}/games/Hearts of Iron IV +noblacklist ${HOME}/.local/share/Paradox Interactive +noblacklist ${HOME}/.local/share/Paradox Interactive/Hearts of Iron IV + +whitelist ${HOME}/games/Hearts of Iron IV +read-only ${HOME}/games/Hearts of Iron IV +mkdir ${HOME}/.local/share/Paradox Interactive +mkdir ${HOME}/.local/share/Paradox Interactive/Hearts of Iron IV +whitelist ${HOME}/.local/share/Paradox Interactive +read-only ${HOME}/.local/share/Paradox Interactive +whitelist ${HOME}/.local/share/Paradox Interactive/Hearts of Iron IV +read-write ${HOME}/.local/share/Paradox Interactive/Hearts of Iron IV + +# HoI4 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 -- cgit v1.2.1