summaryrefslogtreecommitdiff
path: root/net-vpn/tailscale
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-21 02:01:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-21 02:01:39 +0100
commit3518f21ee7106f4268edf4404299dda157795e3c (patch)
tree66e26d8d7c87fe200d97584ffb8550404e22d665 /net-vpn/tailscale
parentf48011012cdabc60f67e96296bc600f2c3f20ce8 (diff)
gentoo auto-resync : 21:10:2022 - 02:01:39
Diffstat (limited to 'net-vpn/tailscale')
-rw-r--r--net-vpn/tailscale/Manifest3
-rw-r--r--net-vpn/tailscale/tailscale-1.32.0.ebuild59
2 files changed, 62 insertions, 0 deletions
diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest
index abe99c2d6f3d..bad20bd085a5 100644
--- a/net-vpn/tailscale/Manifest
+++ b/net-vpn/tailscale/Manifest
@@ -9,8 +9,11 @@ DIST tailscale-1.24.2-deps.tar.xz 119558132 BLAKE2B 5ffa04b0f4675c5954e00af73627
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
EBUILD tailscale-1.22.0.ebuild 1537 BLAKE2B 706a20b904c62b312f27db2a7dea4e0733ed4128411be567144c15e589510a21c13c42b1c45439b2a9607fe586bb326774908cec2081456eeb63136ea23e2403 SHA512 9fd8723a270dcbe5de04e8a87be1122def8fd919c35cf45c25f5f965510f1fd2e482321be71adab7d2c15ae48e46be51d08e2ebd4317d7e790405d4a3cf08977
EBUILD tailscale-1.22.2.ebuild 1507 BLAKE2B f3d02d089c1a3ca81f2a9ddef631e6bd08e1ca9416dca922444897898cc51e63311244477d8938f3ccfe3e58be2a0e79959b3358511bb5c7b381c5ab6d9ce66a SHA512 62463e45fa45d62b3f07f3a2562dd9dc68185cb94633af3af8600f14923f23095fe3f708f1573e8b2788bf1a0034b87d42c9db0fa3a245c89fbc4d21b79fca7b
EBUILD tailscale-1.24.2.ebuild 1507 BLAKE2B ea6632ca64c449f9c562d4832979186a8a23a9e0814385cfdce63a104f77579f5186d833233c065d1a498531539d33b51ac9c321b58930fcc9d3d9c81f17e96a SHA512 730ffb55615a538439a65852e3bae895ce75ee51d2454a282b6aa8104e2a9045b94e2baa7baf40fd825b340b43fd8e51b68f1c1189443f2fea1bbe0a60f51a48
EBUILD tailscale-1.26.2.ebuild 1507 BLAKE2B ce4f053192abff40fa94515adf83e4903bdf4338ce59005f2c0c21cbf665e92154de67ed68a0c9fc490364e99789c5a6f26f563607acc5933c70533a0a59f3b9 SHA512 1e71ab041d76f19fcaca8b3f256cbc9bf3019564929bb84f4d242fd9484718c25da85468c6044c3934e0ba14fb925e23d888520095705de09431dccd74504be6
+EBUILD tailscale-1.32.0.ebuild 1524 BLAKE2B 96c2286060f4c288b5176b830254176453ebcb2738801263ef2dee37e7ddd49523e1f9b21722f1a74a4a614e78bb94502af3c632d3330c99e81119725c591083 SHA512 e8c192e229b9e864f79b81a3f65fd5abddd12978b2483888e5742b31cd4ec692908aaae964fe2396733836ac5e4a9365c5fe7101139baef6e22f64423a6a91b6
MISC metadata.xml 359 BLAKE2B 59954b06b03a7ce9134eafcf4e325c7e383e886887ac0baf678414e7790d81f2233d3993657570fbea7eb93cc1f3ccf63452155f204f4f56f56d9e81f1641144 SHA512 edab61fe9050781abcdd5b1a4cdd4bd78376a331c3560cb0d9f153c1300f5be24be3951bc9e64dc8c2edcc1b264518e7ffba48906183b11a17938735331219e5
diff --git a/net-vpn/tailscale/tailscale-1.32.0.ebuild b/net-vpn/tailscale/tailscale-1.32.0.ebuild
new file mode 100644
index 000000000000..f1677b73f793
--- /dev/null
+++ b/net-vpn/tailscale/tailscale-1.32.0.ebuild
@@ -0,0 +1,59 @@
+# 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
+}