aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2010-06-23 07:45:27 +0800
committerlinimon <linimon@FreeBSD.org>2010-06-23 07:45:27 +0800
commitd76cf5af5ff9878b2ba8c96fb283ba6cee509f71 (patch)
tree590729a4257f574c31c80e0a1ef93d8388a54e73
parente9491bff414436968d4f0d8b37d22a2697b5fa52 (diff)
downloadfreebsd-ports-gnome-d76cf5af5ff9878b2ba8c96fb283ba6cee509f71.tar.gz
freebsd-ports-gnome-d76cf5af5ff9878b2ba8c96fb283ba6cee509f71.tar.zst
freebsd-ports-gnome-d76cf5af5ff9878b2ba8c96fb283ba6cee509f71.zip
A new file to centralize definitions that apply to the server-side of
a package building cluster. This is part of a rewrite to remove a great deal of hardcoding. Please do not commit to this file without the approval of portmgr. Feature safe: yes
-rw-r--r--Tools/portbuild/conf/server.conf97
1 files changed, 97 insertions, 0 deletions
diff --git a/Tools/portbuild/conf/server.conf b/Tools/portbuild/conf/server.conf
new file mode 100644
index 000000000000..b82222c9782f
--- /dev/null
+++ b/Tools/portbuild/conf/server.conf
@@ -0,0 +1,97 @@
+#
+# package building configuration file (server-side). Specific to each
+# pointyhat instance.
+#
+# note: readable by both Python and /bin/sh files. HOWEVER, there is no
+# code yet to do the {}-style shell expansions in the Python scripts.
+# Beware!
+#
+# original author: linimon
+#
+# $FreeBSD$
+#
+
+#
+# top-level package building things
+#
+
+SUPPORTED_ARCHS="amd64 i386 ia64 powerpc sparc64"
+
+SRC_BRANCHES="6 7 8 9"
+SRC_BRANCHES_PATTERN="^[0-9]*"
+SRC_BRANCH_6_TAG=RELENG_6_4
+SRC_BRANCH_7_TAG=RELENG_7_1
+SRC_BRANCH_8_TAG=RELENG_8_0
+SRC_BRANCH_9_TAG=.
+
+#
+# directory management definitions
+#
+
+ZFS_VOLUME=a
+ZFS_MOUNTPOINT=/a
+
+SNAP_DIRECTORY=snap
+SNAP_PORTS_DIRECTORY=${SNAP_DIRECTORY}/ports-head
+SNAP_SRC_DIRECTORY_PREFIX=${SNAP_DIRECTORY}/src-
+
+SUPFILE_DIRECTORY=/home/portmgr/sup
+PORTS_MASTER_SUPFILE=${SUPFILE_DIRECTORY}/ports-master-supfile
+SRC_MASTER_SUPFILE=${SUPFILE_DIRECTORY}/src-master-supfile
+PORTS_SUPFILE=${SUPFILE_DIRECTORY}/ports-supfile
+SRC_SUPFILE=${SUPFILE_DIRECTORY}/src-supfile
+
+WORLDDIR=${ZFS_MOUNTPOINT}/chroot/
+
+# XXX TODO (note: Python script, so avoid {})
+#zbackup a/nfs a/local a/portbuild/* /dumpster
+#zexpire a/nfs a/local a/portbuild/* a/snap/*
+
+#
+# buildproxy definitions (note: Python script, so avoid {})
+#
+
+BUILDPROXY_SOCKET_FILE=/tmp/.build
+
+#
+# pdispatch definitions
+#
+
+# reflect hardwiring in 'buildscript' phase 1 and also 'processonelog' and
+# 'processlogs2'. You probably do not want to change this!
+PDISPATCH_HDRLENGTH=6
+
+# number of lines of log to email
+PDISPATCH_LOGLENGTH=1000
+
+# wait 100 hours maximum
+PDISPATCH_TIMEOUT=360000
+
+#
+# qmanager definitions (note: Python script, so avoid {})
+#
+
+QMANAGER_PATH=/var/portbuild/evil/qmanager
+QMANAGER_DATABASE_FILE=qdb.sl3
+QMANAGER_SOCKET_FILE=/tmp/.qmgr
+
+QMANAGER_PRIORITY_PACKAGES="openoffice kde-3"
+
+#
+# upload definitions (see 'cpdistfiles')
+#
+
+UPLOAD_DIRECTORY="w/ports/distfiles/"
+UPLOAD_TARGET="ftp-master.FreeBSD.org"
+UPLOAD_USER="portmgr"
+
+#
+# user-visible things
+#
+
+MASTER_URL="pointyhat.FreeBSD.org"
+
+#
+# www definitions (see processfail)
+#
+WWW_DIRECTORY=/usr/local/www/data/