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 8FDF115ACFB for ; Thu, 13 Apr 2023 15:16:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87E5EE07B2; Thu, 13 Apr 2023 15:16:58 +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 6A3A0E07B2 for ; Thu, 13 Apr 2023 15:16:58 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5ACB0335DC8 for ; Thu, 13 Apr 2023 15:16:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C90B2108 for ; Thu, 13 Apr 2023 15:16:55 +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: <1681398997.90531605d6f5bdda57fcb7aa52744a061fcb2d6c.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.38.4.ebuild X-VCS-Directories: net-vpn/tailscale/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 90531605d6f5bdda57fcb7aa52744a061fcb2d6c X-VCS-Branch: master Date: Thu, 13 Apr 2023 15:16:55 +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: 4276da5a-ac6b-4286-8816-a11370789a77 X-Archives-Hash: 0f51537da81f7a799195e1ac713a9605 commit: 90531605d6f5bdda57fcb7aa52744a061fcb2d6c Author: William Hubbs gentoo org> AuthorDate: Thu Apr 13 15:15:53 2023 +0000 Commit: William Hubbs gentoo org> CommitDate: Thu Apr 13 15:16:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90531605 net-vpn/tailscale: add 1.38.4 Signed-off-by: William Hubbs gentoo.org> net-vpn/tailscale/Manifest | 2 ++ net-vpn/tailscale/tailscale-1.38.4.ebuild | 59 +++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index 2f2442ff540e..6783ff1ecec3 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -1,2 +1,4 @@ DIST tailscale-1.36.2-deps.tar.xz 251788056 BLAKE2B 341fbf98fb6f59337e17e79688c6a0695973c219e64b1d7d8259ad37f2647a92cae1bb0a5c6851c3a442fd6cacbf176ca0d1e28d01f7d9f0e8f65ae98988edfa SHA512 f062a35927750b199bde17440384094d886372dccd6780d17ff5e02350be26b49105af6e545e064ba6060d1e55a9d98109c93df53f9f1118b02aa4f5ec280143 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 diff --git a/net-vpn/tailscale/tailscale-1.38.4.ebuild b/net-vpn/tailscale/tailscale-1.38.4.ebuild new file mode 100644 index 000000000000..6aaf803a8252 --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.38.4.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="38" +VERSION_SHORT="1.38.4" +VERSION_LONG="1.38.4-t043a34500" +VERSION_GIT_HASH="043a34500dd2bb07c34e3b28a56cdbc8b5434454" + +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 +}