summaryrefslogtreecommitdiff
path: root/filesystems/zxfer
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/zxfer')
-rw-r--r--filesystems/zxfer/Makefile30
-rw-r--r--filesystems/zxfer/distinfo3
-rw-r--r--filesystems/zxfer/pkg-descr22
3 files changed, 55 insertions, 0 deletions
diff --git a/filesystems/zxfer/Makefile b/filesystems/zxfer/Makefile
new file mode 100644
index 000000000000..9a0ecce6db0f
--- /dev/null
+++ b/filesystems/zxfer/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= zxfer
+PORTVERSION= 1.1.7
+PORTREVISION= 1
+DISTVERSIONPREFIX= v
+CATEGORIES= filesystems sysutils
+
+MAINTAINER= ports@scaleengine.com
+COMMENT= Easily and reliably transfer ZFS filesystems
+WWW= https://github.com/allanjude/zxfer
+
+LICENSE= BSD2CLAUSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= allanjude
+
+NO_BUILD= yes
+
+OPTIONS_DEFINE= RSYNC
+
+RSYNC_DESC= Enable RSYNC Support
+RSYNC_RUN_DEPENDS= rsync:net/rsync
+
+PLIST_FILES= share/man/man8/zxfer.8.gz \
+ sbin/zxfer
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/zxfer ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/zxfer.8 ${STAGEDIR}${PREFIX}/share/man/man8
+
+.include <bsd.port.mk>
diff --git a/filesystems/zxfer/distinfo b/filesystems/zxfer/distinfo
new file mode 100644
index 000000000000..8f43bc8feced
--- /dev/null
+++ b/filesystems/zxfer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1554913055
+SHA256 (allanjude-zxfer-v1.1.7_GH0.tar.gz) = c95ed822748806e93b06902575cfbaf99b6a236d21a6bb6c0e3d4648f2d48f29
+SIZE (allanjude-zxfer-v1.1.7_GH0.tar.gz) = 52908
diff --git a/filesystems/zxfer/pkg-descr b/filesystems/zxfer/pkg-descr
new file mode 100644
index 000000000000..1e7e4caee271
--- /dev/null
+++ b/filesystems/zxfer/pkg-descr
@@ -0,0 +1,22 @@
+Zxfer is a fork of zfs-replicate. It allows the easy and reliable backup,
+restore or transfer of ZFS filesystems, either locally or remotely.
+
+Some of the features zxfer has:
+ * Written in sh with only one dependency, rsync. Rsync mode is not used
+ in a typical restore, hence in that situation all you need is the
+ zxfer script, your backup and an install CD/DVD.
+ * Reliability is first priority - the only methods of transfer allowed
+ are those that checksum/hash the transferred data.
+ * Transfer to or from a remote host via ssh.
+ * Recursive and incremental transfer of filesystems (via snapshots).
+ * Transfer properties and sources of those properties (e.g. local or
+ inherited).
+ * Override properties in the transfer, e.g. for archival purposes
+ it is useful to override "copies" and "compression".
+ * Create all filesystems on the destination as necessary.
+ * A comprehensive man page with examples.
+ * Can be set to beep on error or when done, useful for long transfers.
+ * Features an rsync mode for when two different snapshotting regimes are on
+ source and destination, and zfs send/receive won't work.
+
+LICENSE: BSD