Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2008 18:28:25 GMT
From:      Anthony Maszeroski <maszeroskia3@scranton.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/126165: Patches introduced in sysutils/flexbackup-1.2.1_3 cause buffer test to fail
Message-ID:  <200808011828.m71ISPFi052659@www.freebsd.org>
Resent-Message-ID: <200808011830.m71IU2DQ031270@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         126165
>Category:       ports
>Synopsis:       Patches introduced in sysutils/flexbackup-1.2.1_3 cause buffer test to fail
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 01 18:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Maszeroski
>Release:        6.3-RELEASE-p1 i386
>Organization:
University of Scranton
>Environment:
FreeBSD argus.netsvs.scranton.edu 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Fri Apr  4 15:01:23 EST 2008     root@argus.netsvs.scranton.edu:/usr/obj/usr/src/sys/ARGUS  i386

>Description:
The latest patches to flexbackup caused breakage as the generated buffer test shell script calls a non-existent program named "tempfile" to create a random temporary filename.
>How-To-Repeat:
Run flexbackup with $buffer = 'buffer' set in flexbackup.conf.
>Fix:
Proposed solution (diff of flexbackup)

5288,5289c5288,5289
<     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";


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808011828.m71ISPFi052659>