2019-05-30 07:58:42 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2019/05/30 11:58:42 ajacoutot Exp $
|
2016-05-12 11:53:33 -04:00
|
|
|
|
|
|
|
COMMENT= secure secret storage
|
|
|
|
|
2019-05-30 07:58:42 -04:00
|
|
|
GH_TAGNAME= v1.1.2
|
2016-05-12 11:53:33 -04:00
|
|
|
GH_ACCOUNT= hashicorp
|
|
|
|
GH_PROJECT= vault
|
|
|
|
|
|
|
|
CATEGORIES= security net
|
|
|
|
|
|
|
|
HOMEPAGE= https://www.vaultproject.io/
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# MPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
WANTLIB += c pthread
|
|
|
|
|
|
|
|
MODULES= lang/go
|
|
|
|
|
2017-05-26 08:53:52 -04:00
|
|
|
# go/src/github.com/hashicorp/vault/version/version.go
|
|
|
|
MODGO_LDFLAGS += -X github.com/hashicorp/vault/version.GitDescribe=${GH_TAGNAME:S/v//}
|
|
|
|
MODGO_LDFLAGS += -X github.com/hashicorp/vault/version.VersionPrerelease="" # empty
|
|
|
|
|
2016-05-12 11:53:33 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vault
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/vault.hcl \
|
|
|
|
${PREFIX}/share/examples/vault
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|