aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-12-30 00:04:47 +0100
committerLibravatar GitHub <noreply@github.com>2020-12-30 00:04:47 +0100
commitebe06230faab12807e881940a06ab6520f7fad26 (patch)
tree2d6fcbb27d7f5ac7fa92ac3fd01313edceaa5590
parentMerge pull request #3847 from bbhtt/small_fixes (diff)
parentMerge branch 'master' into browsers (diff)
downloadfirejail-ebe06230faab12807e881940a06ab6520f7fad26.tar.gz
firejail-ebe06230faab12807e881940a06ab6520f7fad26.tar.zst
firejail-ebe06230faab12807e881940a06ab6520f7fad26.zip
Merge pull request #3848 from bbhtt/browsers
Add profiles for MS Edge dev build for Linux and Librewolf
-rw-r--r--etc/inc/disable-programs.inc4
-rw-r--r--etc/profile-a-l/librewolf.profile28
-rw-r--r--etc/profile-m-z/microsoft-edge-dev.profile20
-rw-r--r--etc/profile-m-z/microsoft-edge.profile11
-rw-r--r--src/firecfg/firecfg.config3
5 files changed, 66 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 961437ad7..7ab11e620 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -309,6 +309,7 @@ blacklist ${HOME}/.config/meteo-qt
309blacklist ${HOME}/.config/menulibre.cfg 309blacklist ${HOME}/.config/menulibre.cfg
310blacklist ${HOME}/.config/mfusion 310blacklist ${HOME}/.config/mfusion
311blacklist ${HOME}/.config/Microsoft 311blacklist ${HOME}/.config/Microsoft
312blacklist ${HOME}/.config/microsoft-edge-dev
312blacklist ${HOME}/.config/midori 313blacklist ${HOME}/.config/midori
313blacklist ${HOME}/.config/mirage 314blacklist ${HOME}/.config/mirage
314blacklist ${HOME}/.config/mono 315blacklist ${HOME}/.config/mono
@@ -555,6 +556,7 @@ blacklist ${HOME}/.kino-history
555blacklist ${HOME}/.kinorc 556blacklist ${HOME}/.kinorc
556blacklist ${HOME}/.klatexformula 557blacklist ${HOME}/.klatexformula
557blacklist ${HOME}/.kodi 558blacklist ${HOME}/.kodi
559blacklist ${HOME}/.librewolf
558blacklist ${HOME}/.lincity-ng 560blacklist ${HOME}/.lincity-ng
559blacklist ${HOME}/.links 561blacklist ${HOME}/.links
560blacklist ${HOME}/.linphone-history.db 562blacklist ${HOME}/.linphone-history.db
@@ -942,10 +944,12 @@ blacklist ${HOME}/.cache/ksplashqml
942blacklist ${HOME}/.cache/kube 944blacklist ${HOME}/.cache/kube
943blacklist ${HOME}/.cache/kwin 945blacklist ${HOME}/.cache/kwin
944blacklist ${HOME}/.cache/libgweather 946blacklist ${HOME}/.cache/libgweather
947blacklist ${HOME}/.cache/librewolf
945blacklist ${HOME}/.cache/liferea 948blacklist ${HOME}/.cache/liferea
946blacklist ${HOME}/.cache/lutris 949blacklist ${HOME}/.cache/lutris
947blacklist ${HOME}/.cache/Mendeley Ltd. 950blacklist ${HOME}/.cache/Mendeley Ltd.
948blacklist ${HOME}/.cache/matrix-mirage 951blacklist ${HOME}/.cache/matrix-mirage
952blacklist ${HOME}/.cache/microsoft-edge-dev
949blacklist ${HOME}/.cache/midori 953blacklist ${HOME}/.cache/midori
950blacklist ${HOME}/.cache/minetest 954blacklist ${HOME}/.cache/minetest
951blacklist ${HOME}/.cache/mirage 955blacklist ${HOME}/.cache/mirage
diff --git a/etc/profile-a-l/librewolf.profile b/etc/profile-a-l/librewolf.profile
new file mode 100644
index 000000000..5208cb979
--- /dev/null
+++ b/etc/profile-a-l/librewolf.profile
@@ -0,0 +1,28 @@
1# Firejail profile for Librewolf
2# Description: Firefox fork based on privacy
3# This file is overwritten after every install/update
4# Persistent local customizations
5include librewolf.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/librewolf
10noblacklist ${HOME}/.librewolf
11
12mkdir ${HOME}/.cache/librewolf
13mkdir ${HOME}/.librewolf
14whitelist ${HOME}/.cache/librewolf
15whitelist ${HOME}/.librewolf
16
17# Uncomment (or add to librewolf.local) the following lines if you want to
18# use the migration wizard.
19#noblacklist ${HOME}/.mozilla
20#whitelist ${HOME}/.mozilla
21
22# librewolf requires a shell to launch on Arch. We can possibly remove sh though.
23#private-bin bash,dbus-launch,dbus-send,env,librewolf,python*,sh,which
24# private-etc must first be enabled in firefox-common.profile
25#private-etc librewolf
26
27# Redirect
28include firefox-common.profile
diff --git a/etc/profile-m-z/microsoft-edge-dev.profile b/etc/profile-m-z/microsoft-edge-dev.profile
new file mode 100644
index 000000000..039cd36a8
--- /dev/null
+++ b/etc/profile-m-z/microsoft-edge-dev.profile
@@ -0,0 +1,20 @@
1# Firejail profile for Microsoft Edge Dev
2# Description: Web browser from Microsoft,dev channel
3# This file is overwritten after every install/update
4# Persistent local customizations
5include microsoft-edge-dev.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/microsoft-edge-dev
10noblacklist ${HOME}/.config/microsoft-edge-dev
11
12mkdir ${HOME}/.cache/microsoft-edge-dev
13mkdir ${HOME}/.config/microsoft-edge-dev
14whitelist ${HOME}/.cache/microsoft-edge-dev
15whitelist ${HOME}/.config/microsoft-edge-dev
16
17private-opt microsoft
18
19# Redirect
20include chromium-common.profile
diff --git a/etc/profile-m-z/microsoft-edge.profile b/etc/profile-m-z/microsoft-edge.profile
new file mode 100644
index 000000000..f427507d1
--- /dev/null
+++ b/etc/profile-m-z/microsoft-edge.profile
@@ -0,0 +1,11 @@
1# Firejail profile for Microsoft Edge
2# Description: Web browser from Microsoft
3# This file is overwritten after every install/update
4# Persistent local customizations
5include microsoft-edge.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10# Redirect
11include microsoft-edge-dev.profile
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 74264b91a..23b1e364a 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -423,6 +423,7 @@ kwrite
423leafpad 423leafpad
424# less - breaks man 424# less - breaks man
425libreoffice 425libreoffice
426librewolf
426liferea 427liferea
427lightsoff 428lightsoff
428lincity-ng 429lincity-ng
@@ -474,6 +475,8 @@ mencoder
474mendeleydesktop 475mendeleydesktop
475menulibre 476menulibre
476meteo-qt 477meteo-qt
478microsoft-edge
479microsoft-edge-dev
477midori 480midori
478min 481min
479mindless 482mindless