mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
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:
@@ -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
|
||||
}
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user