aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/disable-programs.inc3
-rw-r--r--etc/profile-a-l/com.gitlab.newsflash.profile5
-rw-r--r--etc/profile-m-z/newsflash.profile60
3 files changed, 68 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index d59ce8c73..996f02577 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -301,6 +301,7 @@ blacklist ${HOME}/.config/nautilus
301blacklist ${HOME}/.config/nemo 301blacklist ${HOME}/.config/nemo
302blacklist ${HOME}/.config/netsurf 302blacklist ${HOME}/.config/netsurf
303blacklist ${HOME}/.config/newsbeuter 303blacklist ${HOME}/.config/newsbeuter
304blacklist ${HOME}/.config/newsflash
304blacklist ${HOME}/.config/nheko 305blacklist ${HOME}/.config/nheko
305blacklist ${HOME}/.config/NitroShare 306blacklist ${HOME}/.config/NitroShare
306blacklist ${HOME}/.config/nomacs 307blacklist ${HOME}/.config/nomacs
@@ -637,6 +638,7 @@ blacklist ${HOME}/.local/share/nautilus
637blacklist ${HOME}/.local/share/nautilus-python 638blacklist ${HOME}/.local/share/nautilus-python
638blacklist ${HOME}/.local/share/nemo 639blacklist ${HOME}/.local/share/nemo
639blacklist ${HOME}/.local/share/nemo-python 640blacklist ${HOME}/.local/share/nemo-python
641blacklist ${HOME}/.local/share/news-flash
640blacklist ${HOME}/.local/share/nomacs 642blacklist ${HOME}/.local/share/nomacs
641blacklist ${HOME}/.local/share/notes 643blacklist ${HOME}/.local/share/notes
642blacklist ${HOME}/.local/share/ocenaudio 644blacklist ${HOME}/.local/share/ocenaudio
@@ -809,6 +811,7 @@ blacklist ${HOME}/.cache/Ferdi
809blacklist ${HOME}/.cache/Franz 811blacklist ${HOME}/.cache/Franz
810blacklist ${HOME}/.cache/INRIA 812blacklist ${HOME}/.cache/INRIA
811blacklist ${HOME}/.cache/MusicBrainz 813blacklist ${HOME}/.cache/MusicBrainz
814blacklist ${HOME}/.cache/NewsFlashGTK
812blacklist ${HOME}/.cache/QuiteRss 815blacklist ${HOME}/.cache/QuiteRss
813blacklist ${HOME}/.cache/Shortwave 816blacklist ${HOME}/.cache/Shortwave
814blacklist ${HOME}/.cache/Tox 817blacklist ${HOME}/.cache/Tox
diff --git a/etc/profile-a-l/com.gitlab.newsflash.profile b/etc/profile-a-l/com.gitlab.newsflash.profile
new file mode 100644
index 000000000..0628d3d01
--- /dev/null
+++ b/etc/profile-a-l/com.gitlab.newsflash.profile
@@ -0,0 +1,5 @@
1# Firejail profile alias for newsflash
2# This file is overwritten after every install/update
3
4# Redirect
5include newsflash.profile
diff --git a/etc/profile-m-z/newsflash.profile b/etc/profile-m-z/newsflash.profile
new file mode 100644
index 000000000..d0ac83baf
--- /dev/null
+++ b/etc/profile-m-z/newsflash.profile
@@ -0,0 +1,60 @@
1# Firejail profile for newsflash
2# Description: Modern feed reader
3# This file is overwritten after every install/update
4# Persistent local customizations
5include newsflash.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/NewsFlashGTK
10noblacklist ${HOME}/.config/news-flash
11noblacklist ${HOME}/.local/share/news-flash
12
13include disable-common.inc
14include disable-devel.inc
15include disable-exec.inc
16include disable-interpreters.inc
17include disable-passwdmgr.inc
18include disable-programs.inc
19include disable-shell.inc
20include disable-xdg.inc
21
22mkdir ${HOME}/.cache/NewsFlashGTK
23mkdir ${HOME}/.config/news-flash
24mkdir ${HOME}/.local/share/news-flash
25whitelist ${HOME}/.cache/NewsFlashGTK
26whitelist ${HOME}/.config/news-flash
27whitelist ${HOME}/.local/share/news-flash
28include whitelist-common.inc
29include whitelist-runuser-common.inc
30include whitelist-usr-share-common.inc
31include whitelist-var-common.inc
32
33apparmor
34caps.drop all
35machine-id
36netfilter
37nodvd
38nogroups
39nonewprivs
40noroot
41nosound
42notv
43nou2f
44novideo
45protocol unix,inet,inet6
46seccomp
47shell none
48tracelog
49
50disable-mnt
51private-bin com.gitlab.newsflash,newsflash
52private-cache
53private-dev
54private-etc ca-certificates,crypto-policies,dconf,fonts,gtk-3.0,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,nsswitch.conf,pango,pki,resolv.conf,ssl,X11
55private-tmp
56
57dbus-user none
58#dbus-user.own com.gitlab.newsflash
59#dbus-user.talk org.freedesktop.Notifications
60dbus-system none