From 6ff97d00094052c9c9c2ca57b5e96645b3f93230 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 29 Apr 2024 16:45:57 -0300 Subject: profiles: fix new game profiles Fix sorting and improve comments. See etc/templates/profile.template. This amends commit 4c5f55899 ("several kids programs", 2024-04-29). --- etc/profile-a-l/alienblaster.profile | 12 ++++++------ etc/profile-a-l/geki2.profile | 6 +++--- etc/profile-a-l/geki3.profile | 6 +++--- etc/profile-a-l/lbreakouthd.profile | 13 ++++++------- etc/profile-m-z/tuxtype.profile | 10 ++++------ etc/profile-m-z/typespeed.profile | 9 +++++---- 6 files changed, 27 insertions(+), 29 deletions(-) (limited to 'etc') diff --git a/etc/profile-a-l/alienblaster.profile b/etc/profile-a-l/alienblaster.profile index 0e0478a49..2de296f53 100644 --- a/etc/profile-a-l/alienblaster.profile +++ b/etc/profile-a-l/alienblaster.profile @@ -14,16 +14,16 @@ include disable-interpreters.inc include disable-programs.inc include disable-xdg.inc -mkfile ${HOME}/.alienblaster_highscore -whitelist ${HOME}/.alienblaster_highscore mkdir ${HOME}/.alienblaster +mkfile ${HOME}/.alienblaster_highscore whitelist ${HOME}/.alienblaster -include whitelist-common.inc -include whitelist-run-common.inc +whitelist ${HOME}/.alienblaster_highscore whitelist ${RUNUSER}/pulse -include whitelist-runuser-common.inc whitelist /usr/share/games/alienblaster whitelist /usr/share/timidity +include whitelist-common.inc +include whitelist-run-common.inc +include whitelist-runuser-common.inc include whitelist-usr-share-common.inc include whitelist-var-common.inc @@ -45,7 +45,7 @@ tracelog disable-mnt private-dev -private-etc @x11,@sound,@games +private-etc @games,@sound,@x11 private-tmp dbus-user none diff --git a/etc/profile-a-l/geki2.profile b/etc/profile-a-l/geki2.profile index 32ff9c8af..5ebd9b427 100644 --- a/etc/profile-a-l/geki2.profile +++ b/etc/profile-a-l/geki2.profile @@ -12,11 +12,10 @@ include disable-programs.inc include disable-shell.inc include disable-xdg.inc +whitelist /usr/share/games/geki2 include whitelist-run-common.inc include whitelist-runuser-common.inc -whitelist /usr/share/games/geki2 include whitelist-usr-share-common.inc -writable-var # game scores stored under /var/games include whitelist-var-common.inc apparmor @@ -39,8 +38,9 @@ disable-mnt private private-bin geki2 private-dev -private-etc @x11,@sound,@games +private-etc @games,@sound,@x11 private-tmp +writable-var # game scores are stored under /var/games dbus-user none dbus-system none diff --git a/etc/profile-a-l/geki3.profile b/etc/profile-a-l/geki3.profile index de2167724..508c96002 100644 --- a/etc/profile-a-l/geki3.profile +++ b/etc/profile-a-l/geki3.profile @@ -12,11 +12,10 @@ include disable-programs.inc include disable-shell.inc include disable-xdg.inc +whitelist /usr/share/games/geki3 include whitelist-run-common.inc include whitelist-runuser-common.inc -whitelist /usr/share/games/geki3 include whitelist-usr-share-common.inc -writable-var # game scores stored under /var/games include whitelist-var-common.inc apparmor @@ -39,8 +38,9 @@ disable-mnt private private-bin geki3 private-dev -private-etc @x11,@sound,@games +private-etc @games,@sound,@x11 private-tmp +writable-var # game scores are stored under /var/games dbus-user none dbus-system none diff --git a/etc/profile-a-l/lbreakouthd.profile b/etc/profile-a-l/lbreakouthd.profile index 095a3839c..e454772fc 100644 --- a/etc/profile-a-l/lbreakouthd.profile +++ b/etc/profile-a-l/lbreakouthd.profile @@ -18,16 +18,14 @@ include disable-xdg.inc mkdir ${HOME}/.lbreakouthd whitelist ${HOME}/.lbreakouthd -include whitelist-common.inc - -whitelist /run/udev/control +whitelist ${RUNUSER}/pulse whitelist /run/host/container-manager +whitelist /run/udev/control +whitelist /usr/share/games/lbreakouthd +include whitelist-common.inc include whitelist-run-common.inc -whitelist ${RUNUSER}/pulse include whitelist-runuser-common.inc -whitelist /usr/share/games/lbreakouthd include whitelist-usr-share-common.inc -writable-var # game scores stored under /var/games include whitelist-var-common.inc apparmor @@ -49,8 +47,9 @@ tracelog disable-mnt private-bin lbreakouthd private-dev -private-etc @x11,@sound,@games +private-etc @games,@sound,@x11 private-tmp +writable-var # game scores are stored under /var/games dbus-user none dbus-system none diff --git a/etc/profile-m-z/tuxtype.profile b/etc/profile-m-z/tuxtype.profile index 51e514529..12b58850a 100644 --- a/etc/profile-m-z/tuxtype.profile +++ b/etc/profile-m-z/tuxtype.profile @@ -16,15 +16,12 @@ include disable-xdg.inc mkdir ${HOME}/.tuxtype whitelist ${HOME}/.tuxtype +whitelist ${RUNUSER}/pulse +whitelist /usr/share/tuxtype include whitelist-common.inc - - include whitelist-run-common.inc -whitelist ${RUNUSER}/pulse include whitelist-runuser-common.inc -whitelist /usr/share/tuxtype include whitelist-usr-share-common.inc -writable-var # game scores stored under /var/games include whitelist-var-common.inc apparmor @@ -46,8 +43,9 @@ tracelog disable-mnt private-bin tuxtype private-dev -private-etc @x11,@sound,@games,tuxtype +private-etc @games,@sound,@x11,tuxtype private-tmp +writable-var # game scores are stored under /var/games dbus-user none dbus-system none diff --git a/etc/profile-m-z/typespeed.profile b/etc/profile-m-z/typespeed.profile index 08263ccb0..b98777665 100644 --- a/etc/profile-m-z/typespeed.profile +++ b/etc/profile-m-z/typespeed.profile @@ -4,7 +4,8 @@ include typespeed.local # Persistent global definitions include globals.local -# Note: this profile requires the current user to be a member of games group +# Note: This profile requires the current user to be a member of the games +# group. include disable-common.inc include disable-devel.inc @@ -13,11 +14,10 @@ include disable-interpreters.inc include disable-programs.inc include disable-xdg.inc +whitelist /usr/share/typespeed include whitelist-run-common.inc include whitelist-runuser-common.inc -whitelist /usr/share/typespeed include whitelist-usr-share-common.inc -writable-var # game scores stored under /var/games include whitelist-var-common.inc apparmor @@ -38,8 +38,9 @@ tracelog disable-mnt private private-dev -private-etc @x11,@sound,@games +private-etc @games,@sound,@x11 private-tmp +writable-var # game scores are stored under /var/games dbus-user none dbus-system none -- cgit v1.2.3-54-g00ecf