diff --git a/security/vault/Makefile b/security/vault/Makefile index d49cd7317958..b07e3d87d2c3 100644 --- a/security/vault/Makefile +++ b/security/vault/Makefile @@ -1,73 +1,72 @@ PORTNAME= vault DISTVERSIONPREFIX= v -DISTVERSION= 2.0.4 -PORTREVISION= 3 +DISTVERSION= 2.1.0 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 +GITID= cb6a54face072e372480d7cc2e64a3110b84756f .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 ed00544a6ed7..07ff478771aa 100644 --- a/security/vault/distinfo +++ b/security/vault/distinfo @@ -1,17 +1,17 @@ -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 +TIMESTAMP = 1789215054 +SHA256 (go/security_vault/hashicorp-vault-v2.1.0_GH0/go.mod) = 94f10eec14e9cf53e90d5e36f99e8f0beb074abf6375051846054997245ea3b8 +SIZE (go/security_vault/hashicorp-vault-v2.1.0_GH0/go.mod) = 31529 +SHA256 (go/security_vault/hashicorp-vault-v2.1.0_GH0/api/go.mod) = 22058a063b31352ab44f1663ec0ad77363b2fd1b654584156f46b769f08b3b84 +SIZE (go/security_vault/hashicorp-vault-v2.1.0_GH0/api/go.mod) = 1598 +SHA256 (go/security_vault/hashicorp-vault-v2.1.0_GH0/api/auth/approle/go.mod) = d74fb93c11b264a8c583c2f56afbffcd264b7de3ccbb391192fc6464c5497f16 +SIZE (go/security_vault/hashicorp-vault-v2.1.0_GH0/api/auth/approle/go.mod) = 1004 +SHA256 (go/security_vault/hashicorp-vault-v2.1.0_GH0/api/auth/kubernetes/go.mod) = 707621c459356c055972655953e7a75dbf5897bddd9ddce14e1c8c4cf9ea51fa +SIZE (go/security_vault/hashicorp-vault-v2.1.0_GH0/api/auth/kubernetes/go.mod) = 1007 +SHA256 (go/security_vault/hashicorp-vault-v2.1.0_GH0/api/auth/userpass/go.mod) = 9f50c4a5fc276fa689297e5e15c98425f8bff16dfc2d9ea97033562bee0a2070 +SIZE (go/security_vault/hashicorp-vault-v2.1.0_GH0/api/auth/userpass/go.mod) = 1005 +SHA256 (go/security_vault/hashicorp-vault-v2.1.0_GH0/sdk/go.mod) = 2b3cee698042706ca37f1176520e849d84a671da0cf858dba4f68b5477469a86 +SIZE (go/security_vault/hashicorp-vault-v2.1.0_GH0/sdk/go.mod) = 6195 +SHA256 (go/security_vault/hashicorp-vault-v2.1.0_GH0/vault-web_ui-2.1.0.tar.gz) = c6dcb64676ca4a0675c17bfa3011228e4a94118626f5f2f97bc5296ad807d7ef +SIZE (go/security_vault/hashicorp-vault-v2.1.0_GH0/vault-web_ui-2.1.0.tar.gz) = 6060225 +SHA256 (go/security_vault/hashicorp-vault-v2.1.0_GH0/hashicorp-vault-v2.1.0_GH0.tar.gz) = c321ddcb768def1ce05ae19a3967f30ca1c6018aded8d55278a389b438449305 +SIZE (go/security_vault/hashicorp-vault-v2.1.0_GH0/hashicorp-vault-v2.1.0_GH0.tar.gz) = 10521992