summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-11-15 08:14:46 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2017-11-15 08:14:46 -0500
commitd0ae074854181d2900b2e8fc6fe5e963c0763a38 (patch)
treee6e2a04502284942e425acf1e99d3d7e370928da
parenttesting (diff)
downloadfirejail-d0ae074854181d2900b2e8fc6fe5e963c0763a38.tar.gz
firejail-d0ae074854181d2900b2e8fc6fe5e963c0763a38.tar.zst
firejail-d0ae074854181d2900b2e8fc6fe5e963c0763a38.zip
makepkg profile for Arch platform, #1642
-rw-r--r--README.md2
-rw-r--r--RELNOTES2
-rw-r--r--etc/makepkg.profile58
3 files changed, 60 insertions, 2 deletions
diff --git a/README.md b/README.md
index a6140fbbd..fc809a7c2 100644
--- a/README.md
+++ b/README.md
@@ -236,7 +236,7 @@ imagej, karbon, kdenlive, krita, linphone, lmms, macrofusion, mpd, natron, Natro
236ricochet, shotcut, teamspeak3, tor, tor-browser-en, Viber, x-terminal-emulator, zart, 236ricochet, shotcut, teamspeak3, tor, tor-browser-en, Viber, x-terminal-emulator, zart,
237conky, arch-audit, ffmpeg, bluefish, cliqz, cinelerra, openshot-qt, pinta, uefitool, 237conky, arch-audit, ffmpeg, bluefish, cliqz, cinelerra, openshot-qt, pinta, uefitool,
238aosp, pdfmod, gnome-ring, signal-desktop, xcalc, zaproxy, kopete, kget, nheko, Enpass, 238aosp, pdfmod, gnome-ring, signal-desktop, xcalc, zaproxy, kopete, kget, nheko, Enpass,
239kwin_x11, krunner, ping, bsdtar 239kwin_x11, krunner, ping, bsdtar, makepkg (Arch),
240 240
241Upstreamed many profiles from the following sources: https://github.com/chiraag-nataraj/firejail-profiles, 241Upstreamed many profiles from the following sources: https://github.com/chiraag-nataraj/firejail-profiles,
242https://github.com/nyancat18/fe, and https://aur.archlinux.org/packages/firejail-profiles. 242https://github.com/nyancat18/fe, and https://aur.archlinux.org/packages/firejail-profiles.
diff --git a/RELNOTES b/RELNOTES
index ab6b5733e..8010c0bfc 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -41,7 +41,7 @@ firejail (0.9.51) baseline; urgency=low
41 Viber, x-terminal-emulator, zart, conky, arch-audit, ffmpeg, bluefish, 41 Viber, x-terminal-emulator, zart, conky, arch-audit, ffmpeg, bluefish,
42 cinelerra, openshot-qt, pinta, uefitool, aosp, pdfmod, gnome-ring, 42 cinelerra, openshot-qt, pinta, uefitool, aosp, pdfmod, gnome-ring,
43 xcalc, zaproxy, kopete, cliqz, signal-desktop, kget, nheko, Enpass, 43 xcalc, zaproxy, kopete, cliqz, signal-desktop, kget, nheko, Enpass,
44 kwin_x11, krunner, ping, bsdtar 44 kwin_x11, krunner, ping, bsdtar, makepkg (Arch)
45 45
46 -- netblue30 <netblue30@yahoo.com> Thu, 9 Nov 2017 08:00:00 -0500 46 -- netblue30 <netblue30@yahoo.com> Thu, 9 Nov 2017 08:00:00 -0500
47 47
diff --git a/etc/makepkg.profile b/etc/makepkg.profile
new file mode 100644
index 000000000..96846592d
--- /dev/null
+++ b/etc/makepkg.profile
@@ -0,0 +1,58 @@
1# Firejail profile for makepkg
2# This file is overwritten after every install/update
3
4# Note: see this Arch forum discussion https://bbs.archlinux.org/viewtopic.php?pid=1743138
5# for potential issues and their solutions when Firejailing makepkg
6
7# This profile could be significantly strengthened by adding the following to makepkg.local
8# whitelist ~/<Your Build Folder>
9# whitelist ~/.gnupg
10
11quiet
12# Persistent local customizations
13include /etc/firejail/makepkg.local
14# Persistent global definitions
15include /etc/firejail/globals.local
16
17
18# Enable severely restricted access to ${HOME}/.gnupg
19noblacklist ~/.gnupg
20read-only ~/.gnupg/gpg.conf
21read-only ~/.gnupg/trustdb.gpg
22read-only ~/.gnupg/pubring.kbx
23blacklist ~/.gnupg/random_seed
24blacklist ~/.gnupg/pubring.kbx~
25blacklist ~/.gnupg/private-keys-v1.d
26blacklist ~/.gnupg/crls.d
27blacklist ~/.gnupg/openpgp-revocs.d
28
29
30# Need to be able to read /var/lib/pacman, {Note no capabilities so automatically read-only}
31noblacklist /var/lib/pacman
32
33include /etc/firejail/disable-common.inc
34include /etc/firejail/disable-passwdmgr.inc
35include /etc/firejail/disable-programs.inc
36
37caps.drop all
38ipc-namespace
39netfilter
40no3d
41nodvd
42nogroups
43nonewprivs
44# noroot is only disabled to allow the creation of kernel headers from an official pckgbuild.
45#noroot
46nosound
47notv
48novideo
49protocol unix,inet,inet6
50seccomp
51shell none
52
53disable-mnt
54private-tmp
55
56memory-deny-write-execute
57noexec ${HOME}
58noexec /tmp