chore: update dependencies

This commit is contained in:
github-actions[bot] 2024-12-06 00:10:12 +00:00 committed by GitHub
parent cf6cccf766
commit 8ab7dceff1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 62 additions and 0 deletions

View file

@ -8,3 +8,5 @@ DIST tailscale-1.76.3-deps.tar.xz 412601620 BLAKE2B 7783fff92e3ee0a843ee8a1c8549
DIST tailscale-1.76.3.tar.gz 3283713 BLAKE2B 7ebdbb32b5ddac68e9d8de9d16d608f7a3d8843d484e2529b39f3c0700d0336ebb17beb68d53bbd1ed9352dc62d6ae8b6eb28e589933e2fa070df1314bbca084 SHA512 8254987e8d8ad80fdb94ae3b82e558ec011461ef4fe4c2434e0ab3ac93f5913f214e7a41c284f8d774fc6941223334fbef6d0b1eb75030aaa8dee6519df88e1c DIST tailscale-1.76.3.tar.gz 3283713 BLAKE2B 7ebdbb32b5ddac68e9d8de9d16d608f7a3d8843d484e2529b39f3c0700d0336ebb17beb68d53bbd1ed9352dc62d6ae8b6eb28e589933e2fa070df1314bbca084 SHA512 8254987e8d8ad80fdb94ae3b82e558ec011461ef4fe4c2434e0ab3ac93f5913f214e7a41c284f8d774fc6941223334fbef6d0b1eb75030aaa8dee6519df88e1c
DIST tailscale-1.76.6-deps.tar.xz 412613528 BLAKE2B 0256f40140b8287ed55c22906157e35c6c277859a0ad3057b7aff3b8ade2dd534309eea71b13cd23313cc0c9613053fd001957e99bacf4d2fcc6ca57d76ec64b SHA512 40ecc48450e525c911ce41524b70972fad8e4634d65b3a8e31d3f8e05609f3ca782f6135af51ffa5958ad41db2483d6f83494df5bd5d454291efca949e3dff75 DIST tailscale-1.76.6-deps.tar.xz 412613528 BLAKE2B 0256f40140b8287ed55c22906157e35c6c277859a0ad3057b7aff3b8ade2dd534309eea71b13cd23313cc0c9613053fd001957e99bacf4d2fcc6ca57d76ec64b SHA512 40ecc48450e525c911ce41524b70972fad8e4634d65b3a8e31d3f8e05609f3ca782f6135af51ffa5958ad41db2483d6f83494df5bd5d454291efca949e3dff75
DIST tailscale-1.76.6.tar.gz 3285077 BLAKE2B 56a6a3a3b869a6352f920b7cf5cd8ba326b3a60053f5a08406cf1767f6e5122aaf89cca536708b8482c3002fb53be2f168c38b7dad275d971a4935228da0f7ca SHA512 00173b25685c6800fb5b914e9cb1dbfd55b9ddada2006c310d388af4c12760830281717c374113d525103ed77508d2bf8ac260c596ea5c4068c0ca6a35d58c96 DIST tailscale-1.76.6.tar.gz 3285077 BLAKE2B 56a6a3a3b869a6352f920b7cf5cd8ba326b3a60053f5a08406cf1767f6e5122aaf89cca536708b8482c3002fb53be2f168c38b7dad275d971a4935228da0f7ca SHA512 00173b25685c6800fb5b914e9cb1dbfd55b9ddada2006c310d388af4c12760830281717c374113d525103ed77508d2bf8ac260c596ea5c4068c0ca6a35d58c96
DIST tailscale-1.78.0-deps.tar.xz 414025052 BLAKE2B 80c253a29aad3a64234e9b263b45d8351e02f71a24ff1b23e35844ebf5851c37de86e71d57d1fc26e3ddbd51ee7c23be4d109bc0674ac91768112b0b8057d1d0 SHA512 6f5344c028612a6735e245f12fd70e3b47fd56ce262996c27d60a7246cee0820c37519f7226d18481195d319b39a2a9130929fda216756c7608a62bd31ed22ab
DIST tailscale-1.78.0.tar.gz 3395287 BLAKE2B 286d61e3e4c7d5dda14b59f57f5f8f7bdbcba6f365795e4add864950f27d796e13886358bfe6ae879baf277173db7e1c21dc18d25b7bc14e7788e50769425840 SHA512 2f660ee7e7e9f9dbff56b95162fe9b6d3453513f218266538c52e05db8c7f5362e3b505c43bac4e88a63877a24bf3da661ab92a4f262cc0842dada4482546229

View file

@ -0,0 +1,60 @@
# Copyright 2020-2024 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="78"
VERSION_SHORT="1.78.0"
VERSION_LONG="1.78.0-t0267fe83b"
VERSION_GIT_HASH="0267fe83b200f1702a2fa0a395442c02a053fadb"
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://gentoo.rgst.io/updater_artifacts/${CATEGORY}/${PN}/${PV}/deps.tar.xz -> ${P}-deps.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
RDEPEND="net-firewall/iptables"
BDEPEND=">=dev-lang/go-1.23"
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
}