From: Adriano Barbosa Subject: UPDATE: net/tailscale-1.88.3 To: ports@openbsd.org Date: Fri, 26 Sep 2025 19:39:32 -0400 Hi. Update for net/tailscale v1.88.3 Changelog: https://tailscale.com/changelog This release came out sooner than I expected. I've removed the patches as the issue have been fixed upstream. Obrigado! -- Adriano Index: Makefile =================================================================== RCS file: /cvs/ports/net/tailscale/Makefile,v diff -u -p -r1.55 Makefile --- Makefile 22 Sep 2025 14:15:29 -0000 1.55 +++ Makefile 26 Sep 2025 22:04:24 -0000 @@ -2,7 +2,7 @@ BROKEN-i386 = unix.EPROTO not defined COMMENT = modern overlay-like VPN built on top of WireGuard -V = 1.88.1 +V = 1.88.3 MODGO_MODNAME = tailscale.com MODGO_VERSION = v${V} Index: distinfo =================================================================== RCS file: /cvs/ports/net/tailscale/distinfo,v diff -u -p -r1.53 distinfo --- distinfo 22 Sep 2025 14:15:29 -0000 1.53 +++ distinfo 26 Sep 2025 22:04:26 -0000 @@ -2758,7 +2758,7 @@ SHA256 (go_modules/tags.cncf.io/containe SHA256 (go_modules/tags.cncf.io/container-device-interface/specs-go/@v/v0.8.0.mod) = ls01XNT8EFcJEXpXnTm9ba+iNZHtIEug4S8FLJT4cVQ= SHA256 (go_modules/tags.cncf.io/container-device-interface/specs-go/@v/v0.8.0.zip) = GcGueolLJMUcGaFPICznsg9pahAlIJQ7/cKE2s770T4= SHA256 (go_modules/tailscale.com/@v/v1.73.0-pre.0.20240822193108-696711cc17c4.mod) = oL4n5UGP7E/MrZ8FpIABm+q/DinsipIyPThn5Y/Fl+8= -SHA256 (tailscale.com-v1.88.1.zip) = gqYo5PdjWgXNBIvmFl5cvA+fotDiL8CFW8xrARFFsfg= +SHA256 (tailscale.com-v1.88.3.zip) = cM+omikyeLTy1g7AkCDhU3JLNqZ2mpHZSzeVkb1TYU8= SIZE (go_modules/4d63.com/gocheckcompilerdirectives/@v/v1.2.1.mod) = 173 SIZE (go_modules/4d63.com/gocheckcompilerdirectives/@v/v1.2.1.zip) = 7059 SIZE (go_modules/4d63.com/gochecknoglobals/@v/v0.2.1.mod) = 77 @@ -5519,4 +5519,4 @@ SIZE (go_modules/tags.cncf.io/container- SIZE (go_modules/tags.cncf.io/container-device-interface/specs-go/@v/v0.8.0.mod) = 65 SIZE (go_modules/tags.cncf.io/container-device-interface/specs-go/@v/v0.8.0.zip) = 6671 SIZE (go_modules/tailscale.com/@v/v1.73.0-pre.0.20240822193108-696711cc17c4.mod) = 20014 -SIZE (tailscale.com-v1.88.1.zip) = 5187995 +SIZE (tailscale.com-v1.88.3.zip) = 5188027 Index: patches/patch-ipn_ipnauth_ipnauth_go =================================================================== RCS file: patches/patch-ipn_ipnauth_ipnauth_go diff -N patches/patch-ipn_ipnauth_ipnauth_go --- patches/patch-ipn_ipnauth_ipnauth_go 22 Sep 2025 14:15:29 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,20 +0,0 @@ -https://github.com/tailscale/tailscale/issues/17209 - -From 8ec07b5f7fc31e5d86aa9db4f0c7fe5498d3f9fa Mon Sep 17 00:00:00 2001 -From: Brad Fitzpatrick -Date: Sun, 21 Sep 2025 08:08:41 -0700 -Subject: [PATCH] ipn/ipnauth: don't crash on OpenBSD trying to log username of - unknown peer - -Index: ipn/ipnauth/ipnauth.go ---- ipn/ipnauth/ipnauth.go.orig -+++ ipn/ipnauth/ipnauth.go -@@ -64,7 +64,7 @@ type ConnIdentity struct { - - // Fields used when NotWindows: - isUnixSock bool // Conn is a *net.UnixConn -- creds *peercred.Creds // or nil -+ creds *peercred.Creds // or nil if peercred.Get was not implemented on this OS - - // Used on Windows: - // TODO(bradfitz): merge these into the peercreds package and Index: patches/patch-ipn_ipnauth_ipnauth_notwindows_go =================================================================== RCS file: patches/patch-ipn_ipnauth_ipnauth_notwindows_go diff -N patches/patch-ipn_ipnauth_ipnauth_notwindows_go --- patches/patch-ipn_ipnauth_ipnauth_notwindows_go 22 Sep 2025 14:15:29 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,26 +0,0 @@ -https://github.com/tailscale/tailscale/issues/17209 - -From 8ec07b5f7fc31e5d86aa9db4f0c7fe5498d3f9fa Mon Sep 17 00:00:00 2001 -From: Brad Fitzpatrick -Date: Sun, 21 Sep 2025 08:08:41 -0700 -Subject: [PATCH] ipn/ipnauth: don't crash on OpenBSD trying to log username of - unknown peer - -Index: ipn/ipnauth/ipnauth_notwindows.go ---- ipn/ipnauth/ipnauth_notwindows.go.orig -+++ ipn/ipnauth/ipnauth_notwindows.go -@@ -18,8 +18,13 @@ import ( - func GetConnIdentity(_ logger.Logf, c net.Conn) (ci *ConnIdentity, err error) { - ci = &ConnIdentity{conn: c, notWindows: true} - _, ci.isUnixSock = c.(*net.UnixConn) -- if ci.creds, _ = peercred.Get(c); ci.creds != nil { -+ if ci.creds, err = peercred.Get(c); ci.creds != nil { - ci.pid, _ = ci.creds.PID() -+ } else if err == peercred.ErrNotImplemented { -+ // peercred.Get is not implemented on this OS (such as OpenBSD) -+ // Just leave creds as nil, as documented. -+ } else if err != nil { -+ return nil, err - } - return ci, nil - } Index: patches/patch-ipn_ipnserver_actor_go =================================================================== RCS file: patches/patch-ipn_ipnserver_actor_go diff -N patches/patch-ipn_ipnserver_actor_go --- patches/patch-ipn_ipnserver_actor_go 22 Sep 2025 14:15:29 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,24 +0,0 @@ -https://github.com/tailscale/tailscale/issues/17209 - -From 8ec07b5f7fc31e5d86aa9db4f0c7fe5498d3f9fa Mon Sep 17 00:00:00 2001 -From: Brad Fitzpatrick -Date: Sun, 21 Sep 2025 08:08:41 -0700 -Subject: [PATCH] ipn/ipnauth: don't crash on OpenBSD trying to log username of - unknown peer - -Index: ipn/ipnserver/actor.go ---- ipn/ipnserver/actor.go.orig -+++ ipn/ipnserver/actor.go -@@ -145,7 +145,11 @@ func (a *actor) Username() (string, error) { - defer tok.Close() - return tok.Username() - case "darwin", "linux", "illumos", "solaris", "openbsd": -- uid, ok := a.ci.Creds().UserID() -+ creds := a.ci.Creds() -+ if creds == nil { -+ return "", errors.New("peer credentials not implemented on this OS") -+ } -+ uid, ok := creds.UserID() - if !ok { - return "", errors.New("missing user ID") - }