notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
seatd Minimal seat management daemon and universal library
0.6.2 sysutils on this many watch lists=0 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.5.0_2Version of this port present on the latest quarterly branch.
Maintainer: jbeich@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-08-09 09:35:27
Last Update: 2021-09-16 00:48:49
Commit Hash: 49cf340
License: MIT
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (12 items)
Collapse this list.
  1. bin/seatd
  2. @(,video,4750) bin/seatd-launch
  3. include/libseat.h
  4. lib/libseat.so
  5. lib/libseat.so.1
  6. libdata/pkgconfig/libseat.pc
  7. man/man1/seatd.1.gz
  8. man/man1/seatd-launch.1.gz
  9. @ldconfig
  10. /usr/local/share/licenses/seatd-0.6.2/catalog.mk
  11. /usr/local/share/licenses/seatd-0.6.2/LICENSE
  12. /usr/local/share/licenses/seatd-0.6.2/MIT
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • seatd>0:sysutils/seatd
  • For LIB depends:
    • libseat.so:sysutils/seatd
To install the port: cd /usr/ports/sysutils/seatd/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/seatd
  • pkg install seatd
PKGNAME: seatd
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
seatd
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd640.6.20.5.0_2
FreeBSD:11:armv6--
FreeBSD:11:i3860.6.20.5.0_2
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-0.5.0_2
FreeBSD:12:amd640.6.0_20.5.0_2
FreeBSD:12:armv6-0.4.0
FreeBSD:12:armv7-0.4.0
FreeBSD:12:i3860.6.20.5.0_2
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.5.0
FreeBSD:13:aarch640.4.0_10.5.0_2
FreeBSD:13:amd640.6.20.5.0_2
FreeBSD:13:armv60.4.0_10.5.0
FreeBSD:13:armv70.4.0_10.5.0
FreeBSD:13:i3860.6.20.5.0_2
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc640.4.0_10.5.0_2
FreeBSD:14:aarch640.5.0_2-
FreeBSD:14:amd640.6.2-
FreeBSD:14:armv60.5.0-
FreeBSD:14:armv70.5.0-
FreeBSD:14:i3860.6.2-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc640.5.0-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. scdoc : textproc/scdoc
  2. meson>=0.57.1_1 : devel/meson
  3. ninja : devel/ninja
  4. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libbasu.so : devel/basu
This port is required by:
for Libraries
  1. x11-toolkits/wlroots
  2. x11-wm/gamescope
  3. x11-wm/phoc

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://git.sr.ht/~kennylevinsen/seatd/archive/0.6.2.tar.gz?dummy=/
Collapse this list.

Number of commits found: 25

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
16 Sep 2021 00:48:49
 files touched by this commit commit hash:49cf340a36a1deb47e947762718719a9fc4ef26a  0.6.2
jbeich search for other commits by this committer
sysutils/seatd: update to 0.6.2

Changes:	https://git.sr.ht/~kennylevinsen/seatd/refs/0.6.2
Reported by:	upstream (seatd-announce)
14 Sep 2021 11:30:09
 files touched by this commit commit hash:02864cc70cf0519f61e108ec5f3138ad8b273912  0.6.1 This port version is marked as vulnerable.
jbeich search for other commits by this committer
sysutils/seatd: update to 0.6.1

Changes:	https://git.sr.ht/~kennylevinsen/seatd/refs/0.6.1
Reported by:	upstream (seatd-announce)
12 Sep 2021 10:43:25
 files touched by this commit commit hash:341770e8679d5aafe195f4f16d190593e320112e  0.6.0_2 This port version is marked as vulnerable.
jbeich search for other commits by this committer
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.
12 Sep 2021 10:43:25
 files touched by this commit commit hash:8032eeb77053595fb7184c57ab91305cc826ec69  0.6.0_1 This port version is marked as vulnerable.
jbeich search for other commits by this committer
sysutils/seatd: backport some bugfixes for seatd-launch
11 Sep 2021 15:42:37
 files touched by this commit commit hash:b8a20cd29e5468c4bede4a27da9759b53c666435  0.6.0 This port version is marked as vulnerable.
jbeich search for other commits by this committer
sysutils/seatd: update to 0.6.0

Changes:	https://git.sr.ht/~kennylevinsen/seatd/log/0.6.0
Reported by:	upstream (seatd-announce)
05 Aug 2021 20:47:13
 files touched by this commit commit hash:a40048b28e2154fbe401056ebd84464a85eb17b5  0.5.0_2
jbeich search for other commits by this committer
*: unbreak fetch from git.sr.ht due to footer change

-2.32.0
+2.30.2

Reported by:	Alain De Vos (via FreeBSD Forums)
18 Apr 2021 23:34:26
 files touched by this commit commit hash:af2f34c777eef8696f0358c743247e5480633261  0.5.0_2
jbeich search for other commits by this committer
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
18 Apr 2021 23:34:26
 files touched by this commit commit hash:c4ec298dd77721c241a7cbf01329e327596aecbd  0.5.0
jbeich search for other commits by this committer
sysutils/seatd: alphabetically order SUID definition
18 Apr 2021 23:34:26
 files touched by this commit commit hash:8c80131aaf28ad546553c8d9e99ab4244fcb0a77  0.5.0_1
jbeich search for other commits by this committer
x11-toolkits/wlroots: disable direct session by default

- Removed upstream in https://github.com/swaywm/wlroots/commit/d037c2dddc0f
- Lacks XDG_SESSION_TYPE unlike
https://github.com/swaywm/wlroots/commit/90c845295947
- SUID in consumers is now handled by `builtin` backend in libseat
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  0.5.0
mat search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:13
 files touched by this commit commit hash:135fdeebb99c3569e42d8162b265e15d29bd937d  0.5.0
mat search for other commits by this committer
all: Remove all other $FreeBSD keywords.
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.5.0
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
25 Mar 2021 16:59:17
Original commit files touched by this commit Revision:569215  0.5.0
jbeich search for other commits by this committer
sysutils/seatd: enable cr_pid on FreeBSD >= 12.3

https://cgit.freebsd.org/src/commit/?id=925f44f33862908f9a2e72520a17af148c7d0db5
https://cgit.freebsd.org/src/commit/?id=2b61bda2c75f30f6eadd18fb891fd885e4c8d19d
18 Mar 2021 10:00:20
Original commit files touched by this commit Revision:568733  0.5.0
jbeich search for other commits by this committer
sysutils/seatd: update description

https://git.sr.ht/~kennylevinsen/seatd/commit/4e65e1bf4714
15 Mar 2021 20:26:07
Original commit files touched by this commit Revision:568506  0.5.0
jbeich search for other commits by this committer
sysutils/seatd: update to 0.5.0

Changes:	https://git.sr.ht/~kennylevinsen/seatd/log/0.5.0
Reported by:	upstream (seatd-announce)
17 Feb 2021 23:39:05
Original commit files touched by this commit Revision:565827  0.4.0_1
jbeich search for other commits by this committer
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
28 Oct 2020 14:41:59
Original commit files touched by this commit Revision:553548  0.4.0_1
jbeich search for other commits by this committer
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
19 Oct 2020 22:20:33
Original commit files touched by this commit Revision:552774  0.4.0
jbeich search for other commits by this committer
sysutils/seatd: update to 0.4.0

Changes:	https://git.sr.ht/~kennylevinsen/seatd/log/0.4.0
Reported by:	upstream (seatd-announce)
MFH:		2020Q4 (better FreeBSD support, only 1 consumer also non-default)
09 Sep 2020 18:56:30
Original commit files touched by this commit Revision:548124  0.3.0
jbeich search for other commits by this committer
sysutils/seatd: update to 0.3.0

Changes:	https://git.sr.ht/~kennylevinsen/seatd/log/0.3.0
Reported by:	upstream
30 Aug 2020 23:13:49
Original commit files touched by this commit Revision:547132  0.2.0
jbeich search for other commits by this committer
sysutils/seatd: replace r547059 with upstream fix

Let's keep -Werror for now as upstream is cooperative.
30 Aug 2020 15:12:26
Original commit files touched by this commit Revision:547059  0.2.0
pkubaj search for other commits by this committer
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
29 Aug 2020 00:37:54
Original commit files touched by this commit Revision:546852  0.2.0
jbeich search for other commits by this committer
sysutils/seatd: update to 0.2.0

Changes:	https://git.sr.ht/~kennylevinsen/seatd/log/0.2.0
Reported by:	upstream, Repology
24 Aug 2020 02:57:38
Original commit files touched by this commit Revision:546037  0.1.0
jbeich search for other commits by this committer
sysutils/seatd: update to 0.1.0

Changes:	https://git.sr.ht/~kennylevinsen/seatd/log/0.1.0
09 Aug 2020 09:39:42
Original commit files touched by this commit Revision:544557  s20200808
jbeich search for other commits by this committer
sysutils/seatd: move MESON_ARGS before PLIST_FILES

MESON_ARGS is part of configure while PLIST_FILES is part of install phase.
09 Aug 2020 09:35:20
Original commit files touched by this commit Revision:544555  s20200808
jbeich search for other commits by this committer
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

Number of commits found: 25