191.24. xhost-1.0.10
X server access control tool — admits a local account such as root to Xwayland
1.0.10-1 · MIT AND MIT-open-group · 0.1 SBU · 31.4 KiB, 3 files · 42_graphics, 186 of 189 · ports/core/x11/xhost
Homepage: https://gitlab.freedesktop.org/xorg/app/xhost
Why it is in KDOS. The comment above it in script/phases/42_graphics/packages.d/x11.txt:
The access-control tool GParted's launcher runs to admit root to Xwayland.
xhost edits an X server’s access list. Xwayland admits only the account that started it, so a program that runs as root on the session’s display must be added to that list first; GParted’s launcher runs xhost +SI:localuser:root before pkexec and removes the entry when GParted exits.
Depends on: pkgconf, libX11, libXau, libXmu, xorgproto.
Required by (1): gparted.
Sources: xhost-1.0.10.tar.xz (133.9 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install xhost'
build.sh:
./configure --prefix=/usr \
--enable-unix-transport \
--enable-tcp-transport \
--enable-ipv6 \
--enable-local-transport \
--disable-secure-rpc \
--with-localedir=no
make
make DESTDIR=$PKG install
--disable-secure-rpc— No SUN-DES-1 entries. They need Secure RPC from libtirpc, and nothing on this system authenticates that way.--with-localedir=no— Compile the gettext calls out. xhost ships no translations, and alibintl.hfrom GNU gettext ahead of musl’s would turn them intolibintl_gettextreferences that configure’s link test, run against musl, never saw.
Programs: xhost.
Directories: /usr/share/licenses/xhost.