commit:     83b281add451948e703d595d39995b4a5df8aff9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 28 07:51:52 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 28 07:55:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b281ad

sys-power/apcupsd: add missing selinux policy dep

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild | 5 +++--
 1 file 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"

Reply via email to