Files
claudio 637e56953c Update prometheus to the last LTS release (3.5.1)
This drops two patches which are unneeded. First the Makefile workaround
to skip the asset build step is unneeded, instead use
PREBUILT_ASSETS_STATIC_DIR. Second drop the compress_assets.sh diff
and replace it with a BDEP on shell/bash -- too much bashism there.

Update the patch-mmap_openbsd to work with 3.5.1 and extend it to also
cover the chunks and head chunks. This should fix a frequent panic seen
when head chunks are rotated.
Note: all of this is an ugly workaround because OpenBSD lacks a unified
view between mmap and read/write calls.

Some help and testing done by Alvar Penning (post at 0x21.biz)
OK sthen@
2026-03-31 13:42:05 +00:00

19 lines
500 B
Plaintext

Don't fetch promu form internet. This is just a build-dependency
Index: Makefile.common
--- Makefile.common.orig
+++ Makefile.common
@@ -247,11 +247,7 @@ common-docker-manifest:
promu: $(PROMU)
$(PROMU):
- $(eval PROMU_TMP := $(shell mktemp -d))
- curl -s -L $(PROMU_URL) | tar -xvzf - -C $(PROMU_TMP)
- mkdir -p $(FIRST_GOPATH)/bin
- cp $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu $(FIRST_GOPATH)/bin/promu
- rm -r $(PROMU_TMP)
+ @true
.PHONY: common-proto
common-proto: