blob: a559daa8a52f6eeb8430c8f8ef9535e7927ebb33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.52 2020/06/17 09:54:16 bsiegert Exp $
DISTNAME= vault-1.2.3
PKGREVISION= 6
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=hashicorp/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.vaultproject.io/
COMMENT= Tool for managing secrets
LICENSE= mpl-2.0
GITHUB_TAG= v${PKGVERSION_NOREV}
GO_DIST_BASE= ${DISTNAME}
GO_SRCPATH= github.com/hashicorp/vault
USE_TOOLS+= bash gmake
INSTALLATION_DIRS+= bin
# Clumsy workaround for https://github.com/golang/go/issues/22409
pre-build:
${RM} -rf ${WRKSRC}/vault/external_tests
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/vault ${DESTDIR}${PREFIX}/bin
do-test:
cd ${WRKSRC} && ${SETENV} GOPATH=${WRKDIR}:${BUILDLINK_DIR}/gopkg ${GO} test -v ./vault
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
|