Skip to content

Commit

Permalink
net/cloudflared: update 2023.2.1 to 2023.8.0
Browse files Browse the repository at this point in the history
  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
  * cloudflare/cloudflared@2023.2.1...2023.8.0
  • Loading branch information
egypcio committed Aug 27, 2023
1 parent 4dece3b commit 131e682
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions 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
Expand All @@ -12,15 +11,15 @@ 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
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}

Expand Down
6 changes: 3 additions & 3 deletions 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

0 comments on commit 131e682

Please sign in to comment.