From owner-svn-doc-head@FreeBSD.ORG Wed Jun 13 02:41:10 2012 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A1D621065670; Wed, 13 Jun 2012 02:41:10 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8CC1E8FC17; Wed, 13 Jun 2012 02:41:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q5D2fA1M090152; Wed, 13 Jun 2012 02:41:10 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q5D2fAQv090150; Wed, 13 Jun 2012 02:41:10 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201206130241.q5D2fAQv090150@svn.freebsd.org> From: Mark Linimon Date: Wed, 13 Jun 2012 02:41:10 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r39040 - head/en_US.ISO8859-1/articles/portbuild X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.5 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, 13 Jun 2012 02:41:10 -0000 Author: linimon Date: Wed Jun 13 02:41:10 2012 New Revision: 39040 URL: http://svn.freebsd.org/changeset/doc/39040 Log: - make the "new arch" section reflect reality. - remove the pathname for qmanager invocations. What was there was only true for the old codebase. - tune up the "required ports for a head node" section. Modified: head/en_US.ISO8859-1/articles/portbuild/article.sgml Modified: head/en_US.ISO8859-1/articles/portbuild/article.sgml ============================================================================== --- head/en_US.ISO8859-1/articles/portbuild/article.sgml Tue Jun 12 23:11:31 2012 (r39039) +++ head/en_US.ISO8859-1/articles/portbuild/article.sgml Wed Jun 13 02:41:10 2012 (r39040) @@ -762,7 +762,7 @@ PKG_BIN=/usr/local/sbin/pkg package set. This can be accomplished with the following invocation: - /var/portbuild/evil/qmanager/packagebuild amd64 7-exp 20080904212103 aclock-0.2.3_2.tbz + path/qmanager/packagebuild amd64 7-exp 20080904212103 aclock-0.2.3_2.tbz @@ -1002,8 +1002,8 @@ umount: Cleanup of /x/tmp/8-exp/chroot/5 You can use qclient command to monitor the status of build nodes, and to list the currently scheduled jobs: - python /var/portbuild/evil/qmanager/qclient jobs - python /var/portbuild/evil/qmanager/qclient status + python path/qmanager/qclient jobs + python path/qmanager/qclient status The scripts/stats ${branch} @@ -2190,7 +2190,7 @@ ssh_cmd="/usr/local/bin/ssh" Tell qmanager about the node. Example: - python /var/portbuild/evil/qmanager/qclient add + python path/qmanager/qclient add name=uniquename arch=arch osversion=osversion @@ -2451,6 +2451,11 @@ dopackages without -n How to configure a new architecture + + The initial steps need to be done using + sudo. + + Create a new @@ -2459,7 +2464,7 @@ dopackages without -n - mkdir /var/portbuild/arch; cd /var/portbuild/arch + mkdir /var/portbuild/arch @@ -2469,6 +2474,17 @@ dopackages without -n + +chown ports-arch:portmgr /var/portbuild/arch; +chmod 755 /var/portbuild/arch; +cd /var/portbuild/arch + + + + Create and populate the .ssh directory. + + + Create a directory for buildlogs and errorlogs: mkdir /dumpster/pointyhat/arch/archive @@ -2488,7 +2504,14 @@ dopackages without -n ln -s /dumpster/pointyhat/arch/archive archive + + + The next steps are most easily done as user + ports-arch. + + + In the /var/portbuild/arch @@ -2518,7 +2541,7 @@ dopackages without -n - Create + (Only necessary for old codebase) Create pnohang.arch. (The easiest way may be to do the following on a client, and then copy it back): @@ -2556,10 +2579,22 @@ dopackages without -n In that directory: create any dotunnel.* scripts needed. + + + + Once again using sudo: + + Tell qmanager about the arch: - python /var/portbuild/evil/qmanager/qclient add_acl name=ports-arch uidlist=ports-arch gidlist=portmgr sense=1 + python path/qmanager/qclient add_acl name=ports-arch uidlist=ports-arch gidlist=portmgr sense=1 + + + + (Only necessary for new codebase): + Add arch to SUPPORTED_ARCHS in + /var/portbuild/arch/server.conf. @@ -2594,7 +2629,14 @@ ln -s ../arch ln -s ../arch/archive/buildlogs arch-buildlogs ln -s ../arch/archive/errorlogs arch-errorlogs + + + + Again, as + ports-arch: + + For each branch that will be supported, do the following: @@ -2612,7 +2654,13 @@ ln -s ../arch + + + + One last time using sudo: + + (Only necessary for old codebase): Only after the first time a @@ -2736,32 +2784,36 @@ kern.maxfiles=40000 - The following ports are required: -archivers/xz -archivers/unzip + The following ports (or their latest successors) are required: databases/py-pysqlite23 databases/py-sqlalchemy devel/git (WITH_SVN) devel/py-configobj devel/py-setuptools -devel/subversion-freebsd -mail/postfix +devel/subversion net/nc net/rsync -security/sudo sysutils/ganglia-monitor-core (with GMETAD off) sysutils/ganglia-webfrontend (WITHOUT_X11) www/apache22 (with EXT_FILTER and THREADS) - The following ports are suggested: + Expect those to bring in: +databases/sqlite3 +lang/perl-5.12 +lang/python27 + + + The following ports (or their latest successors) are strongly suggested: benchmarks/bonnie++ devel/ccache +mail/postfix net/isc-dhcp41-server ports-mgmt/pkg_cutleaves ports-mgmt/pkg_tree ports-mgmt/portaudit ports-mgmt/portmaster +security/sudo shells/bash shells/zsh sysutils/screen @@ -2769,6 +2821,10 @@ sysutils/smartmontools + + Configure mail by doing the following: TBA. + +