From d57a1989964dd0406b32ead5e6272b4f98b9e508 Mon Sep 17 00:00:00 2001 From: eholzbach Date: Sun, 2 Aug 2026 14:26:19 -0400 Subject: [PATCH] prometheus: update to 3.12.0 --- srcpkgs/prometheus/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/prometheus/template b/srcpkgs/prometheus/template index ebf3d935b9e1a1..39d161f47e6333 100644 --- a/srcpkgs/prometheus/template +++ b/srcpkgs/prometheus/template @@ -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" @@ -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)