From 94dd707d272879a8dfdd31d71113b1b7bba98366 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 17 Oct 2023 22:03:16 +0100 Subject: gentoo auto-resync : 17:10:2023 - 22:03:16 --- net-vpn/tailscale/Manifest | 3 ++ net-vpn/tailscale/tailscale-1.50.1.ebuild | 59 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 net-vpn/tailscale/tailscale-1.50.1.ebuild (limited to 'net-vpn/tailscale') diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index efa2410a4b6b..3623fa285649 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -7,7 +7,10 @@ DIST tailscale-1.38.4-deps.tar.xz 252299404 BLAKE2B aa500af08c64dd07dc04b4f96d8c DIST tailscale-1.38.4.tar.gz 1644918 BLAKE2B e61c32513afe8715b99e5ee14ee572849fd1b92c31744894af4d028ab599685d2e38c5fb6eb9e8d40e0638d427065499089152ae002ef7dc947d3957f0fdc785 SHA512 f077217d9333263f3883d766abfb8a9adef3cf9c06544cca28bca41e6f51bf06991a0d31ff2ec0dbf01e80cbc04c903bb5b55cdcd871269d3b659664ce24d011 DIST tailscale-1.46.1-deps.tar.xz 370535596 BLAKE2B 84c37e83f6ced653132c9a3639ad652cf258ab232d7f32fd5fbe8d2303aaae87c169bc6948c602be435f88c05373c6908d2120b16b83fc3795230fd633a62add SHA512 358a91bdff4df7933660a31f0c967e090c8b10b42abf3e6497bf163e93bf86e4b98b5defadf5dba87815c941361310bfde6060927da73eac0bb55f56c80dace2 DIST tailscale-1.46.1.tar.gz 1817180 BLAKE2B b5ace1aa3fa98b14be53bbf55ec271cbbaf4c28a095300963961dd8bc5ee308091d46807af3b82f8ecb88070763a245292304706ab29e74d6f1e56ff495c2c51 SHA512 cecaa216b1f451b65e826856f630e5dd8ef9bbd85684602450e71f0f46b6b1b97bf20a0b7c401a72c354a5a9404386d6bd03350da2a65fb4e358320763d93ab4 +DIST tailscale-1.50.1-deps.tar.xz 371484616 BLAKE2B cb4ac1939c4ad36bf3c752ccbdd1f34469e96e0576ae0f4bdede2f6e8ce8865c17addaead22c3be862846b1b9399900c0f3c8c0d720c5200c35405a974c85ec8 SHA512 3f11ba62e9879c0e51cd76a6e524d5e6bacb101e26e700872507f08c7924147a146a56933cd391a2b845bfb4fc7ad31a0a13dbc21dd3c8a2f7e10feea6d8b926 +DIST tailscale-1.50.1.tar.gz 1992569 BLAKE2B 503dd358d13f038eafd67d2c00f292965eaba390ec483daded893082a87428c4bbf01bafb0339aaca3ebc62123985f0686046959d4aa25325b877a779de83b34 SHA512 3eb0e0f0ef6df4d77f9649fb8deb8b829286bc8ab70016b09da6aad9aa4e5d027494e2151db425b52e775997345d39d13bce6013e8c69700023a936f142dcfd6 EBUILD tailscale-1.36.2.ebuild 1524 BLAKE2B e4b2e340f6a693e85fdf7390b7fbd93028cdac94aa8ee65cb0d35773211cdb3af45a91e67eb08866fc8832439f4d404c89e708f6289a8aad1a7646d3dea9a53d SHA512 7a096e002b882985876f2f545e103f66dfbc8f25e7bc071efa27109f9d252057a6b6273077cafb98a9e9ec9370b2faeefd29bda03b998d46d2ed7c80af0e7657 EBUILD tailscale-1.38.4.ebuild 1522 BLAKE2B 5253b36b7221472205383fb722d43034b511374b119738bf65b15c2da713bab331b0ddfb398ffbefbca5647c16675557b249d294d4c49642e1a32dcdfbbde825 SHA512 fd638cc5dd609cd317807b251fefa9bef40729bd0880f435178e953a90e7df035034f9162c886ca938af04ecdf6771c185a1c6793d90ecb47a69f9deeaac0190 EBUILD tailscale-1.46.1.ebuild 1522 BLAKE2B 6afbbe05c541ec3304acd746cf28917919b23373edad4afe4b1e2564a6500b1d585dfb1adce0bc18719779c4dc5304f32c72b594c0b0e57e307c33f36eb52dce SHA512 737ef6a0ed62298eba12578a4b45eceb51b14a990632c1eb002dfe4189d900f68e7074a78b934e24081d846198d5e38e20f0da71a6e286f25c9c7782d3638a05 +EBUILD tailscale-1.50.1.ebuild 1522 BLAKE2B 8beafd529f282e93d33610b5dad2a76df7b3888dd956cf8e04b5c588be64eca3bf17ca11132bcc2488424c1b3658abeb14c7e0cb6e235909d01de88318da2900 SHA512 bcf941dc6b0cbef5e67a95e25f8df61ee8a9e86ee759086606339bf403725b65ccbed573b8079d1c758fba55137f6dcc3e4f6053a1285b6a19eab29940d0c504 MISC metadata.xml 359 BLAKE2B 59954b06b03a7ce9134eafcf4e325c7e383e886887ac0baf678414e7790d81f2233d3993657570fbea7eb93cc1f3ccf63452155f204f4f56f56d9e81f1641144 SHA512 edab61fe9050781abcdd5b1a4cdd4bd78376a331c3560cb0d9f153c1300f5be24be3951bc9e64dc8c2edcc1b264518e7ffba48906183b11a17938735331219e5 diff --git a/net-vpn/tailscale/tailscale-1.50.1.ebuild b/net-vpn/tailscale/tailscale-1.50.1.ebuild new file mode 100644 index 000000000000..0c73b128412b --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.50.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 2020-2023 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="50" +VERSION_SHORT="1.50.1" +VERSION_LONG="1.50.1-t874938806" +VERSION_GIT_HASH="8749388061d0251483389fa876afa01e0e76f15b" + +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 ~riscv ~x86" + +RDEPEND="net-firewall/iptables" + +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 +} -- cgit v1.2.3