diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-16 11:00:11 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-16 11:00:11 -0400 |
commit | 3373301f78b1765e65c0c955fc7e8107cb0885aa (patch) | |
tree | b9b7fe067169792d21373e390afc26874c72db27 | |
parent | d9af46db9aa9060c1ec10118b2cccabfc8264904 (diff) | |
download | meta-virtualization-3373301f78b1765e65c0c955fc7e8107cb0885aa.tar.gz |
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 <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-devtools/python/python3-udica_git.bb | 20 |
1 files changed, 20 insertions, 0 deletions
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 @@ | |||
1 | SUMMARY = "A tool for generating SELinux security policies for containers" | ||
2 | HOMEPAGE = "https://github.com/containers/udica" | ||
3 | LICENSE = "GPL-3.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" | ||
5 | |||
6 | SRC_URI = "git://github.com/containers/udica;protocol=https;branch=main" | ||
7 | |||
8 | SRCREV = "4a64ff7c1b8116a1894e72eee2a19706e970001f" | ||
9 | PV = "0.2.7+git${SRCPV}" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | SRC_URI[md5sum] = "9cc5156a2ff6458a8f52114b9bbc0d7e" | ||
14 | SRC_URI[sha256sum] = "3e8bc47534e0ca9331d72c32f2881bb13b93ded0bcdeab3c833fb7cf61c0a9a5" | ||
15 | |||
16 | RDEPENDS:${PN} += " \ | ||
17 | selinux-python \ | ||
18 | " | ||
19 | |||
20 | inherit setuptools3 | ||