openbsd-ports/security/vault/Makefile

37 lines
908 B
Makefile

COMMENT= secure secret storage
VERSION= 1.12.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: cd ui; yarn install --ignore-optional; \
# npm rebuild node-sass; yarn --verbose run build
DISTNAME= vault-vendored-${VERSION}
PKGNAME= vault-${VERSION}
### Vault UI
MODGO_FLAGS= -tags=ui
MASTER_SITES= https://distfiles.tristero.se/
CATEGORIES= security net
HOMEPAGE= https://www.vaultproject.io/
MAINTAINER= Pavel Korovin <pvk@openbsd.org>
# MPLv2
PERMIT_PACKAGE= Yes
WANTLIB += c pthread
MODULES= lang/go
ALL_TARGET= github.com/hashicorp/vault
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vault
${INSTALL_DATA} ${FILESDIR}/vault.hcl \
${PREFIX}/share/examples/vault
.include <bsd.port.mk>