Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2002 06:46:25 -0800 (PST)
From:      Marian Cerny <cerny@spnv.sk>
To:        freebsd-gnats-submit@freebsd.org
Subject:   docs/34207: [PATCH] wrong path to lsof in handbook section 4.5
Message-ID:  <200201231446.g0NEkPG24270@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 23 06:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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