From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 85F5D1584AD for ; Tue, 22 Apr 2025 14:43:34 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6E73F342FDA for ; Tue, 22 Apr 2025 14:43:34 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6BAAD1104B1; Tue, 22 Apr 2025 14:43:33 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 60C151104B1 for ; Tue, 22 Apr 2025 14:43:33 +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 0F8D8342FB0 for ; Tue, 22 Apr 2025 14:43:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4450C2547 for ; Tue, 22 Apr 2025 14:43:31 +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: <1745332989.b55cbb4d7a97d9b2ec6cb7eec8b65c5075c1a6bc.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.82.5.ebuild X-VCS-Directories: net-vpn/tailscale/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: b55cbb4d7a97d9b2ec6cb7eec8b65c5075c1a6bc X-VCS-Branch: master Date: Tue, 22 Apr 2025 14:43:31 +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: bbab4645-e90c-4363-9a1a-abb0c4923ea5 X-Archives-Hash: e2957c38222cb96bccb4d80d70aa2b4f commit: b55cbb4d7a97d9b2ec6cb7eec8b65c5075c1a6bc Author: William Hubbs gentoo org> AuthorDate: Tue Apr 22 14:43:09 2025 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Apr 22 14:43:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b55cbb4d net-vpn/tailscale: add 1.82.5 Signed-off-by: William Hubbs gentoo.org> net-vpn/tailscale/Manifest | 2 + net-vpn/tailscale/tailscale-1.82.5.ebuild | 63 +++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index f4fac7024573..fcdfbb545359 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -1,2 +1,4 @@ DIST tailscale-1.80.3-deps.tar.xz 259571740 BLAKE2B 5e9c3cd9d57f416acd008a910760fcf130b32f9d81935c5c7f32822d37cd703ba07f58720bae0c67cbf85a87e93f06002edbce13efd7376eaf40bcd68fb38ba1 SHA512 f8484e9bb3329891b46282ef7e2879bf73cd3485925729ed319e76f1aca32946a56519fffaf644d504b1df4ec01ab8ee7a7a6cb30d3126b20ee5506fe65cf51a DIST tailscale-1.80.3.tar.gz 3528273 BLAKE2B 3f9450a24a370146dc0e32f715ffa4eba8e6a7b31c65f20b1e9b40f4bf45fb1f0f27392d2c36870fa2bf2984fb556d72347057a010f18bda2d649242d058b5b2 SHA512 2553642e9ec8adf7754cf869ec986399de22af01b66c1a4d20bff3c1305f62e175e39e70eb2a6e9723e8352421d9ad6590bbcfa42e78a4c88838bd8bb8aa6e80 +DIST tailscale-1.82.5-deps.tar.xz 265161016 BLAKE2B eb50d34ecda207f623efe213c81f38d39953c8c984a0d35ede0b052ae9cc021404d3f596c5e4c74cd60b68c31d9873b60ac98ca600216fd157f42c9d27eb103d SHA512 877fedabdac139dfb73395ff27d915139c250f6308920cb57974b1d0d32c47ef14d9cc4dc47e89ce32adea36d7c558ee42caddac317f145f62ecfd59af493c22 +DIST tailscale-1.82.5.tar.gz 3793962 BLAKE2B 49ea1f878ce2ff6198d6ced1e4f49e557e7b1b9e2a2dd65079d5343aa46e57eee23b9d24561771c06af28d28cde4139d445e05e5d5c24f715ffc54b07c905050 SHA512 bed02f09c4905cba13fd3de3d45e027511420d76ece211312e153b6e50d8a10d2fb968a09ec1121f2150d414a74ca128430740173c16c0bef2696d141496849a diff --git a/net-vpn/tailscale/tailscale-1.82.5.ebuild b/net-vpn/tailscale/tailscale-1.82.5.ebuild new file mode 100644 index 000000000000..67d033d356ca --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.82.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module linux-info systemd tmpfiles + +# These settings are obtained by running ./build_dist.sh shellvars` in +# the upstream repo. +# They should be updated on every bump. +VERSION_MINOR="82" +VERSION_SHORT="1.82.5" +VERSION_LONG="1.82.5-te4d64c6fa" +VERSION_GIT_HASH="e4d64c6faf827a308ec20b39651225178e6743c0" + +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 ~ppc64 ~riscv ~x86" + +CONFIG_CHECK="~TUN" + +RDEPEND="|| ( net-firewall/iptables net-firewall/nftables )" +BDEPEND=">=dev-lang/go-1.22" + +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.longStamp=${VERSION_LONG} + -X tailscale.com/version.shortStamp=${VERSION_SHORT} + -X tailscale.com/version.gitCommitStamp=${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 +}