prometheus: update to 3.13.0

This commit is contained in:
Herby Gillot
2026-07-01 09:48:24 -04:00
parent 9a5cf631ff
commit e57cebfebd
2 changed files with 5 additions and 29 deletions
+5 -18
View File
@@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup golang 1.0
go.setup github.com/prometheus/prometheus 3.6.0 v
go.setup github.com/prometheus/prometheus 3.13.0 v
go.offline_build no
revision 0
@@ -24,23 +24,10 @@ license Apache-2
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
patchfiles-append \
patch-build-use-gnutar.diff
depends_build-append \
port:golangci-lint \
path:bin/npm:npm10 \
port:promu \
port:yarn \
port:gnutar
platform darwin {
if {${os.major} < 13} {
depends_build-replace \
path:bin/node:nodejs16 \
path:bin/node:nodejs14
}
}
port:pnpm
build.cmd make
build.pre_args-append \
@@ -60,9 +47,9 @@ set prom_share_dir ${prefix}/share/${name}
set prom_log_dir ${prefix}/var/log/${name}
set prom_log_file ${prom_log_dir}/${name}.log
checksums rmd160 e7c451e80f38c598672564582ce71330ed517fa4 \
sha256 90586300d083873125b45e25ba68ed1ef2c48202d392405732191fffd5d99d1b \
size 5155788
checksums rmd160 e35f765d9a50ea4ce972ea3ef273071f8d06b94f \
sha256 fd0bfdc1390e71c3eeb05532293f9e2a1279e75d3546aa86dc4881627c9e143d \
size 5939062
add_users ${prom_user} \
group=${prom_user} \
@@ -1,11 +0,0 @@
--- ./Makefile 2023-01-31 12:04:46.000000000 -0500
+++ ./Makefile 2023-01-31 13:47:20.000000000 -0500
@@ -92,7 +92,7 @@
@echo ">> bundling npm licenses"
rm -f $(REACT_APP_NPM_LICENSES_TARBALL) npm_licenses
ln -s . npm_licenses
- find npm_licenses/$(UI_NODE_MODULES_PATH) -iname "license*" | tar cfj $(REACT_APP_NPM_LICENSES_TARBALL) --files-from=-
+ find npm_licenses/$(UI_NODE_MODULES_PATH) -iname "license*" | gnutar cfj $(REACT_APP_NPM_LICENSES_TARBALL) --files-from=-
rm -f npm_licenses
.PHONY: tarball