pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vault: Import vault-1.1.0 as wip/vault



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sun Mar 24 10:33:50 2019 +0900
Changeset:	1b4c4ce3d94f8a8a21fe3d6870ebdc0600de2a9b

Modified Files:
	Makefile
Added Files:
	vault/DESCR
	vault/Makefile
	vault/PLIST
	vault/distinfo

Log Message:
vault: Import vault-1.1.0 as wip/vault

Copied from outdated security/vault (0.11.2), updated to
the latest version.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1b4c4ce3d94f8a8a21fe3d6870ebdc0600de2a9b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile       |  1 +
 vault/DESCR    |  5 +++++
 vault/Makefile | 34 ++++++++++++++++++++++++++++++++++
 vault/PLIST    |  2 ++
 vault/distinfo |  6 ++++++
 5 files changed, 48 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6d36fad2c0..96a57a698c 100644
--- a/Makefile
+++ b/Makefile
@@ -4778,6 +4778,7 @@ SUBDIR+=	vanitygen
 SUBDIR+=	varnish
 SUBDIR+=	varnish-modules
 SUBDIR+=	varnish4
+SUBDIR+=	vault
 SUBDIR+=	vba-m
 SUBDIR+=	vcflib
 SUBDIR+=	vcftools
diff --git a/vault/DESCR b/vault/DESCR
new file mode 100644
index 0000000000..43b3556801
--- /dev/null
+++ b/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/vault/Makefile b/vault/Makefile
new file mode 100644
index 0000000000..d8a8528304
--- /dev/null
+++ b/vault/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+DISTNAME=	vault-1.1.0
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GITHUB:=hashicorp/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://www.vaultproject.io/
+COMMENT=	Tool for managing secrets
+LICENSE=	mpl-2.0
+
+EXTRACT_USING=	bsdtar
+
+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"
diff --git a/vault/PLIST b/vault/PLIST
new file mode 100644
index 0000000000..aa8ebb3c31
--- /dev/null
+++ b/vault/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/vault
diff --git a/vault/distinfo b/vault/distinfo
new file mode 100644
index 0000000000..47aecab261
--- /dev/null
+++ b/vault/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (vault-1.1.0.tar.gz) = 0236369887e86faae3c745ec6521b647d01e96a4
+RMD160 (vault-1.1.0.tar.gz) = 2bf0679d74688c3127afef4c59939382cd6815bc
+SHA512 (vault-1.1.0.tar.gz) = b0bc32f438e8432d849aa896f610c9532fa923384d40749efe49985d64a91f4768a3309af449efd8c8ab4604ecdb2474c39999bfe196f0f876894f788618ae61
+Size (vault-1.1.0.tar.gz) = 25943119 bytes


Home | Main Index | Thread Index | Old Index