Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2021 16:32:09 +0000 (UTC)
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565948 - head/security/tailscale
Message-ID:  <202102181632.11IGW91O041898@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mikael
Date: Thu Feb 18 16:32:09 2021
New Revision: 565948
URL: https://svnweb.freebsd.org/changeset/ports/565948

Log:
  security/tailscale: set version
  
  PR:		253485
  Submitted by:	James O'Gorman

Modified:
  head/security/tailscale/Makefile

Modified: head/security/tailscale/Makefile
==============================================================================
--- head/security/tailscale/Makefile	Thu Feb 18 16:28:31 2021	(r565947)
+++ head/security/tailscale/Makefile	Thu Feb 18 16:32:09 2021	(r565948)
@@ -3,6 +3,7 @@
 PORTNAME=	tailscale
 PORTVERSION=	1.4.4
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	mikael@FreeBSD.org
@@ -42,6 +43,9 @@ USE_RC_SUBR=	tailscaled
 
 GO_TARGET=	./cmd/tailscale \
 		./cmd/tailscaled
+GO_BUILDFLAGS=	-tags xversion -ldflags "\
+		-X tailscale.com/version.Long=${PORTVERSION} \
+		-X tailscale.com/version.Short=${PORTVERSION}"
 
 PLIST_FILES=	bin/tailscale  \
 		bin/tailscaled



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102181632.11IGW91O041898>