summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-06-25 11:33:02 -0500
committerWilliam Hubbs <williamh@gentoo.org>2024-06-25 11:39:00 -0500
commitb094f09255786e53848867842701cbd13ccd4287 (patch)
tree7ae9790fe151ff1bba1e45b98e0c80ae6a57c2bf /sys-apps
parentapp-shells/gentoo-bashcomp: add 20240625 (diff)
downloadgentoo-b094f09255786e53848867842701cbd13ccd4287.tar.gz
gentoo-b094f09255786e53848867842701cbd13ccd4287.tar.bz2
gentoo-b094f09255786e53848867842701cbd13ccd4287.zip
sys-apps/openrc: add caps use flag
Use the caps use flag to control the capabilities feature. Closes: https://bugs.gentoo.org/932090 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/openrc/openrc-0.54.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-apps/openrc/openrc-0.54.ebuild b/sys-apps/openrc/openrc-0.54.ebuild
index ed8424d562b7..e40c480c62b5 100644
--- a/sys-apps/openrc/openrc-0.54.ebuild
+++ b/sys-apps/openrc/openrc-0.54.ebuild
@@ -18,11 +18,12 @@ fi
LICENSE="BSD-2"
SLOT="0"
-IUSE="audit bash debug pam newnet +netifrc selinux s6 +sysvinit sysv-utils unicode"
+IUSE="audit bash caps debug pam newnet +netifrc selinux s6 +sysvinit sysv-utils unicode"
COMMON_DEPEND="
pam? ( sys-libs/pam )
audit? ( sys-process/audit )
+ caps? ( sys-libs/libcap )
sys-process/psmisc
selinux? (
sys-apps/policycoreutils
@@ -53,6 +54,7 @@ src_configure() {
local emesonargs=(
$(meson_feature audit)
"-Dbranding=\"Gentoo Linux\""
+ $(meson_features caps capabilities)
$(meson_use newnet)
-Dos=Linux
$(meson_use pam)