[Bug 264370] net-mgmt/prometheus2: Update to 2.36.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 31 May 2022 12:59:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264370

            Bug ID: 264370
           Summary: net-mgmt/prometheus2: Update to 2.36.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dor.bsd@xm0.uk

Created attachment 234351
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234351&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.