diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-03-15 20:26:07 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-03-15 20:26:07 +0000 |
commit | 5464f1d1ff76a8d14a1503b86be032de45c1c2b4 (patch) | |
tree | d8528d972ef2c60e0a708580ed26be1c97ac2c31 /sysutils/seatd | |
parent | 8f17abaa8fa7f1b6613d731a95a429bbabce6af1 (diff) | |
download | ports-5464f1d1ff76a8d14a1503b86be032de45c1c2b4.tar.gz ports-5464f1d1ff76a8d14a1503b86be032de45c1c2b4.zip |
Notes
Diffstat (limited to 'sysutils/seatd')
-rw-r--r-- | sysutils/seatd/Makefile | 3 | ||||
-rw-r--r-- | sysutils/seatd/distinfo | 6 | ||||
-rw-r--r-- | sysutils/seatd/files/patch-pid | 20 |
3 files changed, 4 insertions, 25 deletions
diff --git a/sysutils/seatd/Makefile b/sysutils/seatd/Makefile index 37a8bd63bf30..573495214727 100644 --- a/sysutils/seatd/Makefile +++ b/sysutils/seatd/Makefile @@ -1,8 +1,7 @@ # $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=/ diff --git a/sysutils/seatd/distinfo b/sysutils/seatd/distinfo index f424acb6360d..fa69b41767d8 100644 --- a/sysutils/seatd/distinfo +++ b/sysutils/seatd/distinfo @@ -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 diff --git a/sysutils/seatd/files/patch-pid b/sysutils/seatd/files/patch-pid deleted file mode 100644 index 6c082e6131a0..000000000000 --- a/sysutils/seatd/files/patch-pid +++ /dev/null @@ -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; |