1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/net/cloudflared/Makefile
Muhammad Moinur Rahman dc0b23fd50
net/cloudflared: PIN to GO 1.20
PR:		277776
Approved by:	portmgr (blanket)
2024-03-24 15:28:59 +01:00

28 lines
654 B
Makefile

PORTNAME= cloudflared
DISTVERSION= 2023.10.0
PORTREVISION= 2
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.20,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 -extldflags "-static" -X main.Version=${PORTVERSION}'
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>