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
9 changes: 7 additions & 2 deletions srcpkgs/prometheus/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'prometheus'
pkgname=prometheus
version=3.10.0
version=3.12.0
revision=1
build_style=go
go_import_path="github.com/prometheus/prometheus"
Expand All @@ -20,12 +20,17 @@ license="Apache-2.0, MIT"
homepage="https://prometheus.io/"
changelog="https://raw.githubusercontent.com/prometheus/prometheus/master/CHANGELOG.md"
distfiles="https://github.com/prometheus/prometheus/archive/v${version}.tar.gz"
checksum=a3d01efaf82edfd074f9fc48399969bcf22f22b8fb4353dfbbcc79cb2a03e579
checksum=ca7a8dd2c57048bb952a493a2957811c6f380089c2b158c2def484b874c3b6d7

system_accounts="_prometheus"

make_dirs="/var/lib/prometheus 700 _prometheus _prometheus"

# tsdb tests mmap 128MiB head chunk files per open DB. Running concurrently exhausts the 32bit address space.
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
make_check_args+=" -parallel 1"
fi

pre_build() {
# Need to patch node fs to avoid using too many file descriptors
(cd web/ui && yarn add --dev -W graceful-fs@4.2.11)
Expand Down