From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 1 03:50:18 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 680C316A422 for ; Wed, 1 Mar 2006 03:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1BB943D6A for ; Wed, 1 Mar 2006 03:50:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k213oCGI016909 for ; Wed, 1 Mar 2006 03:50:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k213oC70016908; Wed, 1 Mar 2006 03:50:12 GMT (envelope-from gnats) Resent-Date: Wed, 1 Mar 2006 03:50:12 GMT Resent-Message-Id: <200603010350.k213oC70016908@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Paul Schmehl Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 167F316A420 for ; Wed, 1 Mar 2006 03:48:58 +0000 (GMT) (envelope-from root+utd59514@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7536243D48 for ; Wed, 1 Mar 2006 03:48:57 +0000 (GMT) (envelope-from root+utd59514@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id 0C8E5388C50 for ; Tue, 28 Feb 2006 21:48:57 -0600 (CST) Received: by utd59514.utdallas.edu (Postfix, from userid 0) id D4FDB44482F; Tue, 28 Feb 2006 21:48:56 -0600 (CST) Message-Id: <20060301034856.D4FDB44482F@utd59514.utdallas.edu> Date: Tue, 28 Feb 2006 21:48:56 -0600 (CST) From: Paul Schmehl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/93967: converters/mpack, correct hardcoded path problem in source code X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 03:50:18 -0000 >Number: 93967 >Category: ports >Synopsis: converters/mpack, correct hardcoded path problem in source code >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: Wed Mar 01 03:50:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Paul Schmehl >Release: FreeBSD 5.4-SECURITY i386 >Organization: University of Texas at Dallas >Environment: System: FreeBSD hostname.utdallas.edu 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Wed Jul 20 08:57:11 UTC 2005 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: several files had hardcoded paths to TMPDIR of /usr/tmp, which does not exist. They were edited to change TMPDIR to /tmp. The files included man files as well as source code files. >How-To-Repeat: sending a file through mpack fails because the TMPDIR does not exist >Fix: --- patch-README.unix begins here --- --- README.unix.orig Tue Feb 28 21:37:10 2006 +++ README.unix Tue Feb 28 21:37:28 2006 @@ -188,7 +188,7 @@ TMPDIR Root of directory to store partial messages awaiting - reassembly. Default is "/usr/tmp". Partial messages + reassembly. Default is "/tmp". Partial messages are stored in subdirectories of $TMPDIR/m-prts-$USER/ --- patch-README.unix ends here --- --- patch-mkreadme.pl begins here --- --- mkreadme.pl.orig Tue Feb 28 21:37:42 2006 +++ mkreadme.pl Tue Feb 28 21:38:32 2006 @@ -413,7 +413,7 @@ =unix TMPDIR Root of directory to store partial messages awaiting - reassembly. Default is "/usr/tmp". Partial messages + reassembly. Default is "/tmp". Partial messages are stored in subdirectories of $TMPDIR/m-prts-$USER/ =pc os2 --- patch-mkreadme.pl ends here --- --- patch-unixos.c begins here --- --- unixos.c.orig Tue Feb 28 21:35:40 2006 +++ unixos.c Tue Feb 28 21:36:04 2006 @@ -90,7 +90,7 @@ strcpy(buf, getenv("TMPDIR")); } else { - strcpy(buf, "/usr/tmp"); + strcpy(buf, "/tmp"); } strcat(buf, "/m-prts-"); p = getenv("USER"); --- patch-unixos.c ends here --- --- patch-unixpk.c begins here --- --- unixpk.c.orig Tue Feb 28 21:36:27 2006 +++ unixpk.c Tue Feb 28 21:36:44 2006 @@ -164,7 +164,7 @@ strcpy(fnamebuf, getenv("TMPDIR")); } else { - strcpy(fnamebuf, "/usr/tmp"); + strcpy(fnamebuf, "/tmp"); } strcat(fnamebuf, "/mpackXXXXXX"); mktemp(fnamebuf); --- patch-unixpk.c ends here --- --- patch-unixpk.man begins here --- --- unixpk.man.orig Tue Feb 28 21:38:44 2006 +++ unixpk.man Tue Feb 28 21:39:33 2006 @@ -136,7 +136,7 @@ .SH ENVIRONMENT .TP .B TMPDIR -Directory to store temporary files. Default is /usr/tmp. +Directory to store temporary files. Default is /tmp. .TP .B SPLITSIZE Default value of the -m switch. --- patch-unixpk.man ends here --- >Release-Note: >Audit-Trail: >Unformatted: