net-vpn/cloudflared: new package, add 2025.8.1

Closes: https://bugs.gentoo.org/961933
Closes: https://github.com/gentoo/gentoo/pull/43376
Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
jinqiang zhang
2025-08-24 08:53:19 +00:00
committed by Yixun Lan
parent 08f75cd3a0
commit 45dfe8b4d6
3 changed files with 47 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST cloudflared-2025.8.1.tar.gz 7220860 BLAKE2B 4e8698bc40c769a6bac0233189e674603caf02bed48164bc1cea238e4367dd8f075e8f9358d5d9942f78e7438bd7e1260eb35df9421eab2f60714b0d536f1767 SHA512 b66850c6a1123c883277ea7cd8b8fd0c44083e47ceb3d3d3b6c31404e31cfd29aaa5eb0015a7059109120af9fdb9e65cb9300f3e07a03e3262fb17cc4794d62d
@@ -0,0 +1,31 @@
# 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.4"
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
}
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>peeweep@0x0.ee</email>
<name>jinqiang zhang</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">cloudflare/cloudflared</remote-id>
</upstream>
</pkgmetadata>