Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions srcpkgs/alertmanager/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'alertmanager'
pkgname=alertmanager
version=0.31.1
version=0.34.1
revision=1
build_style=go
go_import_path="github.com/prometheus/alertmanager"
Expand All @@ -14,13 +14,21 @@ conf_files="/etc/alertmanager.yml"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/prometheus/alertmanager"
distfiles="https://github.com/prometheus/alertmanager/archive/v${version}.tar.gz"
checksum=9e266c6b890d28834ec4fd575603a22e190309d5de61f0f435aa196f11c09c89
distfiles="https://github.com/prometheus/alertmanager/archive/v${version}.tar.gz
https://github.com/prometheus/alertmanager/releases/download/v${version}/alertmanager-web-ui-${version}.tar.gz"
checksum="2f6bce4f4b2b28aec4e58fad1341f47cde9c30adb556399472a8831942057941
881fe0f7beb9573f35be47dd233af6220e72c8db72c03bcd1780402eb8dc1307"

skip_extraction="alertmanager-web-ui-${version}.tar.gz"

system_accounts="_alertmanager"
make_dirs="/var/lib/alertmanager 700 _alertmanager _alertmanager"
make_check=no # Tests needs a alertmanager instance

post_extract() {
# Upstream moved the prebuilt UI assets to it's own archive in v0.32.0
vsrcextract -C ui/app/dist "alertmanager-web-ui-${version}.tar.gz"
}

post_install() {
vconf doc/examples/simple.yml alertmanager.yml
Expand Down
Loading