tailscale: update to 1.56.1.
This commit is contained in:
parent
c40c41b21e
commit
bb914bb4b5
|
@ -8,9 +8,9 @@ that through XBPS at their choice. Also disable update check by default.
|
||||||
licensesCmd,
|
licensesCmd,
|
||||||
exitNodeCmd,
|
exitNodeCmd,
|
||||||
- updateCmd,
|
- updateCmd,
|
||||||
|
whoisCmd,
|
||||||
},
|
},
|
||||||
FlagSet: rootfs,
|
FlagSet: rootfs,
|
||||||
Exec: func(context.Context, []string) error { return flag.ErrHelp },
|
|
||||||
--- a/cmd/tailscale/cli/set.go
|
--- a/cmd/tailscale/cli/set.go
|
||||||
+++ b/cmd/tailscale/cli/set.go
|
+++ b/cmd/tailscale/cli/set.go
|
||||||
@@ -12,7 +12,6 @@
|
@@ -12,7 +12,6 @@
|
||||||
|
@ -24,19 +24,18 @@ that through XBPS at their choice. Also disable update check by default.
|
||||||
@@ -67,8 +67,7 @@
|
@@ -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.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.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 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.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.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.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.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")
|
||||||
|
|
||||||
if safesocket.GOOSUsesPeerCreds(goos) {
|
@@ -171,9 +170,7 @@
|
||||||
@@ -171,10 +170,7 @@
|
|
||||||
return fmt.Errorf("failed to enable automatic updates: %v, %q", err, out)
|
return fmt.Errorf("failed to enable automatic updates: %v, %q", err, out)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
- _, err := clientupdate.NewUpdater(clientupdate.Arguments{ForAutoUpdate: true})
|
- if !clientupdate.CanAutoUpdate() {
|
||||||
- if errors.Is(err, errors.ErrUnsupported) {
|
|
||||||
- return errors.New("automatic updates are not supported on this platform")
|
- return errors.New("automatic updates are not supported on this platform")
|
||||||
- }
|
- }
|
||||||
+ return errors.New("automatic updates are not supported on this platform")
|
+ return errors.New("automatic updates are not supported on this platform")
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'tailscale'
|
# Template file for 'tailscale'
|
||||||
pkgname=tailscale
|
pkgname=tailscale
|
||||||
version=1.54.0
|
version=1.56.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="tailscale.com"
|
go_import_path="tailscale.com"
|
||||||
|
@ -15,7 +15,7 @@ license="BSD-3-Clause"
|
||||||
homepage="https://tailscale.com"
|
homepage="https://tailscale.com"
|
||||||
changelog="https://github.com/tailscale/tailscale/releases"
|
changelog="https://github.com/tailscale/tailscale/releases"
|
||||||
distfiles="https://github.com/tailscale/tailscale/archive/v${version}.tar.gz"
|
distfiles="https://github.com/tailscale/tailscale/archive/v${version}.tar.gz"
|
||||||
checksum=c895a0f489706535ed400b0599d7d932d9eebc5f1bad2c236408a1e4b86620e7
|
checksum=56b7d25c704e3c22e9e20dcb55695cd9c816878d2c172a73c64aac42e460fd41
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in New Issue