Bug 49014

Summary: incorrect tip in /usr/src/games/fortune/datfiles/freebsd-tips
Product: Documentation Reporter: George Hartzell <hartzell>
Component: Books & ArticlesAssignee: Doug Barton <dougb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description George Hartzell 2003-03-07 20:30:06 UTC
The freebsd-tips fortune file contains this tip:

 You can use /etc/make.conf to control the options used to compile software
 on this system.  Example entries are in /usr/share/examples/etc/make.conf.

but /usr/share/examples/etc/make.conf doesn't appear to exist.

Fix: 

Remove the erroneous tip, or change it to refer to:
  /usr/share/examples/etc/defaults/make.conf
though that's not really a useful example given that it's the kitchen sink
and that theres the identical copy in /etc/defaults/make.conf.
How-To-Repeat: 
Search for make.conf in /usr/src/games/fortune/datfiles/freebsd-tips
Comment 1 Marc Fonvieille freebsd_committer freebsd_triage 2003-03-08 10:46:17 UTC
On Fri, Mar 07, 2003 at 12:20:33PM -0800, George Hartzell wrote:
> 
> >Number:         49014
> >Category:       docs
> >Synopsis:       incorrect tip in /usr/src/games/fortune/datfiles/freebsd-tips
> >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:   Fri Mar 07 12:30:06 PST 2003
> >Closed-Date:
> >Last-Modified:
> >Originator:     George Hartzell
> >Release:        FreeBSD 4.7-RELEASE-p6 i386
> >Organization:
> >Environment:
> System: FreeBSD kestrel.alerce.com 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Thu Feb 27 21:25:15 PST 2003 root@kestrel.alerce.com:/usr/obj/usr/src/sys/KESTREL i386
> 
> 
> 	
> >Description:
> 
> The freebsd-tips fortune file contains this tip:
> 
>  You can use /etc/make.conf to control the options used to compile software
>  on this system.  Example entries are in /usr/share/examples/etc/make.conf.
> 
> but /usr/share/examples/etc/make.conf doesn't appear to exist.
>

nosferatu:/usr/share/examples/etc% ident make.conf 
make.conf:
     $FreeBSD: src/share/examples/etc/make.conf,v 1.206 2002/11/27
     17:46:26 obrien Exp $

It's on a 5-CURRENT box, maybe someone from re@ could MFC the file if
this later does not exist on 4.X branch.

Marc
Comment 2 Tom Hukins freebsd_committer freebsd_triage 2003-03-11 18:26:35 UTC
On Sat, Mar 08, 2003 at 02:50:12AM -0800, Marc Fonvieille wrote:
> 
>  nosferatu:/usr/share/examples/etc% ident make.conf 
>  make.conf:
>       $FreeBSD: src/share/examples/etc/make.conf,v 1.206 2002/11/27
>       17:46:26 obrien Exp $
>  
>  It's on a 5-CURRENT box, maybe someone from re@ could MFC the file if
>  this later does not exist on 4.X branch.

Under 4.X this file lives in /etc/defaults/make.conf.  The tip
should point to different files on the different branches.

See the commit logs for details:
http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/etc/make.conf?rev=1.174&content-type=text/x-cvsweb-markup

Tom
Comment 3 Doug Barton freebsd_committer freebsd_triage 2003-03-15 07:36:33 UTC
State Changed
From-To: open->analyzed


The path needs to be changed in RELENG_4 to /etc/defaults. 


Comment 4 Doug Barton freebsd_committer freebsd_triage 2003-03-15 07:36:33 UTC
Responsible Changed
From-To: freebsd-doc->dougb


I'll handle the patch.
Comment 5 Doug Barton freebsd_committer freebsd_triage 2003-03-15 08:48:34 UTC
State Changed
From-To: analyzed->closed


Fixed in RELENG_4. The path in HEAD is correct.