27 lines
926 B
Bash
27 lines
926 B
Bash
# Template file for 'blackbox_exporter'
|
|
pkgname=blackbox_exporter
|
|
version=0.13.0
|
|
revision=1
|
|
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"
|
|
hostmakedepends="git"
|
|
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"
|
|
changelog="https://github.com/prometheus/blackbox_exporter/releases"
|
|
distfiles="https://github.com/prometheus/blackbox_exporter/archive/v${version}.tar.gz"
|
|
checksum=c89563637647f456472f45e135ee482d8d2a40b8700ffb177f9e700017746006
|
|
|
|
system_accounts="_bbox_exporter"
|
|
|
|
post_install() {
|
|
vsconf example.yml
|
|
vdoc CONFIGURATION.md
|
|
vsv blackbox_exporter
|
|
}
|