[49229] trunk/dports/sysutils

jmr at macports.org jmr at macports.org
Sun Apr 5 18:28:39 PDT 2009


Revision: 49229
          http://trac.macports.org/changeset/49229
Author:   jmr at macports.org
Date:     2009-04-05 18:28:38 -0700 (Sun, 05 Apr 2009)
Log Message:
-----------
New port: dirvish (#17398)

Added Paths:
-----------
    trunk/dports/sysutils/dirvish/
    trunk/dports/sysutils/dirvish/Portfile
    trunk/dports/sysutils/dirvish/files/
    trunk/dports/sysutils/dirvish/files/patch-Makefile.diff
    trunk/dports/sysutils/dirvish/files/patch-default.conf.dist.diff
    trunk/dports/sysutils/dirvish/files/patch-master.conf.dist.diff

Added: trunk/dports/sysutils/dirvish/Portfile
===================================================================
--- trunk/dports/sysutils/dirvish/Portfile	                        (rev 0)
+++ trunk/dports/sysutils/dirvish/Portfile	2009-04-06 01:28:38 UTC (rev 49229)
@@ -0,0 +1,53 @@
+# $Id$
+
+PortSystem      1.0
+
+name            dirvish
+version         1.2.1
+categories      sysutils
+maintainers     behanna.org:chris
+description     Client/server rsync- and hard-link-based snapshot backup system
+
+long_description \
+{Dirvish is a "Time-Machine-alike" for UNIX- and UNIX-like machines (e.g., \
+FreeBSD, Linux, Solaris, Mac OS X < 10.5) that allows for snapshot-style \
+backups that preserve space by hard-linking to unchanged versions of files in \
+a given backup tree.  Like Time Machine, it allows each snapshot to present a \
+full tree, even for incremental backups. However, because only OS X has \
+fseventsd, and because among backup sysems only Time Machine actually uses \
+it, other client systems have to do a traditional tree walk to find changed \
+files. \
+ \
+Dirvish transmits changed files (or portions of changed files) via rsync to \
+the backup server, which in turn maintains the backup repository as a set of \
+hard-linked trees, with databases to track what has changed, as well as an \
+optional locate index to provide fast searching in the backup tree.  There is \
+no GUI; however, dirvish appears to be much more robust than other software \
+of this type in its exclude processing. \
+ \
+Using dirvish, your OS X Mac can become a snapshot backup server for your \
+non-OS X (or your pre-Leopard OS X) UNIX- and UNIX-like machines.}
+
+homepage        http://www.dirvish.org/
+platforms       darwin freebsd
+master_sites    ${homepage}
+
+checksums       md5 f3a127525dd2ef94bf79cd5614f6e147 \
+                sha1 804a8ef09e47ac63499571db0c05fe2be9fd6b15 \
+                rmd160 2942ca7bba1d4957ba66d88b341df605df7b2112
+
+extract.suffix  .tgz
+extract.mkdir   yes
+
+patchfiles      patch-Makefile.diff \
+                patch-default.conf.dist.diff \
+                patch-master.conf.dist.diff
+
+use_configure   no
+
+build.type      bsd
+build.args      PREFIX=${prefix}
+
+destroot.args   PREFIX=${prefix}
+
+depends_lib     port:p5-time-modules port:p5-timedate port:p5-time-period port:rsync


Property changes on: trunk/dports/sysutils/dirvish/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/sysutils/dirvish/files/patch-Makefile.diff
===================================================================
--- trunk/dports/sysutils/dirvish/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/sysutils/dirvish/files/patch-Makefile.diff	2009-04-06 01:28:38 UTC (rev 49229)
@@ -0,0 +1,59 @@
+--- Makefile.orig	1969-12-31 19:00:00.000000000 -0500
++++ Makefile	2008-11-26 23:23:09.000000000 -0500
+@@ -0,0 +1,56 @@
++#
++# Largely copied from the FreeBSD ports tree Makefile for dirvish, which was
++# written by Loren M. Lang.
++#
++EXECUTABLES=dirvish dirvish-expire dirvish-locate dirvish-runall
++MAN5=dirvish.conf.5
++MAN8=dirvish.8 dirvish-expire.8 dirvish-locate.8 dirvish-runall.8
++
++#
++# Macports provides DESTDIR on the command line.  The Portfile provides PREFIX.
++#
++INSTPATH=${DESTDIR}${PREFIX}
++CONFDIR=${PREFIX}/etc/dirvish
++MANDIR=${INSTPATH}/share/man
++MAN5DIR=${MANDIR}/man5
++MAN8DIR=${MANDIR}/man8
++SBINDIR=${INSTPATH}/sbin
++STAGE_CONFDIR=${DESTDIR}${CONFDIR}
++
++DIRVISH_DIRS=${CONFDIR} ${MAN5DIR} ${MAN8DIR} ${SBINDIR}
++
++CHMOD=/bin/chmod
++INSTALL=/usr/bin/install
++INSTALL_OWNER=-o root
++INSTALL_GROUP=-g admin
++INSTALL_UCREDS=${INSTALL_OWNER} ${INSTALL_GROUP}
++INSTALL_DATA=${INSTALL} ${INSTALL_UCREDS} -m 444
++INSTALL_DIRS=${INSTALL} -d -m 755
++INSTALL_MAN=${INSTALL_DATA}
++INSTALL_SCRIPT=${INSTALL} ${INSTALL_UCREDS} -m 555
++
++header:
++	echo "#!`which perl`" > header.pl
++	echo "" >> header.pl
++	echo "\$$CONFDIR = \"${CONFDIR}\";" >> header.pl
++
++${EXECUTABLES}:	header
++.for _E in ${EXECUTABLES}
++	cat header.pl ${_E}.pl loadconfig.pl > ${_E} && ${CHMOD} 755 ${_E}
++.endfor
++
++all:	${EXECUTABLES}
++
++install:	${EXECUTABLES}
++.for _E in ${EXECUTABLES}
++	${INSTALL_SCRIPT} ${_E} ${SBINDIR}
++.endfor
++.for _M in ${MAN5}
++	${INSTALL_MAN} ${_M} ${MAN5DIR}
++.endfor
++.for _M in ${MAN8}
++	${INSTALL_MAN} ${_M} ${MAN8DIR}
++.endfor
++	${INSTALL_DIRS} ${STAGE_CONFDIR}
++	${INSTALL_DATA} master.conf.dist ${STAGE_CONFDIR}
++	${INSTALL_DATA} default.conf.dist ${STAGE_CONFDIR}

Added: trunk/dports/sysutils/dirvish/files/patch-default.conf.dist.diff
===================================================================
--- trunk/dports/sysutils/dirvish/files/patch-default.conf.dist.diff	                        (rev 0)
+++ trunk/dports/sysutils/dirvish/files/patch-default.conf.dist.diff	2009-04-06 01:28:38 UTC (rev 49229)
@@ -0,0 +1,7 @@
+--- default.conf.dist.orig	1969-12-31 19:00:00.000000000 -0500
++++ default.conf.dist	2008-11-24 22:19:44.000000000 -0500
+@@ -0,0 +1,4 @@
++client: sttng359 at bsd.ddns
++tree: /home/sttng359/all
++xdev: 0
++

Added: trunk/dports/sysutils/dirvish/files/patch-master.conf.dist.diff
===================================================================
--- trunk/dports/sysutils/dirvish/files/patch-master.conf.dist.diff	                        (rev 0)
+++ trunk/dports/sysutils/dirvish/files/patch-master.conf.dist.diff	2009-04-06 01:28:38 UTC (rev 49229)
@@ -0,0 +1,33 @@
+--- master.conf.dist.orig	1969-12-31 19:00:00.000000000 -0500
++++ master.conf.dist	2008-11-24 22:19:44.000000000 -0500
+@@ -0,0 +1,30 @@
++#rsh: ssh -C
++
++#image-default: %Y%m%d
++
++log: text
++#log: gzip
++#log:bzip2
++
++index: none
++
++xdev: 1
++
++exclude:
++	/dev
++	/proc
++	/compat/linux/proc
++	/etc/mtab
++	/usr/obj
++	.kde/share/cache/*
++	lost+found/
++
++expire-default: +30 days
++
++bank:
++	/usr/snapshot/bank0
++
++Runall:
++	vault0 23:00
++	vault1
++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090405/9a5c7bfb/attachment.html>


More information about the macports-changes mailing list