void-packages/srcpkgs/vault/template

22 lines
625 B
Bash
Raw Normal View History

2018-08-15 19:41:23 +00:00
# Template file for 'vault'
pkgname=vault
2018-10-11 07:07:09 +00:00
version=0.11.3
2018-08-15 19:41:23 +00:00
revision=1
build_style=go
go_import_path="github.com/hashicorp/${pkgname}"
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"
2018-10-11 07:07:09 +00:00
checksum=d26da3b145036ce78083adc61f57fc02d0aae85de554ffcf8789e7861953ddaf
2018-08-15 19:41:23 +00:00
system_accounts="_vault"
conf_files="/etc/vault.hcl"
make_dirs="/var/lib/vault 0700 _vault _vault"
post_install() {
vinstall ${FILESDIR}/vault.hcl 644 etc/
vlicense LICENSE
vsv vault
}