From nobody@FreeBSD.org  Wed Jan 23 06:46:26 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id C00A537B400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 23 Jan 2002 06:46:25 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g0NEkPG24270;
	Wed, 23 Jan 2002 06:46:25 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201231446.g0NEkPG24270@freefall.freebsd.org>
Date: Wed, 23 Jan 2002 06:46:25 -0800 (PST)
From: Marian Cerny <cerny@spnv.sk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] wrong path to lsof in handbook section 4.5
X-Send-Pr-Version: www-1.0

>Number:         34207
>Category:       docs
>Synopsis:       [PATCH] wrong path to lsof in handbook section 4.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 23 06:50:01 PST 2002
>Closed-Date:    Sat Jan 26 13:33:02 PST 2002
>Last-Modified:  Sat Jan 26 13:33:39 PST 2002
>Originator:     Marian Cerny
>Release:        FreeBSD 4.4-RELEASE
>Organization:
private
>Environment:
FreeBSD ivetka 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001
    murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC  i386
>Description:
In handbook, section 4.5 - Using the Ports Collection:

When talking about installing (4.5.2, 4.5.2.1), lsof is used as
an example. Four times it is mentioned with the correct path
/usr/ports/sysutils/lsof.

Later in section 4.5.3 - Removing Installed Ports, lsof is used
again, but now with incorrect path /usr/ports/irc/lsof.
>How-To-Repeat:
Have a look at the handbook, section 4.5.
>Fix:
Change /usr/ports/irc/lsof to /usr/ports/sysutils/lsof.

This patch should do it:

*** chapter.sgml.orig   Wed Jan 23 15:12:13 2002
--- chapter.sgml        Wed Jan 23 15:46:07 2002
***************
*** 856,867 ****
        <command>lsof</command> for
          those of you not paying attention).  As with installing ports,
        the first thing you must do is change to the port directory,
!       <filename>/usr/ports/irc/lsof</filename>.  After you change
        directories, you are ready to uninstall <command>lsof</command>.
        This is done with
        the <command>make deinstall</command> command:</para>
  
!       <screen>&prompt.root; <userinput>cd /usr/ports/irc/lsof</userinput>
  &prompt.root; <userinput>make deinstall</userinput>
  ===&gt;  Deinstalling for lsof-4.57</screen>
  
--- 856,867 ----
        <command>lsof</command> for
          those of you not paying attention).  As with installing ports,
        the first thing you must do is change to the port directory,
!       <filename>/usr/ports/sysutils/lsof</filename>.  After you change
        directories, you are ready to uninstall <command>lsof</command>.
        This is done with
        the <command>make deinstall</command> command:</para>
  
!       <screen>&prompt.root; <userinput>cd /usr/ports/sysutils/lsof</userinput>
  &prompt.root; <userinput>make deinstall</userinput>
  ===&gt;  Deinstalling for lsof-4.57</screen>
  
***************
*** 869,875 ****
        <command>lsof</command>
          from your system.  If you would like to reinstall it, you can do
        so by running <command>make reinstall</command> from the
!         <filename>/usr/ports/irc/lsof</filename> directory.</para>
  
        <para>The <command>make deinstall</command> and <command>make
          reinstall</command> sequence does not work once you have run
--- 869,875 ----
        <command>lsof</command>
          from your system.  If you would like to reinstall it, you can do
        so by running <command>make reinstall</command> from the
!         <filename>/usr/ports/sysutils/lsof</filename> directory.</para>
  
        <para>The <command>make deinstall</command> and <command>make
          reinstall</command> sequence does not work once you have run
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tom 
State-Changed-When: Sat Jan 26 13:33:02 PST 2002 
State-Changed-Why:  
Committed in revision 1.156 of 
doc/en_US.ISO8859-1/books/handbook/ports/chapter.sgml 

Thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34207 
>Unformatted:
