Skip to content

Commit d516013

Browse files
committed
tailscale: Import version 1.34.2.
Based on omniosorg/omnios-extra#1230, will need to live in pkgsrc-extra until nshalman fork is merged upstream.
1 parent 4a12005 commit d516013

6 files changed

Lines changed: 7501 additions & 0 deletions

File tree

tailscale/DESCR

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Tailscale is a VPN service that makes the devices and applications you own
2+
accessible anywhere in the world, securely and effortlessly. It enables
3+
encrypted point-to-point connections using the open source WireGuard protocol,
4+
which means only devices on your private network can communicate with each
5+
other.
6+
7+
Building on top of a secure network fabric, Tailscale offers speed, stability,
8+
and simplicity over traditional VPNs. Tailscale is fast and reliable. Unlike
9+
traditional VPNs, which tunnel all network traffic through a central gateway
10+
server, Tailscale creates a peer-to-peer mesh network (called a tailnet):
11+
12+
The Tailscale approach avoids centralization where possible, resulting in both
13+
higher throughput and lower latency as network traffic can flow directly
14+
between machines. Additionally, decentralization improves stability and
15+
reliability by reducing single points of failure.
16+
17+
Tailscale is simple and effortless. The service handles complex network
18+
configuration on your behalf so that you don't have to. Network connections
19+
between devices pierce through firewalls and routers as if they weren't there,
20+
allowing for direct connections without the need to manually configure port
21+
forwarding. It allows for connection migration so that existing connections
22+
stay alive even when switching between different networks (e.g., wired,
23+
cellular, Wi-Fi, etc).

tailscale/Makefile

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# $NetBSD$
2+
3+
DISTNAME= tailscale-1.34.2
4+
CATEGORIES= net
5+
MASTER_SITES= ${MASTER_SITE_GITHUB:=nshalman/}
6+
GITHUB_TAG= v${PKGVERSION_NOREV}-sunos
7+
8+
MAINTAINER= jperkin@pkgsrc.org
9+
HOMEPAGE= https://tailscale.com/
10+
COMMENT= The easiest, most secure way to use WireGuard and 2FA
11+
LICENSE= modified-bsd
12+
13+
GO_LDFLAGS= -X tailscale.com/version.Long=${PKGVERSION_NOREV}
14+
GO_LDFLAGS+= -X tailscale.com/version.Short=${PKGVERSION_NOREV}
15+
GO_LDFLAGS+= -X tailscale.com/version.GitCommit=${GITHUB_TAG}
16+
17+
GO_BUILD_PATTERN= -tags=ts_include_cli
18+
GO_BUILD_PATTERN+= -ldflags ${GO_LDFLAGS:Q}
19+
GO_BUILD_PATTERN+= ./cmd/tailscaled
20+
21+
INSTALLATION_DIRS= bin sbin
22+
23+
.include "go-modules.mk"
24+
25+
post-build:
26+
${RUN} /usr/bin/elfedit \
27+
-e "ehdr:ei_osabi ELFOSABI_SOLARIS" \
28+
-e "ehdr:ei_abiversion EAV_SUNW_CURRENT" \
29+
${WRKDIR}/.gopath/bin/tailscaled
30+
31+
do-install:
32+
${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/tailscaled \
33+
${DESTDIR}${PREFIX}/bin/tailscale
34+
${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/tailscaled \
35+
${DESTDIR}${PREFIX}/sbin/tailscaled
36+
37+
.include "../../lang/go/go-module.mk"
38+
.include "../../mk/bsd.pkg.mk"

tailscale/PLIST

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@comment $NetBSD$
2+
bin/tailscale
3+
sbin/tailscaled

0 commit comments

Comments
 (0)