Github messages for voidlinux
 help / color / mirror / Atom feed
From: teldra <teldra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New Package: headscale-0.16.4
Date: Mon, 10 Oct 2022 16:27:25 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39864@inbox.vuxu.org> (raw)

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

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

https://github.com/teldra/void-packages new-headscale
https://github.com/void-linux/void-packages/pull/39864

New Package: headscale-0.16.4
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From c98710da79fa974ce06d7b310f4e0daf18241c80 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Mon, 10 Oct 2022 07:22:40 +0200
Subject: [PATCH] New Package: headscale-0.16.4

---
 srcpkgs/headscale/files/headscale/run |  5 +++++
 srcpkgs/headscale/template            | 27 +++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 srcpkgs/headscale/files/headscale/run
 create mode 100644 srcpkgs/headscale/template

diff --git a/srcpkgs/headscale/files/headscale/run b/srcpkgs/headscale/files/headscale/run
new file mode 100644
index 000000000000..ef8b4ef39702
--- /dev/null
+++ b/srcpkgs/headscale/files/headscale/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+
+exec chpst -u _headscale:_headscale /usr/bin/headscale serve -c "${CONFIG:-/etc/headscale/config.yaml}"
diff --git a/srcpkgs/headscale/template b/srcpkgs/headscale/template
new file mode 100644
index 000000000000..52981f35c016
--- /dev/null
+++ b/srcpkgs/headscale/template
@@ -0,0 +1,27 @@
+# Template file for 'headscale'
+pkgname=headscale
+version=0.16.4
+revision=1
+build_style=gnu-makefile
+hostmakedepends="go"
+short_desc="Self-hosted implementation of the Tailscale control server"
+maintainer="teldra <teldra@rotce.de>"
+license="BSD-3-Clause"
+homepage="https://github.com/juanfont/headscale"
+changelog="https://raw.githubusercontent.com/juanfont/headscale/main/CHANGELOG.md"
+distfiles="https://github.com/juanfont/headscale/archive/refs/tags/v${version}.tar.gz"
+checksum=0395478f9dde68aa8ca23be8df6ff636d47166981d0995e4e31a8c7db12df8e8
+make_dirs="/etc/headscale 0750 _headscale _headscale
+	/var/lib/headscale 0750 _headscale _headscale
+	/var/run/headscale 0750 _headscale _headscale"
+system_accounts="_headscale _headscale"
+_headscale_homedir="/var/lib/headscale"
+noverifyrdeps=yes
+
+do_install() {
+	vbin headscale
+	vsv headscale
+	vsed -i 's/headscale.sock/headscale\/headscale.sock/' config-example.yaml
+	vsconf config-example.yaml
+	vlicense LICENSE
+}

             reply	other threads:[~2022-10-10 14:27 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-10 14:27 teldra [this message]
2022-10-10 14:39 ` teldra
2022-10-10 14:42 ` paper42
2022-10-10 15:01 ` teldra
2022-10-10 15:06 ` paper42
2022-10-10 22:12 ` [PR PATCH] [Updated] " teldra
2022-10-10 22:13 ` teldra
2022-10-10 22:23 ` teldra
2022-10-10 22:38 ` [PR PATCH] [Updated] " teldra
2022-10-12  5:05 ` [PR REVIEW] New package: headscale-0.16.4 0x5c
2022-10-12  5:05 ` 0x5c
2022-10-12  5:05 ` 0x5c
2022-10-12  5:05 ` 0x5c
2022-10-12  6:38 ` teldra
2022-10-12  6:38 ` teldra
2022-10-12  6:56 ` teldra
2022-10-12  6:58 ` teldra
2022-10-12  6:58 ` teldra
2022-10-12  6:59 ` [PR PATCH] [Updated] " teldra
2022-10-12  6:59 ` teldra
2022-10-12  7:00 ` teldra
2022-10-12  7:09 ` teldra
2022-10-12  7:28 ` [PR REVIEW] " teldra
2022-10-12  7:35 ` teldra
2022-10-12  7:40 ` teldra
2022-10-13  3:53 ` 0x5c
2022-10-13  4:00 ` 0x5c
2022-10-13  4:23 ` 0x5c
2022-10-13  6:29 ` [PR PATCH] [Updated] " teldra
2022-10-13  6:31 ` teldra
2023-01-12  2:29 ` github-actions
2023-01-27  1:59 ` [PR PATCH] [Closed]: " github-actions

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-39864@inbox.vuxu.org \
    --to=teldra@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).