diff --git a/en_US.ISO8859-1/articles/portbuild/article.sgml b/en_US.ISO8859-1/articles/portbuild/article.sgml index 269ac464d9..1816a63f78 100644 --- a/en_US.ISO8859-1/articles/portbuild/article.sgml +++ b/en_US.ISO8859-1/articles/portbuild/article.sgml @@ -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/53837/compat/linux/proc failed! 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 -nobuild. How to configure a new architecture + + The initial steps need to be done using + sudo. + + Create a new @@ -2459,7 +2464,7 @@ dopackages without -nobuild. - mkdir /var/portbuild/arch; cd /var/portbuild/arch + mkdir /var/portbuild/arch @@ -2468,6 +2473,17 @@ dopackages without -nobuild. + + +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 -nobuild. 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 -nobuild. - 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 -nobuild. 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/branch/build 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/archive/errorlogs 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. + +