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@
update to rspamd-4.0.0
this probably won't affect most users, but:
"Action required for per-user Bayes with Redis sharding: Jump Hash has
been replaced with Ring Hash (Ketama). Run rspamadm statistics_dump
migrate after upgrading or accept temporary accuracy loss as data is
re-learned. Single Redis server setups are not affected."
import ports/sysutils/cpuid-tycho, ok tb
"cpuid" dumps results from the x86 CPUID instruction, and decodes
information from certain leaves.
NOTE: the code in this software to bind to a specific CPU is non functional
on OpenBSD; if you are trying to find information from different cores, you'll
need to run it multiple times until the process is scheduled on the core of
interest.