chore: update dependencies
This commit is contained in:
parent
445896e1a9
commit
27fc3f67bd
2 changed files with 63 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
DIST tailscale-1.70.0-deps.tar.xz 404440908 BLAKE2B 3ca0e3d3a4ca3c5935a48cc8a7ca3ba7f4122a52a38bf5bb78b8e190cca935207210f4bb7815aecee87e265397e46e1452bc75b78140bf554c54311cba2f1e1b SHA512 31012e30f25037761af7e9d2d566365053737b5b2384bb1921b20d8af6fecb7dc3c75b2f3eb5c7c5778b3a94cb175fa9a0b46d239939d8ced04915a48de81510
|
||||
DIST tailscale-1.70.0.tar.gz 2925859 BLAKE2B c31258b8f2b42fc662b4a753bfc6e261796f1d1e22fb77e906f97828b0875c49510824a381f0e8987f9ae31a55a6dd500cfa3ad91cff5a6cae35f2b23bfdf22a SHA512 49fb2fccce8cfa6bce3f21d839a72bd7a78d4c8f0d867167e8984275878ad5c0b57b0de66bbde999a092c6e17567f66ea7fd31642cde5844b606e9562848d129
|
||||
DIST tailscale-1.72.0-deps.tar.xz 410263672 BLAKE2B 5255ca538ad2214e36ffc071d60af7190fc4483a7d386d971435da6a3dbb9fa6de56e65f0703d5f48659408545f3790abf31724831c47da942a7c4e82d26193d SHA512 53665eb1e976f0ba23b301f4409b5c2c924af511de1d87302e83297ca249e01c5dcd34f1af3354b38719f459694e31ca4faacdba467f46d9112f033b1ca7441d
|
||||
DIST tailscale-1.72.0-deps.tar.xz 226770144 BLAKE2B 4c23fe678a320f674cafb9e3d9f80c9a698bb6133ac8a64fe6024822e03a93ce9cdfcb0838370a8cb6da38da6d6f0241c9599f3a1b11224d1dd531ba00efa629 SHA512 848e83af5f26883cd7f56e19749cf02a489a5a7e0a0c7e23d4df6f44d59d311e7f28ddd4e67c29626c6d7d8232d867d249a6f8287177bddab59c5279a3cf776d
|
||||
DIST tailscale-1.72.0.tar.gz 3031783 BLAKE2B 58e7609a8481ee0bbf58ad3b3d924d88192c201ea32d4efbf015201d2d67a8a330ee93452bdd23c902065bcd924f18e793ac531348c2c34591fab15c2c2eb01b SHA512 ed1b853bde7a5aadc469e2d2e810db8b800514d8278b24d3f2453ecc3e89b4198999e52f3bbc7743302ab60ad78432d5222808ce7e7739befd9bd15ad2eda20a
|
||||
DIST tailscale-1.72.1-deps.tar.xz 410322072 BLAKE2B d258b9b9337bb8275344db078dd318f8bf20721b16c56ee111c67ecce374cb99c39eb4618bb6bb821985444759b84fb9461473bddc421f423359860870f949f2 SHA512 777f5be7104df20861d0e52ab6234c5600fab39031fb215e72e079a23a5be30b1f2a3a7ee5a462ce316ec66440aeaae7ddecbbe24e3c51edd97cfea7e4bd3eff
|
||||
DIST tailscale-1.72.1.tar.gz 3031695 BLAKE2B dafbbeaf2d357b920b535d8d2ac549e7a752423496871e0fa9ef2f84539ff73a59b395c44dcb89266335bc84e4b9cdb0fbf8b37885303e6eb3cd9e1f53534238 SHA512 9ee23d78ce305232184489df5caf0bb22d43ab5be99327801ae077de5aa720e09d9ca43c1585a62d2dc1b5099304bfabf82ca9d0c17a250eae66ffc5ca960713
|
||||
|
|
60
net-vpn/tailscale/tailscale-1.72.1.ebuild
Normal file
60
net-vpn/tailscale/tailscale-1.72.1.ebuild
Normal 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="72"
|
||||
VERSION_SHORT="1.72.1"
|
||||
VERSION_LONG="1.72.1-tf4a95663c"
|
||||
VERSION_GIT_HASH="f4a95663c8995b0a2362abef64ee91eceec52228"
|
||||
|
||||
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
|
||||
}
|
Loading…
Add table
Reference in a new issue