From e57cebfebdb3b1fd978d70529f47fc896fd1e0a4 Mon Sep 17 00:00:00 2001 From: Herby Gillot Date: Wed, 1 Jul 2026 09:48:24 -0400 Subject: [PATCH] prometheus: update to 3.13.0 --- sysutils/prometheus/Portfile | 23 ++++--------------- .../files/patch-build-use-gnutar.diff | 11 --------- 2 files changed, 5 insertions(+), 29 deletions(-) delete mode 100644 sysutils/prometheus/files/patch-build-use-gnutar.diff diff --git a/sysutils/prometheus/Portfile b/sysutils/prometheus/Portfile index 069d4a3fb0a..af5dfc80830 100644 --- a/sysutils/prometheus/Portfile +++ b/sysutils/prometheus/Portfile @@ -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} \ diff --git a/sysutils/prometheus/files/patch-build-use-gnutar.diff b/sysutils/prometheus/files/patch-build-use-gnutar.diff deleted file mode 100644 index d654301f02e..00000000000 --- a/sysutils/prometheus/files/patch-build-use-gnutar.diff +++ /dev/null @@ -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