package/webkitgtk: add option to enable sandboxing support
authorAdrian Perez de Castro <aperez@igalia.com>
Fri, 20 Sep 2019 15:31:06 +0000 (18:31 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Dec 2019 07:35:11 +0000 (08:35 +0100)
commit0720ddc20321e390ca7812603300e6763198f199
tree50ee2fa528af6dec93368e6a8c6e0d9a62ea5917
parent861b74b1c5b07361eb6cf0d9c1b42a0a38bfc25a
package/webkitgtk: add option to enable sandboxing support

Add an option to enable WebKit's sandbox, which uses kernel
namespaces to isolate the processes used for Web content rendering
(WebKitWebProcess) and network/disk access (WebKitNetworkProcess).

The reason to have an option is that it needs additional dependencies
(bubblewrap, xdg-dbus-proxy, libseccomp), and that some users may
choose to deploy alternative solutions (for example: putting all
of WebKit inside its own container, using systemd-nspawn or the
like).

Patch "0002-GTK-WPE-Do-not-run-the-Bubblewrap-executable-when-co.patch"
is imported from upstream, as it is needed to avoid trying to run
the "bwrap" command from the target during cross-compilation.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/webkitgtk/0002-GTK-WPE-Do-not-run-the-Bubblewrap-executable-when-co.patch [new file with mode: 0644]
package/webkitgtk/Config.in
package/webkitgtk/webkitgtk.mk