summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sec-policy/selinux-crio/metadata.xml8
-rw-r--r--sec-policy/selinux-crio/selinux-crio-9999.ebuild22
2 files changed, 30 insertions, 0 deletions
diff --git a/sec-policy/selinux-crio/metadata.xml b/sec-policy/selinux-crio/metadata.xml
new file mode 100644
index 000000000000..781bc07e6d59
--- /dev/null
+++ b/sec-policy/selinux-crio/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>selinux@gentoo.org</email>
+ <name>SELinux Team</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sec-policy/selinux-crio/selinux-crio-9999.ebuild b/sec-policy/selinux-crio/selinux-crio-9999.ebuild
new file mode 100644
index 000000000000..454287bb1fcc
--- /dev/null
+++ b/sec-policy/selinux-crio/selinux-crio-9999.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+IUSE=""
+MODS="crio"
+
+inherit selinux-policy-2
+
+DESCRIPTION="SELinux policy for cri-o"
+
+if [[ ${PV} != 9999* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+fi
+
+DEPEND="${DEPEND}
+ sec-policy/selinux-kubernetes
+"
+RDEPEND="${RDEPEND}
+ sec-policy/selinux-kubernetes
+"