From owner-svn-doc-all@FreeBSD.ORG Fri Nov 23 04:26:03 2012 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59C54ACE; Fri, 23 Nov 2012 04:26:03 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 327178FC12; Fri, 23 Nov 2012 04:26:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAN4Q3Gn035870; Fri, 23 Nov 2012 04:26:03 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAN4Q3Qf035869; Fri, 23 Nov 2012 04:26:03 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201211230426.qAN4Q3Qf035869@svn.freebsd.org> From: Mark Linimon Date: Fri, 23 Nov 2012 04:26:03 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40136 - head/en_US.ISO8859-1/articles/portbuild X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 04:26:03 -0000 Author: linimon Date: Fri Nov 23 04:26:02 2012 New Revision: 40136 URL: http://svnweb.freebsd.org/changeset/doc/40136 Log: Canonicalize directory names and tighten up examples. While here, fix the markup on one of the examples. Modified: head/en_US.ISO8859-1/articles/portbuild/article.xml Modified: head/en_US.ISO8859-1/articles/portbuild/article.xml ============================================================================== --- head/en_US.ISO8859-1/articles/portbuild/article.xml Fri Nov 23 04:11:19 2012 (r40135) +++ head/en_US.ISO8859-1/articles/portbuild/article.xml Fri Nov 23 04:26:02 2012 (r40136) @@ -1725,9 +1725,9 @@ ganglia:*:102:102::0:0:User &:/usr/l - We run the cluster on UTC. If you have not set the clock + You should run the cluster on UTC. If you have not set the clock to UTC: - &prompt.root; cp /usr/share/zoneinfo/Etc/UTC etc/localtime + &prompt.root; cp -p /usr/share/zoneinfo/Etc/UTC etc/localtime @@ -2819,15 +2819,15 @@ console="vidconsole,comconsole" - We run the cluster on UTC. If you have not set the clock + You should run the cluster on UTC. If you have not set the clock to UTC: - cp /usr/share/zoneinfo/Etc/UTC etc/localtime + &prompt.root; cp -p /usr/share/zoneinfo/Etc/UTC /etc/localtime Create the appropriate - etc/rc.conf. + /etc/rc.conf. Required entries: hostname="${hostname}" @@ -2864,7 +2864,7 @@ smartd_enable="YES" - Create etc/resolv.conf, if + Create /etc/resolv.conf, if necessary. @@ -2973,13 +2973,17 @@ ganglia:*:102:102::0:0:User &:/usr/l Create a zfs volume named a and mount it on - /a. An example: -&prompt.root; zpool create a mirror da1 da2 mirror da3 da4 mirror da5 da6 mirror da7 da8 - + /a. + + + Creating a <application>zfs</application> volume for portbuild + +&prompt.root; zpool create a mirror da1 da2 mirror da3 da4 mirror da5 da6 mirror da7 da8 + - Create the portbuild directory: + Create the portbuild directory: &prompt.root; mkdir -p /a/portbuild @@ -2993,13 +2997,18 @@ ganglia:*:102:102::0:0:User &:/usr/l - Set up the portbuild directory: + Set up the directory: &prompt.root; cd /a/portbuild &prompt.root; chown portmgr:portmgr . &prompt.root; chmod 775 . &prompt.root; ln -sf /a/portbuild /var/portbuild + + + The ln is necessary due to a number + of hardcoded paths. This is a bug. + @@ -3123,8 +3132,8 @@ ganglia:*:102:102::0:0:User &:/usr/l Copy the following files from - /var/portbuild/conf/etc/rc.d to - /usr/local/etc/rc.d: + /var/portbuild/conf/etc/rc.d/ to + /usr/local/etc/rc.d/: buildproxy.sh pollmachine.sh qmanager.sh @@ -3181,7 +3190,7 @@ qmanager.sh Copy /var/portbuild/conf/apache.conf - to the appropriate Includes subdirectory, e.g., + to the appropriate Includes/ subdirectory, e.g., /usr/local/etc/apache22/Includes/apache.conf. Configure it as appropriate for your site.