git: beb8e2725d5f - main - sysutils/zfs-replicate: update to 2.0

From: Larry Rosenman <ler_at_FreeBSD.org>
Date: Sun, 01 Sep 2024 17:30:56 UTC
The branch main has been updated by ler:

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

commit beb8e2725d5f7d1c3dee367162a8839f3822c850
Author:     Larry Rosenman <ler@FreeBSD.org>
AuthorDate: 2024-09-01 17:29:51 +0000
Commit:     Larry Rosenman <ler@FreeBSD.org>
CommitDate: 2024-09-01 17:29:51 +0000

    sysutils/zfs-replicate: update to 2.0
    
    v2.0 now completely POSIX compliant!
    
    In version 2.0, zfs-replicate has been completely rewritten to the POSIX shell, removing the need for the bash dependency. This means it can be run with shell like sh, and dash without the need for additional dependencies.
    
    Every feature has been ported over, and the feature list remains the same. For reference, here they are.
    
    - The script follows strict POSIX standards and should be usable on any host with a POSIX compliant shell.
    - Source pools and datasets are always authoritative, the script will always defer to the source.
    - Supports push and pull replication with local and remote datasets.
    - Supports multiple pool/dataset pairs to replicate.
    - Supports divergence detection and reconciliation of destination datasets.
    - Logging leverages syslog (via logger) by default, but local logging may be configured.
    - Includes a well documented `config.sh` file that may be used as configuration or as reference for environment
      variables passed to the script.
    - May be run on any schedule using cron or similar mechanism.
    - Fully source compliant and may be used by other scripts.
    - Test coverage of core functions via mocks in the test/test.sh script.
    - Includes a `--status` option for XigmaNAS that can be used to email the last log output at your preferred schedule.
      Simply add it as a custom script in the email settings under "System > Advanced > Email Reports"
---
 sysutils/zfs-replicate/Makefile | 5 +----
 sysutils/zfs-replicate/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/sysutils/zfs-replicate/Makefile b/sysutils/zfs-replicate/Makefile
index b8af16f37a6d..05b35f870630 100644
--- a/sysutils/zfs-replicate/Makefile
+++ b/sysutils/zfs-replicate/Makefile
@@ -1,15 +1,12 @@
 PORTNAME=	zfs-replicate
-PORTVERSION=	1.0
+PORTVERSION=	2.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
 CATEGORIES=	sysutils
 
 MAINTAINER=	tschetter.victor@gmail.com
 COMMENT=	ZFS Snapshot Replication Script
 WWW=		https://github.com/aaronhurt/zfs-replicate
 
-RUN_DEPENDS=	bash:shells/bash
-
 USES=	shebangfix
 
 NO_BUILD=	yes
diff --git a/sysutils/zfs-replicate/distinfo b/sysutils/zfs-replicate/distinfo
index d7547a376466..f18ea232797b 100644
--- a/sysutils/zfs-replicate/distinfo
+++ b/sysutils/zfs-replicate/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1724871695
-SHA256 (aaronhurt-zfs-replicate-v1.0_GH0.tar.gz) = b8abd3278ba073fe7db0804b60cae698ac80d70b8b7a036a5875a2033182ca06
-SIZE (aaronhurt-zfs-replicate-v1.0_GH0.tar.gz) = 10604
+TIMESTAMP = 1725211763
+SHA256 (aaronhurt-zfs-replicate-v2.0_GH0.tar.gz) = abbe363e1816c4f673b1b28030ca437b1d8b956ac460af2ac576e2338cf08d09
+SIZE (aaronhurt-zfs-replicate-v2.0_GH0.tar.gz) = 12297