From nobody@FreeBSD.org  Sun Oct 21 08:28:18 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B08BD273
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Oct 2012 08:28:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 969308FC21
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Oct 2012 08:28:18 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9L8SIRw054825
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Oct 2012 08:28:18 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q9L8SIjC054824;
	Sun, 21 Oct 2012 08:28:18 GMT
	(envelope-from nobody)
Message-Id: <201210210828.q9L8SIjC054824@red.freebsd.org>
Date: Sun, 21 Oct 2012 08:28:18 GMT
From: jb <jb.1234abcd@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Handbook - 25.7 Rebuilding world - update w/r to /src.conf and make.conf
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         172922
>Category:       docs
>Synopsis:       Handbook - 25.7 Rebuilding world - update w/r to /src.conf and make.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wblock
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 21 08:30:00 UTC 2012
>Closed-Date:    Wed Jan 30 03:16:29 UTC 2013
>Last-Modified:  Wed Jan 30 03:20:00 UTC 2013
>Originator:     jb
>Release:        FreeBSD 9.1-RC2 #0
>Organization:
>Environment:
FreeBSD localhost.localdomain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct  2 17:11:45 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
This paragraph should reflect current/future use of
src.conf for base system.
The src.conf is not even mentioned here - it should be added as a new paragraph
like the one for /etc/make.conf there, clearly stating its purpose.
 
The old text mentions make.conf
- with option that was renamed and moved to rc.conf, like e.g. NO_PROFILE to
  WITHOUT_PROFILE
- or with option that is part of porter's handbook
  http://www.freebsd.org/doc/en/books/porters-handbook/install.html
which references that should be removed from that paragraph:

25.7.3 Check /etc/make.conf
..
A typical user will probably want to copy and uncomment the NO_PROFILE line found in /usr/share/examples/etc/make.conf to /etc/make.conf.

Examine the other definitions, like NOPORTDOCS, and decide if they are relevant to you.

I would even suggest to remove the paragraph "25.7.3 Check /etc/make.conf" as
it is out-of-date.
Ref:
http://lists.freebsd.org/pipermail/freebsd-questions/2009-November/208562.html

jb

>How-To-Repeat:
n/a
>Fix:
rewrite paragraph in question


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->wblock 
Responsible-Changed-By: wblock 
Responsible-Changed-When: Wed Jan 30 03:04:14 UTC 2013 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172922 
State-Changed-From-To: open->closed 
State-Changed-By: wblock 
State-Changed-When: Wed Jan 30 03:16:02 UTC 2013 
State-Changed-Why:  
Sections written and modified.  Thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172922 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/172922: commit references a PR
Date: Wed, 30 Jan 2013 03:14:14 +0000 (UTC)

 Author: wblock
 Date: Wed Jan 30 03:14:07 2013
 New Revision: 40809
 URL: http://svnweb.freebsd.org/changeset/doc/40809
 
 Log:
   Rewrite the outdated section explaining make.conf and add a section to
   mention the existence of src.conf.  Warn users that these things,
   although shiny and strangely compelling, are also very sharp.
   
   PR:		172922
 
 Modified:
   head/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml
 
 Modified: head/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml
 ==============================================================================
 --- head/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml	Wed Jan 30 00:07:33 2013	(r40808)
 +++ head/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml	Wed Jan 30 03:14:07 2013	(r40809)
 @@ -2167,25 +2167,37 @@ Fetching 133 new ports or files... done.
  	<primary><filename>make.conf</filename></primary>
        </indexterm>
  
 -      <para>Examine the files
 -	<filename>/usr/share/examples/etc/make.conf</filename> and
 -	<filename>/etc/make.conf</filename>.  The first contains some
 -	default defines &ndash; most of which are commented out.  To
 -	make use of them when you rebuild your system from source, add
 -	them to <filename>/etc/make.conf</filename>.  Keep in mind
 -	that anything you add to <filename>/etc/make.conf</filename>
 -	is also used every time you run <command>make</command>, so it
 -	is a good idea to set them to something sensible for your
 -	system.</para>
 -
 -      <para>A typical user will probably want to copy and uncomment
 -	the <makevar>NO_PROFILE</makevar> line found in
 -	<filename>/usr/share/examples/etc/make.conf</filename>
 -	to <filename>/etc/make.conf</filename>.</para>
 -
 -      <para>Examine the other definitions, like
 -	<makevar>NOPORTDOCS</makevar>,
 -	and decide if they are relevant to you.</para>
 +      <para>&man.make.1; options are shown in &man.make.conf.5; and
 +	<filename>/usr/share/examples/etc/make.conf</filename>.  These
 +	settings can be added to <filename>/etc/make.conf</filename>
 +	to control the way &man.make.1; runs and how it builds
 +	programs.  Changes to some settings can have far-reaching and
 +	potentially surprising effects.  Read the comments in both
 +	locations and keep in mind that the defaults have been chosen
 +	for a combination of performance and safety.</para>
 +
 +      <para>Options set in <filename>/etc/make.conf</filename> take
 +	effect every time &man.make.1; is used, including compiling
 +	applications from the Ports Collection or user-written C
 +	programs, or building the &os; operating system itself.</para>
 +    </sect2>
 +
 +    <sect2 id="src-conf">
 +      <title>Check <filename>/etc/src.conf</filename></title>
 +
 +      <indexterm>
 +	<primary><filename>src.conf</filename></primary>
 +      </indexterm>
 +
 +      <para><filename>/etc/src.conf</filename> controls the building
 +	of the operating system from source code.  Unlike
 +	<filename>/etc/make.conf</filename>, the contents of
 +	<filename>/etc/src.conf</filename> only take effect when the
 +	&os; operating system itself is being built.  Descriptions of
 +	the many options available for this file are shown in
 +	&man.src.conf.5;.  Be cautious about disabling seemingly
 +	unneeded kernel modules and build options.  Sometimes there
 +	are unexpected or subtle interactions.</para>
      </sect2>
  
      <sect2 id="updating-etc">
 _______________________________________________
 svn-doc-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-doc-all
 To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"
 
>Unformatted:
