ports/110282: Portupgrade documentation mischaracterizes the -b option
Fred Condo
hostmaster at quinn.com
Tue Mar 13 20:20:04 UTC 2007
>Number: 110282
>Category: ports
>Synopsis: Portupgrade documentation mischaracterizes the -b option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 13 20:20:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Fred Condo
>Release: 6.1-RELEASE-p13
>Organization:
Quinn Interactive, Inc.
>Environment:
FreeBSD example.com 6.1-RELEASE-p13 FreeBSD 6.1-RELEASE-p13 #7: Tue Mar 13 10:36:25 PDT 2007 fred at example.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The manpage for portupgrade states that backup copies kept with the -b/--backup-packages option are stored in a temporary directory. This is not true. They are stored in /usr/ports/packages/All
>How-To-Repeat:
man portupgrade
portupgrade -ba
>Fix:
Patch attached with submission follows:
--- portupgrade.1-orig Fri Nov 17 12:58:40 2006
+++ portupgrade.1 Tue Mar 13 13:10:04 2007
@@ -121,12 +121,7 @@
.Pp
.It Fl b
.It Fl -backup-packages
-Keep backup packages of the old versions. These are kept in a
-temporary directory. See
-.Ev PKG_TMPDIR
-and
-.Ev TMPDIR
-in the ENVIRONMENT section.
+Keep backup packages of the old versions.
.Pp
.It Fl -batch
Run an upgrading process in a batch mode (with BATCH=yes).
@@ -873,6 +868,8 @@
Default location of the installed package database.
.It Pa /usr/ports
Default location of the ports tree and the ports database files.
+.It Pa /usr/ports/packages/All
+Default location of backup packages saved with -b.
.Pp
.It Pa $PREFIX/etc/pkgtools.conf
Default location of the pkgtools configuration file.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list