Index: head/sysutils/seatd/Makefile =================================================================== --- head/sysutils/seatd/Makefile (revision 568505) +++ head/sysutils/seatd/Makefile (revision 568506) @@ -1,35 +1,34 @@ # $FreeBSD$ PORTNAME= seatd -DISTVERSION= 0.4.0 -PORTREVISION= 1 +DISTVERSION= 0.5.0 CATEGORIES= sysutils MASTER_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Minimal seat management daemon and universal library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 meson pkgconfig USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ include/libseat.h \ lib/libseat.so \ lib/libseat.so.1 \ libdata/pkgconfig/libseat.pc OPTIONS_DEFINE= MANPAGES SUID # XXX enable SUID after wlroots removes direct session OPTIONS_DEFAULT=MANPAGES SUID_DESC= Fall back to builtin server when running as root SUID_MESON_ENABLED= builtin MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz .include Index: head/sysutils/seatd/distinfo =================================================================== --- head/sysutils/seatd/distinfo (revision 568505) +++ head/sysutils/seatd/distinfo (revision 568506) @@ -1,3 +1,3 @@ -TIMESTAMP = 1603141867 -SHA256 (seatd-0.4.0.tar.gz) = 8c21541303d07c2fb7df4383451f109b3fa7ca06f3388b3a5918dbf5552b7d1b -SIZE (seatd-0.4.0.tar.gz) = 34402 +TIMESTAMP = 1615836747 +SHA256 (seatd-0.5.0.tar.gz) = 274b56324fc81ca6002bc1cdd387668dee34a6e1063e5f3896805c3770948988 +SIZE (seatd-0.5.0.tar.gz) = 34762 Index: head/sysutils/seatd/files/patch-pid =================================================================== --- head/sysutils/seatd/files/patch-pid (revision 568505) +++ head/sysutils/seatd/files/patch-pid (nonexistent) @@ -1,20 +0,0 @@ -Similar to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246189 - ---- seatd/client.c.orig 2020-08-08 13:27:43 UTC -+++ seatd/client.c -@@ -37,10 +37,14 @@ static int get_peer(int fd, pid_t *pid, uid_t *uid, gi - #elif defined(__FreeBSD__) - struct xucred cred; - socklen_t len = sizeof cred; -- if (getsockopt(fd, SOL_SOCKET, LOCAL_PEERCRED, &cred, &len) == -1) { -+ if (getsockopt(fd, 0, LOCAL_PEERCRED, &cred, &len) == -1) { - return -1; - } -+#if __FreeBSD__ < 13 - *pid = -1; -+#else -+ *pid = cred.cr_pid; -+#endif - *uid = cred.cr_uid; - *gid = cred.cr_ngroups > 0 ? cred.cr_groups[0] : -1; - return 0; Property changes on: head/sysutils/seatd/files/patch-pid ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property