forked from Lainports/freebsd-ports
While here, update Go version from 1.18 to 1.19 - 1.18 is out of support - Release Policy: https://go.dev/doc/devel/release#policy - EOL? https://endoflife.date/go https://github.com/cloudflare/cloudflared/compare/2022.12.1...2023.2.1 2023.2.1 - TUN-7065: Revert Ingress Rule check for named tunnel configurations - Revert "TUN-7065: Revert Ingress Rule check for named tunnel configurations" - Revert "TUN-7065: Remove classic tunnel creation" 2023.1.0 - TUN-7064: RPM digests are now sha256 instead of md5sum - RTG-2418 Update qtls - TUN-7057: Remove dependency github.com/gorilla/mux - TUN-6724: Migrate to sentry-go from raven-go PR: 269309 Reported by: dmgk@
26 lines
616 B
Makefile
26 lines
616 B
Makefile
PORTNAME= cloudflared
|
|
DISTVERSION= 2023.2.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.19,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>
|