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 8FFC515802F for ; Sat, 25 Feb 2023 00:17:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4DB5E07E0; Sat, 25 Feb 2023 00:17:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89023E07E0 for ; Sat, 25 Feb 2023 00:17:44 +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 7B7AE340F65 for ; Sat, 25 Feb 2023 00:17:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0ECD38AA for ; Sat, 25 Feb 2023 00:17:41 +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: <1677284251.1c44f52dc7b8f0b9a8a277b91acf96dc5568800a.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.0.ebuild net-vpn/tailscale/tailscale-1.22.2.ebuild net-vpn/tailscale/tailscale-1.24.2.ebuild net-vpn/tailscale/tailscale-1.26.2.ebuild net-vpn/tailscale/tailscale-1.32.0.ebuild net-vpn/tailscale/tailscale-1.32.2.ebuild X-VCS-Directories: net-vpn/tailscale/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 1c44f52dc7b8f0b9a8a277b91acf96dc5568800a X-VCS-Branch: master Date: Sat, 25 Feb 2023 00:17:41 +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: 63e7e5f1-ba91-45fa-bb6f-77bfbd73f0c4 X-Archives-Hash: de2050ff7df6f7c51973c9a3054ec4ad commit: 1c44f52dc7b8f0b9a8a277b91acf96dc5568800a Author: William Hubbs gentoo org> AuthorDate: Sat Feb 25 00:17:31 2023 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Feb 25 00:17:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c44f52d net-vpn/tailscale: drop versions Bug: https://bugs.gentoo.org/896094 Signed-off-by: William Hubbs gentoo.org> net-vpn/tailscale/Manifest | 12 ------- net-vpn/tailscale/tailscale-1.22.0.ebuild | 57 ----------------------------- net-vpn/tailscale/tailscale-1.22.2.ebuild | 57 ----------------------------- net-vpn/tailscale/tailscale-1.24.2.ebuild | 57 ----------------------------- net-vpn/tailscale/tailscale-1.26.2.ebuild | 57 ----------------------------- net-vpn/tailscale/tailscale-1.32.0.ebuild | 59 ------------------------------- net-vpn/tailscale/tailscale-1.32.2.ebuild | 59 ------------------------------- 7 files changed, 358 deletions(-) diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index 6d35b945c739..2f2442ff540e 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -1,14 +1,2 @@ -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 -DIST tailscale-1.24.2-deps.tar.xz 119558132 BLAKE2B 5ffa04b0f4675c5954e00af736274cb0e0c14bb66b18e61407e53b22c5f0687a4994776ab820b09861e79a67899dbcbfd4067503def28c684abc26ac2dad02f8 SHA512 d7c2f79dcafb64c9cba00827915d9c1f2a0d5ab910d5f23c28dc7b84282f94158592bafa0829ede3e051c0ea67232719585617174f5d6ba201922cf53b19152e -DIST tailscale-1.24.2.tar.gz 1102880 BLAKE2B f72ea66cfa2c5888f2a99d44bc29b760e5dd1de7e0d8142f976b52400d8e63e117c254fdafab6718f747d3602782b74bdafea16c56a9176dcf5b446dcbba2d7c SHA512 cf20bbb56b303897e50071baae88a147e88909d1f01fb0a75688fb880909336b91921ed8331defb874e45c23874b2f4282dddc85b8f58146cab5e27efba063d3 -DIST tailscale-1.26.2-deps.tar.xz 134312708 BLAKE2B d7a2cafb7c806b01982970dbb1d44b0bebd34ab2b586f2efcc5a20580837604f8ff9355eed34c66c8ba695915b21c752f7ab577e474cc6c030f3adae56137e98 SHA512 cfffc7c83d94a3073834e60c257bf6e471a787f1206898928bd46674201c0ab26b8ea229239d0896a9ccd1f4dfa8a24a043b9f4755835b07dc2faff9b74e857c -DIST tailscale-1.26.2.tar.gz 1139290 BLAKE2B f9424d91e8a09874941b1a351b0a600e705d117afcf2d60787b1950a295cee5e9e4926034235804824e59c8fe09abd830e2cdfe2b6389134c37ac2f0be6eb82b SHA512 a0d235660b6266d73b415ff1701ba949a7d84cd6a204870f41b16bf66ae27aebf82ffb06a4ec4a695b18c5b3c63f45a990167dc41d617a4718e5e3511daf49a3 -DIST tailscale-1.32.0-deps.tar.xz 136965688 BLAKE2B d8d8859c99184d0dee335ff169c88ea86c700a471c92bdd28636a2200c2702174564609707fdca880c2ababa7433eea328a171cb18f1e47498cdfcbcd41e55cc SHA512 5c9a29ac51b80bb1833285b0527f8ae7419b60a205027b9562b162f064f3b772f7757ef9dce1dbc0697b6ec039b91df31c8f18b887ca82323e4be87bfe2e7e88 -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.22.0.ebuild b/net-vpn/tailscale/tailscale-1.22.0.ebuild deleted file mode 100644 index bcb9cf17c05e..000000000000 --- a/net-vpn/tailscale/tailscale-1.22.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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 and substituting ${PV} appropriately. -VERSION_MINOR="1.22" -VERSION_SHORT="${PV}" -VERSION_LONG="${PV}-t4e0b00ad8" -VERSION_GIT_HASH="4e0b00ad830e656b1d76f1c5194520469ab0ff92" - -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}-vendor.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 -} diff --git a/net-vpn/tailscale/tailscale-1.22.2.ebuild b/net-vpn/tailscale/tailscale-1.22.2.ebuild deleted file mode 100644 index 8a13f4c551fa..000000000000 --- a/net-vpn/tailscale/tailscale-1.22.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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 ~riscv ~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 -} diff --git a/net-vpn/tailscale/tailscale-1.24.2.ebuild b/net-vpn/tailscale/tailscale-1.24.2.ebuild deleted file mode 100644 index c040af297b7f..000000000000 --- a/net-vpn/tailscale/tailscale-1.24.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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.24" -VERSION_SHORT="1.24.2" -VERSION_LONG="1.24.2-tdce2409b1" -VERSION_GIT_HASH="dce2409b15837f30885405b8b1d27e7b7fd6bf7a" - -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" - -# 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 -} diff --git a/net-vpn/tailscale/tailscale-1.26.2.ebuild b/net-vpn/tailscale/tailscale-1.26.2.ebuild deleted file mode 100644 index e6aa1f578e04..000000000000 --- a/net-vpn/tailscale/tailscale-1.26.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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.26" -VERSION_SHORT="1.26.2" -VERSION_LONG="1.26.2-t5a60f1ffe" -VERSION_GIT_HASH="5a60f1ffe3741c55eb9637ddd2f20157d164f511" - -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" - -# 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 -} diff --git a/net-vpn/tailscale/tailscale-1.32.0.ebuild b/net-vpn/tailscale/tailscale-1.32.0.ebuild deleted file mode 100644 index f1677b73f793..000000000000 --- a/net-vpn/tailscale/tailscale-1.32.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# 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.32" -VERSION_SHORT="1.32.0" -VERSION_LONG="1.32.0-tfc688fe02" -VERSION_GIT_HASH="fc688fe02496cacf919f9fed2069ea41a8b87500" - -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 -} diff --git a/net-vpn/tailscale/tailscale-1.32.2.ebuild b/net-vpn/tailscale/tailscale-1.32.2.ebuild deleted file mode 100644 index 0694acc85291..000000000000 --- a/net-vpn/tailscale/tailscale-1.32.2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# 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.32" -VERSION_SHORT="1.32.2" -VERSION_LONG="1.32.2-t54e8fa172" -VERSION_GIT_HASH="54e8fa172b725b354598daaa7007d261fd932d10" - -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 -}