From 0aa83b5aec3062ee0b12ae7d7d76f07e80a17c1f Mon Sep 17 00:00:00 2001 From: Noel Cower Date: Sat, 8 Aug 2020 20:56:39 -0700 Subject: [PATCH] tailscale: update to 1.0.3. Adds ldflags (and build tags) to set the version. --- srcpkgs/tailscale/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/tailscale/template b/srcpkgs/tailscale/template index 074fcf94f0f..0240f2cb336 100644 --- a/srcpkgs/tailscale/template +++ b/srcpkgs/tailscale/template @@ -1,20 +1,20 @@ # Template file for 'tailscale' pkgname=tailscale -version=0.100.0 +version=1.0.3 revision=1 -_release=-153 -wrksrc="${pkgname}-${version}${_release}" 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.LONG=${version}_${revision} (Void Linux)' -X 'tailscale.com/version.SHORT=${version}'" make_dirs="/var/lib/tailscale 0755 root root" hostmakedepends="git" 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}${_release}.tar.gz" -checksum=e055b72ea20d1288eae61fc0fd1a0108847891e651729d8b3cd318066633ed86 +distfiles="https://github.com/tailscale/tailscale/archive/v${version}.tar.gz" +checksum=f1bf5f4ab0969de024134503022c1e903f984bdc7fdb9934d5746add899afff1 post_install() { vlicense LICENSE