mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
net-vpn/cloudflared: add 2026.5.2
Closes: https://github.com/gentoo/gentoo/pull/46250 Signed-off-by: jinqiang zhang <peeweep@0x0.ee> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
committed by
Yixun Lan
parent
610f0f2d59
commit
cda333050e
@@ -1 +1,2 @@
|
||||
DIST cloudflared-2026.3.0.tar.gz 7099252 BLAKE2B a4198aa1b43603bd165f446dd18ed9b91932c8327c816853ca695595401259bf8c712feb12763d6950ee2b271f5eee441fdac72d1d27c205c209832775193efd SHA512 4d455bbe04d8b401ed4b3bf721d0ea9a0d4ecbce2ab4680cd83ee3a9fe7504598790cf3ae482901ff95ee8b872da8bd24f1ec8ac1ad783431f7e53c55ad9ee3c
|
||||
DIST cloudflared-2026.5.2.tar.gz 6790497 BLAKE2B c110ff4b1299a7491336bf01db45d4032f817343c0bafc29be97d2f5a21dc343eb53b7f3cb651057a0a920b99d6eea74b6213c1042a3fc4e88a9f817426da6cc SHA512 b64e4f98ea3408638eea259cbaa5e2a3381529c7bcc4dad0ffee388af8785bcf2c249d3d87ba602205bf693ab7a16e68859f9be66b63a2408a7964adf26b9b5a
|
||||
|
||||
31
net-vpn/cloudflared/cloudflared-2026.5.2.ebuild
Normal file
31
net-vpn/cloudflared/cloudflared-2026.5.2.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# 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.26.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
|
||||
}
|
||||
Reference in New Issue
Block a user