public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/tailscale/
Date: Mon,  7 Aug 2023 17:27:58 +0000 (UTC)	[thread overview]
Message-ID: <1691429222.9504756ead195fe0d18ea77ff5892f43ce877a5f.williamh@gentoo> (raw)

commit:     9504756ead195fe0d18ea77ff5892f43ce877a5f
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  7 17:25:53 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Aug  7 17:27:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9504756e

net-vpn/tailscale: add 1.46.1

Closes: https://bugs.gentoo.org/911273
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 net-vpn/tailscale/Manifest                |  2 ++
 net-vpn/tailscale/tailscale-1.46.1.ebuild | 59 +++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest
index 6783ff1ecec3..236948aaef8c 100644
--- a/net-vpn/tailscale/Manifest
+++ b/net-vpn/tailscale/Manifest
@@ -2,3 +2,5 @@ DIST tailscale-1.36.2-deps.tar.xz 251788056 BLAKE2B 341fbf98fb6f59337e17e79688c6
 DIST tailscale-1.36.2.tar.gz 1539770 BLAKE2B f1533f1dfdf1806a235892e988db401da76954858cd10baa8aa89e14330c7c627b5bafc682fb4a100cc89ff14b2dc2f3093b0d24e9ee754a0f24930a7578dc76 SHA512 bb3abfc370f24534748b877fcf51e57bd575843d35fcde4653544f82f1437dbccd489dcf73b37e4ec194a1ea1d42e3397937b239db95512d701af8f078cc80fd
 DIST tailscale-1.38.4-deps.tar.xz 252299404 BLAKE2B aa500af08c64dd07dc04b4f96d8c6c99f7aa8a85aec673f2ef3603be3c2ca63b476aac2c575f2378f8964ce8365d4d295dfbce9080d24c1136d57009e3f1ce2b SHA512 392916e4ed041d976bf21c6aac66155d040274032d5ec683badf57bbdc8f6735b6ebe84f4d683ad0f412145b22cc1d17be51f058440790bb94d12f3dc59c2624
 DIST tailscale-1.38.4.tar.gz 1644918 BLAKE2B e61c32513afe8715b99e5ee14ee572849fd1b92c31744894af4d028ab599685d2e38c5fb6eb9e8d40e0638d427065499089152ae002ef7dc947d3957f0fdc785 SHA512 f077217d9333263f3883d766abfb8a9adef3cf9c06544cca28bca41e6f51bf06991a0d31ff2ec0dbf01e80cbc04c903bb5b55cdcd871269d3b659664ce24d011
+DIST tailscale-1.46.1-deps.tar.xz 370535596 BLAKE2B 84c37e83f6ced653132c9a3639ad652cf258ab232d7f32fd5fbe8d2303aaae87c169bc6948c602be435f88c05373c6908d2120b16b83fc3795230fd633a62add SHA512 358a91bdff4df7933660a31f0c967e090c8b10b42abf3e6497bf163e93bf86e4b98b5defadf5dba87815c941361310bfde6060927da73eac0bb55f56c80dace2
+DIST tailscale-1.46.1.tar.gz 1817180 BLAKE2B b5ace1aa3fa98b14be53bbf55ec271cbbaf4c28a095300963961dd8bc5ee308091d46807af3b82f8ecb88070763a245292304706ab29e74d6f1e56ff495c2c51 SHA512 cecaa216b1f451b65e826856f630e5dd8ef9bbd85684602450e71f0f46b6b1b97bf20a0b7c401a72c354a5a9404386d6bd03350da2a65fb4e358320763d93ab4

diff --git a/net-vpn/tailscale/tailscale-1.46.1.ebuild b/net-vpn/tailscale/tailscale-1.46.1.ebuild
new file mode 100644
index 000000000000..4115c2796858
--- /dev/null
+++ b/net-vpn/tailscale/tailscale-1.46.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+
+# These settings are obtained by running ./build_dist.sh shellvars` in
+# the upstream repo.
+VERSION_MINOR="46"
+VERSION_SHORT="1.46.1"
+VERSION_LONG="1.46.1-t2d3223f55"
+VERSION_GIT_HASH="2d3223f557924d408b5d67b80440d6fba264a0fd"
+
+DESCRIPTION="Tailscale vpn client"
+HOMEPAGE="https://tailscale.com"
+SRC_URI="https://github.com/tailscale/tailscale/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="net-firewall/iptables"
+
+RESTRICT="test"
+
+# This translates the build command from upstream's build_dist.sh to an
+# ebuild equivalent.
+build_dist() {
+	ego build -tags xversion -ldflags "
+		-X tailscale.com/version.Long=${VERSION_LONG}
+		-X tailscale.com/version.Short=${VERSION_SHORT}
+		-X tailscale.com/version.GitCommit=${VERSION_GIT_HASH}" "$@"
+}
+
+src_compile() {
+	build_dist ./cmd/tailscale
+	build_dist ./cmd/tailscaled
+}
+
+src_install() {
+	dosbin tailscaled
+	dobin tailscale
+
+	systemd_dounit cmd/tailscaled/tailscaled.service
+	insinto /etc/default
+	newins cmd/tailscaled/tailscaled.defaults tailscaled
+	keepdir /var/lib/${PN}
+	fperms 0750 /var/lib/${PN}
+
+	newtmpfiles "${FILESDIR}/${PN}.tmpfiles" ${PN}.conf
+
+	newinitd "${FILESDIR}/${PN}d.initd" ${PN}
+	newconfd "${FILESDIR}/${PN}d.confd" ${PN}
+}
+
+pkg_postinst() {
+	tmpfiles_process ${PN}.conf
+}


             reply	other threads:[~2023-08-07 17:28 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-07 17:27 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-03 20:10 [gentoo-commits] repo/gentoo:master commit in: net-vpn/tailscale/ Sam James
2024-12-18 20:15 William Hubbs
2024-12-11  4:00 Sam James
2024-12-10 22:03 William Hubbs
2024-12-06 17:18 William Hubbs
2024-12-06 17:15 William Hubbs
2024-09-24 11:44 William Hubbs
2024-09-24 11:43 William Hubbs
2024-09-22  9:16 Sam James
2024-09-22  4:40 Sam James
2024-08-22 21:50 William Hubbs
2024-08-21  4:07 William Hubbs
2024-08-21  4:05 William Hubbs
2024-08-20 22:29 William Hubbs
2024-05-10 23:14 William Hubbs
2024-02-17  5:40 Sam James
2024-02-15 23:14 William Hubbs
2024-02-15 17:21 William Hubbs
2024-01-03 17:40 William Hubbs
2024-01-03 17:35 William Hubbs
2023-10-17 20:40 William Hubbs
2023-10-17 17:53 William Hubbs
2023-04-13 15:16 William Hubbs
2023-02-25  0:17 William Hubbs
2023-02-25  0:14 William Hubbs
2022-10-27 18:21 William Hubbs
2022-10-20 22:11 William Hubbs
2022-07-18 17:50 William Hubbs
2022-06-02 20:13 William Hubbs
2022-05-18 22:19 William Hubbs
2022-04-22  9:41 Yixun Lan
2022-04-21 16:41 William Hubbs
2022-02-27  7:47 William Hubbs
2022-02-09  0:42 Patrick McLean
2022-02-09  0:42 Patrick McLean
2021-11-29 17:44 Patrick McLean
2021-08-28 21:59 William Hubbs
2021-08-28  2:24 Sam James
2021-07-30 23:31 Sam James
2021-06-25 21:08 Patrick McLean
2021-06-21 22:27 Sam James
2021-06-21 22:26 Sam James
2021-03-07 18:02 William Hubbs
2021-01-28 23:14 William Hubbs
2021-01-28 20:19 William Hubbs
2020-12-29 16:20 William Hubbs
2020-12-21 19:53 Sam James
2020-12-20 19:26 Thomas Deutschmann
2020-12-20 16:51 Sam James
2020-12-16  4:19 William Hubbs
2020-12-15 21:49 William Hubbs
2020-12-15  2:34 William Hubbs
2020-12-15  1:58 William Hubbs
2020-12-15  1:51 William Hubbs
2020-12-15  1:51 William Hubbs
2020-05-18 17:30 William Hubbs
2020-05-14  4:11 Patrick McLean
2020-05-14  4:11 Patrick McLean
2020-04-22  1:13 Patrick McLean

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=1691429222.9504756ead195fe0d18ea77ff5892f43ce877a5f.williamh@gentoo \
    --to=williamh@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