0524f90a2f
Firejail Security Sandbox https://firejail.wordpress.com/ Lightweight application sandboxing system using seccomp and kernel namespaces. Signed-off-by: Chris Frederick <cdf123@cdf123.net> [Thomas: - Fix DEVELOPERS entry: use <> around the e-mail address instead of () - firejail builds fine with musl, so only exclude uclibc, which fails to build with EM_ARM undeclared - Update to upstream version 0.9.44.8. - Remove FIREJAIL_MAKE_OPTS, as suggested by Romain Naour. - Pass --enable-busybox-workaround only if Busybox is enabled, as suggested by Romain Naour.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
29 lines
694 B
Makefile
29 lines
694 B
Makefile
################################################################################
|
|
#
|
|
# firejail
|
|
#
|
|
################################################################################
|
|
|
|
FIREJAIL_VERSION = 0.9.44.8
|
|
FIREJAIL_SITE = http://download.sourceforge.net/firejail
|
|
FIREJAIL_SOURCE = firejail-$(FIREJAIL_VERSION).tar.xz
|
|
FIREJAIL_LICENSE = GPLv2+
|
|
FIREJAIL_LICENSE_FILES = COPYING
|
|
|
|
FIREJAIL_CONF_OPTS = \
|
|
--enable-bind \
|
|
--enable-file-transfer \
|
|
--enable-network \
|
|
--enable-seccomp \
|
|
--enable-userns
|
|
|
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|
FIREJAIL_CONF_OPTS += --enable-busybox-workaround
|
|
endif
|
|
|
|
define FIREJAIL_PERMISSIONS
|
|
/usr/bin/firejail f 4755 0 0 - - - - -
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|