From e18ef30968ce652c2a5a853f9766101c91d23a33 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Wed, 30 Jan 2013 08:54:30 +0000 Subject: [PATCH] More details of the separation between srcbuild and portbuild. The root crontab already went away some time ago; clean up that detail. --- .../articles/portbuild/article.xml | 36 +++++++++++-------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/en_US.ISO8859-1/articles/portbuild/article.xml b/en_US.ISO8859-1/articles/portbuild/article.xml index a54fffe6ac..ad51c3c311 100644 --- a/en_US.ISO8859-1/articles/portbuild/article.xml +++ b/en_US.ISO8859-1/articles/portbuild/article.xml @@ -2887,7 +2887,7 @@ sysutils/zfs-stats Copy the following files from - /var/portbuild/etc/rc.d/ to + /a/portbuild/admin/etc/rc.d/ to /usr/local/etc/rc.d/: pollmachine @@ -2917,16 +2917,16 @@ qmanager - As the portbuild user, + As the srcbuild user, run the following commands manually to create the src and ports repositories, respectively: - &prompt.user; /a/portbuild/scripts/updatesnap.ports -&prompt.user; /a/portbuild/scripts/updatesnap + &prompt.user; /a/portbuild/admin/scripts/updatesnap.ports +&prompt.user; /a/portbuild/admin/scripts/updatesnap These will be periodically run from the - portbuild + srcbuild crontab, which you will install below. @@ -2944,26 +2944,26 @@ qmanager - Copy /var/portbuild/conf/apache.conf + Copy /a/portbuild/admin/conf/apache.conf to the appropriate Includes/ subdirectory, e.g., /usr/local/etc/apache22/Includes/portbuild.conf. Configure it as appropriate for your site. - Install /var/portbuild/crontabs/root as - the root crontab via - crontab -e. - - - - Install /var/portbuild/crontabs/portbuild as + Install /a/portbuild/admin/crontabs/portbuild as the portbuild crontab via crontab -u portbuild -e. If you do not support all the archs listed there, make sure to comment out the appropriate dologs entries. + + Install /a/srcbuild/admin/crontabs/portbuild as + the srcbuild crontab via + crontab -u srcbuild -e. + + If your build slaves will be pxebooted, make sure to enable the tftp entries in @@ -2988,12 +2988,20 @@ qmanager - At some point, you will probably find it handy to append + You will probably find it handy to append the following to the PATH definition for the portbuild user: /a/portbuild/scripts:/a/portbuild/tools + + + You will also probably find it handy to append + the following to the PATH definition for + the srcbuild user: + + /a/portbuild/admin/scripts:/a/portbuild/admin/tools + You should now be ready to build packages.