diff --git a/srcpkgs/tailscale/patches/no-self-update.patch b/srcpkgs/tailscale/patches/no-self-update.patch deleted file mode 100644 index e3a8d6eface..00000000000 --- a/srcpkgs/tailscale/patches/no-self-update.patch +++ /dev/null @@ -1,44 +0,0 @@ -don't let tailscale update itself manually or automatically, as users should do -that through XBPS at their choice. Also disable update check by default. - ---- a/cmd/tailscale/cli/cli.go -+++ b/cmd/tailscale/cli/cli.go -@@ -130,7 +130,6 @@ - netlockCmd, - licensesCmd, - exitNodeCmd(), -- updateCmd, - whoisCmd, - debugCmd, - driveCmd, ---- a/cmd/tailscale/cli/set.go -+++ b/cmd/tailscale/cli/set.go -@@ -13,7 +13,6 @@ - - "github.com/peterbourgon/ff/v3/ffcli" - "tailscale.com/client/web" -- "tailscale.com/clientupdate" - "tailscale.com/ipn" - "tailscale.com/net/netutil" - "tailscale.com/net/tsaddr" -@@ -67,8 +67,7 @@ - setf.StringVar(&setArgs.advertiseRoutes, "advertise-routes", "", "routes to advertise to other nodes (comma-separated, e.g. \"10.0.0.0/8,192.168.0.0/24\") or empty string to not advertise routes") - setf.BoolVar(&setArgs.advertiseDefaultRoute, "advertise-exit-node", false, "offer to be an exit node for internet traffic for the tailnet") - setf.BoolVar(&setArgs.advertiseConnector, "advertise-connector", false, "offer to be an app connector for domain specific internet traffic for the tailnet") -- setf.BoolVar(&setArgs.updateCheck, "update-check", true, "notify about available Tailscale updates") -- setf.BoolVar(&setArgs.updateApply, "auto-update", false, "automatically update to the latest available version") -+ setf.BoolVar(&setArgs.updateCheck, "update-check", false, "notify about available Tailscale updates") - setf.BoolVar(&setArgs.postureChecking, "posture-checking", false, "HIDDEN: allow management plane to gather device posture information") - setf.BoolVar(&setArgs.runWebClient, "webclient", false, "run a web interface for managing this node, served over Tailscale at port 5252") - -@@ -171,9 +170,7 @@ - return fmt.Errorf("failed to enable automatic updates: %v, %q", err, out) - } - } else { -- if !clientupdate.CanAutoUpdate() { -- return errors.New("automatic updates are not supported on this platform") -- } -+ return errors.New("automatic updates are not supported on this platform") - } - } - checkPrefs := curPrefs.Clone() diff --git a/srcpkgs/tailscale/template b/srcpkgs/tailscale/template index 41da6d1665a..3881fc423dc 100644 --- a/srcpkgs/tailscale/template +++ b/srcpkgs/tailscale/template @@ -1,6 +1,6 @@ # Template file for 'tailscale' pkgname=tailscale -version=1.64.2 +version=1.66.1 revision=1 build_style=go go_import_path="tailscale.com" @@ -15,7 +15,7 @@ license="BSD-3-Clause" homepage="https://tailscale.com" changelog="https://github.com/tailscale/tailscale/releases" distfiles="https://github.com/tailscale/tailscale/archive/v${version}.tar.gz" -checksum=e5e46f6b6b716b2c4696dce0b92dc2e36f02b06b7ad9f055042a820ad61b2a47 +checksum=a3c8645891d2dd25ad417df16e7f635cdf98d2c01778614942c6e39218c84a65 post_install() { vlicense LICENSE