git: 131e682e61b1 - main - net/cloudflared: update 2023.2.1 to 2023.8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Aug 2023 16:54:11 UTC
The branch main has been updated by egypcio:
URL: https://cgit.FreeBSD.org/ports/commit/?id=131e682e61b115b384e98e2e5677db22e178fad8
commit 131e682e61b115b384e98e2e5677db22e178fad8
Author: Vinícius Zavam <egypcio@FreeBSD.org>
AuthorDate: 2023-08-27 16:47:11 +0000
Commit: Vinícius Zavam <egypcio@FreeBSD.org>
CommitDate: 2023-08-27 16:47:11 +0000
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
---
net/cloudflared/Makefile | 7 +++----
net/cloudflared/distinfo | 6 +++---
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