diff --git a/security/vault/Makefile b/security/vault/Makefile index 9e2b5abcf9f1..81a6a911827b 100644 --- a/security/vault/Makefile +++ b/security/vault/Makefile @@ -1,73 +1,72 @@ PORTNAME= vault DISTVERSIONPREFIX= v -DISTVERSION= 2.0.3 -PORTREVISION= 1 +DISTVERSION= 2.0.4 CATEGORIES= security MASTER_SITES= https://raw.githubusercontent.com/hashicorp/vault/${DISTVERSIONFULL}/ \ LOCAL/bofh/security/${PORTNAME}/:web_ui DISTFILES= go.mod \ api/go.mod \ api/auth/approle/go.mod \ api/auth/kubernetes/go.mod \ api/auth/userpass/go.mod \ sdk/go.mod \ ${PORTNAME}-web_ui-${DISTVERSION}${EXTRACT_SUFX}:web_ui MAINTAINER= bofh@FreeBSD.org COMMENT= Tool for securely accessing secrets WWW= https://vaultproject.io/ NOT_FOR_ARCHS= armv7 i386 NOT_FOR_ARCHS_REASON= fatal error: out of memory LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE .if defined(MAINTAINER_MODE) EXTRACT_DEPENDS=npm-node20>0:www/npm-node20 .endif USES= cpe go:1.26+,modules CPE_VENDOR= hashicorp USE_GITHUB= yes GH_ACCOUNT= hashicorp USE_RC_SUBR= vault GO_MODULE= github.com/hashicorp/vault GO_BUILDFLAGS= -ldflags="-s \ -X github.com/hashicorp/vault/version.GitCommit=${GITID} \ -X github.com/hashicorp/vault/version.BuildDate=${SOURCE_DATE_EPOCH:U${SOURCE_DATE_EPOCH_CMD:sh}} \ " -tags "vault ui" SUB_FILES= pkg-message USERS= vault GROUPS= vault PLIST_FILES= bin/${PORTNAME} GITID= a71d5add7ef4111ec4015e9a81b06388f652e2ac .include # Bring DISTINFO_FILE into scope so we can get the timestamp. SOURCE_DATE_EPOCH_CMD= date -ur \ $$(${GREP} -m1 TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') \ '+%Y-%m-%dT%H:%M:%SZ' post-patch: ${CP} -Rf ${WRKDIR}/web_ui ${WRKSRC}/http/ .if defined(MAINTAINER_MODE) _make-web_ui: clean extract cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} npm install -g pnpm@latest-10 cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} pnpm i cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} npm rebuild node-sass cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} pnpm run build cd ${WRKDIR} && ${TAR} -czf \ ${PORTNAME}-web_ui-${DISTVERSION}${EXTRACT_SUFX} -C ${WRKSRC}/http web_ui scp ${WRKDIR}/${PORTNAME}-web_ui-${DISTVERSION}${EXTRACT_SUFX} \ bofh@freefall.freebsd.org:public_distfiles/security/${PORTNAME}/ .endif .include diff --git a/security/vault/distinfo b/security/vault/distinfo index f3dca9d0b5fe..ed00544a6ed7 100644 --- a/security/vault/distinfo +++ b/security/vault/distinfo @@ -1,17 +1,17 @@ -TIMESTAMP = 1781984235 -SHA256 (go/security_vault/hashicorp-vault-v2.0.3_GH0/go.mod) = 4b274ba5a403a0775e6db66f52d7b325d9f0fdbb66a6f56f7770ef3495a71b1d -SIZE (go/security_vault/hashicorp-vault-v2.0.3_GH0/go.mod) = 32065 -SHA256 (go/security_vault/hashicorp-vault-v2.0.3_GH0/api/go.mod) = 22058a063b31352ab44f1663ec0ad77363b2fd1b654584156f46b769f08b3b84 -SIZE (go/security_vault/hashicorp-vault-v2.0.3_GH0/api/go.mod) = 1598 -SHA256 (go/security_vault/hashicorp-vault-v2.0.3_GH0/api/auth/approle/go.mod) = d74fb93c11b264a8c583c2f56afbffcd264b7de3ccbb391192fc6464c5497f16 -SIZE (go/security_vault/hashicorp-vault-v2.0.3_GH0/api/auth/approle/go.mod) = 1004 -SHA256 (go/security_vault/hashicorp-vault-v2.0.3_GH0/api/auth/kubernetes/go.mod) = 707621c459356c055972655953e7a75dbf5897bddd9ddce14e1c8c4cf9ea51fa -SIZE (go/security_vault/hashicorp-vault-v2.0.3_GH0/api/auth/kubernetes/go.mod) = 1007 -SHA256 (go/security_vault/hashicorp-vault-v2.0.3_GH0/api/auth/userpass/go.mod) = 9f50c4a5fc276fa689297e5e15c98425f8bff16dfc2d9ea97033562bee0a2070 -SIZE (go/security_vault/hashicorp-vault-v2.0.3_GH0/api/auth/userpass/go.mod) = 1005 -SHA256 (go/security_vault/hashicorp-vault-v2.0.3_GH0/sdk/go.mod) = dc2456beae82335eae52b60b0d6497c61d223165ce4b30c9217a86d9f3cac06c -SIZE (go/security_vault/hashicorp-vault-v2.0.3_GH0/sdk/go.mod) = 6195 -SHA256 (go/security_vault/hashicorp-vault-v2.0.3_GH0/vault-web_ui-2.0.3.tar.gz) = 9885413012bc36198ef87d80a25411d5e49b580a05d5127e5f0e6cdb65aa9a80 -SIZE (go/security_vault/hashicorp-vault-v2.0.3_GH0/vault-web_ui-2.0.3.tar.gz) = 5958692 -SHA256 (go/security_vault/hashicorp-vault-v2.0.3_GH0/hashicorp-vault-v2.0.3_GH0.tar.gz) = 140e76ae46b7da2b9fba36990ae2b35d5bfe94a7d8b391fdfc400b20e79b7e40 -SIZE (go/security_vault/hashicorp-vault-v2.0.3_GH0/hashicorp-vault-v2.0.3_GH0.tar.gz) = 10224152 +TIMESTAMP = 1786106121 +SHA256 (go/security_vault/hashicorp-vault-v2.0.4_GH0/go.mod) = 0963a4204e34d6273ceb6f0f5d3440051eed5786b11b5345df4340635c5604a6 +SIZE (go/security_vault/hashicorp-vault-v2.0.4_GH0/go.mod) = 32201 +SHA256 (go/security_vault/hashicorp-vault-v2.0.4_GH0/api/go.mod) = 22058a063b31352ab44f1663ec0ad77363b2fd1b654584156f46b769f08b3b84 +SIZE (go/security_vault/hashicorp-vault-v2.0.4_GH0/api/go.mod) = 1598 +SHA256 (go/security_vault/hashicorp-vault-v2.0.4_GH0/api/auth/approle/go.mod) = d74fb93c11b264a8c583c2f56afbffcd264b7de3ccbb391192fc6464c5497f16 +SIZE (go/security_vault/hashicorp-vault-v2.0.4_GH0/api/auth/approle/go.mod) = 1004 +SHA256 (go/security_vault/hashicorp-vault-v2.0.4_GH0/api/auth/kubernetes/go.mod) = 707621c459356c055972655953e7a75dbf5897bddd9ddce14e1c8c4cf9ea51fa +SIZE (go/security_vault/hashicorp-vault-v2.0.4_GH0/api/auth/kubernetes/go.mod) = 1007 +SHA256 (go/security_vault/hashicorp-vault-v2.0.4_GH0/api/auth/userpass/go.mod) = 9f50c4a5fc276fa689297e5e15c98425f8bff16dfc2d9ea97033562bee0a2070 +SIZE (go/security_vault/hashicorp-vault-v2.0.4_GH0/api/auth/userpass/go.mod) = 1005 +SHA256 (go/security_vault/hashicorp-vault-v2.0.4_GH0/sdk/go.mod) = 2b3cee698042706ca37f1176520e849d84a671da0cf858dba4f68b5477469a86 +SIZE (go/security_vault/hashicorp-vault-v2.0.4_GH0/sdk/go.mod) = 6195 +SHA256 (go/security_vault/hashicorp-vault-v2.0.4_GH0/vault-web_ui-2.0.4.tar.gz) = 1a1322247d8b8887d41fe3bf8d925cfff0ea21fd7dec862c1ca5e363dd3391b9 +SIZE (go/security_vault/hashicorp-vault-v2.0.4_GH0/vault-web_ui-2.0.4.tar.gz) = 5975226 +SHA256 (go/security_vault/hashicorp-vault-v2.0.4_GH0/hashicorp-vault-v2.0.4_GH0.tar.gz) = 4307ad848455bb7db55cf604b9e3fb42267d86dc49aa6938fd8a60592d48579a +SIZE (go/security_vault/hashicorp-vault-v2.0.4_GH0/hashicorp-vault-v2.0.4_GH0.tar.gz) = 10359051