diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-05-09 19:10:27 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-05-09 19:10:27 +0000 |
| commit | 7f7e3a8f33bbf2fd204e5e9510395a0585591ed5 (patch) | |
| tree | bf93391d06f06709a78337b912bd1e4d85b1a70c /net-vpn | |
| parent | 778b9a126cf880511553d51c90dbc927144e01e0 (diff) | |
| download | baldeagleos-repo-7f7e3a8f33bbf2fd204e5e9510395a0585591ed5.tar.gz baldeagleos-repo-7f7e3a8f33bbf2fd204e5e9510395a0585591ed5.tar.xz baldeagleos-repo-7f7e3a8f33bbf2fd204e5e9510395a0585591ed5.zip | |
Adding metadata
Diffstat (limited to 'net-vpn')
| -rw-r--r-- | net-vpn/cloudflared/Manifest | 2 | ||||
| -rw-r--r-- | net-vpn/cloudflared/cloudflared-2025.10.1.ebuild | 31 | ||||
| -rw-r--r-- | net-vpn/cloudflared/cloudflared-2026.1.2.ebuild | 31 | ||||
| -rw-r--r-- | net-vpn/tailscale/Manifest | 2 | ||||
| -rw-r--r-- | net-vpn/tailscale/tailscale-1.98.1.ebuild | 69 |
5 files changed, 71 insertions, 64 deletions
diff --git a/net-vpn/cloudflared/Manifest b/net-vpn/cloudflared/Manifest index d1c52f7a72ae..6ae7e5289fb8 100644 --- a/net-vpn/cloudflared/Manifest +++ b/net-vpn/cloudflared/Manifest @@ -1,3 +1 @@ -DIST cloudflared-2025.10.1.tar.gz 7234363 BLAKE2B ec898ea8a22a0d99023c70d025a1f6ec274c73749552b3696076143beb1e5298c4c952f328d50485dd88a48f4ea22d0be523df89f602768f176a1b93c1fe88f1 SHA512 e5668e3071bcf86727c0588d620a9b98e519af634539ec84c1654f96bd71def37a2c15b2526807c2fe5799d5a66c5385373cc57332ca1c139cc398e153b6703d -DIST cloudflared-2026.1.2.tar.gz 7232429 BLAKE2B ab4bf8bb70e678834c318bad64f4507b4bb6b171898c5d4edd36fb84d10acacd2d3f3e49de89ba934e5b2cedf4473ede093dda1b97e41bacd5ec3dc3fb3734b8 SHA512 2669d933df5ecd5d4466969566310fd675427dfca1c4122e3c4e5f8214c6fcdb58ddea3b22a26bb4f7111196cdcf61cc11130859996652a212edf850b4f8a769 DIST cloudflared-2026.3.0.tar.gz 7099252 BLAKE2B a4198aa1b43603bd165f446dd18ed9b91932c8327c816853ca695595401259bf8c712feb12763d6950ee2b271f5eee441fdac72d1d27c205c209832775193efd SHA512 4d455bbe04d8b401ed4b3bf721d0ea9a0d4ecbce2ab4680cd83ee3a9fe7504598790cf3ae482901ff95ee8b872da8bd24f1ec8ac1ad783431f7e53c55ad9ee3c diff --git a/net-vpn/cloudflared/cloudflared-2025.10.1.ebuild b/net-vpn/cloudflared/cloudflared-2025.10.1.ebuild deleted file mode 100644 index f66c590daa2e..000000000000 --- a/net-vpn/cloudflared/cloudflared-2025.10.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="A command-line client and tunneling daemon for Cloudflare Tunnel" -HOMEPAGE="https://github.com/cloudflare/cloudflared" -SRC_URI="https://github.com/cloudflare/cloudflared/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - -# "make test" fails since cloudflared-2024.12.1, and fails with network-sanbox -RESTRICT="test" - -BDEPEND=">=dev-lang/go-1.24.9" - -src_compile(){ - local ldflags=" - -X main.Version=${PV} - -X 'main.BuildTime=$(date +'%F %T %z')'" - ego build -ldflags "${ldflags}" ./cmd/cloudflared -} - -src_install(){ - dobin cloudflared - einstalldocs -} diff --git a/net-vpn/cloudflared/cloudflared-2026.1.2.ebuild b/net-vpn/cloudflared/cloudflared-2026.1.2.ebuild deleted file mode 100644 index b5b4a2adc362..000000000000 --- a/net-vpn/cloudflared/cloudflared-2026.1.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="A command-line client and tunneling daemon for Cloudflare Tunnel" -HOMEPAGE="https://github.com/cloudflare/cloudflared" -SRC_URI="https://github.com/cloudflare/cloudflared/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64" - -# "make test" fails since cloudflared-2024.12.1, and fails with network-sanbox -RESTRICT="test" - -BDEPEND=">=dev-lang/go-1.24.11" - -src_compile(){ - local ldflags=" - -X main.Version=${PV} - -X 'main.BuildTime=$(date +'%F %T %z')'" - ego build -ldflags "${ldflags}" ./cmd/cloudflared -} - -src_install(){ - dobin cloudflared - einstalldocs -} diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index d8c9a4231a37..463078a05318 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -14,3 +14,5 @@ DIST tailscale-1.96.5-vendor.tar.xz 28208044 BLAKE2B 04b41a6c192b66dbdfb9765afa7 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 +DIST tailscale-1.98.1-vendor.tar.xz 41416640 BLAKE2B 414bdf12b152e77492e91032770ab35f98ca9c4435f14696810413fc25b779f860389524f1f14cc143ece51d4ed3f1022ab4dfe4577d5091660b6b575fcf5b88 SHA512 d666ee9069545d6393721a99865b0701f360676900be97b6d7a122c9d5f3609767908752ed10b8ac5e1bac0bcebd28825f19b5b46edbd4ca203c89858d718f2a +DIST tailscale-1.98.1.tar.gz 4755446 BLAKE2B 3e93004ff4378aa5987f492f52908a5af1c4bff030ce91fbf680421d6641ac669c70a4b7624f9fadbfb4ed732afd8648d871a186f1fa80931dec485f5ecc36af SHA512 9cfd255676809ee95fc1587f40647c6bab39b8a010b11eb55327d99b2dd943184d434020feaa2d04f3d3e980ea3d8cf1f33aa35e635a62d93671b389d492e1a5 diff --git a/net-vpn/tailscale/tailscale-1.98.1.ebuild b/net-vpn/tailscale/tailscale-1.98.1.ebuild new file mode 100644 index 000000000000..46e583f6d7c5 --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.98.1.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="87ab41993e0aba0965ef887af38c2543572bef3a" +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 +} |
