-
Notifications
You must be signed in to change notification settings - Fork 2
/
sbuildrc
348 lines (270 loc) · 10.8 KB
/
sbuildrc
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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
# 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 = 1;
# 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 <[email protected]>';
# Name to use as override in .changes file for the Changed-By: field.
#$uploader_name='Francesco Paolo Lovergine <[email protected]>';
# Key ID to use in .changes for the current upload.
# It overrides both $maintainer_name and $uploader_name
#$key_id='Francesco Paolo Lovergine <[email protected]>';
# 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 = 1;
# 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
#$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';
# When to purge the build directory afterwards; possible values are "never",
# "successful", and "always"
#$purge_build_directory="successful";
# 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 = 1;
# 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 update. 1 to enable running "apt-get update" at the start of
# each build, or 0 to disable.
#$apt_update = 0;
# 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/jonny/.cache/sbuild.logs";
# Directory for writing build statistics to
$stats_dir = "/home/jonny/.cache/sbuild.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";
##
## BUILD DATABASE CONFIGURATION (WANNA-BUILD)
##
# 1. File and directory locations
# Database type. Valid values are 'mldbm' and 'postgresql'
#$db_type = 'mldbm';
# directory for the databases, lock files and log files
#$db_base_dir = '/var/lib/wanna-build';
# base name of the database, "-DIST" is appended automatically, and ".lock"
# for lock files
#$db_base_name = 'build-db';
# name of transaction log file (in base dir)
#$db_transaction_log = 'transactions.log';
# 2. Distribution information
# Valid distributions
#%db_distributions = ('experimental' => { priority => 4 },
# 'unstable' => { priority => 3 },
# 'testing' => { priority => 2 },
# 'testing-security' => { noadw => 1,
# hidden => 1,
# priority => 2 },
# 'stable' => { priority => 1 },
# 'stable-security' => { noadw => 1,
# hidden => 1,
# priority => 1 },
# 'oldstable' => { priority => 0 },
# 'oldstable-security' => { noadw => 1,
# hidden => 1,
# priority => 0 },
# sections to import and maintain in the database
#@db_sections = qw(main contrib non-free);
# 3. Data sources
# source for Packages files (for wanna-build--merge-packages)
# can be an ftp or http URL, or a local path
#$db_packages_source = "ftp://ftp.debian.org/debian";
# source for quinn-diff output (for wanna-build--merge-quinn)
# can be an ftp or http URL, or a local path
#$db_quinn_source = "http://buildd.debian.org/quinn-diff/output";
# 4. Users
# Administrative users
#@db_admin_users = qw(buildd);
# 5. Mail and statistics generation
# mail address of database maintainer (informed about a few things)
#$db_maintainer_email = "buildd";
# mail address of not-for-us maintainer (informed about Not-For-Us state
# changes)
#$db_notforus_maintainer_email = "buildd";
# mail address for logs of all state changes
#$db_log_mail = undef;
# where to send wanna-build statistics mails
#$db_stat_mail = undef;
# mail domain under which the build dæmons can be reached
#$db_mail_domain = undef;
# file to publish statistics over WWW (optional)
#$db_web_stats = undef;
##
## 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;