chore: update dependencies
This commit is contained in:
parent
15ddebf0e0
commit
45491bff3b
2 changed files with 61 additions and 0 deletions
|
@ -2,3 +2,5 @@ DIST tailscale-1.80.0-deps.tar.xz 405005904 BLAKE2B 1799ef7572bafa592fe84ccee409
|
|||
DIST tailscale-1.80.0.tar.gz 3528237 BLAKE2B d3ee44d5e3d365d650132fce31dbbfad1b1e25c01006df3d7672e259906dd8117f68be73e181693c539b8c55834cedbc1ec5daf3008f5413c0ccdce0198cb648 SHA512 17ba3a9866cb274b3cec197f676f2062eb8c662fbc2e0ec51da12e0123446eb3fdf8c871ae6ae9f99e46e54b95512b20be5bffccfb934742b574571c87d002d3
|
||||
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
|
||||
DIST tailscale-1.80.2-deps.tar.xz 407522840 BLAKE2B 90460bc86a3394b59d07a20bf402201b91d54165d8956cc635a0b4158160311a98f83729874a166a0f2d75a676a0a37a71233ffb9b38e5fef4df7d6ccdc5c9c6 SHA512 bc4202e2eba3d9ce61a6f077e61d2a8ed695b1e2741c55ca7ac2f310df552932e3961289ca2ec4c309ec49fbb84b9de1bb44ee17db20e2b8f6b980d89881b680
|
||||
DIST tailscale-1.80.2.tar.gz 3528364 BLAKE2B fa1431b01eb5f9b3e5f4b158d60c5ce51a782269dc56332b5244cb4a04c19f73b2c89fbac44d995a623e0bdc578780b359de23175675919257dd5a973352d2cb SHA512 feb9e61ffe6726c1b6e0529660e484edd4e40c5be2fa841682f8522ba1594886a5c12ca88754a048ae9b9cf04fc0c877406f1fb804a99151fa853eaba4ba8339
|
||||
|
|
59
net-vpn/tailscale/tailscale-1.80.2.ebuild
Normal file
59
net-vpn/tailscale/tailscale-1.80.2.ebuild
Normal file
|
@ -0,0 +1,59 @@
|
|||
# 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="80"
|
||||
VERSION_SHORT="1.80.2"
|
||||
VERSION_LONG="1.80.2-tc7a79d7ba"
|
||||
VERSION_GIT_HASH="c7a79d7bae40495113f888110857eba411779ef6"
|
||||
|
||||
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 \
|
||||
-ldflags "-X tailscale.com/version.longStamp=${VERSION_LONG} -X tailscale.com/version.shortStamp=${VERSION_SHORT}" \
|
||||
"$@"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
Loading…
Add table
Reference in a new issue