aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dirvish/Makefile4
-rw-r--r--sysutils/dirvish/distinfo6
-rw-r--r--sysutils/dirvish/files/patch-dirvish.pl19
3 files changed, 25 insertions, 4 deletions
diff --git a/sysutils/dirvish/Makefile b/sysutils/dirvish/Makefile
index 4542f92e513d..d5ba19bb7950 100644
--- a/sysutils/dirvish/Makefile
+++ b/sysutils/dirvish/Makefile
@@ -7,11 +7,12 @@
PORTNAME= dirvish
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= sysutils archivers
MASTER_SITES= http://www.dirvish.org/
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= tarkhil@over.ru
COMMENT= Network backup system based off of rsync
RUN_DEPENDS= ${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time-modules \
@@ -21,6 +22,7 @@ RUN_DEPENDS= ${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time-modules \
MAN5= dirvish.conf.5
MAN8= dirvish.8 dirvish-expire.8 dirvish-locate.8 dirvish-runall.8
+WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_PERL5_RUN= yes
diff --git a/sysutils/dirvish/distinfo b/sysutils/dirvish/distinfo
index 19d58acc1549..fb8509503f50 100644
--- a/sysutils/dirvish/distinfo
+++ b/sysutils/dirvish/distinfo
@@ -1,3 +1,3 @@
-MD5 (dirvish-1.2.1.tgz) = 51dd3f38f0bddb45b67d69b29af333c0
-SHA256 (dirvish-1.2.1.tgz) = d6068b0644f9302fb1ec676928f60145877ac316b5aa29d5a5a0204c59935527
-SIZE (dirvish-1.2.1.tgz) = 49132
+MD5 (dirvish-1.2.1.tgz) = f3a127525dd2ef94bf79cd5614f6e147
+SHA256 (dirvish-1.2.1.tgz) = 75bf0b1b42c6ecf6e133202550b2c65e914e9b22a540da31ba44cc652e6d3e2a
+SIZE (dirvish-1.2.1.tgz) = 46908
diff --git a/sysutils/dirvish/files/patch-dirvish.pl b/sysutils/dirvish/files/patch-dirvish.pl
new file mode 100644
index 000000000000..7116f4889f74
--- /dev/null
+++ b/sysutils/dirvish/files/patch-dirvish.pl
@@ -0,0 +1,19 @@
+--- dirvish.pl.orig 2009-04-14 10:31:56.499054436 -0400
++++ dirvish.pl 2009-04-14 10:32:25.597066893 -0400
+@@ -935,14 +935,14 @@
+ # if ($A{dir} =~ /^:/)
+ if ($A{dir} !~ /^:/)
+ {
+- $rcmd = sprintf ("%s 'cd %s; %s %s' >>%s",
++ $rcmd = sprintf ("%s 'cd %s; env %s %s' >>%s",
+ ("$A{shell}" || "/bin/sh -c"),
+ $A{dir}, $A{env},
+ $cmd,
+ $A{log}
+ );
+ } else {
+- $rcmd = sprintf ("%s '%s %s' >>%s",
++ $rcmd = sprintf ("%s 'env %s %s' >>%s",
+ ("$A{shell}" || "/bin/sh -c"),
+ $A{env},
+ $cmd,