mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
BROKEN-i386= /usr/local/go/pkg/tool/openbsd_386/link: mapping output file failed: cannot allocate memory
|
|
|
|
COMMENT= secure secret storage
|
|
|
|
VERSION= 2.0.2
|
|
# vault-vendored distfile generated by fetching archive from
|
|
# https://github.com/hashicorp/vault/archive/v$VERSION/vault-$VERSION.tar.gz
|
|
# and running:
|
|
# go mod tidy; go mod vendor
|
|
# UI prebuilt with:
|
|
# doas corepack enable; cd ui; corepack pnpm install
|
|
# npm rebuild node-sass @hashicorp/vault-client-typescript
|
|
# npx update-browserslist-db@latest; corepack pnpm run build
|
|
# rm -rf node_modules
|
|
DISTNAME= vault-vendored-${VERSION}
|
|
PKGNAME= vault-${VERSION}
|
|
|
|
### Vault UI
|
|
MODGO_FLAGS= -tags=ui
|
|
SITES= https://distfiles.tristero.se/
|
|
|
|
CATEGORIES= security net
|
|
|
|
HOMEPAGE= https://www.vaultproject.io/
|
|
|
|
MAINTAINER= Pavel Korovin <pvk@openbsd.org>
|
|
|
|
# BSLv1.1
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MAKE_ENV= CGO_ENABLED=0
|
|
|
|
WANTLIB+= c pthread
|
|
|
|
MODULES= lang/go
|
|
|
|
ALL_TARGET= github.com/hashicorp/vault
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vault
|
|
${INSTALL_DATA} ${FILESDIR}/*.hcl \
|
|
${PREFIX}/share/examples/vault
|
|
|
|
.include <bsd.port.mk>
|