2018-08-15 21:41:23 +02:00
|
|
|
# Template file for 'vault'
|
|
|
|
pkgname=vault
|
2018-09-08 04:17:11 +02:00
|
|
|
version=0.11.1
|
2018-08-15 21:41:23 +02: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-09-08 04:17:11 +02:00
|
|
|
checksum=f5b8da6f91c45cca6ad95c8b1e0f50c2f22389ca10e0781dd2156ceb1189d492
|
2018-08-15 21:41:23 +02: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
|
|
|
|
}
|