TerraState: update to 1.0.1
This commit is contained in:
parent
d5f6415286
commit
060b81a95e
3 changed files with 25 additions and 6 deletions
4
srcpkgs/TerraState/files/terrastate/log/run
Normal file
4
srcpkgs/TerraState/files/terrastate/log/run
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec 2>&1
|
||||||
|
exec vlogger -t terrastate
|
9
srcpkgs/TerraState/files/terrastate/run
Normal file
9
srcpkgs/TerraState/files/terrastate/run
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export TS_STORE=bitcask
|
||||||
|
export TS_BITCASK_PATH=/var/lib/terrastate/bitcask
|
||||||
|
|
||||||
|
[ -r ./conf ] && . ./conf
|
||||||
|
|
||||||
|
exec 2>&1
|
||||||
|
exec chpst -u _terrastate:_terrastate terrastate 2>&1
|
|
@ -1,18 +1,24 @@
|
||||||
# Template file for 'TerraState'
|
# Template file for 'TerraState'
|
||||||
pkgname=TerraState
|
pkgname=TerraState
|
||||||
version=0.3
|
version=1.0.1
|
||||||
revision=1
|
revision=1
|
||||||
|
wrksrc=terrastate-$version
|
||||||
|
make_dirs="/var/lib/terrastate 0750 _terrastate _terrastate"
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/the-maldridge/TerraState"
|
go_import_path="github.com/the-maldridge/terrastate"
|
||||||
go_package="${go_import_path}/cmd/terrastate"
|
go_package="${go_import_path}/cmd/terrastate"
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
short_desc="Remote state for TerraForm"
|
short_desc="Remote state for Terraform"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/the-maldridge/TerraState"
|
homepage="https://github.com/the-maldridge/terrastate"
|
||||||
distfiles="https://github.com/the-maldridge/TerraState/archive/v$version.tar.gz"
|
distfiles="https://github.com/the-maldridge/terrastate/archive/v$version.tar.gz"
|
||||||
checksum=5536becee55107d4fe4c3c02304b035761e3496f4692cde604eac03556817e1f
|
checksum=5c5e8cea99d93d5a9d1fa62ede403729edab88c84f9fc456e2eeeb1fbfb9223c
|
||||||
|
system_groups="_terrastate"
|
||||||
|
system_accounts="_terrastate"
|
||||||
|
_terrastate_homedir="/var/lib/terrastate"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
vsv terrastate
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue