source: ProjectBuilder/devel/pb-modules/etc/pb.conf.pod@ 1278

Last change on this file since 1278 was 1278, checked in by Bruno Cornec, 13 years ago

r4314@localhost: bruno | 2011-03-24 22:18:22 +0100

  • Adds RPM signature support and doc
File size: 35.1 KB
RevLine 
[962]1=pod
2
3=head1 NAME
4
5Documentation for pb configuration files
6
7=head1 DESCRIPTION
8
9pb helps you build various packages directly from your project sources.
10In order to work correctly, it relies on a certain number of configuration files. Most of these configuration parameters can be setup in all the configuration files, however, they generally make more sense in a specific one, which is indicated. There are mainly 4 configuration files, the one in the home directory of the user (used first), the one from the project (use in second), the one in the VM/VE hosting directory, and the one provided by the tool in /etc/pb or /usr/local/etc/pb (lastly).
11
12=head1 SYNOPSIS
13
14Those files have the same format, which is near from a a perl hash structure:
15keyword key = value1[,value2,...]
16
17The key could be also default, in which case it will be used as a default value if no more precise content is given for the key.
18
[986]19Each value is detailed below giving the nature of its use (Mandatory or Optional - only used for certain feature), the value of the key (could be the project, an OS name, default, ...), the value of the parameter field and its format, the default configuration file in which it should be defined (home $HOME/.pbrc, conf /etc/pb/pb.conf or /usr/local/etc/pb/pb.conf, VE vepath/.pbrc, VM vmpath/.pbrc, or project project.pb) and an example of use.
[985]20
[962]21=head1 OPTIONS
22
23=over 4
24
[989]25=item B<defpkgdir>
[962]26
[989]27 Nature: Mandatory
28 Key: project (as defined in the -p option or PBPROJ environment variable)
29 Value: coma separated list of packages built by default in this project. When not using any package name as a parameter to pb commands, this list will be used.
30 Conffile: project
31 Example: defpkgdir mondorescue = mondo,mindi NB: a default value is not really meaningful.
[962]32
[1066]33=item B<delivery>
34
35 Nature: Optional
36 Key: project (as defined in the -p option or PBPROJ environment variable)
37 Value: directory where to deliver packages once built for ftp/web access.
38 Conffile: project
39 Example: delivery mondorescue = prod
40
[962]41=item B<extpkgdir>
42
[989]43 Nature: Optional
44 Key: project (as defined in the -p option or PBPROJ environment variable)
45 Value: coma separated list of packages built in addition in this project. When using the all package name as a parameter to pb commands, this list will be used, in addition to the defpkgdir list.
46 Conffile: project
47 Example: extpkgdir mondorescue = mondo-doc,mindi-mindibusybox
[962]48
49=item B<filteredfiles>
50
[989]51 Nature: Optional
52 Key: package (as provided in defpkgdir or extpkgdir)
53 Value: coma separated list of files that will be filtered using the macro system from pb, during the creation of the compressed source tar files for this package. Their path is relative to the directory containing the package.
54 Conffile: project
55 Example: filteredfiles mindi = rootfs/sbin/init,mindi,install.sh,doc/mindi.8
[962]56
57=item B<namingtype>
58
[989]59 Nature: Optional
60 Key: package (as provided in defpkgdir or extpkgdir)
61 Value: perl, if packages are CPAN perl modules that need to be named respecting the distribution perl convention (perl-Name for rpm, libname-perl for deb)
62 Conffile: project
63 Example: namingtype ProjectBuilder = perl
[962]64
65=item B<osambiguous>
66
[989]67 Nature: Optional
68 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). In that case, should be an OS name.
69 Value: coma separated list of distributions which use the same file name in /etc for different distributions (ex: /etc/redhat-release for redhat, rhel, mandriva,...). Cf: B<osrelambfile>
70 Conffile: pb
71 Example: osambiguous debian = debian,ubuntu
[962]72
[1109]73=item B<oschkcmd>
74
75 Nature: Optional
76 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
77 Value: package checker tool.
78 Conffile: pb
79 Example: oschkcmd deb = /usr/bin/lintian
80
81=item B<oschkopt>
82
83 Nature: Optional
84 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
85 Value: package checker tool options.
86 Conffile: pb
87 Example: oschkcmd rpm = -i
88
[1126]89=item B<oscmd>
90
91 Nature: Mandatory
92 Key: tool (pb or rpmbootstrap)
93 Value: come separated list of commands that are mandatory on the underlying system
94 Conffile: pb
95 Example: oscmd pb = tar,ls
96
97=item B<oscmdopt>
98
99 Nature: Mandatory
100 Key: tool (pb or rpmbootstrap)
101 Value: come separated list of commands that are optional on the underlying system
102 Conffile: pb
103 Example: oscmd pb = svn2cl,svn,cvs
104
[962]105=item B<oscodename>
106
[989]107 Nature: Optional
108 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). In that case, should be an os-ver.
109 Value: code name. Mostly useful for debian and ubuntu, due to debootstrap.
110 Conffile: pb
111 Example: oscodename debian-5.0 = lenny
[962]112
113=item B<osfamily>
114
[989]115 Nature: Mandatory
116 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). In that case, should be an os.
117 Value: OS family name (used to group similar distribution for handling)
118 Conffile: pb
119 Example: osfamily debian = du
[962]120
[1111]121=item B<osins>
122
123 Nature: Optional
124 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
125 Value: OS command to lauch in order to automatically install packages on it.
126 Conffile: pb
127 Example: osins fedora = sudo yum -y install
128
[962]129=item B<osmindep>
130
[989]131 Nature: Optional
132 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). NB: a default value is highly interesting here.
133 Value: coma separated list of packages needed before setupvm|ve can be run. Install them with your distribution in VM or automatically in VE when possible.
134 Conffile: pb
135 Example: osmindep default = perl,sudo,wget,tar,make,gzip
[962]136
137=item B<osnover>
138
[989]139 Nature: Optional
140 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
141 Value: true|false. True means that this OS has no need to keep the version
142 Conffile: pb
143 Example: osnover gentoo = true
[962]144
[1192]145=item B<ospathcmd-*>
146
147 Nature: Optional
148 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
149 Value: Full path name of the command mentioned after the '-' for the relative OS
150 Conffile: pb
151 Example: ospathcmd-halt solaris = /usr/sbin/halt, ospathcmd-halt default = /sbin/halt
152
[962]153=item B<osperldep>
154
[989]155 Nature: Optional
156 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
157 Value: coma separated list of perl modules needed by pb and not provided in a package format for the relative OS, and that will be installed from CPAN in your VM/VE.
158 Conffile: pb
159 Example: osperldep rhel-5 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail
[962]160
161=item B<osperlver>
162
[989]163 Nature: Mandatory (for each module mentioned in B<osperldep>)
164 Key: Perl Module (as defined in B<osperldep>)
165 Value: Version of the perl module that needs to be found on CPAN.
166 Conffile: pb
167 Example: Date-Manip = 5.54
[962]168
[1133]169=item B<ospkg>
170
171 Nature: Optional (Mandatory if pbinstalltype is pkg)
172 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
173 Value: coma separated list of packages that have to be installed in order for pb to be operational in the VE|VM
174 Conffile: pb
175 Example: ospkg rhel-5 = project-builder
176
[962]177=item B<ospkgdep>
178
[989]179 Nature: Optional
180 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
181 Value: coma separated list of packages that are needed by pb and should be installed automatically in the VM/VE during the setupvm|ve phasis by pb.
182 Conffile: pb
183 Example: ospkgdep rhel-5 = wget,make,ntp,patch,perl-DateManip
[962]184
185=item B<osrelambfile>
186
[989]187 Nature: Mandatory (per OS mentioned in B<osambiguous>)
188 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). Should be the OS name here.
189 Value: full path name of the ambiguous file describing that distribution, as well as some others. All the distributions mentioned here should also be mentioned with their ambiguous other distribution in the B<osambiguous> parameter.
190 Conffile: pb
191 Example: osrelambfile debian = /etc/debian_version
[962]192
193=item B<osrelexpr>
194
[989]195 Nature: Mandatory (per OS mentioned in B<osrelambfile> and B<osrelfile>)
196 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
197 Value: the perl regular expression used to parse the B<osrelambfile> in order to extract from it the version of the distribution (in parenthesis to allow its usage as $1 by perl)
198 Conffile: pb
[962]199osrelexpr rhel = Red Hat (?:Enterprise Linux|Linux Advanced Server) .*release ([0-9.]+).* \(
[989]200 Example:
[962]201
202=item B<osrelfile>
203
[989]204 Nature: Mandatory
205 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). Should be the OS name here.
206 Value: full path name of the file describing non-ambiguously that distribution. There should be a bijection between the file and the distribution name.
207 Conffile: pb
208 Example: osrelfile fedora = /etc/fedora-release
[962]209
210=item B<osremovedotinver>
211
[989]212 Nature: Optional
213 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
214 Value: true|false. If true, then no '.' (dot) character is kept in the version name of that OS.
215 Conffile: pb
216 Example: osremovedotinver redhat = true
[962]217
[1133]218=item B<osrepo>
219
220 Nature: Optional (Mandatory if pbinstalltype is pkg)
221 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
222 Value: coma separated list of packages or repo file to be added to the VE|VM to support package installation of pb
223 Conffile: pb
224 Example: osrepo rpm = ftp://ftp.project-builder.org/$ddir/$dver/pb.repo
225
[1276]226=item B<ossha>
227
228 Nature: Optional (Mandatory if rpm type of package)
229 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
230 Value: sha algorithm used br createrepo
231 Conffile: pb
232 Example: ossha fedora-10 = sha1
233
[962]234=item B<ossuffix>
235
[989]236 Nature: Optional
237 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
238 Value: suffix that will be used in the name of the packages created. By default, concatenation of OS name and version.
239 Conffile: pb
240 Example: ossuffix mandriva = mdv
[962]241
242=item B<ostype>
243
[989]244 Nature: Mandatory
245 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
246 Value: build type grouping packages family. This is used internaly by pb to make various handling depending on that build type.
247 Conffile: pb
248 Example: ostype rh = rpm, ostype md = rpm, ostype novell = rpm
[962]249
250=item B<osupd>
251
[989]252 Nature: Optional
253 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1111]254 Value: OS command to lauch in order to automatically update th VM|VE
[989]255 Conffile: pb
[1111]256 Example: osupd fedora = sudo yum -y update
[962]257
258=item B<pbconfurl>
259
[989]260 Nature: Mandatory
261 Key: project (as defined in the -p option or PBPROJ environment variable)
262 Value: B<pb URL> giving access to where the pb configuration dir is stored. Under that directory you have the same tree infrastructure as the upstream project, and under the pb packaging infra, including the project configuration file. Cf: man
263 Conffile: home|project
264 Example: pbconfurl fossology = svn+ssh://user@svn.project-builder.org/mondo/svn/pb/projects/fossology/pbconf, cvs+ssh://:ext:user@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe/pbconf
[962]265
266=item B<pbdefdir>
267
[989]268 Nature: Optional
269 Key: project (as defined in the -p option or PBPROJ environment variable)
270 Value: local directory under which every pb related operation will take place. if not defined then /var/cache. A default value is highly interesting here. If you want to use VMs/VEs, then use $ENV{'HOME'} to make it portable to it.
271 Conffile: home
272 Example: pbdefdir default = $ENV{'HOME'}/local/pb/projects
[962]273
[1109]274=item B<pbinstalltype>
275
276 Nature: Mandatory
277 Key: project (as defined in the -p option or PBPROJ environment variable)
278 Value: file or pkg. Indicates how pb will be installed during the setupve|vm phase in the virtual environment|machine, using CPAN files or upstream packages. Only the dev team needs to use file as packages do not yet exist for it. Or when no repository exists to pull project-builder.org from.
279 Conffile: pb
280
[962]281=item B<pbml>
282
[989]283 Nature: Optional (Mandatory if using announce command)
284 Key: project (as defined in the -p option or PBPROJ environment variable)
285 Value: white space separated list of e-mail adresses used to send announces with the pb announce option.
286 Conffile: project
287 Example: pbml pb = pb-announce@project-builder.org pb-devel@project-builder.org
[962]288
289=item B<pbpackager>
290
[989]291 Nature: Mandatory
292 Key: project (as defined in the -p option or PBPROJ environment variable)
293 Value: Firstname Name and e-mail address of the person packaging the software.
294 Conffile: project
295 Example: pbpackager pb = Bruno Cornec <bruno@project-builder.org>
[962]296
[1126]297=item B<pbparallel>
298
299 Nature: Optional
300 Key: tool (pb or rpmbootstrap)
301 Value: number of processes to execute in parallel. By default use the number of cores.
302 Conffile: pb
303 Example: pbparallel pb = 12
304
[1278]305=item B<pbpassfile>
306
307 Nature: Optional
308 Key: project (as defined in the -p option or PBPROJ environment variable)
309 Value: File containing the GPG passphrase that is used to sign packages
310 Conffile: home
311 Example: pbpassfile pb = /users/me/secret/passfile
312
313=item B<pbpasspath>
314
315 Nature: Optional
316 Key: project (as defined in the -p option or PBPROJ environment variable)
317 Value: The directory under which will be found your secret key file.
318 Conffile: home
319 Example: pbpasspath pb = /home/me/.gnupg
320
321=item B<pbpassphrase>
322
323 Nature: Optional
324 Key: project (as defined in the -p option or PBPROJ environment variable)
325 Value: The GPG passphrase that is used to sign packages. Putting it in your conf file has security implications.
326 Conffile: home
327 Example: pbpassphrase pb = TheSecretPassPhrase
328
[962]329=item B<pbprojdir>
330
[989]331 Nature: Optional
332 Key: project (as defined in the -p option or PBPROJ environment variable)
333 Value: local directory under which the project is locally exported. NB: a default value is highly interesting here. By default pbdefdir/projectname
334 Conffile: home
335 Example: pbprojdir mondorescue = $ENV{'HOME'}/local/mondorescue
[962]336
337=item B<pbrepo>
338
[989]339 Nature: Mandatory
340 Key: project (as defined in the -p option or PBPROJ environment variable)
341 Value: URL of the server hosting the upstream tar file.
342 Conffile: project
343 Example: pbrepo mondorescue = ftp://ftp.mondorescue.org
[962]344
345=item B<pbsmtp>
346
[989]347 Nature: Optional (Mandatory if using the announce command)
348 Key: project (as defined in the -p option or PBPROJ environment variable)
349 Value: FQDN of the mail server to use to send announces. NB: a default value is highly interesting here.
350 Conffile: home
351 Example: pbsmtp mondorescue = localhost
[962]352
353=item B<pbsockscmd>
354
[989]355 Nature: Optional
356 Key: project (as defined in the -p option or PBPROJ environment variable)
357 Value: name of the command to use to socksify network calls. NB: a default value is highly interesting here.
358 Conffile: home
359 Example: pbsockscmd default = tsocks
[962]360
361=item B<pburl>
[985]362
[989]363 Nature: Optional
364 Key: project (as defined in the -p option or PBPROJ environment variable)
365 Value: B<pb URL> giving access to where the project is stored. Normaly provided by the project, but could be overloaded for specific authentication information in the home configuration file or when using a DVCS
366 Conffile: home|project
367 Example: pburl linuxcoe = cvs+ssh://:ext:user@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe, pburl pb = svk:////local/pb
[985]368
[962]369=item B<pbwf>
[985]370
[989]371 Nature: Optional
372 Key: project (as defined in the -p option or PBPROJ environment variable)
373 Value: whatever. As soon as this is defined, then that project is known as not well formed (have a subdirectory in its tar file under which all sources are put named project-version). This should be reported upstream to the project. tar files generated by project-builder to not suffer from that. This is valid when packaging for tar files and not CMS.
374 Conffile: project
375 Example: pbwf afio = 1
[985]376
[962]377=item B<pkgtag>
[985]378
[989]379 Nature: Optional
380 Key: package (as provided in defpkgdir or extpkgdir)
381 Value: Tag that needs to be used in package name (on rpm: name-ver-tag.arch.rpm). Useful when different from the project version B<projtag> and when republishing a package due to package build modification (not code).
382 Conffile: project
383 Example: pkgtag mindi-busybox = 2
[985]384
[962]385=item B<pkgver>
[985]386
[989]387 Nature: Optional
388 Key: package (as provided in defpkgdir or extpkgdir)
389 Value: Version that needs to be used in package name (on rpm: name-ver-tag.arch.rpm). Useful when different from the project version B<projver>.
390 Conffile: project
391 Example: pkgver mindi-busybox = 1.7.3
[985]392
[962]393=item B<projtag>
[986]394
[989]395 Nature: Mandatory
396 Key: project (as defined in the -p option or PBPROJ environment variable)
397 Value: tag that will be used for all packages names (on rpm: name-ver-tag.arch.rpm) in the project. Each package can overwrite it using B<pkgtag>.
398 Conffile: project
399 Example: projtag mondorescue = 1
[986]400
[962]401=item B<projver>
[986]402
[989]403 Nature: Mandatory
404 Key: project (as defined in the -p option or PBPROJ environment variable)
405 Value: version that will be used for all packages names (on rpm: name-ver-tag.arch.rpm) in the project. Each package can overwrite it using B<pkgver>.
406 Conffile: project
407 Example: projver mondorescue = 2.2.9
[986]408
409=item B<rbsconf>
410
[989]411 Nature: Optional
412 Key: project (as defined in the -p option or PBPROJ environment variable)
413 Value: for mock it's the configuration directory. For rinse it's its configuration file. For rpmbootstrap it's not used yet.
414 Conffile: ve
415 Example: rbsconf default = /etc/mock, rbsconf default = /etc/pb/pb-rinse.conf
[986]416
417=item B<rbsb4pi>
418
[989]419 Nature: Optional
420 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
421 Value: for mock it's not used. For rinse it's the script to call before doing installation (in order change the mirror location). For rpmbootstrap it's not used yet.
422 Conffile: ve
423 Example: rbsb4pi centos = /home/rinse/bin/before-post-install.sh
[986]424
[1027]425=item B<rbsopt>
426
427 Nature: Optional
428 Key: tool used for rpm based VE. Could be one of rpmbootstrap, rinse, mock, ...
429 Value: Additional option to pass to the command
430 Conffile: ve
431 Example: rbsopt rpmbootstrap = -k
432
[987]433=item B<rbspi>
434
[989]435 Nature: Optional
436 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
437 Value: for mock it's not used. For rinse it's the script to call after doing installation for customization. For rpmbootstrap it's the script to call after doing installation for customization.
438 Conffile: ve
[1027]439 Example: rbspi centos = /home/rinse/bin/post-install.sh
[987]440
[1176]441=item B<rmhost>
442
443 Nature: Mandatory
444 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
445 Value: IP address or name of the Remote Machine running the OS mentioned in the key, accessed through ssh.
446 Conffile: rm
447 Example: rmhost default = localhost - rmhost hpux-11.3-ia64 = 10.10.10.10 - rmhost mandriva-2010.2-x86_64 = machine1.domain.name
448
449=item B<rmlist>
450
451 Nature: Mandatory
452 Key: project (as defined in the -p option or PBPROJ environment variable)
453 Value: list of coma separated OS (under the form of os-ver-arch). The corresponding machines running these distributions are given in the rmpool parameter.
454 Conffile: rm
455 Example: rmlist default = mandriva-2010.2-i386,fedora-14-i386,rhel-6-i386,rhel-5-i386,pensuse-11.3-i386,sles-11-i386,gentoo-nover-i386,debian-5.0-i386,ubuntu-10.10-i386,solaris-10-i386,mandriva-2010.2-x86_64,fedora-14-x86_64,rhel-6-x86_64,rhel-5-x86_64,opensuse-11.3-x86_64,sles-11-x86_64,gentoo-nover-x86_64,debian-5.0-x86_64,ubuntu-10.10-x86_64,solaris-10-x86_64,hp-ux-11.3-ia64,rhel-5-ia64
456
457=item B<rmlogin>
458
459 Nature: Mandatory
460 Key: project (as defined in the -p option or PBPROJ environment variable)
461 Value: account name to use on the Remote Machine to build packages. Communication is done with ssh.
462 Conffile: rm
463 Example: rmlogin default = pb
464
465=item B<rmmonport>
466
467 Nature: Optional
468 Key: project (as defined in the -p option or PBPROJ environment variable)
469 Value: TCP port that is used to dialog with the monitor of the Remote Machine, to pass orders.
470 Conffile: rm
471 Example: rmmonport default = 4444
472
473=item B<rmntp>
474
475 Nature: Optional
476 Key: project (as defined in the -p option or PBPROJ environment variable)
477 Value: NTP server to contact for time accuracy with B<rmntpcmd> before building.
478 Conffile: rm
479 Example: rmntp default = 1.pool.ntp.org
480
481=item B<rmntpcmd>
482
[1215]483 Nature: Mandatory
[1216]484 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[1215]485 Value: NTP command to use to perform time synchronization with the B<rmntp> server. Use full path name, as this command will be used in the sudoers file to allow its launch by root.
[1176]486 Conffile: rm
[1215]487 Example: rmntpcmd default = /usr/sbin/ntpdate,rmntpcmd opensuse-10.1-i386 = /usr/sbin/sntp -P no -r
[1176]488
489=item B<rmpath>
490
491 Nature: Mandatory
492 Key: project (as defined in the -p option or PBPROJ environment variable)
493 Value: path where to find configuration file for Remote Machines management.
494 Conffile: rm
495 Example: rmpath default = /home/remote
496
497=item B<rmport>
498
499 Nature: Mandatory
[1216]500 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[1176]501 Value: port number to use to communicate with the RM using the SSH protocol. This localport is redirected to the port 22 of the RM.
502 Conffile: rm
503 Example: rmport pb = 2222,rmport mondorescue = 2223
504
505=item B<rmtmout>
506
507 Nature: Optional
508 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1217]509 Value: Time in seconds to wait before interacting with the RM. This may correspond to the time the RM takes to boot.
[1176]510 Conffile: rm
[1217]511 Example: rmtmout default = 10
[1176]512
513=item B<rmtype>
514
515 Nature: Mandatory
516 Key: project (as defined in the -p option or PBPROJ environment variable)
517 Value: ssh. For the moment, only ssh is supported as a communication means with RM.
518 Conffile: rm
519 Example: rmrtype default = ssh
520
[1216]521=item B<sshdir>
[1176]522
[1216]523 Nature: Mandatory
524 Key: project (as defined in the -p option or PBPROJ environment variable)
525 Value: dirname into which packages are uploaded on the B<sshhost> machine.
526 Conffile: project
527 Example: sshdir mondorescue = /pub/mondorescue
528
529=item B<sshhost>
530
531 Nature: Mandatory
532 Key: project (as defined in the -p option or PBPROJ environment variable)
533 Value: hostname to connect to in order to deliver packages to the repository server.
534 Conffile: project
535 Example: sshhost mondorescue = ftp.mondorescue.org
536
537=item B<sshlogin>
538
539 Nature: Mandatory
540 Key: project (as defined in the -p option or PBPROJ environment variable)
541 Value: login to use when connecting to the repository server B<sshhost> for package delivery.
542 Conffile: project
543 Example: sshlogin mondorescue = mylogin
544
545=item B<sshport>
546
547 Nature: Mandatory
548 Key: project (as defined in the -p option or PBPROJ environment variable)
549 Value: port to use when connecting to the repository server B<sshhost> for package delivery.
550 Conffile: project
551 Example: sshport mondorescue = 22
552
[962]553=item B<supfiles>
[986]554
555Not used yet.
556
[962]557=item B<testver>
[986]558
[989]559 Nature: Optional
560 Key: project (as defined in the -p option or PBPROJ environment variable)
561 Value: true (meaning this is a test version, whose tag will be generated automatically, based on 0+date in order to allow regular updates, and still be inferior to tag 1 of the official version, and delivered under the test subdirectory of the ftp server). By default false.
562 Conffile: project
563 Example: testver mondorescue = true
[986]564
[962]565=item B<vedebtype>
[986]566
[989]567 Nature: Mandatory
568 Key: project (as defined in the -p option or PBPROJ environment variable)
569 Value: debootstrap (no other tool to create deb distro based chroot)
570 Conffile: ve
571 Example: vedebtype default = debootstrap
[986]572
[962]573=item B<velist>
[986]574
[989]575 Nature: Mandatory
576 Key: project (as defined in the -p option or PBPROJ environment variable)
577 Value: list of coma separated OS (under the form of os-ver-arch).
578 Conffile: ve
579 Example: velist default = centos-4-i386,centos-5-i386,centos-4-x86_64,centos-5-x86_64,debian-5.0-i386,debian-5.0-x86_64,lsb-4.0.1-i386,lsb-4.0.1-x86_64
[986]580
[962]581=item B<velogin>
[986]582
[989]583 Nature: Mandatory
584 Key: project (as defined in the -p option or PBPROJ environment variable)
585 Value: account name to use in the VE to build packages.
586 Conffile: ve
587 Example: velogin default = pb
[986]588
[962]589=item B<ventp>
[986]590
[989]591 Nature: Optional
592 Key: project (as defined in the -p option or PBPROJ environment variable)
593 Value: NTP server to contact for time accuracy with B<ventpcmd> before building.
594 Conffile: ve
595 Example: ventp default = 1.pool.ntp.org
[986]596
[962]597=item B<ventpcmd>
[986]598
[1215]599 Nature: Mandatory
[989]600 Key: project (as defined in the -p option or PBPROJ environment variable)
[1215]601 Value: NTP command to use to perform time synchronization with the B<ventp> server. Use full path name, as this command will be used in the sudoers file to allow its launch by root.
[989]602 Conffile: ve
603 Example: ventpcmd default = /usr/sbin/ntpdate
[986]604
[962]605=item B<vepath>
[986]606
[989]607 Nature: Mandatory
608 Key: project (as defined in the -p option or PBPROJ environment variable)
609 Value: path where to find VEs. Ve will be created and used under that path. For each VE os-ver-arch, it will create a subdirectory tree os/ver/arch below that point.
610 Conffile: ve
611 Example: vepath default = /home/rpmbootstrap
[986]612
[962]613=item B<verebuild>
[987]614
[989]615 Nature: Optional
616 Key: project (as defined in the -p option or PBPROJ environment variable)
617 Value: true|false. True means that the VE should be rebuild before usage.
618 Conffile: ve
[1215]619 Example: verebuild default = true
[987]620
[962]621=item B<verpmtype>
[987]622
[989]623 Nature: Mandatory
624 Key: project (as defined in the -p option or PBPROJ environment variable)
625 Value: rpmbootstrap|rinse|mock (different tools to create a chroot environment for RPM based distributions. rpmbootstrap comes with pb. the 2 others are separate projects).
626 Conffile: ve
627 Example: verpmtype default = rpmbootstrap
[987]628
[962]629=item B<vesnap>
[988]630
[989]631 Nature: Optional
632 Key: project (as defined in the -p option or PBPROJ environment variable)
633 Value: true|false. True means that the snapshot of the VE should be used before call to the VE. This snapshot consists of a compressed tar pf the VE. Which means that you will always start from a known state, resulting of a former snapshot operation on the VE. Also speeds up a lot the VM launch operation.
634 Conffile: ve
635 Example: vesnap default = true
[988]636
[962]637=item B<vetype>
[986]638
[989]639 Nature: Mandatory
640 Key: project (as defined in the -p option or PBPROJ environment variable)
641 Value: chroot|schroot. There are two different ways of launching a chroot activity in pb. For the moment only chroot has been tested.
642 Conffile: ve
643 Example: vertype default = chroot
[988]644
[1153]645=item B<vmbuildtm>
646
647 Nature: Optional
648 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). Default value is set to vmtmout
649 Value: Time in seconds to wait before killing the VM if SSH port already used. This should corresponds to the time to send files, build the project and get packages in the VM.
650 Conffile: project
651 Example: vmbuildtm default = 600,vmbuildtm mandriva-2009.0-x86_64 = 1200
652
[1072]653=item B<vmcmd>
654
655 Nature: Mandatory
656 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). NB: a default value is highly interesting here.
657 Value: Command to call to launch the VM emulator. It can contain some options. Another way to pass options to the VM manager command launcher is by using the PBVMOPT environment variable, which comes in addition to the option vmopt.
658 Conffile: vm
659 Example: vmcmd default = /usr/bin/kvm
660
[962]661=item B<vmhost>
[988]662
[989]663 Nature: Mandatory
[1216]664 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[989]665 Value: hostname to connect to in order to reach the VM through ssh. Generally redirected from a port on localhost.
666 Conffile: vm
667 Example: vmhost default = localhost
[988]668
[962]669=item B<vmlist>
[986]670
[989]671 Nature: Mandatory
672 Key: project (as defined in the -p option or PBPROJ environment variable)
673 Value: list of coma separated OS (under the form of os-ver-arch).
674 Conffile: vm
675 Example: vmlist default = asianux-2-i386,asianux-3-i386,mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.1-i386,mandriva-2008.0-i386,mandriva-2008.1-i386,mandriva-2009.0-i386,mandriva-2009.1-i386,mandriva-2010.0-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,fedora-9-i386,fedora-10-i386,fedora-11-i386,fedora-12-i386,rhel-2.1-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,suse-10.0-i386,suse-10.1-i386,suse-10.2-i386,opensuse-10.3-i386,opensuse-11.0-i386,opensuse-11.1-i386,opensuse-11.2-i386,sles-9-i386,sles-10-i386,sles-11-i386,gentoo-nover-i386,debian-3.1-i386,debian-4.0-i386,debian-5.0-i386,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.10-i386,ubuntu-8.04-i386,ubuntu-8.10-i386,ubuntu-9.04-i386,ubuntu-9.10-i386,solaris-10-i386,asianux-2-x86_64,asianux-3-x86_64,mandriva-2007.0-x86_64,mandriva-2007.1-x86_64,mandriva-2008.0-x86_64,mandriva-2008.1-x86_64,mandriva-2009.0-x86_64,mandriva-2009.1-x86_64,mandriva-2010.0-x86_64,fedora-6-x86_64,fedora-7-x86_64,fedora-8-x86_64,fedora-9-x86_64,fedora-10-x86_64,fedora-11-x86_64,fedora-12-x86_64,rhel-3-x86_64,rhel-4-x86_64,rhel-5-x86_64,suse-10.2-x86_64,opensuse-10.3-x86_64,opensuse-11.0-x86_64,opensuse-11.1-x86_64,opensuse-11.2-x86_64,sles-10-x86_64,sles-11-x86_64,gentoo-nover-x86_64,debian-4.0-x86_64,debian-5.0-x86_64,ubuntu-7.04-x86_64,ubuntu-7.10-x86_64,ubuntu-8.04-x86_64,ubuntu-8.10-x86_64,ubuntu-9.04-x86_64,ubuntu-9.10-x86_64,solaris-10-x86_64
[986]676
[962]677=item B<vmlogin>
[987]678
[989]679 Nature: Mandatory
680 Key: project (as defined in the -p option or PBPROJ environment variable)
681 Value: account name to use in the VM to build packages. Communication is done with ssh.
682 Conffile: vm
683 Example: vmlogin default = pb
[987]684
[1153]685=item B<vmmem>
686
687 Nature: Optional
[1216]688 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[1153]689 Value: Memory size in MB to allocate to the VM.
690 Conffile: vm
691 Example: vmmem default = 512
692
[962]693=item B<vmmonport>
[988]694
[989]695 Nature: Optional
696 Key: project (as defined in the -p option or PBPROJ environment variable)
697 Value: TCP port that is used to dialog with the monitor of the VM, to pass orders such as snapshot. Not really operational yet.
698 Conffile: vm
699 Example: vmmonport default = 4444
[988]700
[962]701=item B<vmntp>
[987]702
[989]703 Nature: Optional
704 Key: project (as defined in the -p option or PBPROJ environment variable)
705 Value: NTP server to contact for time accuracy with B<vmntpcmd> before building.
706 Conffile: vm
707 Example: vmntp default = 1.pool.ntp.org
[987]708
[962]709=item B<vmntpcmd>
[987]710
[1215]711 Nature: Mandatory
[1216]712 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[1215]713 Value: NTP command to use to perform time synchronization with the B<vmntp> server. Use full path name, as this command will be used in the sudoers file to allow its launch by root.
[989]714 Conffile: vm
[1215]715 Example: vmntpcmd default = /usr/sbin/ntpdate,vmntpcmd opensuse-11.0-i386 = /usr/sbin/sntp -P no -r
[987]716
[962]717=item B<vmopt>
[988]718
[989]719 Nature: Optional
720 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). NB: a default value is highly interesting here.
721 Value: list of options to pass to the VM manager command launcher for that distribution. Another way to pass options to the VM manager command launcher is by using the PBVMOPT environment variable, which comes in addition to his option.
722 Conffile: vm
723 Example: vmopt default = -m 384 -daemonize,vmopt mandriva-2009.0-i386 = -m 256 -daemonize -no-kvm
[988]724
[962]725=item B<vmpath>
[987]726
[989]727 Nature: Mandatory
728 Key: project (as defined in the -p option or PBPROJ environment variable)
729 Value: path where to find VMs. They will be created and used under that path. For each VM os-ver-arch, it will create a os-ver-arch.qemu file below that point.
730 Conffile: vm
731 Example: vmpath default = /home/qemu
[987]732
[962]733=item B<vmport>
[988]734
[989]735 Nature: Mandatory
736 Key: project (as defined in the -p option or PBPROJ environment variable)
737 Value: port number to use to communicate with the VM using the SSH protocol. This localport is redirected to the port 22 of the VM.
738 Conffile: vm
739 Example: vmport pb = 2222,vmport mondorescue = 2223
[988]740
[962]741=item B<vmsize>
[988]742
[989]743 Nature: Mandatory
[1216]744 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[989]745 Value: Size of the VM to create when using the newvm command of pb.
746 Conffile: vm
747 Example: vmsize default = 7G
[988]748
[962]749=item B<vmsnap>
[988]750
[989]751 Nature: Optional
752 Key: project (as defined in the -p option or PBPROJ environment variable)
753 Value: true|false. True means that the snapshot of the VM called pb should be used. Which means that you will always start from a known state, resulting of a former snapshot operation on the VM. Also speeds up a lot the VM launch operation.
754 Conffile: vm
755 Example: vmsnap default = true
[988]756
[962]757=item B<vmtmout>
[988]758
[989]759 Nature: Optional
760 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). NB: a default value is highly interesting here.
[1153]761 Value: Time in seconds to wait before interacting with the VM. This should correspond to the time the VM takes to boot.
[989]762 Conffile: vm
763 Example: vmtmout default = 180,vmtmout mandriva-2009.0-x86_64 = 500
[988]764
[962]765=item B<vmtype>
[988]766
[989]767 Nature: Mandatory
768 Key: project (as defined in the -p option or PBPROJ environment variable)
769 Value: qemu|kvm. For the moment, only QEMU or KVM are supported as virtualization technologies.
770 Conffile: vm
771 Example: vmrtype default = kvm
[988]772
[962]773=item B<webdir>
774
[989]775 Nature: Optional
776 Key: project (as defined in the -p option or PBPROJ environment variable)
[1115]777 Value: Target directory containing the web content in the project that should be delivered when using the sbx|cms2webssh|pkg command of pb.
[989]778 Conffile: project
779 Example: webdir mondorescue = website
[988]780
[1216]781=item B<websshdir>
782
783 Nature: Optional (when not using *2webssh commands)
784 Key: project (as defined in the -p option or PBPROJ environment variable)
785 Value: dirname into which content is uploaded on the B<websshhost> machine.
786 Conffile: project
787 Example: websshdir mondorescue = /var/www/html
788
789=item B<websshhost>
790
791 Nature: Optional (when not using *2webssh commands)
792 Key: project (as defined in the -p option or PBPROJ environment variable)
793 Value: hostname to connect to in order to deliver content to the Web server.
794 Conffile: project
795 Example: websshhost mondorescue = www.mondorescue.org
796
797=item B<websshlogin>
798
799 Nature: Optional (when not using *2webssh commands)
800 Key: project (as defined in the -p option or PBPROJ environment variable)
801 Value: login to use when connecting to the Web server B<websshhost> for content delivery.
802 Conffile: project
803 Example: websshlogin mondorescue = mylogin
804
805=item B<websshport>
806
807 Nature: Optional (when not using *2webssh commands)
808 Key: project (as defined in the -p option or PBPROJ environment variable)
809 Value: port to use when connecting to the Web server B<websshhost> for content delivery.
810 Conffile: project
811 Example: websshport mondorescue = 22
812
[1117]813=back
[989]814
[1117]815=head1 OTHER PARAMETERS
816=item B<pb_URL>
817=item B<pb_directory_desc>
818=item B<pb_environment_variables>
Note: See TracBrowser for help on using the repository browser.