diff options
Diffstat (limited to 'filesystems/zfs-replicate')
-rw-r--r-- | filesystems/zfs-replicate/Makefile | 43 | ||||
-rw-r--r-- | filesystems/zfs-replicate/distinfo | 3 | ||||
-rw-r--r-- | filesystems/zfs-replicate/pkg-descr | 2 | ||||
-rw-r--r-- | filesystems/zfs-replicate/pkg-message | 15 |
4 files changed, 63 insertions, 0 deletions
diff --git a/filesystems/zfs-replicate/Makefile b/filesystems/zfs-replicate/Makefile new file mode 100644 index 000000000000..cf5805523867 --- /dev/null +++ b/filesystems/zfs-replicate/Makefile @@ -0,0 +1,43 @@ +PORTNAME= zfs-replicate +PORTVERSION= 2.0.2 +DISTVERSIONPREFIX= v +CATEGORIES= filesystems sysutils + +MAINTAINER= tschetter.victor@gmail.com +COMMENT= ZFS Snapshot Replication Script +WWW= https://github.com/aaronhurt/zfs-replicate + +USES= shebangfix + +NO_BUILD= yes +NO_ARCH= yes + +OPTIONS_DEFINE= DOCS EXAMPLES + +SHEBANG_FILES= zfs-replicate.sh + +PORTDOCS= README.md +PORTDATA= config.sample.sh + +USE_GITHUB= yes +GH_ACCOUNT= aaronhurt + +PLIST_FILES= sbin/zfs-replicate + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/zfs-replicate.sh \ + ${STAGEDIR}${PREFIX}/sbin/zfs-replicate + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} +.endfor + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${DATADIR} +.for data in ${PORTDATA} + ${INSTALL_DATA} ${WRKSRC}/${data} ${STAGEDIR}${DATADIR} +.endfor + +.include <bsd.port.mk> diff --git a/filesystems/zfs-replicate/distinfo b/filesystems/zfs-replicate/distinfo new file mode 100644 index 000000000000..d5712e4d42a4 --- /dev/null +++ b/filesystems/zfs-replicate/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725286224 +SHA256 (aaronhurt-zfs-replicate-v2.0.2_GH0.tar.gz) = a1db4fef430033c780d1616514ef4b8f71ed17c8a02347a565d3af67863683b6 +SIZE (aaronhurt-zfs-replicate-v2.0.2_GH0.tar.gz) = 12678 diff --git a/filesystems/zfs-replicate/pkg-descr b/filesystems/zfs-replicate/pkg-descr new file mode 100644 index 000000000000..e711cf2aa663 --- /dev/null +++ b/filesystems/zfs-replicate/pkg-descr @@ -0,0 +1,2 @@ +Advanced ZFS replication script to replicate zfs datasets/volumes between hosts +(or between pools on the same host) via incremental snapshots. diff --git a/filesystems/zfs-replicate/pkg-message b/filesystems/zfs-replicate/pkg-message new file mode 100644 index 000000000000..385ffcd0e03a --- /dev/null +++ b/filesystems/zfs-replicate/pkg-message @@ -0,0 +1,15 @@ +[ +{ type: install + message: <<EOM +To run zfs-replicate, copy /usr/local/share/zfs-replicate/config.sample.sh to +/usr/local/share/zfs-replicate/config.sh, customize to your environment, and +run using "zfs-replicate -c /usr/local/share/zfs-replicate/config.sh" + +The only option that does not have a default, and needs to be set is the REPLICATE_SETS + +To check last log, run "zfs-replicate -c /usr/local/share/zfs-replicate/config.sh -s" + +See https://github.com/aaronhurt/zfs-replicate for documentation. +EOM +} +] |