chore: update dependencies

This commit is contained in:
github-actions[bot] 2024-07-04 14:22:43 +00:00 committed by GitHub
parent 72a0ab13dd
commit be139f37b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 62 additions and 0 deletions

View file

@ -2,3 +2,5 @@ DIST tailscale-1.68.0-deps.tar.xz 475022544 BLAKE2B 9bc68ff79c11457387c0f665eca9
DIST tailscale-1.68.0.tar.gz 2721807 BLAKE2B ffb6b4cc36473195587a8fc7a3142e1e7c73a5ccd50dc1fe8b26f3d0b69feb476e339a9bb66b2836823090c48a12b79e5bdbf54af96e4603464d70837ae0e7d0 SHA512 b63ee338e2a75d5be3b3c9c7446db178c66f326aea074bb1cdd18d7f1aa5fa720b0cafd5ff07a3665bb403d05d22c8f4cf0fa9638a5a87b08b6b617bd5795ee8 DIST tailscale-1.68.0.tar.gz 2721807 BLAKE2B ffb6b4cc36473195587a8fc7a3142e1e7c73a5ccd50dc1fe8b26f3d0b69feb476e339a9bb66b2836823090c48a12b79e5bdbf54af96e4603464d70837ae0e7d0 SHA512 b63ee338e2a75d5be3b3c9c7446db178c66f326aea074bb1cdd18d7f1aa5fa720b0cafd5ff07a3665bb403d05d22c8f4cf0fa9638a5a87b08b6b617bd5795ee8
DIST tailscale-1.68.1-deps.tar.xz 475973944 BLAKE2B 9cb7cf0e8d608eaec21dda674c37b3f52a9b31a41b9676fbfced24d3dbe51cbdec8af9accdb1a83d104a5f3e73e43903567168aa19467517d6445f27e0bd3b63 SHA512 849c81b39b563c88a69e2e74d7d7e57aa3c2f1b1bd50cb5801765c0c4a211116692224a0a925c7c89a905fbe5c90a28657259170e44c7166b55f543db2a6f243 DIST tailscale-1.68.1-deps.tar.xz 475973944 BLAKE2B 9cb7cf0e8d608eaec21dda674c37b3f52a9b31a41b9676fbfced24d3dbe51cbdec8af9accdb1a83d104a5f3e73e43903567168aa19467517d6445f27e0bd3b63 SHA512 849c81b39b563c88a69e2e74d7d7e57aa3c2f1b1bd50cb5801765c0c4a211116692224a0a925c7c89a905fbe5c90a28657259170e44c7166b55f543db2a6f243
DIST tailscale-1.68.1.tar.gz 2722164 BLAKE2B 36339615d1490db20c3d35ebdd6aa934516bc745e274860e5a25526a7517cffba4a2a75965cab7637c769c49db61f34ac49a012c5eae0b5c1d2b788137d7395e SHA512 b9177107fffc0768c4c682df916ecce27a80659876e628659bc73ce5ff7697a108982c4c49e47eeef1f84f02315443f1a29ff22d1afc07d6c1da699d84bbd2d9 DIST tailscale-1.68.1.tar.gz 2722164 BLAKE2B 36339615d1490db20c3d35ebdd6aa934516bc745e274860e5a25526a7517cffba4a2a75965cab7637c769c49db61f34ac49a012c5eae0b5c1d2b788137d7395e SHA512 b9177107fffc0768c4c682df916ecce27a80659876e628659bc73ce5ff7697a108982c4c49e47eeef1f84f02315443f1a29ff22d1afc07d6c1da699d84bbd2d9
DIST tailscale-1.68.2-deps.tar.xz 451318968 BLAKE2B 71d15db817f4424ccd2588773b02c820e3cccb2d2a4a0334e83abfe887d7e3cbe7b72fa26f9a7a67195cccc00bdaf3ded68b48a137e94ac4baa68d5f67923e30 SHA512 fd0eec083bf6d7e5e4b4e1dea465188a437a257507709171f66f704a916391a8ae36ba546c0f1336697f2a1195faa785281acc03c22378ab23d38e98fb87a2dc
DIST tailscale-1.68.2.tar.gz 2724045 BLAKE2B 45e02c50a9edb106ee777fae0b00d099fc3a60ec1e794b6267c3e3fb285b2ed63b00bd62d260562c1f45b0c14f06080da9ff4696e9209b91cc8175d8728d2d56 SHA512 d512e051cc05507f75de07c75ffa9f91b5a6c340facf3c15797950668570319d2dbbc9fa078788cff261c964ef5da64d9a4b7c6d46591c07b63131c2f39f3add

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="68"
VERSION_SHORT="1.68.2"
VERSION_LONG="1.68.2-tc79c500c7"
VERSION_GIT_HASH="c79c500c7e93c8e416c77f85d106b04a4aab23ab"
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.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.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
}