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 9DC4D15802F for ; Sat, 25 Feb 2023 00:14:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5C19E08F6; Sat, 25 Feb 2023 00:14:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8F99FE08F6 for ; Sat, 25 Feb 2023 00:14:35 +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 A1EF1340F79 for ; Sat, 25 Feb 2023 00:14:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9BED8AA for ; Sat, 25 Feb 2023 00:14:32 +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: <1677284018.5f4ff4d50c3460595b77218e4e5d0b4cf68c5557.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.36.2.ebuild X-VCS-Directories: net-vpn/tailscale/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 5f4ff4d50c3460595b77218e4e5d0b4cf68c5557 X-VCS-Branch: master Date: Sat, 25 Feb 2023 00:14:32 +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: d3c242e4-6f47-4d09-99ba-47637a9393aa X-Archives-Hash: eb6aeb7191e583dd3247598645c6670a commit: 5f4ff4d50c3460595b77218e4e5d0b4cf68c5557 Author: William Hubbs gentoo org> AuthorDate: Sat Feb 25 00:13:14 2023 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Feb 25 00:13:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4ff4d5 net-vpn/tailscale: add 1.36.2 Closes: https://bugs.gentoo.org/895950 Signed-off-by: William Hubbs gentoo.org> net-vpn/tailscale/Manifest | 2 ++ net-vpn/tailscale/tailscale-1.36.2.ebuild | 59 +++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index 8d368cac10bb..6d35b945c739 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -10,3 +10,5 @@ DIST tailscale-1.32.0-deps.tar.xz 136965688 BLAKE2B d8d8859c99184d0dee335ff169c8 DIST tailscale-1.32.0.tar.gz 1355487 BLAKE2B 894f42ec967ddce78c93776041285b53c9587b4ef5ca909e9bdebbb590ee6803fb7ec3cd9727c5c8ce7bd0757388c6f1f2a98224b08cdd0f2fd5b86d8c9ceb5b SHA512 a6014102f059b6e88fdb6c5d4228263cc01f03f26c5dc862cfe0b3e0e74d8756e2c854c7916fbfece6295231b4f95363fa2f9664211a6d2a27277e44a6a8cb6b DIST tailscale-1.32.2-deps.tar.xz 136970924 BLAKE2B 7fef3626e0ffe2b789a5da3cee0493eb83037a624f71ae8f512b8bfe21cd0965f4c94abd1423f6f57a5f3467d049d19ee50545c39cdff8d00172c35bded0daae SHA512 8b3fe5ec443341633c4c1619d63462051cf4f39dfc4fe20631dffac075b5ee27e6902d3f0a04604f87dd0cf581bc1ddb6585c6236ec4a3fc2d5241a8d0c06ebb DIST tailscale-1.32.2.tar.gz 1359648 BLAKE2B 91380e61c263c8f46f4a2b74aac5b103a6d8fcf26dc144eb24ffc8ec01fcc680bd5229ca998ec6ae2cba5fedfaf761dfcb3c498f5fe7edfe6e2931ddcb8d6fff SHA512 8f4d898e3b4503d9988124333fee2621e6d048eb7df60a5eff60c328b338432c7b22245ff0cbf0e5214154eccdac2bed652ea924d56ed1d071dd6345fdf1a477 +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 diff --git a/net-vpn/tailscale/tailscale-1.36.2.ebuild b/net-vpn/tailscale/tailscale-1.36.2.ebuild new file mode 100644 index 000000000000..a1e8ad6739c7 --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.36.2.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="1.36" +VERSION_SHORT="1.36.2" +VERSION_LONG="1.36.2-t0438c67e2" +VERSION_GIT_HASH="0438c67e2517c78feeaf0d9f61ea2a6303dd875c" + +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 +}