From owner-svn-doc-head@FreeBSD.ORG Wed Jan 30 07:54:09 2013 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7301F873; Wed, 30 Jan 2013 07:54:09 +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 6566C385; Wed, 30 Jan 2013 07:54:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0U7s9nQ046911; Wed, 30 Jan 2013 07:54:09 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0U7s9Hl046910; Wed, 30 Jan 2013 07:54:09 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201301300754.r0U7s9Hl046910@svn.freebsd.org> From: Mark Linimon Date: Wed, 30 Jan 2013 07:54:09 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40810 - 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: Wed, 30 Jan 2013 07:54:09 -0000 Author: linimon Date: Wed Jan 30 07:54:08 2013 New Revision: 40810 URL: http://svnweb.freebsd.org/changeset/doc/40810 Log: The ports- user goes away in favor of user 'portbuild'. 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 03:14:07 2013 (r40809) +++ head/en_US.ISO8859-1/articles/portbuild/article.xml Wed Jan 30 07:54:08 2013 (r40810) @@ -189,7 +189,7 @@ nullfs-mounted for jail builds. The - ports-${arch} + portbuild user can &man.ssh.1; to the client nodes to monitor them. Use sudo and check the portbuild.hostname.conf @@ -548,7 +548,7 @@ PKG_BIN=/usr/local/sbin/pkg Make sure the ${arch} build - is run as the ports-${arch} user + is run as the portbuild user or it will complain loudly. @@ -1553,11 +1553,11 @@ options NFSSERVER Create a - ports-${arch} + portbuild user and group. It can have the '*' password. Create - /home/ports-${arch}/.ssh/ + /home/portbuild/.ssh/ and populate authorized_keys. @@ -1837,7 +1837,7 @@ touch /tmp/.boot_finished# local changes for package building %wheel ALL=(ALL) ALL -ports-${arch} ALL=(ALL) NOPASSWD: ALL +portbuild ALL=(ALL) NOPASSWD: ALL @@ -1858,9 +1858,9 @@ ports-${arch} As root: &prompt.root; mkdir portbuild -&prompt.root; chown ports-${arch}:ports-${arch} portbuild +&prompt.root; chown portbuild:portbuild portbuild &prompt.root; mkdir pkgbuild -&prompt.root; chown ports-${arch}:ports-${arch} pkgbuild +&prompt.root; chown portbuild:portbuild pkgbuild &prompt.root; mkdir squid &prompt.root; mkdir squid/cache &prompt.root; mkdir squid/logs @@ -1894,7 +1894,7 @@ ports-${arch} Configuration on the server These steps need to be taken by a portmgr - acting as ports-${arch} + acting as portbuild on the server. @@ -1902,13 +1902,13 @@ ports-${arch} If any of the default TCP ports is not available (see above), you will need to create an ssh tunnel for them and include its invocation command in - ports-${arch}'s + portbuild's crontab. Unless you can use the defaults, add an entry to - /home/ports-${arch}/.ssh/config + /home/portbuild/.ssh/config to specify the public IP address, TCP port for ssh, username, and any other necessary information. @@ -1972,7 +1972,7 @@ MASTER_SITE_OVERRIDE= \ http_proxy="http://localhost:3128/" squid_dir=/usr2/squid scratchdir=/usr2/pkgbuild -client_user=ports-${arch} +client_user=portbuild sudo_cmd="sudo -H" rsync_gzip=-z @@ -2014,7 +2014,7 @@ ssh_cmd="/usr/local/bin/ssh"Enabling the node These steps need to be taken by a portmgr - acting as ports-arch: + acting as portbuild: @@ -2068,7 +2068,7 @@ ssh_cmd="/usr/local/bin/ssh" Finally, again as portmgr - acting as ports-arch: + acting as portbuild: @@ -2129,7 +2129,7 @@ ssh_cmd="/usr/local/bin/ssh" Again, as - ports-arch: + portbuild: @@ -2279,7 +2279,7 @@ zfs destroy -r a/snap/src-o Create a new - ports-arch + portbuild user and group. @@ -2294,7 +2294,7 @@ zfs destroy -r a/snap/src-o - &prompt.root; chown ports-arch:portbuild /var/portbuild/arch; + &prompt.root; chown portbuild:portbuild /var/portbuild/arch; &prompt.root; chmod 775 /var/portbuild/arch; &prompt.root; cd /var/portbuild/arch @@ -2306,7 +2306,7 @@ zfs destroy -r a/snap/src-o The next steps are most easily done as user - ports-arch. + portbuild.