Subject: pkg/17760: PKG_TMPDIR defaults to /var/tmp, not /tmp
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/29/2002 18:08:46
>Number:         17760
>Category:       pkg
>Synopsis:       PKG_TMPDIR defaults to /var/tmp, not /tmp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 29 15:10:00 PDT 2002
>Originator:     John Franklin
>Release:        NetBSD 1.6B
System: NetBSD deathmitten 1.6B NetBSD 1.6B (DM.MP) #0: Sun Jun 30 16:34:40 EDT 2002 franklin@deathmitten:/usr/src/sys/arch/i386-MP/compile/DM.MP i386
Architecture: i386
Machine: i386
pkg_add.1 claims the default for PKG_TMPDIR is /tmp.  In reality, it's /var/tmp.
Apply the attached patch, or fix the code to really default to /tmp.

Index: pkg_add.1
RCS file: /cvsroot/basesrc/usr.sbin/pkg_install/add/pkg_add.1,v
retrieving revision 1.33
diff -u -r1.33 pkg_add.1
--- pkg_add.1	2002/02/08 01:38:52	1.33
+++ pkg_add.1	2002/07/29 22:04:57
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_add.1,v 1.32 2002/02/07 03:15:12 ross Exp $
+.\" $NetBSD: pkg_add.1,v 1.33 2002/02/08 01:38:52 ross Exp $
 .\" FreeBSD install - a package for the installation and maintainance
 .\" of non-core utilities.
@@ -420,7 +420,7 @@
 Where to register packages instead of
 .Pa /var/db/pkg .
-Staging directory for installing packages, defaults to /tmp.
+Staging directory for installing packages, defaults to /var/tmp.
 Set to directory with lots of free disk if you run out of
 space when installing a binary package.