diff --git a/UPDATING b/UPDATING index 3f1dd379d4ca..33b97a3abad5 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,21 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20241112 + AFFECTS: users of databases/prometheus-postgres-exporter + AUTHOR: lexi@hemlock.eden.le-fay.org + + BREAKING CHANGE: In postgres_exporter 0.16.0 and later, the log message format + has changed. From the upstream release notes: + + The logging system has been replaced with log/slog from the stdlib. This + change is being made across the prometheus ecosystem. The logging output has + changed, but the messages and levels remain the same. The ts label for the + timestamp has been replaced with time, the accuracy is less, and the timezone + is not forced to UTC. The caller field has been replaced by the source field, + which now includes the full path to the source file. The level field now + exposes the log level in capital letters. + 20241110 AFFECTS: users of devel/apr1 and www/apache24 AUTHOR: brnrd@FreeBSD.org diff --git a/databases/prometheus-postgres-exporter/Makefile b/databases/prometheus-postgres-exporter/Makefile index b8cccb2f848d..52a5d01831d3 100644 --- a/databases/prometheus-postgres-exporter/Makefile +++ b/databases/prometheus-postgres-exporter/Makefile @@ -1,10 +1,9 @@ PORTNAME= prometheus-postgres-exporter DISTVERSIONPREFIX= v -DISTVERSION= 0.15.0 -PORTREVISION= 3 +DISTVERSION= 0.16.0 CATEGORIES= databases -MAINTAINER= lexi.freebsd@le-fay.org +MAINTAINER= lexi@hemlock.eden.le-fay.org COMMENT= PostgreSQL metric exporter for Prometheus WWW= https://github.com/prometheus-community/postgres_exporter @@ -19,7 +18,7 @@ GO_TARGET= ./cmd/postgres_exporter:${PREFIX}/bin/postgres_exporter SUB_FILES= pkg-message PLIST_FILES= bin/postgres_exporter \ - etc/postgres_exporter.yml.sample + etc/postgres_exporter.yml.sample post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc diff --git a/databases/prometheus-postgres-exporter/distinfo b/databases/prometheus-postgres-exporter/distinfo index f0f8d8aeffb4..ab7b772f7c4f 100644 --- a/databases/prometheus-postgres-exporter/distinfo +++ b/databases/prometheus-postgres-exporter/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1708907285 -SHA256 (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.15.0/v0.15.0.mod) = 2eca3234e2449a0b04bf99c4761b5b62e6ddd6be2b9083b89837a57087fb0a59 -SIZE (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.15.0/v0.15.0.mod) = 1853 -SHA256 (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.15.0/v0.15.0.zip) = cbe281e1764b5df206eafd0ae5e5fee0b569afb3883b1502d2b1793694a53dd5 -SIZE (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.15.0/v0.15.0.zip) = 151785 +TIMESTAMP = 1731341402 +SHA256 (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.16.0/v0.16.0.mod) = e16051bb4c30828066f28f893adb575164484a0a3ac2740c089a99057e22c0b1 +SIZE (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.16.0/v0.16.0.mod) = 1805 +SHA256 (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.16.0/v0.16.0.zip) = 1246fbf68c0a81929ca97f4967dfabaab40604c216917a7073f5904e282b7d05 +SIZE (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.16.0/v0.16.0.zip) = 156127 diff --git a/databases/prometheus-postgres-exporter/files/pkg-message.in b/databases/prometheus-postgres-exporter/files/pkg-message.in index 8887b3fe3433..2a2f4e333767 100644 --- a/databases/prometheus-postgres-exporter/files/pkg-message.in +++ b/databases/prometheus-postgres-exporter/files/pkg-message.in @@ -26,4 +26,19 @@ exporter into Prometheus, refer to the documentation at: https://github.com/prometheus-community/postgres_exporter EOM } +{ type: upgrade + maximum_version: "0.16.0" + message: <