aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dirvish
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-06-08 11:49:24 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-06-08 11:49:24 +0000
commit0e19a6509e238e9264f99e8feaf14fe3d2b42ff2 (patch)
tree231362f9063e3fbcf416d6c3b049b93c4fb65b71 /sysutils/dirvish
parent19c9380f0db7a6af9680747a0a5398e007bf6585 (diff)
downloadports-0e19a6509e238e9264f99e8feaf14fe3d2b42ff2.tar.gz
ports-0e19a6509e238e9264f99e8feaf14fe3d2b42ff2.zip
Notes
Diffstat (limited to 'sysutils/dirvish')
-rw-r--r--sysutils/dirvish/Makefile6
-rw-r--r--sysutils/dirvish/files/default.conf.dist4
-rw-r--r--sysutils/dirvish/files/master.conf.dist30
-rw-r--r--sysutils/dirvish/pkg-plist5
4 files changed, 42 insertions, 3 deletions
diff --git a/sysutils/dirvish/Makefile b/sysutils/dirvish/Makefile
index b440fdeeac17..849c6f7563e5 100644
--- a/sysutils/dirvish/Makefile
+++ b/sysutils/dirvish/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dirvish
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= sysutils archivers
MASTER_SITES= http://www.dirvish.org/
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
@@ -15,7 +16,8 @@ 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
+ ${SITE_PERL}/Time/Period.pm:${PORTSDIR}/devel/p5-Time-Period \
+ rsync:${PORTSDIR}/net/rsync
MAN5= dirvish.conf.5
MAN8= dirvish.8 dirvish-expire.8 dirvish-locate.8 dirvish-runall.8
@@ -28,5 +30,7 @@ USE_PERL5_RUN= yes
do-install:
@(cd ${INSTALL_WRKSRC} && ${SH} install.sh < /dev/null)
${MKDIR} ${PREFIX}/etc/dirvish
+ ${INSTALL_DATA} ${FILESDIR}/master.conf.dist ${PREFIX}/etc/dirvish
+ ${INSTALL_DATA} ${FILESDIR}/default.conf.dist ${PREFIX}/etc/dirvish
.include <bsd.port.mk>
diff --git a/sysutils/dirvish/files/default.conf.dist b/sysutils/dirvish/files/default.conf.dist
new file mode 100644
index 000000000000..d81eb2b0f154
--- /dev/null
+++ b/sysutils/dirvish/files/default.conf.dist
@@ -0,0 +1,4 @@
+client: sttng359@bsd.ddns
+tree: /home/sttng359/all
+xdev: 0
+
diff --git a/sysutils/dirvish/files/master.conf.dist b/sysutils/dirvish/files/master.conf.dist
new file mode 100644
index 000000000000..d9c890377e41
--- /dev/null
+++ b/sysutils/dirvish/files/master.conf.dist
@@ -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
+
diff --git a/sysutils/dirvish/pkg-plist b/sysutils/dirvish/pkg-plist
index 035abdd46c85..ba956e789a54 100644
--- a/sysutils/dirvish/pkg-plist
+++ b/sysutils/dirvish/pkg-plist
@@ -2,5 +2,6 @@ sbin/dirvish
sbin/dirvish-expire
sbin/dirvish-locate
sbin/dirvish-runall
-@exec mkdir -p %D/etc/dirvish
-@dirrm etc/dirvish
+etc/dirvish/default.conf.dist
+etc/dirvish/master.conf.dist
+@unexec rmdir %D/etc/dirvish 2>/dev/null || true