Files

73 lines
2.3 KiB
Tcl
Raw Permalink Normal View History

2021-06-08 14:01:23 -04:00
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup golang 1.0
2026-06-30 13:30:00 -04:00
go.setup github.com/tailscale/tailscale 1.100.0 v
2021-06-08 14:01:23 -04:00
go.package tailscale.com
2024-03-13 11:25:37 -04:00
go.offline_build no
2021-06-23 06:08:15 -04:00
revision 0
2021-06-08 14:01:23 -04:00
homepage https://tailscale.com
description The easiest, most secure way to use WireGuard and 2FA.
long_description {*}${description}. A secure network that just works. \
Zero config VPN. Installs on any device in minutes, \
manages firewall rules for you, and works from anywhere.
categories net
2021-10-07 20:30:52 -04:00
installs_libs no
license BSD
2021-06-08 14:01:23 -04:00
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
2026-06-30 13:30:00 -04:00
checksums rmd160 d57ab15726a3ea8a79284fb0ceb8e32e322c45cf \
sha256 d9e097d82f08c8557c887ca71962b20f08e27f3b305902ea504bd0e472486b97 \
size 4889482
2021-06-08 14:01:23 -04:00
startupitem.create yes
startupitem.executable \
2021-06-25 03:30:01 -04:00
${prefix}/bin/${name}d
2021-06-08 14:01:23 -04:00
2023-02-08 19:45:46 -05:00
build.pre_args-append \
-ldflags \" \
2026-03-14 19:39:12 +01:00
-X tailscale.com/version.longStamp=${version} \
-X tailscale.com/version.shortStamp=${version} \
-X tailscale.com/version.gitCommitStamp=non-git \
2023-02-08 19:45:46 -05:00
\"
build.args-append -o _build ./cmd/${name} ./cmd/${name}d
post-extract {
2023-02-08 19:45:46 -05:00
file mkdir ${worksrcpath}/_build
}
2021-06-08 14:01:23 -04:00
destroot {
2023-02-08 19:45:46 -05:00
xinstall -m 0755 \
{*}[glob ${worksrcpath}/_build/*] ${destroot}${prefix}/bin/
xinstall -d ${destroot}${prefix}/share/bash-completion/completions
system -W ${destroot} \
".${prefix}/bin/${name} completion bash > \
.${prefix}/share/bash-completion/completions/${name}"
xinstall -d ${destroot}${prefix}/share/fish/vendor_completions.d
system -W ${destroot} \
".${prefix}/bin/${name} completion fish > \
.${prefix}/share/fish/vendor_completions.d/${name}.fish"
xinstall -d ${destroot}${prefix}/share/zsh/site-functions
system -W ${destroot} \
".${prefix}/bin/${name} completion zsh > \
.${prefix}/share/zsh/site-functions/_${name}"
2021-06-08 14:01:23 -04:00
}
2021-06-09 02:12:03 -04:00
notes "
After launching the Tailscale service for the first time using the steps below (port load), run:
2021-06-25 03:30:01 -04:00
${name} up
2021-06-09 02:12:03 -04:00
"
2024-03-13 11:25:37 -04:00
github.livecheck.regex {([0-9.]+)}