summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-05-06 13:35:52 +0000
committerfhajny <fhajny@pkgsrc.org>2016-05-06 13:35:52 +0000
commitd5b09c77de4525682bc96c7791c2e31fffed1419 (patch)
tree479d8d5c803dc9a344fac5b9b3de5350d53ef88b /security
parent0019caf5d5c5800718e8945267e621a5c0897a86 (diff)
downloadpkgsrc-d5b09c77de4525682bc96c7791c2e31fffed1419.tar.gz
Import vault-0.5.2 as security/vault.
Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, and more. Vault provides a unified interface to any secret, while providing tight access control and recording a detailed audit log.
Diffstat (limited to 'security')
-rw-r--r--security/vault/DESCR5
-rw-r--r--security/vault/Makefile36
-rw-r--r--security/vault/PLIST2
-rw-r--r--security/vault/distinfo6
4 files changed, 49 insertions, 0 deletions
diff --git a/security/vault/DESCR b/security/vault/DESCR
new file mode 100644
index 00000000000..43b35568016
--- /dev/null
+++ b/security/vault/DESCR
@@ -0,0 +1,5 @@
+Vault is a tool for securely accessing secrets. A secret is
+anything that you want to tightly control access to, such as API
+keys, passwords, certificates, and more. Vault provides a unified
+interface to any secret, while providing tight access control and
+recording a detailed audit log.
diff --git a/security/vault/Makefile b/security/vault/Makefile
new file mode 100644
index 00000000000..bc9c996d641
--- /dev/null
+++ b/security/vault/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2016/05/06 13:35:52 fhajny Exp $
+
+DISTNAME= vault-0.5.2
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=hashicorp/}
+
+MAINTAINER= filip@joyent.com
+HOMEPAGE= http://www.vaultproject.io/
+COMMENT= Tool for managing secrets
+LICENSE= mpl-2.0
+
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+WRKSRC= ${WRKDIR}/src/github.com/hashicorp/vault
+
+.include "../../lang/go/version.mk"
+
+BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go
+
+USE_TOOLS+= bash gmake
+
+MAKE_ENV+= GOPATH=${WRKDIR}:${PREFIX}/gopkg
+
+INSTALLATION_DIRS+= bin
+
+post-extract:
+ ${MKDIR} ${WRKSRC}
+ ${MV} ${WRKDIR}/${DISTNAME}/* ${WRKSRC}
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} go build -o bin/vault
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/vault ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/vault/PLIST b/security/vault/PLIST
new file mode 100644
index 00000000000..e324b3c2967
--- /dev/null
+++ b/security/vault/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/05/06 13:35:52 fhajny Exp $
+bin/vault
diff --git a/security/vault/distinfo b/security/vault/distinfo
new file mode 100644
index 00000000000..4241543ab1d
--- /dev/null
+++ b/security/vault/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/05/06 13:35:52 fhajny Exp $
+
+SHA1 (vault-0.5.2.tar.gz) = ab6d4eb8ed1c98204aec722ae157a2e1f8be5253
+RMD160 (vault-0.5.2.tar.gz) = 90c3cc33fc80e77817712ab04654db180a7525b3
+SHA512 (vault-0.5.2.tar.gz) = 38df443b3725ead5911960ab23bdc562d0b8adefb26db569d91c951f5e4e863c902a4fba6dcb56477df61754050c86bd8c252acbe2ba378a36ca87b6ef552e25
+Size (vault-0.5.2.tar.gz) = 3590947 bytes