commit: e883b31c3afbd8c270445f61cbb8be5031126b09 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Tue Jan 6 16:35:03 2026 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Tue Jan 6 16:37:27 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e883b31c
net-vpn/tailscale: add 1.92.4 Closes: https://bugs.gentoo.org/968317 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> net-vpn/tailscale/Manifest | 2 + net-vpn/tailscale/tailscale-1.92.4.ebuild | 63 +++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index a3292fdcf132..6a6d8726f59f 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -8,3 +8,5 @@ DIST tailscale-1.90.6-deps.tar.xz 261853716 BLAKE2B 0ed8c38bd7c6e6b7960475764cae DIST tailscale-1.90.6.tar.gz 4310216 BLAKE2B 265579794c9115f82b896c9cea379159f416597c8c0ee5d681d022279c0e7ead2c4d81f260e011f1414416411001094156dc9a21b9655f0c403611bd1c750df8 SHA512 74078b5fe2ecc06528b1ec54496d49ff701c97f792f7c8dbd08203646e88819ef65260357d0fac09e3319ce17749f8b7b5da95ed02f2b2e9a6e2b6196b483e47 DIST tailscale-1.92.1-deps.tar.xz 261683924 BLAKE2B 328d6fbe8e5d0fd5fb7df1f661474b4357ea4e1e9f811fdf1d847303d607fd6b8dde3489f6e1089be9d54c44cfd4700ee40b6aa09e797330bafe438184a39efd SHA512 82d187419719bb7d60dc6c4c92abc97c8d4cc278fec017c1eb7ba18819b924395a027f5e3cb0a982ea1e3903abd16ec10df226b05a4b2f50d75f15a1c3838de4 DIST tailscale-1.92.1.tar.gz 4376520 BLAKE2B 3df1d1ba988480e68546f043012863201ff4f36f0d14c5b67dcfab6efbfc35b838e9589a0beb006272ac804e82b60c421b719da54621ff9b45b7c5ba80781a98 SHA512 e8d064a952c3a11b0ece52a99f974fce6a83615cfb06f92445b88f42c885edf1259cf1eadfdd8a363cb8560517292701ec5f8a8c7df668b8014ec1cff32b3729 +DIST tailscale-1.92.4-deps.tar.xz 261683816 BLAKE2B e20589b62558cc756f85f7528997dd865fed3b60aa325b20beb69225e3dac94837a6c15a2c2dec79fe0ff1daabfc514217ef9fbb1efb6a5909321aeb1bc28b5c SHA512 b2566315ccca62b25cddd6249f9c6d68b46362cd4eb413374767d3404fd8952c6241c2fe5520756eea5e781a27051be30d04df728cf924f2fb5ce58231f610c9 +DIST tailscale-1.92.4.tar.gz 4376455 BLAKE2B fd526abf0d73019c4db48ce05cbe964184430c1f94e027344bffe3161379447c4cf776bd7205177357a6ed119187120d0536485c03f58b90e5a6765cc6824521 SHA512 8a9884800982041fa3ee9e955617e71d346f8f2365b24bd7a5673a810a887e57dd901d1b0ca1d7649ab84f2e2831222387e5258ef2d9abfcffa56535d618d586 diff --git a/net-vpn/tailscale/tailscale-1.92.4.ebuild b/net-vpn/tailscale/tailscale-1.92.4.ebuild new file mode 100644 index 000000000000..ffa615f09e2e --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.92.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 2020-2026 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="92" +VERSION_SHORT="1.92.4" +VERSION_LONG="1.92.4-t5065307fb" +VERSION_GIT_HASH="5065307fb87479c975d513a49a7faf1cf4d4c38d" + +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.25.5" + +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 +}
