diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-02-09 00:12:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-02-09 00:12:01 +0000 |
commit | b95a6fd4a7b591baa7cfc689f8ce5643592d07be (patch) | |
tree | 6a7c4722b40bdb6c409879ce253d8b42817fec14 /net-vpn/tailscale | |
parent | 8b3c41ecef8a1cdd270ce3aabcfdfb991839699c (diff) |
gentoo auto-resync : 09:02:2025 - 00:12:00
Diffstat (limited to 'net-vpn/tailscale')
-rw-r--r-- | net-vpn/tailscale/Manifest | 3 | ||||
-rw-r--r-- | net-vpn/tailscale/tailscale-1.80.1.ebuild | 63 |
2 files changed, 66 insertions, 0 deletions
diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index 264623a7a1db..7da057c656a2 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -5,6 +5,9 @@ DIST tailscale-1.78.1-deps.tar.xz 265614604 BLAKE2B 590c750ff34b3044793ebffc4335 DIST tailscale-1.78.1.tar.gz 3378628 BLAKE2B f8f6dfaf5498eb7a230035373d1b1d501da3296e394083d26870596bacf5e6a1f4d849a016dc652ba3e416de960a2a5483aa5e3b44b33b6759f42959cd7208ab SHA512 1286971554f15c601ee36050cbe361170de2ea4955fc8dde01a4a231f966a1049b9d85d2854637077c1900d4e67ef15352250e412f9e13b2d1cb6b34b2dce05a DIST tailscale-1.78.3-deps.tar.xz 265496184 BLAKE2B de585f36dfcb0cca5234df06b7395de7e7f84f74b31c14ded548bbd7202865697646e6108c820f55b7d76758ca284a8c461c1fd715140262208b864608c1ab1b SHA512 c67a62081fba3cb4c61e0eec22915d6bd535173d2936e3214b63af93109dcb38293d0bcc4649f7382772f65d6c5d35fde7b4fb5b9eff28e114f091b858c10175 DIST tailscale-1.78.3.tar.gz 3378578 BLAKE2B d36d549875e2a20fcff0112636d0dce1a206c66e9f06498959072a4fb5f97bf3b63841f27ebe89aad14d403eb3ac0f3d3835da2d6a4c17dc4d2bfd369d868875 SHA512 555de6801c10cc3d5b61eae3bf01d14f9e7b80f39adc2ab35dc70adea11fecc396ade52423028d584d0a13cfac01f23aea39be641f63a6621bcc4ef11077391c +DIST tailscale-1.80.1-deps.tar.xz 259376152 BLAKE2B 490864215ac90afc42471e42a17b50686a52db620d9a90ee6be59a4be816df6db74daa9e769e6bf9e02e11945737d9f7a4507b2d9307bbe52f55c48eda3d2e91 SHA512 9941b4c2b456529ffe87c42b8ca027827cc062b1e885c814530d33c16937bf64dba250195a43980ba5ad307c0b20116b050b4ce8415c26dfdbfa1d11910d3ec1 +DIST tailscale-1.80.1.tar.gz 3528371 BLAKE2B 44a6c8bf3d8a87b21de962410ea2243d4f8c05c9aff36d65e15f33bab935b3ca1e2395ba06c7fc3e724fdc6e924a84e1be80e553a8a694f79d6a9e2c673b4f44 SHA512 e80c9528a0656f707eb48d7aad68e52ce22ee8421cdfb2d64975492b056654837e00cb1ef5d36a099ace2500c79995714346d8c92e8d25038f20d091fe0143ed EBUILD tailscale-1.78.1.ebuild 1643 BLAKE2B e575cdfa03c8f304492ac0f0f03e570d49a6306caf2889beb8d3c57d22522abb9b32430661e9948834999e7d5708204f33e65719e0c7036e26e130e778ee4fee SHA512 1cd58ea924eec383dd95fc034b63bbfd56087a6135395e825ca9350df8f551023887d88a19ec59ba7e9ff7a08afdb8bd1764f66526c53e15bb075b7d662eee59 EBUILD tailscale-1.78.3.ebuild 1643 BLAKE2B 40bbfe7ce1d9aaf92b390397c6f87079de1f672f1232a00f67c6dece341a6dca3dec0d500d29fd408d1a24e4322aba9c73ff24bcef1294033f39f34d95f1bd8c SHA512 5d999486f5c39a661183d8ca4517719b063929c03cf052985f68a586f1017f39f65c469c61f66d81a0e13bf5aa55292f0d9a7ae3564654b87307c30a6761bbd7 +EBUILD tailscale-1.80.1.ebuild 1645 BLAKE2B d77018b97f269edfdf2944aa5ce4c7f69f176a550d286a26dadda1a7f4af5ab5345315efc895a98c113e6c7b77d288f1c26e9e11e1f83d738ccbe389509aae6f SHA512 d4205da3dea91012cee5e5a90335f4362b70908b5817f0aa09725b255aa8f0139009c6a4b2b23bbb7523883bc59eb7f8dcf49dbc8f9f5a6867ca6aa3e07de913 MISC metadata.xml 333 BLAKE2B 2ab80664e8a4588d485b0ac9fe9dcd8addcca7bf59e091052db0dd7fb09abf985c81490c795cd2daa97447282885c322fbe6202c8ae0c22e92cd2f2a2b9b02b6 SHA512 fc80f602a7d40a2aea28d1e24b717cf080c77f773578fb3ed8bae40b99f7664c693d486c6e40aa2e83d2256b851d27ca9876417e18ac356ddfec51a90cc049f7 diff --git a/net-vpn/tailscale/tailscale-1.80.1.ebuild b/net-vpn/tailscale/tailscale-1.80.1.ebuild new file mode 100644 index 000000000000..ef3cc095ce2e --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.80.1.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="80" +VERSION_SHORT="1.80.1" +VERSION_LONG="1.80.1-tb9dc617dd" +VERSION_GIT_HASH="b9dc617dda124e4fd7bf356c53da074f1dbb2d93" + +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" +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 +} |