Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2014-02-20 02:30:21 +0400
committerBryan Drewery <bryan@shatow.net>2014-02-20 02:30:21 +0400
commit0668bfc9fe081d20276ee3f8c3f5816c7cc2ce66 (patch)
tree9baf07c6ce2b2511bff5470650f2088168f59c91 /src/etc
parente7aaff8456890da737eb87cf039aa2f4e79c9765 (diff)
Move poudriere.conf.sample to src/etc
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/poudriere.conf.sample221
1 files changed, 221 insertions, 0 deletions
diff --git a/src/etc/poudriere.conf.sample b/src/etc/poudriere.conf.sample
new file mode 100644
index 00000000..ed9ceef2
--- /dev/null
+++ b/src/etc/poudriere.conf.sample
@@ -0,0 +1,221 @@
+
+# Poudriere can optionally use ZFS for its ports/jail storage. For
+# ZFS define ZPOOL, otherwise set NO_ZFS=yes
+#
+#### ZFS
+# The pool where poudriere will create all the filesystems it needs
+# poudriere will use tank/${ZROOTFS} as its root
+#
+# You need at least 7GB of free space in this pool to have a working
+# poudriere.
+#
+#ZPOOL=tank
+
+### NO ZFS
+# To not use ZFS, define NO_ZFS=yes
+#NO_ZFS=yes
+
+# root of the poudriere zfs filesystem, by default /poudriere
+# ZROOTFS=/poudriere
+
+# the host where to download sets for the jails setup
+# You can specify here a host or an IP
+# replace _PROTO_ by http or ftp
+# replace _CHANGE_THIS_ by the hostname of the mirrors where you want to fetch
+# by default: ftp://ftp.freebsd.org
+#
+# Also note that every protocols supported by fetch(1) are supported here, even
+# file:///
+FREEBSD_HOST=_PROTO_://_CHANGE_THIS_
+
+# By default the jails have no /etc/resolv.conf, you will need to set
+# REVOLV_CONF to a file on your hosts system that will be copied has
+# /etc/resolv.conf for the jail, except if you don't need it (using an http
+# proxy for example)
+RESOLV_CONF=/etc/resolv.conf
+
+# The directory where poudriere will store jails and ports
+BASEFS=/usr/local/poudriere
+
+# The directory where the jail will store the packages and logs
+# by default a zfs filesystem will be created and set to
+# ${BASEFS}/data
+#
+#POUDRIERE_DATA=${BASEFS}/data
+
+# Use portlint to check ports sanity
+USE_PORTLINT=no
+
+# When building packages, a memory device can be used to speedup the build.
+# Only one of MFSSIZE or USE_TMPFS is supported. TMPFS is generally faster
+# and will expand to the needed amount of RAM. MFS is a bit slower, but is
+# more mature and can have its memory usage capped.
+
+# If set WRKDIRPREFIX will be mdmfs of the given size (mM or gG)
+#MFSSIZE=4G
+
+# Use tmpfs(5)
+# This can be a space-separated list of options:
+# wrkdir - Use tmpfs(5) for port building WRKDIRPREFIX
+# data - Use tmpfs(5) for poudriere cache/temp build data
+# localbase - Use tmpfs(5) for LOCALBASE (installing ports for packaging/testing)
+# all - Run the entire build in memory, including builder jails.
+# yes - Only enables tmpfs(5) for wrkdir
+# EXAMPLE: USE_TMPFS="wrkdir data"
+USE_TMPFS=yes
+
+# How much memory to limit tmpfs size to for *each builder* in GiB
+# (default: none)
+#TMPFS_LIMIT=8
+
+# How much memory to limit jail processes to for *each builder*
+# in GiB (default: none)
+#MAX_MEMORY=8
+
+# If set the given directory will be used for the distfiles
+# This allows to share the distfiles between jails and ports tree
+DISTFILES_CACHE=/usr/ports/distfiles
+
+# If set the ports or source tree marked to use csup method will use the defined mirror
+# Note: csup is deprecated. Use svn instead.
+#CSUP_HOST=cvsup._CHANGE_THIS_.freebsd.org
+
+# If set the ports tree or source tree marked to use svn will use the defined
+# mirror (default: svn0.us-west.FreeBSD.org)
+# The full mirror list is available here:
+# http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn-mirrors.html
+#SVN_HOST=svn0.us-west.FreeBSD.org
+
+# Automatic OPTION change detection
+# When bulk building packages, compare the options from kept packages to
+# the current options to be built. If they differ, the existing package
+# will be deleted and the port will be rebuilt.
+# Valid options: yes, no, verbose
+# verbose will display the old and new options
+#CHECK_CHANGED_OPTIONS=verbose
+
+# Automatic Dependency change detection
+# When bulk building packages, compare the dependencies from kept packages to
+# the current dependencies for every port. If they differ, the existing package
+# will be deleted and the port will be rebuilt. This helps catch changes such
+# as DEFAULT_RUBY_VERSION, PERL_VERSION, WITHOUT_X11 that change dependencies
+# for many ports.
+# Valid options: yes, no
+#CHECK_CHANGED_DEPS=yes
+
+
+# Path to the RSA key to sign the PKGNG repo with. See pkg-repo(8)
+#PKG_REPO_SIGNING_KEY=/etc/ssl/keys/repo.key
+
+
+# ccache support. Supply the path to your ccache cache directory.
+# It will be mounted into the jail and be shared among all jails.
+#CCACHE_DIR=/var/cache/ccache
+#
+
+# parallel build support.
+#
+# By default poudriere uses hw.ncpu to determine the number of builders.
+# You can override this default by changing PARALLEL_JOBS here, or
+# by specifying the -J flag to bulk/testport.
+#
+# Example to define PARALLEL_JOBS to one single job
+# PARALLEL_JOBS=1
+
+# How many jobs should be used for preparing the build? These tend to
+# be more IO bound and may be worth tweaking. Default: Same as PARALLEL_JOBS
+# PREPARE_PARALLEL_JOBS=1
+
+
+# If set, failed builds will save the WRKDIR to ${POUDRIERE_DATA}/wrkdirs
+# SAVE_WRKDIR=yes
+
+# Choose the default format for the workdir packing: could be tar,tgz,tbz,txz
+# default is tbz
+# WRKDIR_ARCHIVE_FORMAT=tbz
+
+# Disable linux support
+# NOLINUX=yes
+
+# By default poudriere sets FORCE_PACKAGE
+# To disable it (useful when building public packages):
+# NO_FORCE_PACKAGE=yes
+
+# By default poudriere sets PACKAGE_BUILDING
+# To disable it:
+# NO_PACKAGE_BUILDING=yes
+
+# If you are using a proxy define it here:
+# export HTTP_PROXY=bla
+# export FTP_PROXY=bla
+#
+# Cleanout the restricted packages
+# NO_RESTRICTED=yes
+
+# By default MAKE_JOBS is disabled to allow only one process per cpu
+# Use the following to allow it anyway
+# ALLOW_MAKE_JOBS=yes
+
+# Timestamp every line of build logs
+# Default: no
+#TIMESTAMP_LOGS=no
+
+# URL where your POUDRIERE_DATA/logs are hosted
+# This will be used for giving URL hints to the HTML output when
+# scheduling and starting builds
+#URL_BASE=http://yourdomain.com/poudriere/
+
+
+# This defines the max time (in seconds) that a command may run for a build
+# before it is killed for taking too long. Default: 86400
+#MAX_EXECUTION_TIME=86400
+
+# This defines the time (in seconds) before a command is considered to
+# be in a runaway state for having no output on stdout. Default: 7200
+#NOHANG_TIME=7200
+
+
+# The repository is updated atomically if set yes. This leaves the
+# repository untouched until the build completes. This involves using
+# hardlinks and symlinks. The operations are fast, but can be intrusive
+# for remote syncing or backups.
+# Recommended to always keep on.
+# Default: yes
+#ATOMIC_PACKAGE_REPOSITORY=yes
+
+# When using ATOMIC_PACKAGE_REPOSITORY, commit the packages if some
+# packages fail to build. Ignored ports are considered successful.
+# This can be set to 'no' to only commit the packages once no failures
+# are encountered.
+# Default: yes
+#COMMIT_PACKAGES_ON_FAILURE=yes
+
+# Keep older package repositories. This can be used to rollback a system
+# or to bisect issues by changing the repository to one of the older
+# versions and reinstalling everything with `pkg upgrade -f`
+# ATOMIC_PACKAGE_REPOSITORY is required for this.
+# Default: no
+#KEEP_OLD_PACKAGES=no
+
+# How many old package repositories to keep with KEEP_OLD_PACKAGES
+# Default: 5
+#KEEP_OLD_PACKAGES_COUNT=5
+
+# Make testing errors fatal.
+# If set to 'no', ports with test failure will be marked as failed but still
+# packaged to permit testing dependent ports (useful for bulk -t -a)
+# Default: yes
+#PORTTESTING_FATAL=yes
+
+# Define the building jail hostname to be used when building the packages
+# Some port/packages hardcode the hostname of the host during build time
+# This is a necessary setup for reproducible builds.
+#BUILDER_HOSTNAME=pkg.FreeBSD.org
+
+# Define to get a predictable timestamp on the ports tree
+# This is a necessary setup for reproducible builds.
+#PRESERVE_TIMESTAMP=yes
+
+# Define to yes to build and stage as a regular user
+# Default: no
+#BUILD_AS_NON_ROOT=yes