diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild')
-rw-r--r-- | sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild index 99967bb12780..dae5539fd8c7 100644 --- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild +++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild @@ -14,8 +14,8 @@ 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" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~s390 sparc x86" +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 } @@ -198,7 +199,7 @@ add_service() { elog "Auto-adding '${initd}' service to your ${runlevel} runlevel" mkdir -p "${EROOT}/etc/runlevels/${runlevel}" - ln -snf "${EROOT}/etc/init.d/${initd}" "${EROOT}/etc/runlevels/${runlevel}/${initd}" + ln -snf "${EPREFIX}/etc/init.d/${initd}" "${EROOT}/etc/runlevels/${runlevel}/${initd}" } pkg_postinst() { |