net-vpn/cloudflared - 2025.10.1 (gentoo)

Search

Package Information

Description:
A command-line client and tunneling daemon for Cloudflare Tunnel
Homepage:
https://github.com/cloudflare/cloudflared
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
2025.10.1 8 amd64 0
View Raw Ebuild
# 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
}

Dependencies

BDEPEND

>=dev-lang/go-1.24.9

Manifest for 2025.10.1

Type File Size Source URLs
DIST cloudflared-2025.10.1.tar.gz 7234363 bytes https://github.com/cloudflare/cloudflared/archive/refs/tags/2025.10.1.tar.gz