blob: 9fc5d93ca69353bb4f544843b68d683b0692182e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
PORTNAME= cloudflared
DISTVERSION= 2022.9.1
CATEGORIES= net www
MAINTAINER= egypcio@FreeBSD.org
COMMENT= Cloudflare's Argo Tunnel client
WWW= https://developers.cloudflare.com/argo-tunnel/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
USES= cpe go:1.18,modules
USE_RC_SUBR= ${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= cloudflare
CPE_VENDOR= cloudflare
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET= ${GO_PKGNAME}/cmd/cloudflared
GO_BUILDFLAGS+= -ldflags '-s -w -X main.Version=${PORTVERSION}'
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
|