From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/headscale/
Date: Mon, 15 Aug 2022 07:30:01 +0000 (UTC) [thread overview]
Message-ID: <1660548508.e478c0c5a832464740bca219f3f4d9c5544b36e0.dlan@gentoo> (raw)
commit: e478c0c5a832464740bca219f3f4d9c5544b36e0
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 07:28:28 2022 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 07:28:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e478c0c5
net-vpn/headscale: add 0.16.2
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
net-vpn/headscale/Manifest | 2 ++
net-vpn/headscale/headscale-0.16.2.ebuild | 49 +++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/net-vpn/headscale/Manifest b/net-vpn/headscale/Manifest
index d27143f85e93..713c5fd57967 100644
--- a/net-vpn/headscale/Manifest
+++ b/net-vpn/headscale/Manifest
@@ -1,2 +1,4 @@
DIST headscale-0.15.0-deps.tar.xz 199844288 BLAKE2B 17c9e4a8877ee05f75f08c20794f6c084019f4554769ebabfc8d37e1ec309ac0cc2d18d341db241927df4ba3e43da39e8acb6a33a4a68435f9b3d3f7aebc098b SHA512 aa942787a4bc8644bb5e041fef293fd53a8d4ebc84faa8964c56fe9022b0359cd08ddd568898bc8fa4b2bc358f4c911b8a204438d676c5c4030bd89612d01c01
DIST headscale-0.15.0.tar.gz 311959 BLAKE2B e4bcbf431c3b903024df95782b4070591e30439263796258f9a3cc07c7a2f4ea3f9895fb2869b642d6c37dc92fe492cc9d3b78261d8faa0a8e2c9eba3906aa20 SHA512 29b867f109e48bf04ab4f8a81bfab94155050f59f6c2aa2b4971567a7fb24ed343b869636e66e9cbb7b1b8df7d7415e769a85a7c3864d0fae169c15b6c7b6eb2
+DIST headscale-0.16.2-deps.tar.xz 246778024 BLAKE2B 7c2beff2b18ca87aa4d496332d6b521f31d7b496227950204d9efe35f8259fdf1f3519fce951827f3698b5c166148db3ef69225acf16ce2e659b70017ac9e0f2 SHA512 5bc9b1b6bf1c3c70a7e033c2820c9fc05df45d19855e8050687072f0394920d77416640eb9af100027a96646df285b5a3d09bab4c959d4475e8b2b304f01a4ef
+DIST headscale-0.16.2.tar.gz 391683 BLAKE2B c75835e7f15847236b357988cdb66c65c3e2cb6ac2328e4fb5cb07da9c132b664afe69fcaf3fa9f6a70951e76a91ddf8fda2ea74c1af9055daca30f3efb593ab SHA512 bad885866855211d43b45dcc7b958595967241af4c2a1b370532fef7c751b85002138cd3742e4046603af383c123b66afd7de9aba59e8eee600d7ffdd70ff12c
diff --git a/net-vpn/headscale/headscale-0.16.2.ebuild b/net-vpn/headscale/headscale-0.16.2.ebuild
new file mode 100644
index 000000000000..690595a38384
--- /dev/null
+++ b/net-vpn/headscale/headscale-0.16.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="An open source, self-hosted implementation of the Tailscale control server"
+HOMEPAGE="https://github.com/juanfont/headscale"
+DEPS_URIS=( https://dev.gentoo.org/~{dlan,jsmolic}/distfiles/net-vpn/headscale/${P}-deps.tar.xz )
+SRC_URI="https://github.com/juanfont/headscale/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${DEPS_URIS[@]}"
+
+LICENSE="BSD Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ acct-group/headscale
+ acct-user/headscale
+"
+RDEPEND="
+ ${DEPEND}
+ net-firewall/iptables
+"
+
+PATCHES=(
+ "${FILESDIR}"/config-socket.patch
+)
+
+src_compile() {
+ emake version=v${PV}
+}
+
+src_install() {
+ dobin headscale
+ dodoc -r docs/* config-example.yaml
+ keepdir /etc/headscale /var/lib/headscale
+ systemd_dounit "${FILESDIR}"/headscale.service
+ newconfd "${FILESDIR}"/headscale.confd headscale
+ newinitd "${FILESDIR}"/headscale.initd headscale
+ fowners -R ${PN}:${PN} /etc/headscale /var/lib/headscale
+}
+
+pkg_postinst() {
+ [[ -f "${EROOT}"/etc/headscale/config.yaml ]] && return
+ elog "Please create ${EROOT}/etc/headscale/config.yaml before starting the service"
+ elog "An example is in ${EROOT}/usr/share/doc/${PV}/config-example.yaml"
+}
next reply other threads:[~2022-08-15 7:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-15 7:30 Yixun Lan [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-15 8:30 [gentoo-commits] repo/gentoo:master commit in: net-vpn/headscale/ Yixun Lan
2022-08-18 13:54 Yixun Lan
2023-03-16 9:52 Yixun Lan
2023-04-03 17:18 Jakov Smolić
2023-08-10 7:05 Yixun Lan
2023-09-15 13:02 Yixun Lan
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=1660548508.e478c0c5a832464740bca219f3f4d9c5544b36e0.dlan@gentoo \
--to=dlan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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