summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-28 08:51:52 +0100
committerSam James <sam@gentoo.org>2023-06-28 08:55:02 +0100
commit83b281add451948e703d595d39995b4a5df8aff9 (patch)
treea2e4d491a468ddca5d26f514272328523e3de127 /sys-power/apcupsd
parentsys-cluster/corosync: add missing selinux policy dep (diff)
downloadgentoo-83b281add451948e703d595d39995b4a5df8aff9.tar.gz
gentoo-83b281add451948e703d595d39995b4a5df8aff9.tar.bz2
gentoo-83b281add451948e703d595d39995b4a5df8aff9.zip
sys-power/apcupsd: add missing selinux policy dep
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-power/apcupsd')
-rw-r--r--sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild b/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
index a80e424729c5..a21985d7506a 100644
--- a/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
+++ b/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/apcupsd/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ppc ~riscv x86"
-IUSE="snmp +usb +modbus cgi"
+IUSE="selinux snmp +usb +modbus cgi"
DEPEND=">=sys-apps/util-linux-2.23[tty-helpers(-)]
cgi? ( >=media-libs/gd-1.8.4 )
@@ -20,7 +20,8 @@ DEPEND=">=sys-apps/util-linux-2.23[tty-helpers(-)]
snmp? ( >=net-analyzer/net-snmp-5.7.2 )"
RDEPEND="${DEPEND}
- virtual/mailx"
+ virtual/mailx
+ selinux? ( sec-policy/selinux-apcupsd )"
CONFIG_CHECK="~USB_HIDDEV ~HIDRAW"
ERROR_USB_HIDDEV="CONFIG_USB_HIDDEV: needed to access USB-attached UPSes"