- Add a missing runtime dependency on rsync

- Add sample configuration files

PR:		ports/81825
Submitted by:	maintainer
This commit is contained in:
Jean-Yves Lefort 2005-06-08 11:49:24 +00:00
parent 19c9380f0d
commit 0e19a6509e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137044
4 changed files with 42 additions and 3 deletions

View file

@ -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>

View file

@ -0,0 +1,4 @@
client: sttng359@bsd.ddns
tree: /home/sttng359/all
xdev: 0

View file

@ -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

View file

@ -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