New package: tailscale-0.98
This commit is contained in:
parent
ecf7d8a085
commit
3095cefb70
3 changed files with 35 additions and 0 deletions
4
srcpkgs/tailscale/files/tailscaled/log/run
Executable file
4
srcpkgs/tailscale/files/tailscaled/log/run
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec 2>&1
|
||||
exec logger -t tailscaled -p daemon.info
|
10
srcpkgs/tailscale/files/tailscaled/run
Executable file
10
srcpkgs/tailscale/files/tailscaled/run
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
exec 2>&1
|
||||
exec /usr/bin/tailscaled \
|
||||
--state=/var/lib/tailscale/tailscaled.state \
|
||||
--socket=/var/run/tailscale/tailscaled.sock \
|
||||
--port "${PORT:-41641}" \
|
||||
"$@"
|
21
srcpkgs/tailscale/template
Normal file
21
srcpkgs/tailscale/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'tailscale'
|
||||
pkgname=tailscale
|
||||
version=0.98
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path="tailscale.com"
|
||||
go_package="tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled"
|
||||
make_dirs="/var/lib/tailscale 0755 root root"
|
||||
hostmakedepends="git"
|
||||
short_desc="Easy, secure, cross platform WireGuard, oauth2, and 2FA/SSO"
|
||||
maintainer="Noel Cower <ncower@nil.dev>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://tailscale.com"
|
||||
distfiles="https://github.com/tailscale/tailscale/archive/v${version}.tar.gz"
|
||||
checksum=e3c85d141ae8e4466ffae8b320062f7d9d49c4d434efb2528734b6afd180e0b3
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vlicense PATENTS
|
||||
vsv tailscaled
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue