seatd is a seat management daemon, that does everything it needs to
do. Nothing more, nothing less. Depends only on libc.
libseat is a seat management library allowing applications to use
whatever seat management is available.
Supports:
- seatd
- (e)logind
- embedded seatd for standalone operation
Each backend can be compile-time included and is runtime auto-detected
or manually selected with the `LIBSEAT_BACKEND` environment variable.
Which backend is in use is transparent to the application, providing a
simple common interface.
===> The following configuration options are available for seatd-0.9.3_1:
BASU=on: ConsoleKit2 support via basu (experimental)
MANPAGES=on: Build and/or install manual pages
===> Use 'make config' to modify these settings
sysutils/seatd: reduce syslog(3) spam after bc9ab6b61ec4
seatd on FreeBSD is usually started by rc.d via deamon(8) with console
output redirected to /var/log/messages. In 0.7.0 upstream raised verbosity
for seatd despite changing seatd-launch to explicitly pass "-l info".
As there was no explanation (in upstream commit) simply revert the change.
Requested by: ziaee
sysutils/seatd: unbreak with --auto-features=enabled
meson.build:143:2: ERROR: Assert failed: -Dlibseat-logind must be set to systemd
or elogind since auto_features != auto
PR: 270361
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/seatd: document common usage
In wlroots affects WLR_BACKENDS=drm,libinput (default on console).
Weston also supports libseat but hasn't been tested.
PR: 258664
Submitted by: Evgeniy Khramtsov <evgeniy@khramtsov.org> (based on)
sysutils/seatd: drop SUID option after b8a20cd29e54
It's not possible to restrict setuid bit to "video" group without also
breaking compositor nesting (e.g., hikari on sway). So, leave setuid
handling to a dedicated executable. seatd-launch works similar to
ck-launch-session by starting the daemon on demand.
x11-toolkits/wlroots: move CONSOLEKIT as BASU to sysutils/seatd
- wlroots >= 0.14 is libseat-only per
https://github.com/swaywm/wlroots/commit/7f0908546149
- WLR_SESSION currently defaults to libseat even if CONSOLEKIT is enabled
- mutter and plasma5-kwin if ever ported to libseat may want to use ConsoleKit2
- Enable BASU by default as the dependency is already pulled by sway and mako
Unbreak fetch from git.sr.ht
GZIP compression ratio and Git footer have changed e.g.,
method crc date time compressed uncompressed ratio uncompressed_name
-defla 944caee6 Dec 7 21:15 12482 71680 82.5% scdoc-1.11.1.tar
+defla 944caee6 Feb 17 23:20 12510 71680 82.5% scdoc-1.11.1.tar
---
-2.26.2
+2.30.0
x11-toolkits/wlroots: enable LIBSEAT by default
When seatd is running don't use setuid bit. Otherwise, use wlroots
direct session like before to keep POLA. For example,
$ sway
[ERROR] [libseat] [libseat/libseat.c:73] libseat_open_seat: No backend was
able to open a seat
[ERROR] [backend/session/libseat.c:102] Unable to create seat: Function not
implemented
<direct session started>
$ ps -lp $(pgrep -x sway)
UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
1234 63621 63611 0 20 0 279152 107156 select S v0 0:01.11 sway
0 63623 63621 6 52 0 32124 18396 sbwait I v0 0:00.00 sway
vs.
$ service seatd onestart
$ sway
<libseat session started>
$ ps -lp $(pgrep -x sway)
UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
1234 46290 46280 4 20 0 332924 105248 select S v0 0:05.47 sway
sysutils/seatd: fix build on GCC architectures
Disable -Werror:
../seatd/client.c: In function 'get_peer':
../seatd/client.c:49:51: error: operand of ?: changes signedness from 'int' to
'gid_t' {aka 'unsigned int'} due to unsignedness of other operand
[-Werror=sign-compare]
49 | *gid = cred.cr_ngroups > 0 ? cred.cr_groups[0] : -1;
| ^~
../seatd/client.c: At top level:
cc1: error: unrecognized command line option '-Wno-unused-command-line-argument'
[-Werror]
cc1: error: unrecognized command line option '-Wno-unknown-warning-option'
[-Werror]
cc1: all warnings being treated as errors
sysutils/seatd: add new port
seatd is a seat management deamon, that does everything it needs to
do. Nothing more, nothing less. Depends only on libc.
libseat is a seat management library allowing applications to use
whatever seat management is available.
Supports:
- seatd
- (e)logind
- embedded seatd for standalone operation
Each backend can be compile-time included and is runtime auto-detected
or manually selected with the `LIBSEAT_BACKEND` environment variable.
Which backend is in use is transparent to the application, providing a
simple common interface.
WWW: https://git.sr.ht/~kennylevinsen/seatd