# Template file for 'blackbox_exporter'
pkgname=blackbox_exporter
version=0.28.0
revision=1
build_style=go
go_import_path="github.com/prometheus/blackbox_exporter"
go_ldflags="-X github.com/prometheus/common/version.Version=${version}
 -X github.com/prometheus/common/version.Revision=${version}
 -X github.com/prometheus/common/version.Branch=${version}
 -X github.com/prometheus/common/version.BuildDate=$(date --date "@$SOURCE_DATE_EPOCH" "+%Y%m%d-%H:%M:%S")
 -X github.com/prometheus/common/version.BuildUser=VoidLinux"
short_desc="Allows blackbox probing of endpoints over HTTP, DNS, TCP and ICMP"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="Apache-2.0"
homepage="https://prometheus.io"
changelog="https://github.com/prometheus/blackbox_exporter/releases"
distfiles="https://github.com/prometheus/blackbox_exporter/archive/v${version}.tar.gz"
checksum=07c7c16a7b3448d2ede630356f1321f80ed8a46ca321ee3ce5e149cf1c7a7d2f

system_accounts="_bbox_exporter"

post_install() {
	vsconf example.yml
	vdoc CONFIGURATION.md
	vsv blackbox_exporter
}
