[Bug 289174] The need to recognize NetBSD's downstream X.org customization and Xenocara

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 31 Aug 2025 11:58:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289174

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to pyrus from comment #0)
> Xenocara, which isn't considered a fork

Xenocara actually has more local changes than NetBSD, let alone FreeBSD.

  $ git clone -b xorg-server-21.1.18
https://gitlab.freedesktop.org/xorg/xserver.git xorg-server-21.1.18
  $ git clone https://github.com/openbsd/xenocara
  $ git clone https://github.com/netbsd/xsrc netbsd-xsrc

  $ diff -ur -I.git xorg-server-21.1.18 xenocara/xserver | diffstat -s
   294 files changed, 2217 insertions(+), 656 deletions(-)
  $ diff -ur -I.git xorg-server-21.1.18
netbsd-xsrc/external/mit/xorg-server/dist | diffstat -s
   213 files changed, 619 insertions(+), 147 deletions(-)
  $ diffstat -s /usr/ports/x11-servers/xorg-server/files/patch*
   12 files changed, 88 insertions(+), 19 deletions(-)

For example, Xenocara has --enable-privsep but it requires changes not just to
xserver but also to libdrm and xf86-* drivers. Upstream uses a priveleged
daemon (logind) to delegate permissions, so Devuan approach (bug 273161) is
likely more compatible with FreeBSD.

> Hyperbola Linux actually uses Xenocara for its implementation of X.org.

According to
https://git.hyperbola.info:50100/packages/extra.git/tree/xenocara-server/PKGBUILD
the source hasn't been updated since 2021-11-20 and doesn't pass
--enable-privsep.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.