Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2021 16:17:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253485] security/tailscale: Version string is not compiled in
Message-ID:  <bug-253485-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253485

            Bug ID: 253485
           Summary: security/tailscale: Version string is not compiled in
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael@FreeBSD.org
          Reporter: james@netinertia.co.uk
             Flags: maintainer-feedback?(mikael@FreeBSD.org)
          Assignee: mikael@FreeBSD.org

Created attachment 222411
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222411&action=
=3Dedit
GO_BUILDFLAGS patch

The Tailscale build instructions ask that distributions use
https://github.com/tailscale/tailscale/blob/main/build_dist.sh or equivalent
commands to ensure that the version of the binary is compiled in; otherwise=
 it
uses a date-based version based on the build date.

The current package version's (1.4.2) binary outputs:

% tailscale version
date.20210104
  go version: go1.15.8

An official binary (e.g. the MacOS version) outputs the correct version:

1.4.4
  tailscale commit: 64a9656c01754b6652994cb3a8ef59bce1246cfc
  other commit: 21107eaa91253420fce6d0a4b8e9c0369e3480f8
  go version: go1.15.7-ts02f50cd

Attached is a patch to compile in the PORTVERSION in the version package in=
 the
same manner as build_dist.sh, without the git hash (as it's neither availab=
le
nor required).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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