From owner-svn-doc-head@FreeBSD.ORG Mon Feb 11 13:30:30 2013 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 68646E95; Mon, 11 Feb 2013 13:30:30 +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 5B107943; Mon, 11 Feb 2013 13:30:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1BDUULw008931; Mon, 11 Feb 2013 13:30:30 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1BDUUYt008930; Mon, 11 Feb 2013 13:30:30 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201302111330.r1BDUUYt008930@svn.freebsd.org> From: Mark Linimon Date: Mon, 11 Feb 2013 13:30:30 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40938 - 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-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 13:30:30 -0000 Author: linimon Date: Mon Feb 11 13:30:29 2013 New Revision: 40938 URL: http://svnweb.freebsd.org/changeset/doc/40938 Log: More work to support the split of PORTBUILD_USER into SRCBUILD_USER: - remove the old description of the internals of the mkportbuild script. They are insufficient for the new world. - start refactoring to indicate which configuration variables move from portbuild/conf/server.conf to portbuild/admin/conf/admin.conf. WIP. 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 Mon Feb 11 13:19:11 2013 (r40937) +++ head/en_US.ISO8859-1/articles/portbuild/article.xml Mon Feb 11 13:30:29 2013 (r40938) @@ -2736,41 +2736,26 @@ sysutils/zfs-stats &prompt.root; sh /home/portbuild/tmp/mkportbuild - This will accomplish all the following 5 steps: + This will accomplish all the following steps: - Create the portbuild directory: - - &prompt.root; mkdir -p ${ZFS_MOUNTPOINT}/portbuild + Create the portbuild directory Create and mount a new zfs - filesystem on it: - - zfs create -o mountpoint=${ZFS_MOUNTPOINT}/portbuild ${ZFS_VOLUME}/portbuild + filesystem on it - Set up the directory: - - &prompt.root; chown ${PORTBUILD_USER}:${PORTBUILD_USER} ${ZFS_MOUNTPOINT}/portbuild -&prompt.root; chmod 775 ${ZFS_MOUNTPOINT}/portbuild -&prompt.root; ln -sf ${ZFS_MOUNTPOINT}/portbuild /var/portbuild - - - The ln is necessary due to a number - of hardcoded paths. This is a bug. - + Set up the directory Set up the initial repository: - - &prompt.user; svn checkout ${VCS_REPOSITORY}/base/projects/portbuild ${ZFS_MOUNTPOINT}/portbuild @@ -2778,14 +2763,33 @@ sysutils/zfs-stats Set up the zfs permission sets. + + + Split ownerships of subdirectories such that + PORTBUILD_USER owns, and + only owns, files that are used to manage builds and + interact with slaves. The more trustable user + SRCBUILD_USER now owns + everything else. + - - Configuring the <application>portbuild</application> files + + Configuring the <application>srcbuild</application>-owned files + + + + (in process of being refactored) + + + + + + Configuring the <application>portbuild</application>-owned files