diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-05-06 19:40:37 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-05-06 19:40:37 +0000 |
| commit | 6c2c44c149dc52d1f72e760c171f73fa33c4ee45 (patch) | |
| tree | 3773e2585fde44992b91653203cbd021b1d82e2e /net-vpn | |
| parent | 5a1e2f874db05baac26359a99597859d0f575014 (diff) | |
| download | baldeagleos-repo-6c2c44c149dc52d1f72e760c171f73fa33c4ee45.tar.gz baldeagleos-repo-6c2c44c149dc52d1f72e760c171f73fa33c4ee45.tar.xz baldeagleos-repo-6c2c44c149dc52d1f72e760c171f73fa33c4ee45.zip | |
Adding metadata
Diffstat (limited to 'net-vpn')
| -rw-r--r-- | net-vpn/headscale/headscale-0.27.1.ebuild | 1 | ||||
| -rw-r--r-- | net-vpn/tailscale/Manifest | 2 | ||||
| -rw-r--r-- | net-vpn/tailscale/tailscale-1.96.5.ebuild | 2 | ||||
| -rw-r--r-- | net-vpn/tailscale/tailscale-1.98.0.ebuild | 69 |
4 files changed, 73 insertions, 1 deletions
diff --git a/net-vpn/headscale/headscale-0.27.1.ebuild b/net-vpn/headscale/headscale-0.27.1.ebuild index 8661509fc53d..ad6c3c58b580 100644 --- a/net-vpn/headscale/headscale-0.27.1.ebuild +++ b/net-vpn/headscale/headscale-0.27.1.ebuild @@ -23,6 +23,7 @@ RDEPEND=" ${DEPEND} net-firewall/iptables " +BDEPEND=">=dev-lang/go-1.25.0" src_compile() { export -n GOCACHE XDG_CACHE_HOME diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index 70a7e269ab0f..d8c9a4231a37 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -12,3 +12,5 @@ DIST tailscale-1.92.4-deps.tar.xz 261683816 BLAKE2B e20589b62558cc756f85f7528997 DIST tailscale-1.92.4.tar.gz 4376455 BLAKE2B fd526abf0d73019c4db48ce05cbe964184430c1f94e027344bffe3161379447c4cf776bd7205177357a6ed119187120d0536485c03f58b90e5a6765cc6824521 SHA512 8a9884800982041fa3ee9e955617e71d346f8f2365b24bd7a5673a810a887e57dd901d1b0ca1d7649ab84f2e2831222387e5258ef2d9abfcffa56535d618d586 DIST tailscale-1.96.5-vendor.tar.xz 28208044 BLAKE2B 04b41a6c192b66dbdfb9765afa736c233539a5eb8fbdc6d9000157ca2cd85b322477553e0ce1312104a19079e886dd87bcebfbf08348b8694ed6a4666c55babe SHA512 40f3c12f89856a0f91b8da986d7fc0e0a955a2fc28a33cb1c4cb86427ad17d5a7a47adb6614047fd60eb12faaff740b38f2fc90c8f2bbbb142c1abfe1a4d5e04 DIST tailscale-1.96.5.tar.gz 4527087 BLAKE2B 9c07399c0d020bed47e2b88f43139b4e3c8600f6236d07137e17e1306261b4c88946099c64994be6a4218578370a7ae5685b6159161e9c709091c03409ba2f38 SHA512 b48966dbf3d8d10ec2a94cb948c5998140b2562aafc4539456e652fc6224145631e770982b9d1866657ed897777ffd4cd5ac7692a5123ebfd93ab4e94b37d7e6 +DIST tailscale-1.98.0-vendor.tar.xz 41420620 BLAKE2B 658c13bbbf0ee56def08b2e63fe67001d1724aa75c06e51636bda6f1cf31f993f573c00596c00e1adab0b75d6c315e4f6ba566602f13f2b8541a27d2fe66fb21 SHA512 25fb854ee73aebada0c86eb1f7ca1cd0d0bed792bb9ade99dc09a8224b8ec326dd45b812a97be935f346cd8a083725698c6eec1bd854d4852034268a9e303cc3 +DIST tailscale-1.98.0.tar.gz 4756618 BLAKE2B 96976f3f1b3acddd0453559fbed2d7bec971a19ed2834dd9219855c6d3a65d7788a312ab76d7caae5aa43cacfe4761fe0ac3bda1631cc957e69c1a4c6432d60c SHA512 47a1ff3bded30c687ba96b260621f036bf7a52ddc368ac2e47471aeb9dc5edf9615f93c0cfa26cb9d5a56a367c3e02f51096fdec21636c840327b6d899044911 diff --git a/net-vpn/tailscale/tailscale-1.96.5.ebuild b/net-vpn/tailscale/tailscale-1.96.5.ebuild index ddc036b5be1f..29ef650c427d 100644 --- a/net-vpn/tailscale/tailscale-1.96.5.ebuild +++ b/net-vpn/tailscale/tailscale-1.96.5.ebuild @@ -18,7 +18,7 @@ SRC_URI+=" https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/ LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv ~x86" RESTRICT="test" CONFIG_CHECK="~TUN" diff --git a/net-vpn/tailscale/tailscale-1.98.0.ebuild b/net-vpn/tailscale/tailscale-1.98.0.ebuild new file mode 100644 index 000000000000..0a345d0b15f5 --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.98.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module linux-info shell-completion systemd sysroot tmpfiles + +# They should be updated on every bump. +VERSION_GIT_HASH="f2d5ef72bd2fc32db115550646a58076b7898853" +VERSION_MINOR=$(ver_cut 2) +VERSION_SHORT=${PV} +VERSION_LONG=${PV}-t${VERSION_GIT_HASH::9} + +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://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz" + +LICENSE="MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +RESTRICT="test" + +CONFIG_CHECK="~TUN" + +RDEPEND="|| ( net-firewall/iptables net-firewall/nftables )" +BDEPEND=">=dev-lang/go-1.26.2" + +src_compile() { + # This translates the build command from upstream's build_dist.sh to an + # ebuild equivalent. + local go_ldflags=( + -X tailscale.com/version.longStamp=${VERSION_LONG} + -X tailscale.com/version.shortStamp=${VERSION_SHORT} + -X tailscale.com/version.gitCommitStamp=${VERSION_GIT_HASH} + ) + ego build -tags xversion -ldflags "${go_ldflags[*]}" -o bin/ ./cmd/tailscale ./cmd/tailscaled + + einfo "generating shell completion files" + sysroot_try_run_prefixed ./bin/tailscale completion bash > ${PN}.bash || die + sysroot_try_run_prefixed ./bin/tailscale completion zsh > ${PN}.zsh || die + sysroot_try_run_prefixed ./bin/tailscale completion fish > ${PN}.fish || die +} + +src_install() { + dosbin bin/tailscaled + dobin bin/tailscale + + systemd_dounit cmd/tailscaled/{tailscaled.service,tailscale-online.target,tailscale-wait-online.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} + + [[ -s ${PN}.bash ]] && newbashcomp ${PN}.bash ${PN} + [[ -s ${PN}.zsh ]] && newzshcomp ${PN}.zsh _${PN} + [[ -s ${PN}.fish ]] && dofishcomp ${PN}.fish +} + +pkg_postinst() { + tmpfiles_process ${PN}.conf +} |
