sys-apps/haveged: add selinux policy per withdrawn GitHub PR#4597.
authorRobin H. Johnson <robbat2@gentoo.org>
Thu, 11 May 2017 03:18:22 +0000 (20:18 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Thu, 11 May 2017 03:19:04 +0000 (20:19 -0700)
Package-Manager: portage-2.3.3
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
sys-apps/haveged/haveged-1.9.1.ebuild

index 58ea8ddcac9471c17223e2e5a66559e3eeb1f3f9..752b7a21e6b62d36aeac5e605b7de2fc526170f2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,10 +12,11 @@ SRC_URI="http://www.issihosts.com/haveged/${P}.tar.gz"
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="amd64 arm x86"
-IUSE=""
+IUSE="selinux"
 
 DEPEND=""
-RDEPEND="!<sys-apps/openrc-0.11.8"
+RDEPEND="!<sys-apps/openrc-0.11.8
+                selinux? ( sec-policy/selinux-entropyd )"
 
 # threads are broken right now, but eventually
 # we should add $(use_enable threads)