File: sbuild.conf

package info (click to toggle)
sbuild 0.60.0-2squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,136 kB
  • ctags: 640
  • sloc: perl: 14,039; sh: 1,173; sql: 772; makefile: 406
file content (313 lines) | stat: -rw-r--r-- 10,589 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
# sbuild.conf: global sbuild settings.                              -*- Perl -*-
# This makes it easier to drop this sbuild version into a buildd
# setting.  (Also see example.sbuildrc for user .sbuildrc settings.)
#
# Default settings are commented out.
# Note that all possible settings are listed here.  Many may be set on
# the command-line, and do not normally need setting here,
# e.g. $verbose.  Others need setting by each individual user in their
# ~/.sbuildrc, but are listed here for completeness.


##
## LOGGING
##

# Set to 1 to enable verbose messages.
#$verbose = 0;

# Set to a number >= 1 to enable debugging messages.
#$debug = 0;

# Set to 1 to disable logging.
#$nolog = 0;

# Mail address where logs are sent to (mandatory, no default)
#$mailto = "frankie";

# Name of log sender
#$mailfrom = "Source Builder <sbuild>";


##
## DPKG-BUILDPACKAGE OPTIONS
##

# Name to use as override in .changes files for the Maintainer: field
# Defaults to the DEBEMAIL environment variable, if set, or else the
# Maintainer: field will not be overridden unless set here.
#$maintainer_name='Francesco Paolo Lovergine <frankie@debian.org>';

# Name to use as override in .changes file for the Changed-By: field.
#$uploader_name='Francesco Paolo Lovergine <frankie@debian.org>';

# Key ID to use in .changes for the current upload.
# It overrides both $maintainer_name and $uploader_name
#$key_id='Francesco Paolo Lovergine <frankie@debian.org>';

# PGP-related option to pass to dpkg-buildpackage. Usually neither .dsc
# nor .changes files shall be signed automatically.
#$pgp_options = ['-us', '-uc'];

# By default, do not build arch-all packages
#$build_arch_all = 0;

# By default, do not build a source package (binary only build).
# Set to 1 to force creation of a source package, but note that
# this is inappropriate for binary NMUs, where the option will
# always be disabled.
#$build_source = 0;

# By default, the -s option only includes the .orig.tar.gz when needed
# (i.e. when the Debian revision is 0 or 1).  By setting this option
# to 1, the .orig.tar.gz will always be included when -s is used.
# This is equivalent to --force-orig-source.
#$force_orig_source = 0;

# PATH to set when running dpkg-buildpackage.
#$path = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/usr/games";

# LD_LIBRARY_PATH to set when running dpkg-buildpackage.
#$ld_library_path = "";

# This command is run with the dpkg-buildpackage command line passed to it
# (in the chroot, if doing a chrooted build).  It is used by the sparc buildd
# (which is sparc64) to call the wrapper script that sets the environment to
# sparc (32-bit).  It could be used for other build environment setup scripts
#
#$build_env_cmnd = "";


##
## SBUILD BEHAVIOUR
##

# Default architecture.  Defaults to host architecture.
#$arch = 'powerpc';

# Default distribution.  By default, no distribution is defined, and
# the user must specify it with the -d option.  However, a default may
# be configured here if desired.  Users must take care not to upload
# to the wrong distribution when this option is set, for example
# experimental packages will be built for upload to unstable when this
# is not what is required.
#$distribution = 'unstable';

# Chroot mode.  Valid modes are 'schroot' to use schroot for chroot
# access (the default), and 'sudo' to use sudo, requiring full sudo
# access to the host system.
#$chroot_mode = 'schroot';

# Chroot split.  Set to 1 to run apt and dpkg outside the chroot, so
# the chroot does not require networking.  Set to 0 to run all
# programs inside the chroot.  Default 0.
#$chroot_split = 0;

# Default chroot (defaults to distribution[-arch][-sbuild])
#$chroot = 'unstable-powerpc-sbuild';

# Script to run prior to a build.  The default is to not run any setup script.
#$chroot_setup_script='/usr/local/bin/chroot-setup'

# When to purge the build directory afterwards; possible values are "never",
# "successful", and "always".  "always" is the default.
#$purge_build_directory="successful";

# When to purge the build dependencies afterwards; possible values are "never",
# "successful", and "always".  "always" is the default.
#$purge_build_deps="always";

# sbuild behaviour; possible values are "user" (exit status reports
# build failures) and "buildd" (exit status does not report build
# failures) for use in a buildd setup.  "buildd" also currently
# implies enabling of "legacy features" such as chroot symlinks in the
# build directory and the creation of current symlinks in the build
# directory.
#$sbuild_mode = "user";

# Force APT to accept unauthenticated packages.
# This is disabled by default: only enable it if you know what you are doing.
#$apt_allow_unauthenticated = 0;

# APT policy.  1 to enable additional checking of package versions
# available in the APT cache, or 0 to disable.  0 is the traditional
# sbuild behaviour; 1 is needed to build from additional repositories
# such as sarge-backports or experimental, and has a small performance
# cost.
#$apt_policy = 1;

# APT clean.  1 to enable running "apt-get clean" at the start of
# each build, or 0 to disable.
#$apt_clean = 0;

# APT update.  1 to enable running "apt-get update" at the start of
# each build, or 0 to disable.
#$apt_update = 0;

# APT upgrade.  1 to enable running "apt-get upgrade" at the start of
# each build, or 0 to disable.
#$apt_upgrade = 0;

# APT distupgrade.  1 to enable running "apt-get dist-upgrade" at the start of
# each build, or 0 to disable.
#$apt_distupgrade = 0;

# Check free disk space prior to starting a build.  sbuild requires
# the free space to be at least twice the size of the unpacked sources
# to allow a build to proceed.  Can be disabled to allow building if
# space is very limited, but the threshold to abort a build has been
# exceeded despite there being sufficient space for the build to
# complete.
#$check_space = 1;

# Check watched packages to discover missing build dependencies.  This
# can be disabled to increase the speed of builds
#$check_watches = 1;

# Binaries for which the access time is controlled if they're not listed as
# source dependencies (note: /usr/bin is added if executable name doesn't
# start with '/')
#
# Most buildds run with clean chroots at the moment, so the default
# list is now empty.
#%watches = ();

# Ignore watches on the following packages if the package doesn't have its own
# build dependencies in the .dsc
#@ignore_watches_no_build_deps = qw();

# If a source dependency is an alternative that is provided by more than one
# package, this list can select which one will be installed (if nothing is
# defined, a random provider will be used)
#%alternatives = ("info-browser"			=> "info",
#		 "httpd"			=> "apache",
#		 "postscript-viewer"		=> "ghostview",
#		 "postscript-preview"		=> "psutils",
#		 "www-browser"			=> "lynx",
#		 "awk"				=> "gawk",
#		 "c-shell"			=> "tcsh",
#		 "wordlist"			=> "wenglish",
#		 "tclsh"			=> "tcl8.4",
#		 "wish"				=> "tk8.4",
#		 "c-compiler"			=> "gcc",
#		 "fortran77-compiler"		=> "g77",
#		 "java-compiler"		=> "jikes",
#		 "libc-dev"			=> "libc6-dev",
#		 "libgl-dev"			=> "xlibmesa-gl-dev",
#		 "libglu-dev"			=> "xlibmesa-glu-dev",
#		 "libncurses-dev"		=> "libncurses5-dev",
#		 "libz-dev"			=> "zlib1g-dev",
#		 "libg++-dev"			=> "libstdc++6-4.0-dev",
#		 "emacsen"			=> "emacs21",
#		 "mail-transport-agent"		=> "ssmtp",
#		 "mail-reader"			=> "mailx",
#		 "news-transport-system"	=> "inn",
#		 "news-reader"			=> "nn",
#		 "xserver"			=> "xvfb",
#		 "mysql-dev"			=> "libmysqlclient-dev",
#		 "giflib-dev"			=> "libungif4-dev",
#		 "freetype2-dev"		=> "libttf-dev");

# Regular expressions identifying toolchain packages.
#@toolchain_regex = ( 'binutils$', 'gcc-[\d.]+$', 'g\+\+-[\d.]+$', 'libstdc\+\+', 'libc[\d.]+-dev$', 'linux-kernel-headers$' );

# Algorithm for build dependency checks: possible values are
# "first_only" (used by Debian buildds) or "alternatives". Default:
# "first_only".
#$check_depends_algorithm = "first-only";

##
## TIMEOUTS
##

# Time to wait for a source dependency lock.  The default is 1 minute.
#$srcdep_lock_wait = 1; # 1 minute

# Number of times to try waiting for a lock
#$max_lock_trys = 120;

# Lock wait interval (seconds).  Maximum wait time is
# (max_lock_trys × lock_interval).
#$lock_interval = 5;

# Time (in minutes) of inactivity after which a build is terminated. Activity
# is measured by output to the log file.
#$stalled_pkg_timeout = 150;

# Some packages may exceed the general timeout (e.g. redirecting output to
# a file) and need a different timeout. Below are some examples.
#%individual_stalled_pkg_timeout = (smalleiffel => 300,
#				   jade => 300,
#				   atlas => 300,
#				   glibc => 1000,
#				   'gcc-3.3' => 300,
#				   kwave => 600);


##
## FILE AND DIRECTORY LOCATIONS
##

# This option is deprecated.  Directory for chroot symlinks and sbuild
# logs.  Defaults to the current directory if unspecified.  It is used
# as the location of chroot symlinks (obsolete) and for current build
# log symlinks and some build logs.  There is no default; if unset, it
# defaults to the current working directory.  $HOME/build is another
# common configuration.
#$build_dir = undef;

# Directory for writing build logs to
#$log_dir = "$HOME/logs";

# Directory for writing build statistics to
#$stats_dir = "$HOME/stats";

# Name of a database for logging package build times (optional, no database
# is written if empty)
#$avg_time_db = "/var/lib/sbuild/avg-build-times";

# Name of a database for logging package space requirement (optional)
#$avg_space_db = "/var/lib/sbuild/avg-build-space";

# Name for dir for source dependency lock files
#$srcdep_lock_dir = "/var/lib/sbuild/srcdep-lock";

# Job status file (only used in batch mode)
#$job_file = "build-progress";


##
## PROGRAMS USED BY SBUILD
##

# Program to mail log files.
#$mailprog = "/usr/sbin/sendmail";
# dpkg binary.
#$dpkg = "/usr/bin/dpkg";
# su binary.
#$su = "/bin/su";
# schroot binary.
#$schroot = "/usr/bin/schroot";
# schroot options; see schroot(1).
#$schroot_options = ['-q'];
# sudo binary.
#$sudo = "/usr/bin/sudo";
# fakeroot command.  Set to be fakeroot by default, but sudo is
# typically used on systems without fakeroot.
#$fakeroot = "/usr/bin/fakeroot";
# apt-get binary.
#$apt_get = "/usr/bin/apt-get";
# apt-cache binary.
#$apt_cache = "/usr/bin/apt-cache";
# dpkg-source binary.
#$dpkg_source = "/usr/bin/dpkg-source";
# dcmd binary.
#$dcmd = "/usr/bin/dcmd";
# md5sum binary
#$md5sum = "/usr/bin/md5sum";


# don't remove this, Perl needs it:
1;