aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinícius Zavam <egypcio@FreeBSD.org>2023-08-27 16:47:11 +0000
committerVinícius Zavam <egypcio@FreeBSD.org>2023-08-27 16:47:11 +0000
commit131e682e61b115b384e98e2e5677db22e178fad8 (patch)
tree7757438c5addb3dceb586f6e22c2daf8c609050c
parent4dece3b06589291275b5adfab7a8ebfc182e1ad3 (diff)
downloadports-131e682e61b115b384e98e2e5677db22e178fad8.tar.gz
ports-131e682e61b115b384e98e2e5677db22e178fad8.zip
net/cloudflared: update 2023.2.1 to 2023.8.0
while here: * no longer pin-point the version of go we use to build it; * add '-extldflags "-static"' to GO_BUILDFLAGS; changes and full diff between versions: * https://github.com/cloudflare/cloudflared/blob/2023.8.0/CHANGES.md * https://github.com/cloudflare/cloudflared/compare/2023.2.1...2023.8.0
-rw-r--r--net/cloudflared/Makefile7
-rw-r--r--net/cloudflared/distinfo6
2 files changed, 6 insertions, 7 deletions
diff --git a/net/cloudflared/Makefile b/net/cloudflared/Makefile
index 694d693d46da..671c55207b31 100644
--- a/net/cloudflared/Makefile
+++ b/net/cloudflared/Makefile
@@ -1,6 +1,5 @@
PORTNAME= cloudflared
-DISTVERSION= 2023.2.1
-PORTREVISION= 4
+DISTVERSION= 2023.8.0
CATEGORIES= net www
MAINTAINER= egypcio@FreeBSD.org
@@ -12,7 +11,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
-USES= cpe go:1.19,modules
+USES= cpe go:modules
USE_RC_SUBR= ${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= cloudflare
@@ -20,7 +19,7 @@ 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}'
+GO_BUILDFLAGS= -ldflags '-s -w -extldflags "-static" -X main.Version=${PORTVERSION}'
PLIST_FILES= bin/${PORTNAME}
diff --git a/net/cloudflared/distinfo b/net/cloudflared/distinfo
index 2c50123d61dc..ffae3db6415a 100644
--- a/net/cloudflared/distinfo
+++ b/net/cloudflared/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676213625
-SHA256 (cloudflare-cloudflared-2023.2.1_GH0.tar.gz) = 468b0953eca6ab189859073067857062c91ed9adb18e12a43527e0dba3aa6409
-SIZE (cloudflare-cloudflared-2023.2.1_GH0.tar.gz) = 7403786
+TIMESTAMP = 1693154178
+SHA256 (cloudflare-cloudflared-2023.8.0_GH0.tar.gz) = 37844b536f40d31d2eafa62c7d2f543d8ec23cf35185f3b0d2b9d0a72cccf78d
+SIZE (cloudflare-cloudflared-2023.8.0_GH0.tar.gz) = 7036632