From chris@holly.dyndns.org Thu Apr 15 07:31:22 1999
Return-Path: <chris@holly.dyndns.org>
Received: from leap.innerx.net (leap.innerx.net [38.179.176.25])
	by hub.freebsd.org (Postfix) with ESMTP id 13F3315372
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Apr 1999 07:31:20 -0700 (PDT)
	(envelope-from chris@holly.dyndns.org)
Received: from holly.dyndns.org (ip107.houston2.tx.pub-ip.psi.net [38.11.201.107])
	by leap.innerx.net (Postfix) with ESMTP id 764103708F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Apr 1999 10:28:55 -0400 (EDT)
Received: (from chris@localhost)
	by holly.dyndns.org (8.9.3/8.9.3) id JAA06439;
	Thu, 15 Apr 1999 09:29:07 -0500 (CDT)
	(envelope-from chris)
Message-Id: <199904151429.JAA06439@holly.dyndns.org>
Date: Thu, 15 Apr 1999 09:29:07 -0500 (CDT)
From: Chris Costello <chris@holly.dyndns.org>
Reply-To: chris@calldei.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: [Patch] en/handbook/ports/chapter.sgml is out of date
X-Send-Pr-Version: 3.2

>Number:         11153
>Category:       docs
>Synopsis:       [Patch] en/handbook/ports/chapter.sgml is out of date
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nik
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 15 07:30:00 PDT 1999
>Closed-Date:    Sun May 16 06:42:23 PDT 1999
>Last-Modified:  Sun May 16 06:42:50 PDT 1999
>Originator:     Chris Costello
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
no
>Environment:

	doc tree, CVSup'd this morning.

>Description:

	'>' prompt should be changed to 'ftp>'

	/usr/X11R6 base needs to be mentioned as well as /usr/local

	make deinstall should be mentioned as well as pkg_delete

	bin:bin ownership should be root:wheel

>How-To-Repeat:

	Not applicable.

>Fix:

Index: en/handbook/ports/chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en/handbook/ports/chapter.sgml,v
retrieving revision 1.12
diff -u -r1.12 chapter.sgml
--- chapter.sgml	1999/04/08 21:29:45	1.12
+++ chapter.sgml	1999/04/15 14:17:44
@@ -138,8 +138,8 @@
 ===&gt;  Installing for ElectricFence-2.0.5
 ===&gt;  Warning: your umask is "0002". If this is not desired, set it to
       an appropriate value and install this port again by ``make reinstall''.
-install -c -o bin -g bin -m 444 /usr/ports/devel/ElectricFence/work/ElectricFence-2.0.5/libefence.a /usr/local/lib
-install -c -o bin -g bin -m 444 /usr/ports/devel/ElectricFence/work/ElectricFence-2.0.5/libefence.3 /usr/local/man/man3
+install -c -o root -g wheel -m 444 /usr/ports/devel/ElectricFence/work/ElectricFence-2.0.5/libefence.a /usr/local/lib
+install -c -o root -g wheel -m 444 /usr/ports/devel/ElectricFence/work/ElectricFence-2.0.5/libefence.3 /usr/local/man/man3
 ===&gt;  Compressing manual pages for ElectricFence-2.0.5
 ===&gt;  Registering installation for ElectricFence-2.0.5</screen>
 	
@@ -195,7 +195,9 @@
       
       <step>
 	<para>Install the program executable and other supporting files, man
-	  pages, etc. under the <filename>/usr/local</filename> hierarchy,
+	  pages, etc. under the <filename>/usr/local</filename> hierarchy
+	  (unless this is an <ulink url="x11.html">X11</ulink> program,
+	  then it will be under <filename>/usr/X11R6</filename>),
 	  where they will not get mixed up with system programs.  This also
 	  makes sure that all the ports you install will go in the same place,
 	  instead of being flung all over your system.</para>
@@ -287,10 +289,10 @@
 &prompt.root; <userinput>ftp ftp.freebsd.org</userinput>
 [log in as `ftp' and give your email address when asked for a
 password. Remember to use binary (also known as image) mode!]
-<prompt>&gt;</prompt> <userinput>cd /pub/FreeBSD/ports/ports/databases</userinput>
-<prompt>&gt;</prompt> <userinput>get gnats.tar</userinput>
+<prompt>ftp&gt;</prompt> <userinput>cd /pub/FreeBSD/ports/ports/databases</userinput>
+<prompt>ftp&gt;</prompt> <userinput>get gnats.tar</userinput>
 [tars up the gnats skeleton for us]
-<prompt>&gt;</prompt> <userinput>quit</userinput>
+<prompt>ftp&gt;</prompt> <userinput>quit</userinput>
 &prompt.root; <userinput>tar xf gnats.tar</userinput>
 [extract the gnats skeleton]
 &prompt.root; <userinput>cd gnats</userinput>
@@ -318,10 +320,10 @@
 &prompt.root; <userinput>ftp ftp.freebsd.org</userinput>
 [log in as `ftp' and give your email address when asked for a
 password. Remember to use binary (also known as image) mode!]
-<prompt>&gt;</prompt> <userinput>cd /pub/FreeBSD/ports/ports</userinput>
-<prompt>&gt;</prompt> <userinput>get databases.tar</userinput>
+<prompt>ftp&gt;</prompt> <userinput>cd /pub/FreeBSD/ports/ports</userinput>
+<prompt>ftp&gt;</prompt> <userinput>get databases.tar</userinput>
 [tars up the databases directory for us]
-<prompt>&gt;</prompt> <userinput>quit</userinput>
+<prompt>ftp&gt;</prompt> <userinput>quit</userinput>
 &prompt.root; <userinput>tar xf databases.tar</userinput>
 [extract all the database skeletons]
 &prompt.root; <userinput>cd databases</userinput>
@@ -811,6 +813,11 @@
 	<para>A.  No problem, just do</para>
 		      
 	<screen>&prompt.root; <userinput>pkg_delete grizzle-6.5</userinput></screen>
+
+	<para>Alternatively, you can do</para>
+
+	<screen>&prompt.root; <userinput>cd <replaceable>/usr/ports/somewhere/grizzle</replaceable></userinput>
+&prompt.root; <userinput>make deinstall</userinput></screen>
       </listitem>
       
       <listitem>

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->nik 
Responsible-Changed-By: nik 
Responsible-Changed-When: Sat May 15 02:24:14 PDT 1999 
Responsible-Changed-Why:  
Mine. 
State-Changed-From-To: open->closed 
State-Changed-By: nik 
State-Changed-When: Sun May 16 06:42:23 PDT 1999 
State-Changed-Why:  
Committed, thanks. 
>Unformatted:
