summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sec-policy/selinux-entropyd')
-rw-r--r--sec-policy/selinux-entropyd/ChangeLog10
-rw-r--r--sec-policy/selinux-entropyd/metadata.xml6
-rw-r--r--sec-policy/selinux-entropyd/selinux-entropyd-2.20110726.ebuild33
3 files changed, 49 insertions, 0 deletions
diff --git a/sec-policy/selinux-entropyd/ChangeLog b/sec-policy/selinux-entropyd/ChangeLog
new file mode 100644
index 000000000000..ab6269047374
--- /dev/null
+++ b/sec-policy/selinux-entropyd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sec-policy/selinux-entropyd
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-entropyd/ChangeLog,v 1.1 2011/08/28 21:12:38 swift Exp $
+
+*selinux-entropyd-2.20110726 (28 Aug 2011)
+
+ 28 Aug 2011; <swift@gentoo.org> +selinux-entropyd-2.20110726.ebuild,
+ +metadata.xml:
+ New policy based on refpolicy 20110726 sources
+
diff --git a/sec-policy/selinux-entropyd/metadata.xml b/sec-policy/selinux-entropyd/metadata.xml
new file mode 100644
index 000000000000..459d58f79ac9
--- /dev/null
+++ b/sec-policy/selinux-entropyd/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>selinux</herd>
+ <longdescription>Gentoo SELinux policy for various entropy daemons</longdescription>
+</pkgmetadata>
diff --git a/sec-policy/selinux-entropyd/selinux-entropyd-2.20110726.ebuild b/sec-policy/selinux-entropyd/selinux-entropyd-2.20110726.ebuild
new file mode 100644
index 000000000000..779448dc3a12
--- /dev/null
+++ b/sec-policy/selinux-entropyd/selinux-entropyd-2.20110726.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-entropyd/selinux-entropyd-2.20110726.ebuild,v 1.1 2011/08/28 21:12:38 swift Exp $
+EAPI="4"
+
+IUSE=""
+MODS="entropyd"
+
+inherit selinux-policy-2
+
+DESCRIPTION="SELinux policy for various entropy daemons (audio-entropyd, haveged, ...)"
+
+KEYWORDS="~amd64 ~x86"
+RDEPEND="!<sec-policy/selinux-audio-entropyd-2.20110726
+ >=sys-apps/policycoreutils-1.30.30
+ >=sec-policy/selinux-base-policy-${PV}"
+
+pkg_postinst() {
+ einfo "The SELinux entropyd module is the replacement of audioentropyd and"
+ einfo "is made more generic for all-purpose entropy daemons, including"
+ einfo "audioentropyd and haveged."
+ einfo
+ einfo "If you are upgrading from an audioentropyd module, the installation"
+ einfo "of the new policy module might fail due to collisions. You will need"
+ einfo "to remove the current audioentropyd module first:"
+ einfo " # semodule -r audioentropy"
+ einfo
+ einfo "Then, you can install the new policy:"
+ einfo " # semodule -i /usr/share/selinux/<type>/entropyd.pp"
+ echo
+ einfo "Portage will automatically try to load the entropyd module now."
+ selinux-policy-2_pkg_postinst
+}