Date: Wed, 30 Jan 2013 08:54:30 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40816 - head/en_US.ISO8859-1/articles/portbuild Message-ID: <201301300854.r0U8sV5U064987@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Wed Jan 30 08:54:30 2013 New Revision: 40816 URL: http://svnweb.freebsd.org/changeset/doc/40816 Log: More details of the separation between srcbuild and portbuild. The root crontab already went away some time ago; clean up that detail. 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 Wed Jan 30 08:46:30 2013 (r40815) +++ head/en_US.ISO8859-1/articles/portbuild/article.xml Wed Jan 30 08:54:30 2013 (r40816) @@ -2887,7 +2887,7 @@ sysutils/zfs-stats</programlisting> <procedure> <step> <para>Copy the following files from - <filename>/var/portbuild/etc/rc.d/</filename> to + <filename>/a/portbuild/admin/etc/rc.d/</filename> to <filename>/usr/local/etc/rc.d/</filename>:</para> <programlisting>pollmachine @@ -2917,16 +2917,16 @@ qmanager</programlisting> <procedure> <step> - <para>As the <replaceable>portbuild</replaceable> user, + <para>As the <replaceable>srcbuild</replaceable> user, run the following commands manually to create the <literal>src</literal> and <literal>ports</literal> repositories, respectively:</para> - <screen>&prompt.user; /<replaceable>a</replaceable>/portbuild/scripts/updatesnap.ports -&prompt.user; /<replaceable>a</replaceable>/portbuild/scripts/updatesnap</screen> + <screen>&prompt.user; /<replaceable>a</replaceable>/portbuild/admin/scripts/updatesnap.ports +&prompt.user; /<replaceable>a</replaceable>/portbuild/admin/scripts/updatesnap</screen> <para>These will be periodically run from the - <replaceable>portbuild</replaceable> + <replaceable>srcbuild</replaceable> <filename>crontab</filename>, which you will install below.</para> </step> @@ -2944,20 +2944,14 @@ qmanager</programlisting> </step> <step> - <para>Copy <filename>/var/portbuild/conf/apache.conf</filename> + <para>Copy <filename>/a/portbuild/admin/conf/apache.conf</filename> to the appropriate <filename>Includes/</filename> subdirectory, e.g., <filename>/usr/local/etc/apache22/Includes/portbuild.conf</filename>. Configure it as appropriate for your site.</para> </step> <step> - <para>Install <filename>/var/portbuild/crontabs/root</filename> as - the <username>root</username> crontab via - <command>crontab -e</command>.</para> - </step> - - <step> - <para>Install <filename>/var/portbuild/crontabs/portbuild</filename> as + <para>Install <filename>/a/portbuild/admin/crontabs/portbuild</filename> as the <username>portbuild</username> crontab via <command>crontab -u portbuild -e</command>. If you do not support all the archs listed there, make sure to comment out @@ -2965,6 +2959,12 @@ qmanager</programlisting> </step> <step> + <para>Install <filename>/a/srcbuild/admin/crontabs/portbuild</filename> as + the <username>srcbuild</username> crontab via + <command>crontab -u srcbuild -e</command>.</para> + </step> + + <step> <para>If your build slaves will be pxebooted, make sure to enable the <application>tftp</application> entries in <filename>/etc/inetd.conf</filename>.</para> @@ -2988,12 +2988,20 @@ qmanager</programlisting> </step> <step> - <para>At some point, you will probably find it handy to append + <para>You will probably find it handy to append the following to the <makevar>PATH</makevar> definition for the <replaceable>portbuild</replaceable> user:</para> <programlisting>/<replaceable>a</replaceable>/portbuild/scripts:/<replaceable>a</replaceable>/portbuild/tools</programlisting> </step> + + <step> + <para>You will also probably find it handy to append + the following to the <makevar>PATH</makevar> definition for + the <replaceable>srcbuild</replaceable> user:</para> + + <programlisting>/<replaceable>a</replaceable>/portbuild/admin/scripts:/<replaceable>a</replaceable>/portbuild/admin/tools</programlisting> + </step> </procedure> <para>You should now be ready to build packages.</para>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301300854.r0U8sV5U064987>