summaryrefslogtreecommitdiff
path: root/sysutils/dirvish
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-07-24 18:29:23 +0000
committerwiz <wiz@pkgsrc.org>2006-07-24 18:29:23 +0000
commit862495b9ca2c37462d147197f1905d01aad26dc5 (patch)
tree0ec3075251910eab7a9ed24a8ae3aff31b5cb030 /sysutils/dirvish
parent5b5cce441bb0f701f34b653e8e824f035435388a (diff)
downloadpkgsrc-862495b9ca2c37462d147197f1905d01aad26dc5.tar.gz
Initial import of dirvish-1.2.1.
dirvish is a backup system using rsync and link farms. Each image is a directory containing transfer log, summary, tree and if transfer errors were detected an rsync_error file. The transfer log retains the the output of any pre and post processing commands and the rsync log listing all files that were changed or added with some statistical information. The summary file contains all the information about how the image was created and meta-data for managing the image in config file format. Tree is the copy of the client tree. The client directory tree is compared with an existing image to create a new image. Unchanged files are shared between images. For changed files only those parts that actually change are transfered over the network. Unchanged portions of files are copied from the reference image. The resulting images contain complete copies of the original trees preserving ownership and file permissions. In this way even though the backups are made incrementally, each image can be used independently for restores or to make removable-media off-site copies or archives. The removal of an image will have no effect on other images.
Diffstat (limited to 'sysutils/dirvish')
-rw-r--r--sysutils/dirvish/DESCR24
-rw-r--r--sysutils/dirvish/Makefile50
-rw-r--r--sysutils/dirvish/PLIST16
-rw-r--r--sysutils/dirvish/distinfo5
4 files changed, 95 insertions, 0 deletions
diff --git a/sysutils/dirvish/DESCR b/sysutils/dirvish/DESCR
new file mode 100644
index 00000000000..5cdd70cc671
--- /dev/null
+++ b/sysutils/dirvish/DESCR
@@ -0,0 +1,24 @@
+dirvish is a backup system using rsync and link farms.
+
+Each image is a directory containing transfer log, summary, tree
+and if transfer errors were detected an rsync_error file. The
+transfer log retains the the output of any pre and post processing
+commands and the rsync log listing all files that were changed or
+added with some statistical information. The summary file contains
+all the information about how the image was created and meta-data
+for managing the image in config file format. Tree is the copy of
+the client tree.
+
+The client directory tree is compared with an existing image to
+create a new image. Unchanged files are shared between images.
+For changed files only those parts that actually change are transfered
+over the network. Unchanged portions of files are copied from the
+reference image.
+
+The resulting images contain complete copies of the original trees
+preserving ownership and file permissions. In this way even though
+the backups are made incrementally, each image can be used
+independently for restores or to make removable-media off-site
+copies or archives.
+
+The removal of an image will have no effect on other images.
diff --git a/sysutils/dirvish/Makefile b/sysutils/dirvish/Makefile
new file mode 100644
index 00000000000..efffddb49e1
--- /dev/null
+++ b/sysutils/dirvish/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/07/24 18:29:23 wiz Exp $
+#
+
+DISTNAME= dirvish-1.2.1
+CATEGORIES= sysutils
+MASTER_SITES= http://www.dirvish.org/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://www.dirvish.org/
+COMMENT= Fast, disk based, rotating network backup system
+
+DEPENDS+= rsync>=2.6.0:../../net/rsync
+DEPENDS+= p5-Getopt-Long>=2.35:../../devel/p5-Getopt-Long
+DEPENDS+= p5-Time>=2003.0:../../time/p5-Time
+DEPENDS+= p5-Time-Period>=1.0:../../time/p5-Time-Period
+
+PKG_SYSCONFSUBDIR= dirvish
+
+EXECUTABLES= dirvish dirvish-runall dirvish-expire dirvish-locate
+MAN5= dirvish.conf.5
+MAN8= dirvish.8 dirvish-runall.8 dirvish-expire.8 \
+ dirvish-locate.8
+DOCS= COPYING FAQ.html INSTALL RELEASE.html TODO.html
+
+do-build:
+ cd ${WRKSRC}; \
+ for f in ${EXECUTABLES}; do \
+ ${ECHO} "#!${PERL5}" > $$f; \
+ ${ECHO} "\$$CONFDIR = \"${PKG_SYSCONFDIR}\";" >> $$f; \
+ ${CAT} $$f.pl >>$$f; \
+ ${CAT} loadconfig.pl >>$$f; \
+ done
+
+do-install:
+ for f in ${EXECUTABLES}; do \
+ ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${PREFIX}/sbin; \
+ done
+ for f in ${MAN5}; do \
+ ${INSTALL_MAN} ${WRKSRC}/$$f ${PREFIX}/${PKGMANDIR}/man5; \
+ done
+ for f in ${MAN8}; do \
+ ${INSTALL_MAN} ${WRKSRC}/$$f ${PREFIX}/${PKGMANDIR}/man8; \
+ done
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dirvish
+ for f in ${DOCS}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/dirvish; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/dirvish/PLIST b/sysutils/dirvish/PLIST
new file mode 100644
index 00000000000..8fd7616dc51
--- /dev/null
+++ b/sysutils/dirvish/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/24 18:29:23 wiz Exp $
+sbin/dirvish
+sbin/dirvish-runall
+sbin/dirvish-expire
+sbin/dirvish-locate
+man/man5/dirvish.conf.5
+man/man8/dirvish.8
+man/man8/dirvish-runall.8
+man/man8/dirvish-expire.8
+man/man8/dirvish-locate.8
+share/doc/dirvish/COPYING
+share/doc/dirvish/FAQ.html
+share/doc/dirvish/INSTALL
+share/doc/dirvish/RELEASE.html
+share/doc/dirvish/TODO.html
+@dirrm share/doc/dirvish
diff --git a/sysutils/dirvish/distinfo b/sysutils/dirvish/distinfo
new file mode 100644
index 00000000000..0dc924a97c2
--- /dev/null
+++ b/sysutils/dirvish/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/07/24 18:29:23 wiz Exp $
+
+SHA1 (dirvish-1.2.1.tgz) = 0923245c10702ae8015b5b54dcffb051be531d8d
+RMD160 (dirvish-1.2.1.tgz) = 7839fa032bf43a55527c23dd934961d7a11cd5fc
+Size (dirvish-1.2.1.tgz) = 49156 bytes