22 lines
624 B
Bash
22 lines
624 B
Bash
# Template file for 'vault'
|
|
pkgname=vault
|
|
version=1.0.2
|
|
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=4896d48e7f0d9a9a8229eb13a38bbf84b461641545427c449b326b791a820a0e
|
|
system_accounts="_vault"
|
|
|
|
post_install() {
|
|
vinstall ${FILESDIR}/vault.hcl 644 etc/
|
|
vlicense LICENSE
|
|
vsv vault
|
|
}
|