summaryrefslogtreecommitdiff
path: root/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-28 13:37:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-28 13:37:56 +0100
commit1919539ec916b166ea3a7b6c5778c40d5bccad70 (patch)
tree8d03694e000aa8e1d2f84456dadbad899b3dbbd6 /sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
parent1a39e197a344b8ec7e3ed6c173bdf2a1ccba5b6b (diff)
gentoo auto-resync : 28:06:2023 - 13:37:56
Diffstat (limited to 'sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild')
-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"