Created attachment 234351 [details] net-mgmt/prometheus2: Update to 2.36.0 This patch updates net-mgmt/prometheus2 to v2.36.0. Multiple versions were missed due to issues with modules2tuple, and my not knowing how to fix an issue with GO_MODULE support. Fortunately gmdk@ performed an update recently which showed how to get around these issues. Additionally, we now use the web-ui assets provided by the Prometheus project themselves (they only started uploading these recently), meaning I no longer need to manually build the web-ui assets separately, which greatly simplifies updating the port in the future. There are a lot of changes since 2.33.5 which can be viewed at https://github.com/prometheus/prometheus/releases, but the main change is that TLS 1.0 and 1.1 are now disabled by default. They can be re-enabled via the tls_config section of the Prometheus configuration as documented at https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tls_config. Certificates using SHA-1 hash functions are also rejected, this support can be re-enabled (for now) via some Go debug environment variables. https://go.dev/doc/go1.18#sha1 -David
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7cc08e77479cf5886a12ca7ecd7fce601b160773 commit 7cc08e77479cf5886a12ca7ecd7fce601b160773 Author: David O'Rourke <dor.bsd@xm0.uk> AuthorDate: 2022-05-31 19:02:20 +0000 Commit: Dmitri Goutnik <dmgk@FreeBSD.org> CommitDate: 2022-05-31 19:06:46 +0000 net-mgmt/prometheus2: Update to 2.36.0 Changes: https://github.com/prometheus/prometheus/releases PR: 264370 There are a lot of changes since 2.33.5 which can be viewed at https://github.com/prometheus/prometheus/releases, but the main change is that TLS 1.0 and 1.1 are now disabled by default. They can be re-enabled via the tls_config section of the Prometheus configuration as documented at https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tls_config. Certificates using SHA-1 hash functions are also rejected, this support can be re-enabled (for now) via some Go debug environment variables: https://go.dev/doc/go1.18#sha1 net-mgmt/prometheus2/Makefile | 20 ++++++++++++-------- net-mgmt/prometheus2/distinfo | 14 +++++++------- net-mgmt/prometheus2/pkg-message | 9 +++++++++ 3 files changed, 28 insertions(+), 15 deletions(-)
Committed, thanks!