From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 00D1015808D for ; Thu, 21 Apr 2022 16:41:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4F55E09B4; Thu, 21 Apr 2022 16:41:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B61EE09B4 for ; Thu, 21 Apr 2022 16:41:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 798A5341D00 for ; Thu, 21 Apr 2022 16:41:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA15E3B0 for ; Thu, 21 Apr 2022 16:41:25 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1650559279.a60447b3cc387cf77bec720d8ce3bb43b124582b.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/tailscale/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-vpn/tailscale/Manifest net-vpn/tailscale/tailscale-1.22.2.ebuild X-VCS-Directories: net-vpn/tailscale/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: a60447b3cc387cf77bec720d8ce3bb43b124582b X-VCS-Branch: master Date: Thu, 21 Apr 2022 16:41:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a3584fa1-2146-4d24-9dc9-01f4f0469323 X-Archives-Hash: 96e319dc9d4525ce6e5832588ccd0210 commit: a60447b3cc387cf77bec720d8ce3bb43b124582b Author: William Hubbs gentoo org> AuthorDate: Thu Apr 21 16:40:51 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Thu Apr 21 16:41:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60447b3 net-vpn/tailscale: add 1.22.2 Signed-off-by: William Hubbs gentoo.org> net-vpn/tailscale/Manifest | 2 ++ net-vpn/tailscale/tailscale-1.22.2.ebuild | 57 +++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index eb7beedb0bfd..e07048e584fd 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -1995,3 +1995,5 @@ DIST tailscale-1.18.1.tar.gz 891341 BLAKE2B acefe5108f0fca360afd48f2a4acb72fc92c DIST tailscale-1.20.3.tar.gz 976671 BLAKE2B 11ff33dfd67d0bc902f965a28c8916d3b813dda57658806f702e664b8ade29e6dcb75ffdaf4b0bf1a80ad79fcf7876a1ddf1e8e031697bf990d40256ec63b6e4 SHA512 f99185ee4d0c2d688992fae1c734d8d8793ff1868f47089d3e850477ad274fa00a1bc0e5afb26455de34bba1c4a592b9532e278ba651f26ecc97248c912ed713 DIST tailscale-1.22.0-vendor.tar.xz 5861668 BLAKE2B 0ccc953e7fa20fd13a6582e10864ff15dee15bc8991ad27439a771d05a13d4be7c11e2bdde6a4c19ad745fdf7d2bbf31c3e44513df1cf634c5a0842e243221db SHA512 7e7a8027aa8c17f74ec6c7ccdc6b79113820a9a106c23c8d8fbb5da17fe97ef9abd70dd66363d6abc0619f26f2fb889066fd8dd1cef18295c4dbc34072e08c3d DIST tailscale-1.22.0.tar.gz 1018528 BLAKE2B 1ae5a4d76f6f097d85789f875624bae10d146c1503d6d96dc20f85b190ec5586c25c78d5503fb1ac839f6d547379a8ad934bffe0a1a7f76843b643d596aac24f SHA512 d5476d5bac50c0789d0718f39ffee1fb7299f74e6d2682e61fd7856bb63811f2f245c1e10c7befae34b075231210d79fdbde53d24ceba77ed106f8040aab4bcc +DIST tailscale-1.22.2-deps.tar.xz 109072196 BLAKE2B 6cd0b6d1f81ae47815e6ba924da3f8f978e7cc70ce1fa6044b2e12474d07a910d3de73d8005985ce90ebbc304cae0128da61e06871a09b78e5862f2d37c5709c SHA512 31dcb82afa2f75b9513b9a01545d6416218be110ad3350e434cb9c1296da2d7e8793dd55e2269b0ad79ada4174d2e334dcac03f669494ce39fd071dc57bb72b1 +DIST tailscale-1.22.2.tar.gz 1019987 BLAKE2B 41911754239944a51e5da9f98392452ad0f28b223423cb2a1b76031cf4f6fb78c4bbcf11efd4b3b257625d66c8c14380cafafb532278a0f6bf306e072326839f SHA512 5aeb2d2881023d1e0cb62a02ac0f3cf931765d2e8674883ccc863c52da7eb3d2f08903556ea0a3679fa404519244a65c9b1df99066c4167402d7e688ca256035 diff --git a/net-vpn/tailscale/tailscale-1.22.2.ebuild b/net-vpn/tailscale/tailscale-1.22.2.ebuild new file mode 100644 index 000000000000..4a326607d92b --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.22.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 2020-2022 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="1.22" +VERSION_SHORT="1.22.2" +VERSION_LONG="1.22.2-t6f700925c" +VERSION_GIT_HASH="6f700925cef22d8b2a100840c8d9eb084dadfece" + +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 ~x86" + +RDEPEND="net-firewall/iptables" + +# 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 +}