Github messages for voidlinux
 help / color / mirror / Atom feed
From: nilium <nilium@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: tailscale-0.98
Date: Wed, 13 May 2020 21:35:32 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21933@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

There is a new pull request by nilium against master on the void-packages repository

https://github.com/nilium/ecks-bops-packages tailscale
https://github.com/void-linux/void-packages/pull/21933

New package: tailscale-0.98


A patch file from https://github.com/void-linux/void-packages/pull/21933.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tailscale-21933.patch --]
[-- Type: text/x-diff, Size: 2245 bytes --]

From 1edd7a99e57cc30c6dafaa6bc83f22eba028be80 Mon Sep 17 00:00:00 2001
From: Noel Cower <ncower@nil.dev>
Date: Wed, 13 May 2020 12:28:27 -0700
Subject: [PATCH] New package: tailscale-0.98

---
 srcpkgs/tailscale/files/tailscaled/log/run |  4 ++++
 srcpkgs/tailscale/files/tailscaled/run     | 10 ++++++++++
 srcpkgs/tailscale/template                 | 21 +++++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 100755 srcpkgs/tailscale/files/tailscaled/log/run
 create mode 100755 srcpkgs/tailscale/files/tailscaled/run
 create mode 100644 srcpkgs/tailscale/template

diff --git a/srcpkgs/tailscale/files/tailscaled/log/run b/srcpkgs/tailscale/files/tailscaled/log/run
new file mode 100755
index 00000000000..28894bc17c6
--- /dev/null
+++ b/srcpkgs/tailscale/files/tailscaled/log/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec logger -t tailscaled -p daemon.info
diff --git a/srcpkgs/tailscale/files/tailscaled/run b/srcpkgs/tailscale/files/tailscaled/run
new file mode 100755
index 00000000000..ee512f66d3e
--- /dev/null
+++ b/srcpkgs/tailscale/files/tailscaled/run
@@ -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}"                     \
+        "$@"
diff --git a/srcpkgs/tailscale/template b/srcpkgs/tailscale/template
new file mode 100644
index 00000000000..1cdb4626344
--- /dev/null
+++ b/srcpkgs/tailscale/template
@@ -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
+}

             reply	other threads:[~2020-05-13 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13 19:35 nilium [this message]
2020-05-21 17:56 ` [PR PATCH] [Merged]: " jnbr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21933@inbox.vuxu.org \
    --to=nilium@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).