2017-11-09 06:54:35 +01:00
|
|
|
# Template file for 'alertmanager'
|
|
|
|
pkgname=alertmanager
|
2018-11-21 22:30:50 +01:00
|
|
|
version=0.15.3
|
2018-12-16 01:05:26 +01:00
|
|
|
revision=2
|
2017-11-09 06:54:35 +01:00
|
|
|
build_style=go
|
|
|
|
go_import_path="github.com/prometheus/alertmanager"
|
|
|
|
go_package="${go_import_path}/cmd/alertmanager ${go_import_path}/cmd/amtool"
|
|
|
|
go_ldflags="-X ${go_import_path}/version.Version=${version}
|
|
|
|
-X ${go_import_path}/version.Revision=${version}
|
|
|
|
-X ${go_import_path}/version.Branch=${version}
|
|
|
|
-X ${go_import_path}/version.BuildUser=VoidLinux"
|
|
|
|
short_desc="Handles alerts sent by client applications such as the Prometheus server"
|
|
|
|
conf_files="/etc/alertmanager.yml"
|
|
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://github.com/prometheus/alertmanager"
|
|
|
|
distfiles="https://github.com/prometheus/alertmanager/archive/v${version}.tar.gz"
|
2018-11-21 22:30:50 +01:00
|
|
|
checksum=2fa492e8d54efeedf3463435c14ac061fcf58816b5a3b431acbbde1ddfd543c6
|
2017-11-09 06:54:35 +01:00
|
|
|
|
|
|
|
system_accounts="_alertmanager"
|
|
|
|
make_dirs="/var/lib/alertmanager 700 _alertmanager _alertmanager"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vconf doc/examples/simple.yml alertmanager.yml
|
|
|
|
vsv alertmanager
|
|
|
|
}
|