26 lines
905 B
Bash
26 lines
905 B
Bash
# Template file for 'blackbox_exporter'
|
|
pkgname=blackbox_exporter
|
|
version=0.12.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"
|
|
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"
|
|
#changelog="https://github.com/prometheus/blackbox_exporter/releases"
|
|
checksum=8d5c2236b555af0c1ef00e6973f1aac76a38bbb5220aa6a39c1837a9b29e2a50
|
|
|
|
system_accounts="_bbox_exporter"
|
|
|
|
post_install() {
|
|
vsconf example.yml
|
|
vdoc CONFIGURATION.md
|
|
vsv blackbox_exporter
|
|
}
|