svn commit: r245974 - projects/portbuild/admin/conf
Mark Linimon
linimon at FreeBSD.org
Sun Jan 27 07:21:45 UTC 2013
Author: linimon (doc,ports committer)
Date: Sun Jan 27 07:21:44 2013
New Revision: 245974
URL: http://svnweb.freebsd.org/changeset/base/245974
Log:
Definitions factored out of portbuild/server.conf. These must not be
modifiable by the portbuild user for security reasons.
Added:
projects/portbuild/admin/conf/
projects/portbuild/admin/conf/admin.conf (contents, props changed)
Added: projects/portbuild/admin/conf/admin.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/portbuild/admin/conf/admin.conf Sun Jan 27 07:21:44 2013 (r245974)
@@ -0,0 +1,104 @@
+#
+# package building meta-configuration file. 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
+#
+
+#
+# directory management definitions
+#
+
+# zfs volume name
+ZFS_VOLUME=a
+# zfs mount point
+ZFS_MOUNTPOINT=/a
+# zfs permission set. this delegates all permissions except "allow" and
+# "receive".
+ZFS_PERMISSIONSET=clone,create,destroy,mount,promote,rename,rollback,send,share,snapshot
+
+# portbuild subtree. holds portbuild codebase plus all architectures.
+# belongs to PORTBUILD_USER.
+PORTBUILD_DIRECTORY=portbuild
+
+# snapshots subtree. holds ports and src snapshots.
+# belongs to SRCBUILD_USER.
+SNAP_DIRECTORY=snap
+# defines for /a/snap/ports-head/ports
+SNAP_PORTS_DIRECTORY=${SNAP_DIRECTORY}/ports-head
+# defines for /a/snap/src-<branch>/src
+SRC_DIRECTORY_PREFIX=src-
+SNAP_SRC_DIRECTORY_PREFIX=${SNAP_DIRECTORY}/${SRC_DIRECTORY_PREFIX}
+
+# temporary workspace.
+# belongs to SRCBUILD_USER.
+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/*
+ZFS_DEFAULT_EXPIRATION=14
+ZFS_SNAPSHOT_EXPIRATION=2
+
+#
+# port build ownership definitions.
+#
+
+PORTBUILD_USER="portbuild"
+# defaults to PORTBUILD_USER if not defined here.
+PORTBUILD_GROUP="portbuild"
+
+#
+# ownership of everything else.
+#
+
+SRCBUILD_USER="srcbuild"
+# defaults to SRCBUILD_USER if not defined here.
+SRCBUILD_GROUP="srcbuild"
+
+#
+# user-visible things
+#
+
+MASTER_URL="pointyhat.freebsd.org"
+
+#
+# vcs-specific definitions
+#
+
+VCS="SVN"
+VCS_COMMAND="/usr/local/bin/svn"
+VCS_CHECKOUT_COMMAND="${VCS_COMMAND} checkout"
+VCS_OVERWRITE_COMMAND="${VCS_COMMAND} update --accept theirs-full"
+VCS_UPDATE_COMMAND="${VCS_COMMAND} update --accept postpone"
+
+# this subdirectory is used as a flag to say "checkout has already happened,
+# use update instead"
+VCS_SUBDIR=".svn"
+
+# FreeBSD's SVN repositories
+# master
+VCS_REPOSITORY="svn://svn.FreeBSD.org"
+# East Coast USA mirror
+#VCS_REPOSITORY="svn://svn0.us-east.FreeBSD.org"
+# West Coast USA mirror
+#VCS_REPOSITORY="svn://svn0.us-west.FreeBSD.org"
+# source base subdirectory
+VCS_SRC_REPOSITORY="${VCS_REPOSITORY}/base"
+# ports tree subdirectory
+VCS_PORTS_REPOSITORY="${VCS_REPOSITORY}/ports"
+# portbuild subdirectory
+VCS_PORTBUILD_REPOSITORY="${VCS_REPOSITORY}/base/projects/portbuild"
+
+# used to create URLs in HTML summary pages (see process*)
+VCSWEB="http://svnweb.freebsd.org/ports/head"
+
+#
+# www definitions (see processfail)
+#
+
+WWW_DIRECTORY=/usr/local/www/apache22/data/
More information about the svn-src-projects
mailing list