summaryrefslogtreecommitdiff
path: root/security/tailscale/Makefile
blob: 4f3b1c4c8bd37dcef8e0ad7d6bf5e640616673cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	tailscale
PORTVERSION=	1.66.4
DISTVERSIONPREFIX=	v
CATEGORIES=	security net-vpn

MAINTAINER=	ashish@FreeBSD.org
COMMENT=	Mesh VPN that makes it easy to connect your devices
WWW=		https://tailscale.com/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	ca_root_nss>0:security/ca_root_nss

USES=		go:1.22,modules

GO_MODULE=	github.com/tailscale/tailscale

USE_RC_SUBR=	tailscaled

GO_TARGET=	./cmd/tailscale \
		./cmd/tailscaled
GO_BUILDFLAGS=	-tags xversion -ldflags "\
		-X tailscale.com/version.longStamp=${PORTVERSION} \
		-X tailscale.com/version.shortStamp=${PORTVERSION}"

PLIST_FILES=	bin/tailscale  \
		bin/tailscaled

.include <bsd.port.mk>