firejail/etc/profile-a-l/devhelp.profile
Kelvin M. Klann c222b7f692
build: sort.py: fix whitespace in entire profile (#6593)
Changes:

* Strip whitespace at the beginning
* Strip whitespace at the end
* Ensure exactly one newline at the end
* Strip extraneous newlines

Also, for clarity print the git diff in the sort.py ci job, since the
specific lines changed are not printed by the sort.py script in this
case (as whitespace is fixed in the entire profile at once).

Command used to search and replace:

    ./contrib/sort.py etc/inc/*.inc etc/profile*/*.profile

This is a follow-up to #6556.

Update contrib/sort.py
2024-12-28 16:00:14 +00:00

52 lines
1,013 B
Text

# Firejail profile for devhelp
# Description: API documentation browser for GNOME
# This file is overwritten after every install/update
# Persistent local customizations
include devhelp.local
# Persistent global definitions
include globals.local
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc
whitelist /usr/share/devhelp
whitelist /usr/share/doc
whitelist /usr/share/gtk-doc/html
include whitelist-common.inc
include whitelist-usr-share-common.inc
apparmor
caps.drop all
#net none # makes settings immutable
nodvd
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix
seccomp
tracelog
disable-mnt
private-bin devhelp
private-cache
private-dev
private-etc @tls-ca,@x11
private-tmp
# makes settings immutable
#dbus-user none
#dbus-system none
#memory-deny-write-execute # breaks on Arch (see issue #1803)
read-only ${HOME}
restrict-namespaces