summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/selinux-sandbox_3.4.bb
blob: a5a8e13d916206af9ecc58a6123f3a13e1358e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUMMARY = "Run cmd under an SELinux sandbox"
DESCRIPTION = "\
Run application within a tightly confined SELinux domain. The default \
sandbox domain only allows applications the ability to read and write \
stdin, stdout and any other file descriptors handed to it."
SECTION = "base"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833"

require selinux_common.inc

SRC_URI += "file://sandbox-de-bashify.patch \
            file://0001-gettext-handle-unsupported-languages-properly.patch \
           "

S = "${WORKDIR}/git/sandbox"

DEPENDS = "libselinux libcap-ng gettext-native"

RDEPENDS:${PN} = "\
        python3-core \
        python3-math \
        python3-shell \
        python3-unixadmin \
        libselinux-python \
        selinux-python \
"

FILES:${PN} += "\
        ${datadir}/sandbox/sandboxX.sh \
        ${datadir}/sandbox/start \
"