aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/flexbackup
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/flexbackup')
-rw-r--r--sysutils/flexbackup/Makefile2
-rw-r--r--sysutils/flexbackup/files/patch-flexbackup8
2 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/flexbackup/Makefile b/sysutils/flexbackup/Makefile
index 26a3bd1ac5bd..c94da0f8ff22 100644
--- a/sysutils/flexbackup/Makefile
+++ b/sysutils/flexbackup/Makefile
@@ -7,7 +7,7 @@
PORTNAME= flexbackup
PORTVERSION= 1.2.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \
http://www.reynoldsnet.org/flexbackup/tarball/
diff --git a/sysutils/flexbackup/files/patch-flexbackup b/sysutils/flexbackup/files/patch-flexbackup
index e91d67645e79..1f6d10dfa245 100644
--- a/sysutils/flexbackup/files/patch-flexbackup
+++ b/sysutils/flexbackup/files/patch-flexbackup
@@ -1,5 +1,5 @@
---- ./flexbackup.orig 2008-07-19 09:56:20.000000000 +0200
-+++ ./flexbackup 2008-07-19 09:58:09.000000000 +0200
+--- flexbackup.orig 2003-10-10 22:12:09.000000000 +0800
++++ flexbackup 2008-09-13 22:12:36.000000000 +0800
@@ -269,6 +269,7 @@
untie(%::index);
}
@@ -319,8 +319,8 @@
print SCR "#!/bin/sh\n";
- print SCR "tmp_data=/tmp/bufftest\$\$.txt\n";
- print SCR "tmp_err=/tmp/bufftest\$\$.err\n";
-+ print SCR "tmp_data=\`tempfile\`\n";
-+ print SCR "tmp_err=\`tempfile\`\n";
++ print SCR "tmp_data=\$(mktemp $cfg::tmpdir/data.XXXXXXXXXX)\n";
++ print SCR "tmp_err=\$(mktemp $cfg::tmpdir/err.XXXXXXXXXX)\n";
print SCR "echo testme > \$tmp_data\n";
print SCR "$buffer_cmd > /dev/null 2> \$tmp_err < \$tmp_data\n";
print SCR "res=\$?\n";