Add profiles for the WPS-Office

This commit is contained in:
rusty-snake 2020-01-29 20:35:17 +01:00
parent 62ca356af0
commit cc57e0ceec
8 changed files with 92 additions and 2 deletions

View file

@ -151,4 +151,4 @@ We also keep a list of profile fixes for previous released versions in [etc-fixe
### New profiles:
gfeeds, firefox-x11, tvbrowser, rtv, clipgrab, gnome-passwordsafe
gfeeds, firefox-x11, tvbrowser, rtv, clipgrab, gnome-passwordsafe, bibtex, gummi, latex, pdflatex, tex, wpp, wpspdf, wps, et

View file

@ -3,7 +3,7 @@ firejail (0.9.63) baseline; urgency=low
* DHCP client support
* new profiles: gfeeds, firefox-x11, tvbrowser, rtv, clipgrab
* new profiles: gnome-passwordsafe, bibtex, gummi, latex
* new profiles: pdflatex, tex
* new profiles: pdflatex, tex, wpp, wpspdf, wps, et
firejail (0.9.62) baseline; urgency=low
* added file-copy-limit in /etc/firejail/firejail.config

View file

@ -85,6 +85,7 @@ blacklist ${HOME}/.config/Gpredict
blacklist ${HOME}/.config/INRIA
blacklist ${HOME}/.config/InSilmaril
blacklist ${HOME}/.config/Kid3
blacklist ${HOME}/.config/Kingsoft
blacklist ${HOME}/.config/Luminance
blacklist ${HOME}/.config/Meltytech
blacklist ${HOME}/.config/Mendeley Ltd.
@ -459,6 +460,7 @@ blacklist ${HOME}/.kde4/share/config/ktorrentrc
blacklist ${HOME}/.kde4/share/config/okularpartrc
blacklist ${HOME}/.kde4/share/config/okularrc
blacklist ${HOME}/.killingfloor
blacklist ${HOME}/.kingsoft
blacklist ${HOME}/.kino-history
blacklist ${HOME}/.kinorc
blacklist ${HOME}/.klatexformula
@ -475,6 +477,7 @@ blacklist ${HOME}/.local/share/Anki2
blacklist ${HOME}/.local/share/Empathy
blacklist ${HOME}/.local/share/Enpass
blacklist ${HOME}/.local/share/JetBrains
blacklist ${HOME}/.local/share/Kingsoft
blacklist ${HOME}/.local/share/Mendeley Ltd.
blacklist ${HOME}/.local/share/Mumble
blacklist ${HOME}/.local/share/PBE

11
etc/et.profile Normal file
View file

@ -0,0 +1,11 @@
# Firejail profile for et
# Description: WPS Office - Spreadsheets
# This file is overwritten after every install/update
# Persistent local customizations
include et.local
# Persistent global definitions
# added by included profile
#include globals.local
# Redirect
include wps.profile

14
etc/wpp.profile Normal file
View file

@ -0,0 +1,14 @@
# Firejail profile for wpp
# Description: WPS Office - Presentation
# This file is overwritten after every install/update
# Persistent local customizations
include wpp.local
# Persistent global definitions
# added by included profile
#include globals.local
ignore machine-id
ignore nosound
# Redirect
include wps.profile

47
etc/wps.profile Normal file
View file

@ -0,0 +1,47 @@
# Firejail profile for wps
# Description: WPS Office - Writer
# This file is overwritten after every install/update
# Persistent local customizations
include wps.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.kingsoft
noblacklist ${HOME}/.config/Kingsoft
noblacklist ${HOME}/.local/share/Kingsoft
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 whitelist-usr-share-common.inc
include whitelist-var-common.inc
apparmor
caps.drop all
machine-id
# Uncomment the next line (or add to wps.local) if you don't use network features.
#net none
netfilter
no3d
nodbus
nodvd
nogroups
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
# seccomp cause some minor issues, if you can live with them enable it.
#seccomp
shell none
tracelog
private-cache
private-dev
private-tmp

11
etc/wpspdf.profile Normal file
View file

@ -0,0 +1,11 @@
# Firejail profile for wpspdf
# Description: Kingsoft Pdf Reader
# This file is overwritten after every install/update
# Persistent local customizations
include et.local
# Persistent global definitions
# added by included profile
#include globals.local
# Redirect
include wps.profile

View file

@ -180,6 +180,7 @@ eog
eom
ephemeral
#epiphany
et
etr
evince
evince-previewer
@ -687,6 +688,9 @@ wire-desktop
wireshark
wireshark-gtk
wireshark-qt
wpp
wps
wpspdf
xcalc
xchat
xed