Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2007 20:12:18 GMT
From:      Fred Condo<hostmaster@quinn.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/110282: Portupgrade documentation mischaracterizes the -b option
Message-ID:  <200703132012.l2DKCI1K053831@www.freebsd.org>
Resent-Message-ID: <200703132020.l2DKK3qI017797@freefall.freebsd.org>

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

>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@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:



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