# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup hashicorp vault 1.2.3 v
homepage https://www.vaultproject.io/
# Vault's build process requires the git repository.
maintainers {gmail.com:herby.gillot @herbygillot} openmaintainer
description A Tool for Managing Secrets
long_description HashiCorp Vault secures, stores, and tightly controls \
access to tokens, passwords, certificates, API keys, and \
other secrets in modern computing. Vault handles leasing, \
key revocation, key rolling, and auditing. Through a \
unified API, users can access an encrypted Key/Value \
store and network encryption-as-a-service, or generate \
AWS IAM/STS credentials, SQL/NoSQL databases, X.509 \
certificates, SSH credentials, and more.
set proj_dir "${workpath}/src/github.com/${github.author}/${github.project}"
# The "dev" build target must be used to build just the binary for this
# platform, instead of for ALL platforms
# - https://www.vaultproject.io/docs/install/index.html#compiling-from-source
build.env GOPATH=${workpath} PATH=$env(PATH):${workpath}/bin
# Bootstrap target must run before dev, so we disable parallel building.
file mkdir [file dirname ${proj_dir}]
move ${worksrcpath} ${proj_dir}
xinstall -m 755 ${workpath}/bin/${name} ${destroot}${prefix}/bin/${name}