aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2008-05-26 01:49:09 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2008-05-26 01:49:09 +0000
commit16cd62f652b35f3bfa35828faab2d313ac9596b2 (patch)
treeee17c39b92b144a97e88f8effc2d213ea3c3f0b2 /sysutils
parentea7995670b7ce6e67238c6127e88d8c0d4b84e09 (diff)
downloadports-16cd62f652b35f3bfa35828faab2d313ac9596b2.tar.gz
ports-16cd62f652b35f3bfa35828faab2d313ac9596b2.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/zfs-replicate/Makefile31
-rw-r--r--sysutils/zfs-replicate/distinfo3
-rw-r--r--sysutils/zfs-replicate/pkg-descr4
4 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 47f8bfc8ef76..0b537d69d7f8 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -820,6 +820,7 @@
SUBDIR += xwlans
SUBDIR += yawho
SUBDIR += zeroer
+ SUBDIR += zfs-replicate
SUBDIR += zidrav
SUBDIR += zisofs-tools
diff --git a/sysutils/zfs-replicate/Makefile b/sysutils/zfs-replicate/Makefile
new file mode 100644
index 000000000000..6ff60a9c2b52
--- /dev/null
+++ b/sysutils/zfs-replicate/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: zfs-replicate
+# Date created: 2008-05-26
+# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zfs-replicate
+PORTVERSION= 0.4
+CATEGORIES= sysutils
+MASTER_SITES= http://blogs.sun.com/constantin/resource/
+DISTNAME= ${PORTNAME}_v${PORTVERSION}
+
+MAINTAINER= jnlin@csie.nctu.edu.tw
+COMMENT= A ZFS Snapshot Replication Script
+
+RUN_DEPENDS= ksh93:${PORTSDIR}/shells/ksh93
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+USE_BZIP2= yes
+
+PLIST_FILES= sbin/zfs-replicate
+
+do-patch:
+ @${REINPLACE_CMD} -e 's|^#!/bin/ksh|#!${PREFIX}/bin/ksh93|g' ${WRKSRC}/zfs-replicate
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/zfs-replicate ${PREFIX}/sbin/
+
+.include <bsd.port.mk>
diff --git a/sysutils/zfs-replicate/distinfo b/sysutils/zfs-replicate/distinfo
new file mode 100644
index 000000000000..8b80d9714982
--- /dev/null
+++ b/sysutils/zfs-replicate/distinfo
@@ -0,0 +1,3 @@
+MD5 (zfs-replicate_v0.4.tar.bz2) = 7487343990265a5ceb169e86ef683f44
+SHA256 (zfs-replicate_v0.4.tar.bz2) = 2ae085009153054fb990443f5b6d096040a303118bdf9286a2250fa9ab47322d
+SIZE (zfs-replicate_v0.4.tar.bz2) = 3817
diff --git a/sysutils/zfs-replicate/pkg-descr b/sysutils/zfs-replicate/pkg-descr
new file mode 100644
index 000000000000..941c41bf00d9
--- /dev/null
+++ b/sysutils/zfs-replicate/pkg-descr
@@ -0,0 +1,4 @@
+zfs-replicate makes migrating a few filesystems and many
+snapshots to a new zpool more easier.
+
+WWW: http://blogs.sun.com/constantin/entry/useful_zfs_snapshot_replicator_script