From sluggo@housecat.unknown.nu  Sun Oct 27 07:27:36 2002
Return-Path: <sluggo@housecat.unknown.nu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2954F37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Oct 2002 07:27:36 -0800 (PST)
Received: from housecat.unknown.nu (housecat.unknown.nu [207.229.168.229])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 489FC43E65
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Oct 2002 07:27:34 -0800 (PST)
	(envelope-from sluggo@housecat.unknown.nu)
Received: from housecat.unknown.nu (smmsp@localhost.unknown.nu [127.0.0.1])
	by housecat.unknown.nu (8.12.6/8.12.6) with ESMTP id g9RFRQj9068503
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Oct 2002 09:27:27 -0600 (CST)
	(envelope-from sluggo@housecat.unknown.nu)
Received: (from root@localhost)
	by housecat.unknown.nu (8.12.6/8.12.6/Submit) id g9RFRPYd068397;
	Sun, 27 Oct 2002 09:27:25 -0600 (CST)
Message-Id: <200210271527.g9RFRPYd068397@housecat.unknown.nu>
Date: Sun, 27 Oct 2002 09:27:25 -0600 (CST)
From: Kim Scarborough <sluggo@unknown.nu>
Reply-To: Kim Scarborough <sluggo@housecat.unknown.nu>
To: FreeBSD-gnats-submit@freebsd.org
Subject: /usr/share/examples/cvsup/doc-supfile gives a bad path
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         44532
>Category:       misc
>Synopsis:       /usr/share/examples/cvsup/doc-supfile gives a bad path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ceri
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 27 07:30:08 PST 2002
>Closed-Date:    Sun Oct 27 08:20:15 PST 2002
>Last-Modified:  Sun Oct 27 08:20:15 PST 2002
>Originator:     Kim Scarborough
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD housecat.unknown.nu 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Sun Oct 20 11:15:27 CDT 2002 toor@housecat.unknown.nu:/usr/src/sys/compile/HOUSECAT i386


	
>Description:
	The example cvsup file for docs defaults to putting stuff in /usr/doc. Surely it should be
	/usr/share/doc?
>How-To-Repeat:
	1) Don't read the comment about the default prefix in /usr/share/examples/cvsup/doc-supfile
	2) cvsup your docs tree off the example supfile
	3) Get really confused because nothing in /usr/share/docs has been touched
>Fix:

--- doc-supfile.ORIG	Tue Oct 15 18:07:42 2002
+++ doc-supfile	Sun Oct 27 09:23:17 2002
@@ -40,8 +40,8 @@
 #
 # prefix=/usr
 #		This specifies where to place the requested files.  A
-#		setting of "/usr" will place all of the files requested
-#		in "/usr/doc" (e.g., "/usr/doc/en_US.ISO8859-1").
+#		setting of "/usr/share" will place all of the files requested
+#		in "/usr/share/doc" (e.g., "/usr/share/doc/en_US.ISO8859-1").
 #		The prefix directory must exist in order to run CVSup.
 
 # Defaults that apply to all the collections
@@ -50,7 +50,7 @@
 # listed at http://www.freebsd.org/doc/handbook/mirrors.html.
 *default host=CHANGE_THIS.FreeBSD.org
 *default base=/usr
-*default prefix=/usr
+*default prefix=/usr/share
 *default release=cvs tag=.
 *default delete use-rel-suffix
 

>Release-Note:
>Audit-Trail:

From: Lowell Gilbert <freebsd-bugs-local@be-well.no-ip.com>
To: Kim Scarborough <sluggo@housecat.unknown.nu>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/44532: /usr/share/examples/cvsup/doc-supfile gives a bad path
Date: 27 Oct 2002 10:45:01 -0500

 Kim Scarborough <sluggo@unknown.nu> writes:
 
 > >Description:
 > 	The example cvsup file for docs defaults to putting stuff in /usr/doc. Surely it should be
 > 	/usr/share/doc?
 
 No.  What you downloaded through cvsup is the *source* for the
 documents, not the output.  This is exactly the same as cvsup'ing 
 the main system and having it put into /usr/src.  If you want to
 build the documents from source, you need to install the docproj
 port.  If all you want is updates to /usr/share/doc, then I
 recommend downloading the documentation directly, as described
 (for example) in the front page of the FreeBSD handbook.
 
                               The latest version of this document is always
    available from the FreeBSD web site. It may also be downloaded in a
    variety of formats and compression options from the FreeBSD FTP server or
    one of the numerous mirror sites. If you would prefer to have a hard copy
    of the handbook, you can purchase one at the FreeBSD Mall. You may also
    want to search the handbook.
 
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Sun Oct 27 08:19:17 PST 2002 
State-Changed-Why:  
As Lowell pointed out, the path is correct, since you are retrieving the 
source of the doc tree. 


Responsible-Changed-From-To: freebsd-bugs->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Sun Oct 27 08:19:17 PST 2002 
Responsible-Changed-Why:  
As Lowell pointed out, the path is correct, since you are retrieving the 
source of the doc tree. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44532 
>Unformatted:
