forked from Lainports/freebsd-ports
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
This commit is contained in:
parent
4dece3b065
commit
131e682e61
2 changed files with 6 additions and 7 deletions
|
|
@ -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}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue