diff options
author | pav <pav@FreeBSD.org> | 2005-05-04 21:28:47 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-05-04 21:28:47 +0800 |
commit | e2b865cb5b841eec29fcbc250a4d7ab8fba02210 (patch) | |
tree | cdcc4159783784194d1535257b676a09a9f8812c /sysutils/dirvish | |
parent | 770e1ff8d7843692a6a62a324fa5c84b9d02f82c (diff) | |
download | freebsd-ports-gnome-e2b865cb5b841eec29fcbc250a4d7ab8fba02210.tar.gz freebsd-ports-gnome-e2b865cb5b841eec29fcbc250a4d7ab8fba02210.tar.zst freebsd-ports-gnome-e2b865cb5b841eec29fcbc250a4d7ab8fba02210.zip |
This is a network-based backup system based of of rync. It can do full and
incremental backups to a remote file server. It relies on rsync for the
host to host copy and uses hard links to provide multiple snapshots of the
data without duplicating identical files.
PR: ports/80582
Submitted by: Loren M. Lang <lorenl@alzatex.com>
Diffstat (limited to 'sysutils/dirvish')
-rw-r--r-- | sysutils/dirvish/Makefile | 32 | ||||
-rw-r--r-- | sysutils/dirvish/distinfo | 2 | ||||
-rw-r--r-- | sysutils/dirvish/files/patch-00-dirvish-freebsd | 78 | ||||
-rw-r--r-- | sysutils/dirvish/pkg-descr | 9 | ||||
-rw-r--r-- | sysutils/dirvish/pkg-plist | 6 |
5 files changed, 127 insertions, 0 deletions
diff --git a/sysutils/dirvish/Makefile b/sysutils/dirvish/Makefile new file mode 100644 index 000000000000..b440fdeeac17 --- /dev/null +++ b/sysutils/dirvish/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: dirvish +# Date created: 28 April 2005 +# Whom: Loren M. Lang +# +# $FreeBSD$ +# + +PORTNAME= dirvish +PORTVERSION= 1.2 +CATEGORIES= sysutils archivers +MASTER_SITES= http://www.dirvish.org/ +DISTNAME= ${PORTNAME}_${PORTVERSION}.orig + +MAINTAINER= lorenl@alzatex.com +COMMENT= Network backup system based off of rsync + +RUN_DEPENDS= ${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time-modules \ + ${SITE_PERL}/Time/Period.pm:${PORTSDIR}/devel/p5-Time-Period + +MAN5= dirvish.conf.5 +MAN8= dirvish.8 dirvish-expire.8 dirvish-locate.8 dirvish-runall.8 + +WRKSRC= ${WRKDIR}/Dirvish-${PORTVERSION} + +NO_BUILD= yes +USE_PERL5_RUN= yes + +do-install: + @(cd ${INSTALL_WRKSRC} && ${SH} install.sh < /dev/null) + ${MKDIR} ${PREFIX}/etc/dirvish + +.include <bsd.port.mk> diff --git a/sysutils/dirvish/distinfo b/sysutils/dirvish/distinfo new file mode 100644 index 000000000000..dc8d72105a4a --- /dev/null +++ b/sysutils/dirvish/distinfo @@ -0,0 +1,2 @@ +MD5 (dirvish_1.2.orig.tar.gz) = 0b972fecae018a4fc96960ff0459b8c3 +SIZE (dirvish_1.2.orig.tar.gz) = 46131 diff --git a/sysutils/dirvish/files/patch-00-dirvish-freebsd b/sysutils/dirvish/files/patch-00-dirvish-freebsd new file mode 100644 index 000000000000..81e6919c82c2 --- /dev/null +++ b/sysutils/dirvish/files/patch-00-dirvish-freebsd @@ -0,0 +1,78 @@ +diff -ru origin/install.sh ./install.sh +--- origin/install.sh Tue Feb 24 18:42:15 2004 ++++ ./install.sh Thu Apr 28 22:58:39 2005 +@@ -7,6 +7,8 @@ + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; + esac + ++ECHO_N= ++ + EXECUTABLES="dirvish dirvish-runall dirvish-expire dirvish-locate" + MANPAGES="dirvish.8 dirvish-runall.8 dirvish-expire.8 dirvish-locate.8" + MANPAGES="$MANPAGES dirvish.conf.5" +@@ -27,6 +29,7 @@ + + until [ -n "$PREFIX_OK" ] + do ++ PREFIX="/usr/local" + EXECDIR="/usr/sbin" + CONFDIR="/etc/dirvish" + MANDIR="/usr/share/man" +@@ -36,7 +39,7 @@ + if [ -n "$ans" ] + then + PREFIX="$ans" +- if [ "$PREFIX" == "/" ] ++ if [ "$PREFIX" = "/" ] + then + PREFIX="" + fi +@@ -58,9 +61,9 @@ + + if [ -d "$PREFIX/sbin" ] + then +- BINDIR=$PREFIX/sbin ++ BINDIR="$PREFIX/sbin" + else +- BINDIR=$PREFIX/bin ++ BINDIR="$PREFIX/bin" + fi + + if [ -d "$PREFIX/share/man" ] +@@ -71,13 +74,16 @@ + MANDIR=$PREFIX/usr/share/man + elif [ -d "$PREFIX/usr/man" ] + then +- MANDIR="$PREFIX/usr/man" ] ++ MANDIR="$PREFIX/usr/man" + else +- MANDIR=$PREFIX/man ++ MANDIR="$PREFIX/man" + fi + if [ `expr "$PREFIX" : '.*dirvish.*'` -gt 0 ] + then + CONFDIR="$PREFIX/etc" ++ elif [ -d "$PREFIX/etc" ] ++ then ++ CONFDIR="$PREFIX/etc/dirvish" + else + CONFDIR="/etc/dirvish" + fi +@@ -121,7 +127,7 @@ + if [ `expr "$ans" : '[qQ]'` -ne 0 ] + then + exit +- elif [ `expr "$ans" : '[yY]'` -ne 0 ] ++ elif [ `expr "$ans" : '[nN]'` -eq 0 ] + then + break + fi +@@ -147,7 +153,7 @@ + + echo $ECHO_N "Install executables and manpages? (no/yes) $ECHO_C" + read ans +-if [ `expr "$ans" : '[yY]'` -ne 0 ] ++if [ `expr "$ans" : '[nN]'` -eq 0 ] + then + echo + if [ -n "$CREATE_PREFIX" ] diff --git a/sysutils/dirvish/pkg-descr b/sysutils/dirvish/pkg-descr new file mode 100644 index 000000000000..02b268150893 --- /dev/null +++ b/sysutils/dirvish/pkg-descr @@ -0,0 +1,9 @@ +This is a network-based backup system based of of rync. It can do full and +incremental backups to a remote file server. It relies on rsync for the +host to host copy and uses hard links to provide multiple snapshots of the +data without duplicating identical files. + +WWW: http://www.dirvish.org/ + +- Loren M. Lang +lorenl@alzatex.com diff --git a/sysutils/dirvish/pkg-plist b/sysutils/dirvish/pkg-plist new file mode 100644 index 000000000000..035abdd46c85 --- /dev/null +++ b/sysutils/dirvish/pkg-plist @@ -0,0 +1,6 @@ +sbin/dirvish +sbin/dirvish-expire +sbin/dirvish-locate +sbin/dirvish-runall +@exec mkdir -p %D/etc/dirvish +@dirrm etc/dirvish |