diff options
| author | Robert Clausecker <fuz@FreeBSD.org> | 2024-09-27 12:48:46 +0200 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2024-11-06 16:17:35 +0100 |
| commit | 6e2da9672f79f44048d597f0f61e4646cdeade9d (patch) | |
| tree | c92e4b3158e3419e8cec38e00227d08dcdaab3e9 /filesystems/zfs-replicate | |
| parent | math/sdpa: speed up build (diff) | |
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.
Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.
Approved by: portmgr (rene)
Reviewed by: mat
Pull Request: https://github.com/freebsd/freebsd-ports/pull/302
PR: 281988
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 +} +] |
