void-packages/srcpkgs/blackbox_exporter/template

26 lines
905 B
Bash
Raw Normal View History

2017-09-10 08:43:25 +00:00
# Template file for 'blackbox_exporter'
pkgname=blackbox_exporter
2017-10-10 17:05:18 +00:00
version=0.10.0
revision=2
2017-09-10 08:43:25 +00:00
build_style=go
go_import_path="github.com/prometheus/blackbox_exporter"
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="Allows blackbox probing of endpoints over HTTP, DNS, TCP and ICMP"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
license="Apache-2.0"
homepage="https://prometheus.io"
distfiles="https://github.com/prometheus/blackbox_exporter/archive/v${version}.tar.gz"
2017-10-10 17:05:18 +00:00
#changelog="https://github.com/prometheus/blackbox_exporter/releases"
checksum=fcadd04112bfd405c56011954bf225a72831d9c4ca4ef3fb5bfdb4107a225907
2017-09-10 08:43:25 +00:00
system_accounts="_bbox_exporter"
2017-09-10 08:43:25 +00:00
post_install() {
vsconf example.yml
vdoc CONFIGURATION.md
vsv blackbox_exporter
}