summaryrefslogtreecommitdiff
path: root/filesystems/zap
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/zap')
-rw-r--r--filesystems/zap/Makefile33
-rw-r--r--filesystems/zap/distinfo3
-rw-r--r--filesystems/zap/pkg-descr10
-rw-r--r--filesystems/zap/pkg-message11
4 files changed, 57 insertions, 0 deletions
diff --git a/filesystems/zap/Makefile b/filesystems/zap/Makefile
new file mode 100644
index 000000000000..bb12e0484463
--- /dev/null
+++ b/filesystems/zap/Makefile
@@ -0,0 +1,33 @@
+PORTNAME= zap
+DISTVERSION= 0.8.3
+PORTREVISION= 1
+CATEGORIES= filesystems sysutils
+
+MAINTAINER= jrm@FreeBSD.org
+COMMENT= Maintain and replicate ZFS snapshots
+WWW= https://github.com/Jehops/zap
+
+LICENSE= BSD2CLAUSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= Jehops
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+USERS= ${PORTNAME}
+GROUPS= ${PORTNAME}
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/man/man1/${PORTNAME}.1.gz
+PORTDOCS= README.org
+
+OPTIONS_DEFINE= DOCS
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>
diff --git a/filesystems/zap/distinfo b/filesystems/zap/distinfo
new file mode 100644
index 000000000000..2e0b3bc02b22
--- /dev/null
+++ b/filesystems/zap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1627519959
+SHA256 (Jehops-zap-0.8.3_GH0.tar.gz) = 59a38f1c8e820cfda7426389265b104cc1a5d2bbfd454d729f8ec18718b05937
+SIZE (Jehops-zap-0.8.3_GH0.tar.gz) = 10876
diff --git a/filesystems/zap/pkg-descr b/filesystems/zap/pkg-descr
new file mode 100644
index 000000000000..eb2e26271169
--- /dev/null
+++ b/filesystems/zap/pkg-descr
@@ -0,0 +1,10 @@
+Maintain and replicate ZFS snapshots
+
+zap automates the management of zfs snapshots. With a few, simple
+crontab entries, it can be used to create a comprehensive zfs backup
+system. There are no configuration files. All parameters are supplied
+on the command line or in zfs properties and all snapshot information
+is stored in snapshot names.
+
+zap plays nice with manually created snapshots or snapshots from other
+tools. It will only operate on snapshots it creates.
diff --git a/filesystems/zap/pkg-message b/filesystems/zap/pkg-message
new file mode 100644
index 000000000000..c7a25a6452ce
--- /dev/null
+++ b/filesystems/zap/pkg-message
@@ -0,0 +1,11 @@
+[
+{ type: install
+ message: <<EOM
+See
+
+http://ftfl.ca/blog/2016-12-27-zfs-replication.html
+
+for a description of a replication strategy.
+EOM
+}
+]