Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 08:34:32 GMT
From:      Ighighi <ighighi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122183: [patch]: 3 errors in portupgrade(1) manpage (ports-mgmt/portupgrade*)
Message-ID:  <200803280834.m2S8YWVp008427@www.freebsd.org>
Resent-Message-ID: <200803280840.m2S8e1uW027692@freefall.freebsd.org>

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

>Number:         122183
>Category:       ports
>Synopsis:       [patch]: 3 errors in portupgrade(1) manpage (ports-mgmt/portupgrade*)
>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:   Fri Mar 28 08:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ighighi
>Release:        6.3-STABLE
>Organization:
>Environment:
FreeBSD orion 6.3-STABLE FreeBSD 6.3-STABLE #0: Fri Mar 21 15:20:50 VET 2008     root@orion:/usr/obj/usr/src/sys/CUSTOM  i386

>Description:
There are 3 errors in portupgrade(1):

Since pkgtools-2.4.0, the -c & -C options changed.  The -W

< 2.4.0:
      -c
      --clean          Do ``make clean'' before each build.  This is the
                       default behavior.  See the -w option below.

      -C
      --cleanup        Do ``make clean'' after each installation.  This
                       is the default behavior.  See the -W option below.

>How-To-Repeat:

>Fix:
Attached patch

Patch attached with submission follows:

#
# Patch to portupgrade(1)
#

--- portupgrade.1.orig	2008-02-10 18:50:02.000000000 -0430
+++ portupgrade.1	2008-03-28 03:51:08.401840944 -0430
@@ -142,8 +142,6 @@
 Run
 .Dq Li "make config-conditional"
 before everything for all tasks.
-.Fl w
-option below.
 .Pp
 .It Fl C
 .It Fl -force-config
@@ -339,17 +337,13 @@
 .It Fl -noclean
 Do not
 .Dq Li "make clean"
-before each build.  See the
-.Fl c
-option above.
+before each build.
 .Pp
 .It Fl W
 .It Fl -nocleanup
 Do not
 .Dq Li "make clean"
-after each installation.  See the
-.Fl C
-option above.
+after each installation.
 .Pp
 .It Fl -without-env-upgrade
 Do not set UPGRADE_* environment variables.


>Release-Note:
>Audit-Trail:
>Unformatted:
 >= 2.4.0:
       -c
       --config         Run ``make config-conditional'' before everything
                        for all tasks.  -w option below.
 
       -C
       --force-config   Run ``make config'' before everything for all
                        tasks.
      
 Error #1:                                                             
 Notice the leftover sentence "-w option below" in -c/--config"
 
 Errors #2 and #3 are the now irrelevant references to the -c and -C options
 in the descriptions of -w and -W, resp.
 
      -w
      --noclean         Do not ``make clean'' before each build.  See the
                        -c option above.
 
      -W
      --nocleanup       Do not ``make clean'' after each installation.
                        See the -C option above.
 
 



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