aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Jean Lucas <jean@4ray.co>2019-07-31 22:33:45 -0400
committerLibravatar Jean Lucas <jean@4ray.co>2019-07-31 22:44:23 -0400
commit91cc0bd54f03cb3d6a1def4da30cd1af3627a822 (patch)
tree9d842fc3c0e4a682d95cbe6f1ff546a89616b924
parentMerge pull request #2881 from flacks/profiles/zulip (diff)
downloadfirejail-91cc0bd54f03cb3d6a1def4da30cd1af3627a822.tar.gz
firejail-91cc0bd54f03cb3d6a1def4da30cd1af3627a822.tar.zst
firejail-91cc0bd54f03cb3d6a1def4da30cd1af3627a822.zip
Add new Tor Browser alias
- tor-browser in the AUR is an international package; all other individual language variants have been removed, so, add new alias - Add 'tor-browser' and 'mv' to private-bin in launcher profile ('mv' is required when upgrading tor-browser versions) - Add 'tor-browser' to firecfg.config - Add config dir to disable-programs.inc
-rw-r--r--etc/disable-programs.inc1
-rw-r--r--etc/tor-browser.profile10
-rw-r--r--etc/torbrowser-launcher.profile2
-rw-r--r--src/firecfg/firecfg.config1
4 files changed, 13 insertions, 1 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 9b66702fc..aba2cfef4 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -627,6 +627,7 @@ blacklist ${HOME}/.teeworlds
627blacklist ${HOME}/.thunderbird 627blacklist ${HOME}/.thunderbird
628blacklist ${HOME}/.tilp 628blacklist ${HOME}/.tilp
629blacklist ${HOME}/.tooling 629blacklist ${HOME}/.tooling
630blacklist ${HOME}/.tor-browser
630blacklist ${HOME}/.tor-browser-* 631blacklist ${HOME}/.tor-browser-*
631blacklist ${HOME}/.tor-browser_* 632blacklist ${HOME}/.tor-browser_*
632blacklist ${HOME}/.torcs 633blacklist ${HOME}/.torcs
diff --git a/etc/tor-browser.profile b/etc/tor-browser.profile
new file mode 100644
index 000000000..0cd84abf5
--- /dev/null
+++ b/etc/tor-browser.profile
@@ -0,0 +1,10 @@
1# Firejail profile alias for torbrowser-launcher
2# This file is overwritten after every install/update
3
4noblacklist ${HOME}/.tor-browser
5
6mkdir ${HOME}/.tor-browser
7whitelist ${HOME}/.tor-browser
8
9# Redirect
10include torbrowser-launcher.profile
diff --git a/etc/torbrowser-launcher.profile b/etc/torbrowser-launcher.profile
index 75bcb04b4..00b82e852 100644
--- a/etc/torbrowser-launcher.profile
+++ b/etc/torbrowser-launcher.profile
@@ -48,7 +48,7 @@ shell none
48#tracelog 48#tracelog
49 49
50disable-mnt 50disable-mnt
51private-bin bash,cat,cp,cut,dirname,env,expr,file,getconf,gpg,grep,gxmessage,id,kdialog,ln,mkdir,pwd,python*,readlink,realpath,rm,sed,sh,tail,tar,tclsh,test,tor-browser-en,torbrowser-launcher,update-desktop-database,xmessage,xz,zenity 51private-bin bash,cat,cp,cut,dirname,env,expr,file,getconf,gpg,grep,gxmessage,id,kdialog,ln,mkdir,mv,pwd,python*,readlink,realpath,rm,sed,sh,tail,tar,tclsh,test,tor-browser,tor-browser-en,torbrowser-launcher,update-desktop-database,xmessage,xz,zenity
52private-dev 52private-dev
53private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,hostname,hosts,ld.so.cache,machine-id,pki,pulse,resolv.conf,ssl 53private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,hostname,hosts,ld.so.cache,machine-id,pki,pulse,resolv.conf,ssl
54private-tmp 54private-tmp
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index daf7a5621..eeba40417 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -561,6 +561,7 @@ thunderbird
561thunderbird-beta 561thunderbird-beta
562thunderbird-wayland 562thunderbird-wayland
563tilp 563tilp
564tor-browser
564tor-browser-ar 565tor-browser-ar
565tor-browser-ca 566tor-browser-ca
566tor-browser-cs 567tor-browser-cs