diff options
author | rafan <rafan@FreeBSD.org> | 2008-09-13 22:53:13 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-09-13 22:53:13 +0800 |
commit | c82b65770cee1535a8bf2dff4522e1c022357228 (patch) | |
tree | 676cc34656973e4d7eaeb7cb260666c29e5fe534 /sysutils/flexbackup | |
parent | 6faa3d882775d3ca92b228b636cd0f947c1e291c (diff) | |
download | freebsd-ports-gnome-c82b65770cee1535a8bf2dff4522e1c022357228.tar.gz freebsd-ports-gnome-c82b65770cee1535a8bf2dff4522e1c022357228.tar.zst freebsd-ports-gnome-c82b65770cee1535a8bf2dff4522e1c022357228.zip |
- Since last commit, what using flexbackup with buffer/mbuffer, an error
is occurred while trying to invoke the non-existent program 'tempfile'.
This program is not in our base nor in the dependencies installed by
this port. Fix that by using mktemp instead.
- Bump PORTREVISION
PR: ports/126165
Submitted by: Anthony Maszeroski <maszeroskia3 at scranton.edu>
Approved by: portmgr (erwin), maintainer
Diffstat (limited to 'sysutils/flexbackup')
-rw-r--r-- | sysutils/flexbackup/Makefile | 2 | ||||
-rw-r--r-- | sysutils/flexbackup/files/patch-flexbackup | 8 |
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"; |