From 3373301f78b1765e65c0c955fc7e8107cb0885aa Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Fri, 16 Sep 2022 11:00:11 -0400 Subject: devtools: introduce udica udica provides an (easier) way to generate selnux policies for containers. since we already have selinux has a dependency of meta-virt, we might as well make policy creation easier. See https://github.com/containers/udica, for details on how to use the tool. Signed-off-by: Bruce Ashfield --- recipes-devtools/python/python3-udica_git.bb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 recipes-devtools/python/python3-udica_git.bb (limited to 'recipes-devtools/python/python3-udica_git.bb') diff --git a/recipes-devtools/python/python3-udica_git.bb b/recipes-devtools/python/python3-udica_git.bb new file mode 100644 index 00000000..7f86374e --- /dev/null +++ b/recipes-devtools/python/python3-udica_git.bb @@ -0,0 +1,20 @@ +SUMMARY = "A tool for generating SELinux security policies for containers" +HOMEPAGE = "https://github.com/containers/udica" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" + +SRC_URI = "git://github.com/containers/udica;protocol=https;branch=main" + +SRCREV = "4a64ff7c1b8116a1894e72eee2a19706e970001f" +PV = "0.2.7+git${SRCPV}" + +S = "${WORKDIR}/git" + +SRC_URI[md5sum] = "9cc5156a2ff6458a8f52114b9bbc0d7e" +SRC_URI[sha256sum] = "3e8bc47534e0ca9331d72c32f2881bb13b93ded0bcdeab3c833fb7cf61c0a9a5" + +RDEPENDS:${PN} += " \ + selinux-python \ + " + +inherit setuptools3 -- cgit v1.2.3-54-g00ecf