diff options
-rw-r--r-- | etc/profile-a-l/gtk-pipe-viewer.profile | 12 | ||||
-rw-r--r-- | etc/profile-a-l/gtk-straw-viewer.profile | 2 | ||||
-rw-r--r-- | etc/profile-a-l/gtk-youtube-viewer.profile | 2 | ||||
-rw-r--r-- | etc/profile-m-z/pipe-viewer.profile | 21 | ||||
-rw-r--r-- | etc/profile-m-z/straw-viewer.profile | 51 | ||||
-rw-r--r-- | etc/profile-m-z/youtube-viewer.profile | 45 | ||||
-rw-r--r-- | etc/profile-m-z/youtube-viewers-common.profile | 61 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 2 |
8 files changed, 103 insertions, 93 deletions
diff --git a/etc/profile-a-l/gtk-pipe-viewer.profile b/etc/profile-a-l/gtk-pipe-viewer.profile new file mode 100644 index 000000000..9c212ff6e --- /dev/null +++ b/etc/profile-a-l/gtk-pipe-viewer.profile | |||
@@ -0,0 +1,12 @@ | |||
1 | # Firejail profile for gtk-pipe-viewer | ||
2 | # Description: Gtk front-end to pipe-viewer | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include gtk-pipe-viewer.local | ||
6 | # added by included profile | ||
7 | #include globals.local | ||
8 | |||
9 | ignore quiet | ||
10 | |||
11 | # Redirect | ||
12 | include pipe-viewer.profile | ||
diff --git a/etc/profile-a-l/gtk-straw-viewer.profile b/etc/profile-a-l/gtk-straw-viewer.profile index e2721360b..978b3d896 100644 --- a/etc/profile-a-l/gtk-straw-viewer.profile +++ b/etc/profile-a-l/gtk-straw-viewer.profile | |||
@@ -8,7 +8,5 @@ include gtk-straw-viewer.local | |||
8 | 8 | ||
9 | ignore quiet | 9 | ignore quiet |
10 | 10 | ||
11 | include whitelist-runuser-common.inc | ||
12 | |||
13 | # Redirect | 11 | # Redirect |
14 | include straw-viewer.profile | 12 | include straw-viewer.profile |
diff --git a/etc/profile-a-l/gtk-youtube-viewer.profile b/etc/profile-a-l/gtk-youtube-viewer.profile index 848979b52..c814f0fef 100644 --- a/etc/profile-a-l/gtk-youtube-viewer.profile +++ b/etc/profile-a-l/gtk-youtube-viewer.profile | |||
@@ -8,7 +8,5 @@ include gtk-youtube-viewer.local | |||
8 | 8 | ||
9 | ignore quiet | 9 | ignore quiet |
10 | 10 | ||
11 | include whitelist-runuser-common.inc | ||
12 | |||
13 | # Redirect | 11 | # Redirect |
14 | include youtube-viewer.profile | 12 | include youtube-viewer.profile |
diff --git a/etc/profile-m-z/pipe-viewer.profile b/etc/profile-m-z/pipe-viewer.profile new file mode 100644 index 000000000..3de064311 --- /dev/null +++ b/etc/profile-m-z/pipe-viewer.profile | |||
@@ -0,0 +1,21 @@ | |||
1 | # Firejail profile for pipe-viewer | ||
2 | # Description: Fork of youtube-viewer, scrapes youtube directly and with invidious | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include pipe-viewer.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | noblacklist ${HOME}/.cache/pipe-viewer | ||
11 | noblacklist ${HOME}/.config/pipe-viewer | ||
12 | |||
13 | mkdir ${HOME}/.config/pipe-viewer | ||
14 | mkdir ${HOME}/.cache/pipe-viewer | ||
15 | whitelist ${HOME}/.cache/pipe-viewer | ||
16 | whitelist ${HOME}/.config/pipe-viewer | ||
17 | |||
18 | private-bin gtk-pipe-viewer,pipe-viewer | ||
19 | |||
20 | # Redirect | ||
21 | include youtube-viewers-common.profile | ||
diff --git a/etc/profile-m-z/straw-viewer.profile b/etc/profile-m-z/straw-viewer.profile index f8108c9d6..d73927f2a 100644 --- a/etc/profile-m-z/straw-viewer.profile +++ b/etc/profile-m-z/straw-viewer.profile | |||
@@ -1,7 +1,7 @@ | |||
1 | # Firejail profile for straw-viewer | 1 | # Firejail profile for straw-viewer |
2 | # Description: Fork of youtube-viewer acts like an invidious frontend | 2 | # Description: Fork of youtube-viewer acts like an invidious frontend |
3 | quiet | ||
4 | # This file is overwritten after every install/update | 3 | # This file is overwritten after every install/update |
4 | quiet | ||
5 | # Persistent local customizations | 5 | # Persistent local customizations |
6 | include straw-viewer.local | 6 | include straw-viewer.local |
7 | # Persistent global definitions | 7 | # Persistent global definitions |
@@ -10,55 +10,12 @@ include globals.local | |||
10 | noblacklist ${HOME}/.cache/straw-viewer | 10 | noblacklist ${HOME}/.cache/straw-viewer |
11 | noblacklist ${HOME}/.config/straw-viewer | 11 | noblacklist ${HOME}/.config/straw-viewer |
12 | 12 | ||
13 | # Allow lua (blacklisted by disable-interpreters.inc) | ||
14 | include allow-lua.inc | ||
15 | |||
16 | # Allow perl (blacklisted by disable-interpreters.inc) | ||
17 | include allow-perl.inc | ||
18 | |||
19 | # Allow python (blacklisted by disable-interpreters.inc) | ||
20 | include allow-python2.inc | ||
21 | include allow-python3.inc | ||
22 | |||
23 | include disable-common.inc | ||
24 | include disable-devel.inc | ||
25 | include disable-exec.inc | ||
26 | include disable-interpreters.inc | ||
27 | include disable-passwdmgr.inc | ||
28 | include disable-programs.inc | ||
29 | include disable-xdg.inc | ||
30 | |||
31 | mkdir ${HOME}/.config/straw-viewer | 13 | mkdir ${HOME}/.config/straw-viewer |
32 | mkdir ${HOME}/.cache/straw-viewer | 14 | mkdir ${HOME}/.cache/straw-viewer |
33 | whitelist ${HOME}/.cache/straw-viewer | 15 | whitelist ${HOME}/.cache/straw-viewer |
34 | whitelist ${HOME}/.config/straw-viewer | 16 | whitelist ${HOME}/.config/straw-viewer |
35 | whitelist ${DOWNLOADS} | ||
36 | include whitelist-common.inc | ||
37 | include whitelist-usr-share-common.inc | ||
38 | include whitelist-var-common.inc | ||
39 | |||
40 | apparmor | ||
41 | caps.drop all | ||
42 | netfilter | ||
43 | nodvd | ||
44 | nogroups | ||
45 | noinput | ||
46 | nonewprivs | ||
47 | noroot | ||
48 | notv | ||
49 | nou2f | ||
50 | novideo | ||
51 | protocol unix,inet,inet6 | ||
52 | seccomp | ||
53 | shell none | ||
54 | tracelog | ||
55 | 17 | ||
56 | disable-mnt | 18 | private-bin gtk-straw-viewer,straw-viewer |
57 | private-bin bash,ffmpeg,ffprobe,gtk-straw-viewer,mpv,perl,python*,sh,smplayer,straw-viewer,stty,vlc,wget,which,youtube-dl | ||
58 | private-cache | ||
59 | private-dev | ||
60 | 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 | ||
61 | private-tmp | ||
62 | 19 | ||
63 | dbus-user none | 20 | # Redirect |
64 | dbus-system none | 21 | include youtube-viewers-common.profile \ No newline at end of file |
diff --git a/etc/profile-m-z/youtube-viewer.profile b/etc/profile-m-z/youtube-viewer.profile index 7d6e9b0eb..b54dd37ad 100644 --- a/etc/profile-m-z/youtube-viewer.profile +++ b/etc/profile-m-z/youtube-viewer.profile | |||
@@ -10,51 +10,12 @@ include globals.local | |||
10 | noblacklist ${HOME}/.cache/youtube-viewer | 10 | noblacklist ${HOME}/.cache/youtube-viewer |
11 | noblacklist ${HOME}/.config/youtube-viewer | 11 | noblacklist ${HOME}/.config/youtube-viewer |
12 | 12 | ||
13 | # Allow perl (blacklisted by disable-interpreters.inc) | ||
14 | include allow-perl.inc | ||
15 | |||
16 | # Allow python (blacklisted by disable-interpreters.inc) | ||
17 | include allow-python2.inc | ||
18 | include allow-python3.inc | ||
19 | |||
20 | include disable-common.inc | ||
21 | include disable-devel.inc | ||
22 | include disable-exec.inc | ||
23 | include disable-interpreters.inc | ||
24 | include disable-passwdmgr.inc | ||
25 | include disable-programs.inc | ||
26 | include disable-xdg.inc | ||
27 | |||
28 | mkdir ${HOME}/.cache/youtube-viewer | 13 | mkdir ${HOME}/.cache/youtube-viewer |
29 | mkdir ${HOME}/.config/youtube-viewer | 14 | mkdir ${HOME}/.config/youtube-viewer |
30 | whitelist ${HOME}/.cache/youtube-viewer | 15 | whitelist ${HOME}/.cache/youtube-viewer |
31 | whitelist ${HOME}/.config/youtube-viewer | 16 | whitelist ${HOME}/.config/youtube-viewer |
32 | include whitelist-common.inc | ||
33 | include whitelist-usr-share-common.inc | ||
34 | include whitelist-var-common.inc | ||
35 | |||
36 | apparmor | ||
37 | caps.drop all | ||
38 | netfilter | ||
39 | nodvd | ||
40 | nogroups | ||
41 | noinput | ||
42 | nonewprivs | ||
43 | noroot | ||
44 | notv | ||
45 | nou2f | ||
46 | novideo | ||
47 | protocol unix,inet,inet6 | ||
48 | seccomp | ||
49 | shell none | ||
50 | tracelog | ||
51 | 17 | ||
52 | disable-mnt | 18 | private-bin gtk-youtube-viewer,gtk2-youtube-viewer,gtk3-youtube-viewer,youtube-viewer |
53 | private-bin ffmpeg,ffprobe,firefox,gtk-youtube-viewer,gtk2-youtube-viewer,gtk3-youtube-viewer,mpv,python*,sh,smplayer,stty,vlc,which,youtube-dl,youtube-viewer | ||
54 | private-cache | ||
55 | private-dev | ||
56 | 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 | ||
57 | private-tmp | ||
58 | 19 | ||
59 | dbus-user none | 20 | # Redirect |
60 | dbus-system none | 21 | include youtube-viewers-common.profile \ No newline at end of file |
diff --git a/etc/profile-m-z/youtube-viewers-common.profile b/etc/profile-m-z/youtube-viewers-common.profile new file mode 100644 index 000000000..25a073d4a --- /dev/null +++ b/etc/profile-m-z/youtube-viewers-common.profile | |||
@@ -0,0 +1,61 @@ | |||
1 | # Firejail profile for youtube-viewer clones | ||
2 | # Description: common profile for Trizen's Youtube viewers | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include youtube-viewers-common.local | ||
6 | # Persistent global definitions | ||
7 | # added by caller profile | ||
8 | #include globals.local | ||
9 | |||
10 | noblacklist ${HOME}/.cache/youtube-dl | ||
11 | |||
12 | # Allow lua (blacklisted by disable-interpreters.inc) | ||
13 | include allow-lua.inc | ||
14 | |||
15 | # Allow perl (blacklisted by disable-interpreters.inc) | ||
16 | include allow-perl.inc | ||
17 | |||
18 | # Allow python (blacklisted by disable-interpreters.inc) | ||
19 | include allow-python2.inc | ||
20 | include allow-python3.inc | ||
21 | |||
22 | include disable-common.inc | ||
23 | include disable-devel.inc | ||
24 | include disable-exec.inc | ||
25 | include disable-interpreters.inc | ||
26 | include disable-passwdmgr.inc | ||
27 | include disable-programs.inc | ||
28 | include disable-xdg.inc | ||
29 | |||
30 | whitelist ${DOWNLOADS} | ||
31 | whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs | ||
32 | include whitelist-common.inc | ||
33 | include whitelist-runuser-common.inc | ||
34 | include whitelist-usr-share-common.inc | ||
35 | include whitelist-var-common.inc | ||
36 | |||
37 | apparmor | ||
38 | caps.drop all | ||
39 | netfilter | ||
40 | nodvd | ||
41 | nogroups | ||
42 | noinput | ||
43 | nonewprivs | ||
44 | noroot | ||
45 | notv | ||
46 | nou2f | ||
47 | novideo | ||
48 | protocol unix,inet,inet6 | ||
49 | seccomp | ||
50 | shell none | ||
51 | tracelog | ||
52 | |||
53 | disable-mnt | ||
54 | private-bin bash,ffmpeg,ffprobe,firefox,mpv,perl,python*,sh,smplayer,stty,wget,which,xterm,youtube-dl | ||
55 | private-cache | ||
56 | private-dev | ||
57 | 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 | ||
58 | private-tmp | ||
59 | |||
60 | dbus-user none | ||
61 | dbus-system none | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index b9004dced..f0e3a887f 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -357,6 +357,7 @@ gradio | |||
357 | gramps | 357 | gramps |
358 | gravity-beams-and-evaporating-stars | 358 | gravity-beams-and-evaporating-stars |
359 | gthumb | 359 | gthumb |
360 | gtk-pipe-viewer | ||
360 | gtk-straw-viewer | 361 | gtk-straw-viewer |
361 | gtk-youtube-viewer | 362 | gtk-youtube-viewer |
362 | gtk2-youtube-viewer | 363 | gtk2-youtube-viewer |
@@ -627,6 +628,7 @@ pinball | |||
627 | pingus | 628 | pingus |
628 | pinta | 629 | pinta |
629 | pioneer | 630 | pioneer |
631 | pipe-viewer | ||
630 | pithos | 632 | pithos |
631 | pitivi | 633 | pitivi |
632 | pix | 634 | pix |