aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/check-c.yml4
-rw-r--r--.github/workflows/check-python.yml4
-rw-r--r--etc/inc/disable-programs.inc5
-rw-r--r--etc/profile-a-l/brz.profile14
-rw-r--r--etc/profile-a-l/bzr.profile10
-rw-r--r--etc/profile-a-l/lettura.profile76
-rw-r--r--src/firecfg/firecfg.config1
7 files changed, 110 insertions, 4 deletions
diff --git a/.github/workflows/check-c.yml b/.github/workflows/check-c.yml
index 7340ce8ce..38cb25381 100644
--- a/.github/workflows/check-c.yml
+++ b/.github/workflows/check-c.yml
@@ -149,7 +149,7 @@ jobs:
149 149
150 # Initializes the CodeQL tools for scanning. 150 # Initializes the CodeQL tools for scanning.
151 - name: Initialize CodeQL 151 - name: Initialize CodeQL
152 uses: github/codeql-action/init@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 152 uses: github/codeql-action/init@ddccb873888234080b77e9bc2d4764d5ccaaccf9
153 with: 153 with:
154 languages: cpp 154 languages: cpp
155 155
@@ -160,4 +160,4 @@ jobs:
160 run: make -j "$(nproc)" 160 run: make -j "$(nproc)"
161 161
162 - name: Perform CodeQL Analysis 162 - name: Perform CodeQL Analysis
163 uses: github/codeql-action/analyze@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 163 uses: github/codeql-action/analyze@ddccb873888234080b77e9bc2d4764d5ccaaccf9
diff --git a/.github/workflows/check-python.yml b/.github/workflows/check-python.yml
index 5d4320809..c3236421a 100644
--- a/.github/workflows/check-python.yml
+++ b/.github/workflows/check-python.yml
@@ -49,9 +49,9 @@ jobs:
49 49
50 # Initializes the CodeQL tools for scanning. 50 # Initializes the CodeQL tools for scanning.
51 - name: Initialize CodeQL 51 - name: Initialize CodeQL
52 uses: github/codeql-action/init@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 52 uses: github/codeql-action/init@ddccb873888234080b77e9bc2d4764d5ccaaccf9
53 with: 53 with:
54 languages: python 54 languages: python
55 55
56 - name: Perform CodeQL Analysis 56 - name: Perform CodeQL Analysis
57 uses: github/codeql-action/analyze@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 57 uses: github/codeql-action/analyze@ddccb873888234080b77e9bc2d4764d5ccaaccf9
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 4d4673b34..f2a03764d 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -158,6 +158,7 @@ blacklist ${HOME}/.cache/ksplashqml
158blacklist ${HOME}/.cache/kube 158blacklist ${HOME}/.cache/kube
159blacklist ${HOME}/.cache/kwin 159blacklist ${HOME}/.cache/kwin
160blacklist ${HOME}/.cache/lbry-viewer 160blacklist ${HOME}/.cache/lbry-viewer
161blacklist ${HOME}/.cache/lettura
161blacklist ${HOME}/.cache/libgweather 162blacklist ${HOME}/.cache/libgweather
162blacklist ${HOME}/.cache/librewolf 163blacklist ${HOME}/.cache/librewolf
163blacklist ${HOME}/.cache/liferea 164blacklist ${HOME}/.cache/liferea
@@ -386,6 +387,7 @@ blacklist ${HOME}/.config/borg
386blacklist ${HOME}/.config/brasero 387blacklist ${HOME}/.config/brasero
387blacklist ${HOME}/.config/brave 388blacklist ${HOME}/.config/brave
388blacklist ${HOME}/.config/brave-flags.conf 389blacklist ${HOME}/.config/brave-flags.conf
390blacklist ${HOME}/.config/breezy
389blacklist ${HOME}/.config/caja 391blacklist ${HOME}/.config/caja
390blacklist ${HOME}/.config/calibre 392blacklist ${HOME}/.config/calibre
391blacklist ${HOME}/.config/cantata 393blacklist ${HOME}/.config/cantata
@@ -407,6 +409,7 @@ blacklist ${HOME}/.config/cliqz
407blacklist ${HOME}/.config/cmus 409blacklist ${HOME}/.config/cmus
408blacklist ${HOME}/.config/cointop 410blacklist ${HOME}/.config/cointop
409blacklist ${HOME}/.config/com.github.bleakgrey.tootle 411blacklist ${HOME}/.config/com.github.bleakgrey.tootle
412blacklist ${HOME}/.config/com.lettura.dev
410blacklist ${HOME}/.config/corebird 413blacklist ${HOME}/.config/corebird
411blacklist ${HOME}/.config/coyim 414blacklist ${HOME}/.config/coyim
412blacklist ${HOME}/.config/d-feet 415blacklist ${HOME}/.config/d-feet
@@ -835,6 +838,7 @@ blacklist ${HOME}/.klatexformula
835blacklist ${HOME}/.klei 838blacklist ${HOME}/.klei
836blacklist ${HOME}/.kodi 839blacklist ${HOME}/.kodi
837blacklist ${HOME}/.lastpass 840blacklist ${HOME}/.lastpass
841blacklist ${HOME}/.lettura
838blacklist ${HOME}/.librewolf 842blacklist ${HOME}/.librewolf
839blacklist ${HOME}/.lincity-ng 843blacklist ${HOME}/.lincity-ng
840blacklist ${HOME}/.links 844blacklist ${HOME}/.links
@@ -905,6 +909,7 @@ blacklist ${HOME}/.local/share/cdprojektred
905blacklist ${HOME}/.local/share/chatterino 909blacklist ${HOME}/.local/share/chatterino
906blacklist ${HOME}/.local/share/clipit 910blacklist ${HOME}/.local/share/clipit
907blacklist ${HOME}/.local/share/com.github.johnfactotum.Foliate 911blacklist ${HOME}/.local/share/com.github.johnfactotum.Foliate
912blacklist ${HOME}/.local/share/com.lettura.dev
908blacklist ${HOME}/.local/share/com.vmingueza.journal-viewer 913blacklist ${HOME}/.local/share/com.vmingueza.journal-viewer
909blacklist ${HOME}/.local/share/contacts 914blacklist ${HOME}/.local/share/contacts
910blacklist ${HOME}/.local/share/cor-games 915blacklist ${HOME}/.local/share/cor-games
diff --git a/etc/profile-a-l/brz.profile b/etc/profile-a-l/brz.profile
new file mode 100644
index 000000000..dcc7af54b
--- /dev/null
+++ b/etc/profile-a-l/brz.profile
@@ -0,0 +1,14 @@
1# Firejail profile for brz
2# Description: Distributed VCS with support for Bazaar and Git file formats
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include brz.local
7# Persistent global definitions
8# added by included profile
9#include globals.local
10
11noblacklist ${HOME}/.config/breezy
12
13# Redirect
14include git.profile
diff --git a/etc/profile-a-l/bzr.profile b/etc/profile-a-l/bzr.profile
new file mode 100644
index 000000000..61c1aae38
--- /dev/null
+++ b/etc/profile-a-l/bzr.profile
@@ -0,0 +1,10 @@
1# Firejail profile alias for bzr
2# This file is overwritten after every install/update
3# Persistent local customizations
4include bzr.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9# Redirect
10include brz.profile
diff --git a/etc/profile-a-l/lettura.profile b/etc/profile-a-l/lettura.profile
new file mode 100644
index 000000000..94a455355
--- /dev/null
+++ b/etc/profile-a-l/lettura.profile
@@ -0,0 +1,76 @@
1# Firejail profile for lettura
2# Description: Another free and open-source feed reader
3# This file is overwritten after every install/update
4# Persistent local customizations
5include lettura.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/lettura
10noblacklist ${HOME}/.config/com.lettura.dev
11noblacklist ${HOME}/.lettura
12noblacklist ${HOME}/.local/share/com.lettura.dev
13
14include disable-common.inc
15include disable-devel.inc
16include disable-exec.inc
17include disable-interpreters.inc
18include disable-proc.inc
19include disable-programs.inc
20include disable-shell.inc
21include disable-xdg.inc
22
23mkdir ${HOME}/.cache/lettura
24mkdir ${HOME}/.config/com.lettura.dev
25mkdir ${HOME}/.lettura
26mkdir ${HOME}/.local/share/com.lettura.dev
27whitelist ${HOME}/.cache/lettura
28whitelist ${HOME}/.config/com.lettura.dev
29whitelist ${HOME}/.lettura
30whitelist ${HOME}/.local/share/com.lettura.dev
31whitelist ${DOWNLOADS}
32include whitelist-common.inc
33include whitelist-run-common.inc
34include whitelist-runuser-common.inc
35include whitelist-usr-share-common.inc
36include whitelist-var-common.inc
37
38# The lines below are needed to find the default Firefox profile name, to allow
39# opening links in an existing instance of Firefox (note that it still fails if
40# there isn't a Firefox instance running with the default profile; see #5352)
41noblacklist ${HOME}/.mozilla
42whitelist ${HOME}/.mozilla/firefox/profiles.ini
43
44apparmor
45caps.drop all
46netfilter
47nodvd
48nogroups
49noinput
50nonewprivs
51noprinters
52noroot
53#nosound
54notv
55nou2f
56novideo
57protocol unix,inet,inet6
58seccomp
59seccomp.block-secondary
60tracelog
61
62disable-mnt
63private-bin lettura
64private-cache
65private-dev
66private-etc @network,@sound,@tls-ca,@x11,mime.types
67private-tmp
68
69dbus-user filter
70dbus-user.talk org.freedesktop.Notifications
71?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
72# allow D-Bus communication with firefox for opening links
73dbus-user.talk org.mozilla.*
74dbus-system none
75
76restrict-namespaces
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index ce606efc3..2fff32f4b 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -482,6 +482,7 @@ kwrite
482lbry-viewer 482lbry-viewer
483leafpad 483leafpad
484#less # breaks man 484#less # breaks man
485lettura
485librecad 486librecad
486libreoffice 487libreoffice
487librewolf 488librewolf