net-vpn/cloudflared - 2026.10.4 (gentoo)

Search

Install

Install this version:

emerge -a =net-vpn/cloudflared-2026.10.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-vpn/cloudflared-2026.10.4

Or alternatively:

emerge --autounmask-write -a =net-vpn/cloudflared-2026.10.4

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
2026.10.4 9 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

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"
SRC_URI+=" https://github.com/gentoo-golang-dist/cloudflared/releases/download/${PV}/${P}-vendor.tar.xz"

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.27.3"

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
}

Inherited Eclasses

Dependencies

BDEPEND

>=dev-lang/go-1.27.3

Manifest for 2026.10.4

Type File Size Source URLs
DIST cloudflared-2026.10.4-vendor.tar.xz 3350104 bytes https://github.com/gentoo-golang-dist/cloudflared/releases/download/2026.10.4/cloudflared-2026.10.4-vendor.tar.xz
DIST cloudflared-2026.10.4.tar.gz 656277 bytes https://github.com/cloudflare/cloudflared/archive/refs/tags/2026.10.4.tar.gz