commit:     39fdaceded21ebd4c6665ec6147ab65f263ac564
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 15 22:56:14 2018 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 15 22:56:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39fdaced

x11-base/xorg-server: Install setuid without systemd

When using systemd, the Xserver does not need to run with root
privileges. Without systemd... I'm not sure.

Bug: https://bugs.gentoo.org/635102
Bug: https://bugs.gentoo.org/635582

 x11-base/xorg-server/xorg-server-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild 
b/x11-base/xorg-server/xorg-server-9999.ebuild
index 04dd3ce9336..7af80e32dab 100644
--- a/x11-base/xorg-server/xorg-server-9999.ebuild
+++ b/x11-base/xorg-server/xorg-server-9999.ebuild
@@ -161,8 +161,9 @@ src_configure() {
                $(use_with doc xmlto)
                $(use_with systemd systemd-daemon)
                $(use_enable systemd systemd-logind)
+               $(use_enable systemd suid-wrapper)
+               $(use_enable !systemd install-setuid)
                --enable-libdrm
-               --enable-suid-wrapper
                --sysconfdir="${EPREFIX}"/etc/X11
                --localstatedir="${EPREFIX}"/var
                --with-fontrootdir="${EPREFIX}"/usr/share/fonts

Reply via email to