x11-base/xorg-server: Install setuid without systemd
authorMatt Turner <mattst88@gentoo.org>
Sun, 15 Apr 2018 22:56:14 +0000 (15:56 -0700)
committerMatt Turner <mattst88@gentoo.org>
Sun, 15 Apr 2018 22:56:14 +0000 (15:56 -0700)
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

index 04dd3ce933619a4d7e885e72dccb9ea455e8a755..7af80e32dab9c411d15eedd8fc5a0898793bfa69 100644 (file)
@@ -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