27 lines
1.0 KiB
Bash
27 lines
1.0 KiB
Bash
# Template file for 'blackbox_exporter'
|
|
pkgname=blackbox_exporter
|
|
version=0.24.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=bec1bd50679d455f5d411d735a87b0d92c56c3800ed314a1260b6aa8a575a34c
|
|
|
|
system_accounts="_bbox_exporter"
|
|
|
|
post_install() {
|
|
vsconf example.yml
|
|
vdoc CONFIGURATION.md
|
|
vsv blackbox_exporter
|
|
}
|