Commit d7a1300f authored by Daniel Santana's avatar Daniel Santana Committed by Milan P. Stanić

community/xorg-server: allow rootless X server

This patch removes the suid flag from /usr/bin/Xorg to allow running it
in rootless mode.

It also fixes a wrong SYSCONFDIR pointing to /etc/X11 instead of /etc,
making X server programs look at /etc/X11/X11 for most configuration
files.
parent b1270ad0
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xorg-server
pkgver=1.20.10
pkgrel=0
pkgrel=1
pkgdesc="X.Org X servers"
url="https://www.x.org/wiki"
arch="all"
......@@ -100,7 +100,6 @@ build() {
_fontroot="/usr/share/fonts"
abuild-meson \
--sysconfdir=/etc/X11 \
-Dxorg=true \
-Dxephyr=true \
-Dxwayland=true \
......@@ -123,7 +122,6 @@ build() {
-Dlisten_tcp=false \
-Dlisten_unix=true \
-Dlisten_local=true \
-Dsuid_wrapper=true \
-Dpciaccess=true \
-Dudev=true \
-Dhal=false \
......@@ -143,7 +141,6 @@ check() {
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
chmod u+s "$pkgdir"/usr/bin/Xorg
ln -s /usr/bin/Xorg "$pkgdir"/usr/bin/X
# Don't conflict with xf86-input-evdev
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment