Skip to content

Commit

Permalink
add profile for zeal
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty-snake authored and rusty-snake committed Jun 30, 2019
1 parent 04e2ad8 commit b3967fa
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 3 deletions.
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ rusty-snake (https://github.com/rusty-snake)
- added profiles: ktouch, yelp, klatexformula, klatexformula_cmdl
- added profiles: pandoc, gnome-sound-recorder, godot, newsbeuter
- added profiles: keepassxc-cli, keepassxc-proxy, rhythmbox-client
- added profiles: zeal
- many profile fixing and hardening
- some typo fixes
- added profile templates
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,4 @@ We also keep a list of profile fixes for previous released versions in [etc-fixe

## New profiles:

klatexformula, klatexformula_cmdl, links, pandoc, qgis, teams-for-linux, xlinks, OpenArena, gnome-sound-recorder, godot, tcpdump, tshark, keepassxc-cli, keepassxc-proxy, newsbeuter, rhythmbox-client,
jerry
gnome-sound-recorder, godot, jerry, keepassxc-cli, keepassxc-proxy, klatexformula, klatexformula_cmdl, links, newsbeuter, OpenArena, pandoc, qgis, rhythmbox-client, tcpdump, teams-for-linux, tshark, xlinks, zeal
2 changes: 1 addition & 1 deletion RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ firejail (0.9.61) baseline; urgency=low
* new profiles: qgis, klatexformula, klatexformula_cmdl, links, xlinks
* new profiles: pandoc, teams-for-linux, OpenArena, gnome-sound-recorder
* new profiles: godot, tcpdump, tshark, newsbeuter, keepassxc-cli
* new profiles: keepassxc-proxy, rhythmbox-client, jerry
* new profiles: keepassxc-proxy, rhythmbox-client, jerry, zeal
-- netblue30 <[email protected]> Sat, 1 Jun 2019 08:00:00 -0500

firejail (0.9.60) baseline; urgency=low
Expand Down
3 changes: 3 additions & 0 deletions etc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ blacklist ${HOME}/.config/SubDownloader
blacklist ${HOME}/.config/Thunar
blacklist ${HOME}/.config/VirtualBox
blacklist ${HOME}/.config/Wire
blacklist ${HOME}/.config/Zeal
blacklist ${HOME}/.config/akonadi*
blacklist ${HOME}/.config/akregatorrc
blacklist ${HOME}/.config/ardour4
Expand Down Expand Up @@ -458,6 +459,7 @@ blacklist ${HOME}/.local/share/SuperHexagon
blacklist ${HOME}/.local/share/TelegramDesktop
blacklist ${HOME}/.local/share/Terraria
blacklist ${HOME}/.local/share/TpLogger
blacklist ${HOME}/.local/share/Zeal
blacklist ${HOME}/.local/share/akonadi*
blacklist ${HOME}/.local/share/akregator
blacklist ${HOME}/.local/share/apps/korganizer
Expand Down Expand Up @@ -665,6 +667,7 @@ blacklist ${HOME}/.cache/Franz
blacklist ${HOME}/.cache/INRIA
blacklist ${HOME}/.cache/MusicBrainz
blacklist ${HOME}/.cache/QuiteRss
blacklist ${HOME}/.cache/Zeal
blacklist ${HOME}/.cache/akonadi*
blacklist ${HOME}/.cache/atril
blacklist ${HOME}/.cache/attic
Expand Down
56 changes: 56 additions & 0 deletions etc/zeal.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Firejail profile for zeal
# Description: Offline documentation browser
# This file is overwritten after every install/update
# Persistent local customizations
include zeal.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/Zeal
noblacklist ${HOME}/.cache/Zeal
noblacklist ${HOME}/.local/share/Zeal

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc

mkdir ${HOME}/.config/Zeal
mkdir ${HOME}/.cache/Zeal
mkdir ${HOME}/.local/share/Zeal
whitelist ${HOME}/.config/Zeal
whitelist ${HOME}/.cache/Zeal
whitelist ${HOME}/.local/share/Zeal
include whitelist-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
machine-id
netfilter
no3d
nodbus
nodvd
nogroups
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
shell none
tracelog

disable-mnt
private-bin zeal
private-cache
private-dev
private-etc alternatives,ca-certificates,crypto-policies,fonts,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,mime.types,nsswitch.conf,pango,pki,protocols,resolv.conf,rpc,services,ssl,Trolltech.conf,X11,xdg
private-tmp

memory-deny-write-execute
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -659,5 +659,6 @@ youtube-dl
zaproxy
zart
zathura
zeal
zoom
zpaq

0 comments on commit b3967fa

Please sign in to comment.