void-packages/srcpkgs/vault/template
2019-06-07 19:33:18 +02:00

21 lines
624 B
Bash

# Template file for 'vault'
pkgname=vault
version=1.1.3
revision=1
build_style=go
go_import_path="github.com/hashicorp/${pkgname}"
conf_files="/etc/vault.hcl"
make_dirs="/var/lib/vault 0700 _vault _vault"
short_desc="Tool for securely accessing secrets"
maintainer="iaroki <iaroki@protonmail.com>"
license="MPL-2.0"
homepage="https://www.vaultproject.io/"
distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
checksum=93c20be4e5e9c30318638de4d4b20aa08d0ba2800fed149d8cbe30ca282ebba9
system_accounts="_vault"
post_install() {
vinstall ${FILESDIR}/vault.hcl 644 etc/
vlicense LICENSE
vsv vault
}