From 085abdcf423c107376e152cab2e8816142a0b5f4 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Sat, 16 Dec 2023 16:21:40 +0800 Subject: selinux-sandbox: upgrade 3.5 -> 3.6 Signed-off-by: Yi Zhao Signed-off-by: Joe MacDonald --- recipes-security/selinux/selinux-sandbox_3.5.bb | 31 ------------------------- recipes-security/selinux/selinux-sandbox_3.6.bb | 31 +++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 recipes-security/selinux/selinux-sandbox_3.5.bb create mode 100644 recipes-security/selinux/selinux-sandbox_3.6.bb diff --git a/recipes-security/selinux/selinux-sandbox_3.5.bb b/recipes-security/selinux/selinux-sandbox_3.5.bb deleted file mode 100644 index 2cb55d6..0000000 --- a/recipes-security/selinux/selinux-sandbox_3.5.bb +++ /dev/null @@ -1,31 +0,0 @@ -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}/LICENSE;md5=393a5ca445f6965873eca0259a17f833" - -require selinux_common.inc - -SRC_URI += "file://sandbox-de-bashify.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 \ -" diff --git a/recipes-security/selinux/selinux-sandbox_3.6.bb b/recipes-security/selinux/selinux-sandbox_3.6.bb new file mode 100644 index 0000000..2cb55d6 --- /dev/null +++ b/recipes-security/selinux/selinux-sandbox_3.6.bb @@ -0,0 +1,31 @@ +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}/LICENSE;md5=393a5ca445f6965873eca0259a17f833" + +require selinux_common.inc + +SRC_URI += "file://sandbox-de-bashify.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 \ +" -- cgit v1.2.3-54-g00ecf