diff --git a/srcpkgs/tailscale/patches/no-self-update.patch b/srcpkgs/tailscale/patches/no-self-update.patch index 6fb4c7ad7f1..11dddb923f8 100644 --- a/srcpkgs/tailscale/patches/no-self-update.patch +++ b/srcpkgs/tailscale/patches/no-self-update.patch @@ -1,11 +1,10 @@ --- a/cmd/tailscale/cli/cli.go +++ b/cmd/tailscale/cli/cli.go -@@ -149,8 +149,6 @@ - switch { - case slices.Contains(args, "debug"): - rootCmd.Subcommands = append(rootCmd.Subcommands, debugCmd) -- case slices.Contains(args, "update"): -- rootCmd.Subcommands = append(rootCmd.Subcommands, updateCmd) - } - if runtime.GOOS == "linux" && distro.Get() == distro.Synology { - rootCmd.Subcommands = append(rootCmd.Subcommands, configureHostCmd) +@@ -130,7 +130,6 @@ + netlockCmd, + licensesCmd, + exitNodeCmd, +- updateCmd, + }, + FlagSet: rootfs, + Exec: func(context.Context, []string) error { return flag.ErrHelp }, diff --git a/srcpkgs/tailscale/template b/srcpkgs/tailscale/template index 4fd4521b36a..198e0d906ae 100644 --- a/srcpkgs/tailscale/template +++ b/srcpkgs/tailscale/template @@ -1,19 +1,20 @@ # Template file for 'tailscale' pkgname=tailscale -version=1.48.2 +version=1.50.0 revision=1 build_style=go go_import_path="tailscale.com" go_package="tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled" go_build_tags='xversion' -go_ldflags="-X 'tailscale.com/version.longStamp=${version}_${revision} (Void Linux)' -X 'tailscale.com/version.shortStamp=${version}'" +go_ldflags="-X 'tailscale.com/version.longStamp=${version}_${revision} (Void Linux)' + -X 'tailscale.com/version.shortStamp=${version}'" make_dirs="/var/lib/tailscale 0755 root root" short_desc="Easy, secure, cross platform WireGuard, oauth2, and 2FA/SSO" maintainer="Noel Cower " license="BSD-3-Clause" homepage="https://tailscale.com" distfiles="https://github.com/tailscale/tailscale/archive/v${version}.tar.gz" -checksum=1c34c5c2c3b78e59ffb824b356418ff828653c62885b126d0d05f300218b36b5 +checksum=a7e024577854c07b793c4bbd81a497250e6a1b4536e303351a388810f13b7316 post_install() { vlicense LICENSE