summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-12-02 11:14:51 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-12-02 11:19:53 -0800
commit07c3932854eace4d4970c3845c3213d075097868 (patch)
tree85337ff1a28e956fe0732f2b0528fd1c74e82376 /sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
parentdev-db/postgresql: add Python 3.8, 3.9 to 9999 (diff)
downloadgentoo-07c3932854eace4d4970c3845c3213d075097868.tar.gz
gentoo-07c3932854eace4d4970c3845c3213d075097868.tar.bz2
gentoo-07c3932854eace4d4970c3845c3213d075097868.zip
sys-apps/systemd-tmpfiles: add selinux useflag
Bug: https://bugs.gentoo.org/757810 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild')
-rw-r--r--sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
index 99967bb12780..2714d7621532 100644
--- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
+++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> systemd-${P
LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT public-domain"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
-IUSE="test"
+IUSE="selinux test"
RESTRICT="!test? ( test )"
DEPEND="
@@ -23,6 +23,7 @@ DEPEND="
>=sys-apps/util-linux-2.30:0=
>=sys-kernel/linux-headers-${MINKV}
sys-libs/libcap:0=
+ selinux? ( sys-libs/libselinux:0= )
"
RDEPEND="${DEPEND}
!sys-apps/opentmpfiles
@@ -117,7 +118,6 @@ src_configure() {
resolve
rfkill
seccomp
- selinux
smack
sysusers
timedated
@@ -147,6 +147,7 @@ src_configure() {
-Dstatic-libsystemd=true
-Dsysvinit-path=''
${systemd_disable_options[@]}
+ $(meson_use selinux)
)
meson_src_configure
}