pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/dirvish Initial import of dirvish-1.2.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b70440526cc
branches:  trunk
changeset: 516641:8b70440526cc
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jul 24 18:29:23 2006 +0000

description:
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:

 sysutils/dirvish/DESCR    |  24 ++++++++++++++++++++++
 sysutils/dirvish/Makefile |  50 +++++++++++++++++++++++++++++++++++++++++++++++
 sysutils/dirvish/PLIST    |  16 +++++++++++++++
 sysutils/dirvish/distinfo |   5 ++++
 4 files changed, 95 insertions(+), 0 deletions(-)

diffs (111 lines):

diff -r 16e4b42e37d0 -r 8b70440526cc sysutils/dirvish/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dirvish/DESCR    Mon Jul 24 18:29:23 2006 +0000
@@ -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 -r 16e4b42e37d0 -r 8b70440526cc sysutils/dirvish/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dirvish/Makefile Mon Jul 24 18:29:23 2006 +0000
@@ -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@localhost
+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 -r 16e4b42e37d0 -r 8b70440526cc sysutils/dirvish/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dirvish/PLIST    Mon Jul 24 18:29:23 2006 +0000
@@ -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 -r 16e4b42e37d0 -r 8b70440526cc sysutils/dirvish/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dirvish/distinfo Mon Jul 24 18:29:23 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index