diff --git a/security/vault/Makefile b/security/vault/Makefile index 820ce7fd8633..9ccffd9cffc2 100644 --- a/security/vault/Makefile +++ b/security/vault/Makefile @@ -1,72 +1,72 @@ PORTNAME= vault DISTVERSIONPREFIX= v -DISTVERSION= 2.0.2 +DISTVERSION= 2.0.3 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 52a422c21fa6..f3dca9d0b5fe 100644 --- a/security/vault/distinfo +++ b/security/vault/distinfo @@ -1,17 +1,17 @@ -TIMESTAMP = 1780745110 -SHA256 (go/security_vault/hashicorp-vault-v2.0.2_GH0/go.mod) = b277b732f6268b81f2e76d13c947786a34306603e05f98b89e63fbdda6b55d8e -SIZE (go/security_vault/hashicorp-vault-v2.0.2_GH0/go.mod) = 32066 -SHA256 (go/security_vault/hashicorp-vault-v2.0.2_GH0/api/go.mod) = 22058a063b31352ab44f1663ec0ad77363b2fd1b654584156f46b769f08b3b84 -SIZE (go/security_vault/hashicorp-vault-v2.0.2_GH0/api/go.mod) = 1598 -SHA256 (go/security_vault/hashicorp-vault-v2.0.2_GH0/api/auth/approle/go.mod) = d74fb93c11b264a8c583c2f56afbffcd264b7de3ccbb391192fc6464c5497f16 -SIZE (go/security_vault/hashicorp-vault-v2.0.2_GH0/api/auth/approle/go.mod) = 1004 -SHA256 (go/security_vault/hashicorp-vault-v2.0.2_GH0/api/auth/kubernetes/go.mod) = 707621c459356c055972655953e7a75dbf5897bddd9ddce14e1c8c4cf9ea51fa -SIZE (go/security_vault/hashicorp-vault-v2.0.2_GH0/api/auth/kubernetes/go.mod) = 1007 -SHA256 (go/security_vault/hashicorp-vault-v2.0.2_GH0/api/auth/userpass/go.mod) = 9f50c4a5fc276fa689297e5e15c98425f8bff16dfc2d9ea97033562bee0a2070 -SIZE (go/security_vault/hashicorp-vault-v2.0.2_GH0/api/auth/userpass/go.mod) = 1005 -SHA256 (go/security_vault/hashicorp-vault-v2.0.2_GH0/sdk/go.mod) = dc2456beae82335eae52b60b0d6497c61d223165ce4b30c9217a86d9f3cac06c -SIZE (go/security_vault/hashicorp-vault-v2.0.2_GH0/sdk/go.mod) = 6195 -SHA256 (go/security_vault/hashicorp-vault-v2.0.2_GH0/vault-web_ui-2.0.2.tar.gz) = 89b70de7665ef576e9d9ef855b38cbeb7206cc08b071a4aa42a4b5f762b9a51a -SIZE (go/security_vault/hashicorp-vault-v2.0.2_GH0/vault-web_ui-2.0.2.tar.gz) = 6005758 -SHA256 (go/security_vault/hashicorp-vault-v2.0.2_GH0/hashicorp-vault-v2.0.2_GH0.tar.gz) = be3fc3c437b8566e891f0a573d5b1b14fa7d03d3c7f7efea6fee2618babd651b -SIZE (go/security_vault/hashicorp-vault-v2.0.2_GH0/hashicorp-vault-v2.0.2_GH0.tar.gz) = 10305390 +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