-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reorganizing youtube-viewers (#4128)
* Create youtube-viewers-common.profile * reorganising youtube viewers * rm globals * reorganise youtube viewers * adding pipe-viewer * adding gtk-pipe-viewer * xterm and youtube-dl cache * sort * Update youtube-viewers-common.profile * quiet * quiet * quiet * Update firecfg.config * rm vlc * rm invalid binary * noinput * rm whitelist-runuser-common.inc * rm whitelist-runuser-common.inc * rm whitelist-runuser-common.inc * whitelist-runuser-common.inc
- Loading branch information
pirate486743186
committed
May 28, 2021
1 parent
77ebd24
commit 0fd1534
Showing
8 changed files
with
103 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Firejail profile for gtk-pipe-viewer | ||
# Description: Gtk front-end to pipe-viewer | ||
# This file is overwritten after every install/update | ||
# Persistent local customizations | ||
include gtk-pipe-viewer.local | ||
# added by included profile | ||
#include globals.local | ||
|
||
ignore quiet | ||
|
||
# Redirect | ||
include pipe-viewer.profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Firejail profile for pipe-viewer | ||
# Description: Fork of youtube-viewer, scrapes youtube directly and with invidious | ||
# This file is overwritten after every install/update | ||
quiet | ||
# Persistent local customizations | ||
include pipe-viewer.local | ||
# Persistent global definitions | ||
include globals.local | ||
|
||
noblacklist ${HOME}/.cache/pipe-viewer | ||
noblacklist ${HOME}/.config/pipe-viewer | ||
|
||
mkdir ${HOME}/.config/pipe-viewer | ||
mkdir ${HOME}/.cache/pipe-viewer | ||
whitelist ${HOME}/.cache/pipe-viewer | ||
whitelist ${HOME}/.config/pipe-viewer | ||
|
||
private-bin gtk-pipe-viewer,pipe-viewer | ||
|
||
# Redirect | ||
include youtube-viewers-common.profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Firejail profile for youtube-viewer clones | ||
# Description: common profile for Trizen's Youtube viewers | ||
# This file is overwritten after every install/update | ||
# Persistent local customizations | ||
include youtube-viewers-common.local | ||
# Persistent global definitions | ||
# added by caller profile | ||
#include globals.local | ||
|
||
noblacklist ${HOME}/.cache/youtube-dl | ||
|
||
# Allow lua (blacklisted by disable-interpreters.inc) | ||
include allow-lua.inc | ||
|
||
# Allow perl (blacklisted by disable-interpreters.inc) | ||
include allow-perl.inc | ||
|
||
# Allow python (blacklisted by disable-interpreters.inc) | ||
include allow-python2.inc | ||
include allow-python3.inc | ||
|
||
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 | ||
|
||
whitelist ${DOWNLOADS} | ||
whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs | ||
include whitelist-common.inc | ||
include whitelist-runuser-common.inc | ||
include whitelist-usr-share-common.inc | ||
include whitelist-var-common.inc | ||
|
||
apparmor | ||
caps.drop all | ||
netfilter | ||
nodvd | ||
nogroups | ||
noinput | ||
nonewprivs | ||
noroot | ||
notv | ||
nou2f | ||
novideo | ||
protocol unix,inet,inet6 | ||
seccomp | ||
shell none | ||
tracelog | ||
|
||
disable-mnt | ||
private-bin bash,ffmpeg,ffprobe,firefox,mpv,perl,python*,sh,smplayer,stty,wget,which,xterm,youtube-dl | ||
private-cache | ||
private-dev | ||
private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,machine-id,mime.types,nsswitch.conf,passwd,pki,pulse,resolv.conf,ssl,X11,xdg | ||
private-tmp | ||
|
||
dbus-user none | ||
dbus-system none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters