git: b74ef047bb99 - main - sysutils/zrepl: update to 0.6.0

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Mon, 26 Dec 2022 22:03:57 UTC
The branch main has been updated by driesm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b74ef047bb99df838aedb6efdf0966667e4f2981

commit b74ef047bb99df838aedb6efdf0966667e4f2981
Author:     Artyom Davidov <ard_1@mail.ru>
AuthorDate: 2022-12-26 16:29:10 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2022-12-26 22:03:33 +0000

    sysutils/zrepl: update to 0.6.0
    
    Changes:        https://github.com/zrepl/zrepl/releases/tag/v0.6.0
    
    PR:             268058
    Approved by:    maintainer timeout
---
 UPDATING                 | 13 +++++++++++++
 sysutils/zrepl/Makefile  |  6 ++----
 sysutils/zrepl/distinfo  | 10 +++++-----
 sysutils/zrepl/pkg-plist |  1 +
 4 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/UPDATING b/UPDATING
index f952518fa59e..4061be446cf0 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,19 @@ 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.
 
+20221226:
+  AFFECTS: users of sysutils/zrepl
+  AUTHOR: driesm@FreeBSD.org
+
+  The Prometheus metric zrepl_version_daemon has been converted to the
+  zrepl_start_time metric. The metric still reports the zrepl verison in a
+  label. But the metric value is now the Unix timestamp at the time the
+  daemon was started. The Grafana dashboard in dist/grafana has been
+  updated.
+
+  The RPC protocol version has also been bumped; all zrepl daemons in a
+  setup must be updated and restarted before replication can resume.
+
 20221220:
   AFFECTS: users of net-mgmt/unbound_exporter
   AUTHOR: thomas@beingboiled.info
diff --git a/sysutils/zrepl/Makefile b/sysutils/zrepl/Makefile
index f1751750f26b..6dab6a4a7760 100644
--- a/sysutils/zrepl/Makefile
+++ b/sysutils/zrepl/Makefile
@@ -1,8 +1,6 @@
 PORTNAME=	zrepl
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.5.0-8
-PORTREVISION=	6
-DISTVERSIONSUFFIX=	-g19b2deb
+DISTVERSION=	0.6.0
 CATEGORIES=	sysutils
 
 MAINTAINER=	lcook@FreeBSD.org
@@ -15,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		go:modules
 USE_RC_SUBR=	zrepl
 
-GO_MODULE=	github.com/${PORTNAME}/${PORTNAME}@v0.5.1-0.20220507195951-19b2deb2cfe5
+GO_MODULE=	github.com/${PORTNAME}/${PORTNAME}
 GO_BUILDFLAGS=	-ldflags "\
 		-s -w\
 		-X ${GO_MODULE}/version.${PORTNAME}Version=${DISTVERSIONFULL}"
diff --git a/sysutils/zrepl/distinfo b/sysutils/zrepl/distinfo
index 7ba47c742839..2e237ceb191b 100644
--- a/sysutils/zrepl/distinfo
+++ b/sysutils/zrepl/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1652109938
-SHA256 (go/sysutils_zrepl/zrepl-v0.5.0-8-g19b2deb/v0.5.1-0.20220507195951-19b2deb2cfe5.mod) = 16b00716f5d8145b4a460f5268bbdd9d535b65bea2097193ea3784c49f67b714
-SIZE (go/sysutils_zrepl/zrepl-v0.5.0-8-g19b2deb/v0.5.1-0.20220507195951-19b2deb2cfe5.mod) = 2152
-SHA256 (go/sysutils_zrepl/zrepl-v0.5.0-8-g19b2deb/v0.5.1-0.20220507195951-19b2deb2cfe5.zip) = d6bc70bc1aa34532c697948d6849a106ebca2562e6581c8c7237c1d59e34f439
-SIZE (go/sysutils_zrepl/zrepl-v0.5.0-8-g19b2deb/v0.5.1-0.20220507195951-19b2deb2cfe5.zip) = 589918
+TIMESTAMP = 1672072089
+SHA256 (go/sysutils_zrepl/zrepl-v0.6.0/v0.6.0.mod) = 27760d04eb9b7c3c1ca35069afde9f3855f2491f80412bd3aba6cccb557fb009
+SIZE (go/sysutils_zrepl/zrepl-v0.6.0/v0.6.0.mod) = 2186
+SHA256 (go/sysutils_zrepl/zrepl-v0.6.0/v0.6.0.zip) = b7c5584aaba5c909f3830e629823dc1ecb595f6ece2f20fe57241c0ff62d23b6
+SIZE (go/sysutils_zrepl/zrepl-v0.6.0/v0.6.0.zip) = 582766
diff --git a/sysutils/zrepl/pkg-plist b/sysutils/zrepl/pkg-plist
index 717dee74d8ff..c26b48a40cc9 100644
--- a/sysutils/zrepl/pkg-plist
+++ b/sysutils/zrepl/pkg-plist
@@ -15,6 +15,7 @@ bin/zrepl
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/quickstart_fan_out_replication_target.yml
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sink.yml
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/snap.yml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/snap_cron.yml
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/source.yml
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/source_ssh.yml
 @sample %%EXAMPLESDIR%%/syslog.conf etc/syslog.d/zrepl.conf