aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom Davidov <ard_1@mail.ru>2022-12-26 16:29:10 +0000
committerDries Michiels <driesm@FreeBSD.org>2022-12-26 22:03:33 +0000
commitb74ef047bb99df838aedb6efdf0966667e4f2981 (patch)
treecfcaf3b22f196283e683a14a36504c553f979518
parent69e8ab9ad3940c78df71ee5346aec917d848e1cd (diff)
downloadports-b74ef047bb99df838aedb6efdf0966667e4f2981.tar.gz
ports-b74ef047bb99df838aedb6efdf0966667e4f2981.zip
sysutils/zrepl: update to 0.6.0
Changes: https://github.com/zrepl/zrepl/releases/tag/v0.6.0 PR: 268058 Approved by: maintainer timeout
-rw-r--r--UPDATING13
-rw-r--r--sysutils/zrepl/Makefile6
-rw-r--r--sysutils/zrepl/distinfo10
-rw-r--r--sysutils/zrepl/pkg-plist1
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