Rev 1 | Blame | Compare with Previous | Last modification | View Log | RSS feed
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14.\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings. \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote. | will give a.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'.\" expand to `' in nroff, nothing in troff, for use with C<>..tr \(*W-|\(bv\*(Tr.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\. ds -- \(*W-. ds PI pi. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch. ds L" "". ds R" "". ds C` "". ds C' ""'br\}.el\{\. ds -- \|\(em\|. ds PI \(*p. ds L" ``. ds R" '''br\}.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD. Of course, you'll have to process the.\" output yourself in some meaningful fashion..if \nF \{\. de IX. tm Index:\\$1\t\\n%\t"\\$2"... nr % 0. rr F.\}.\".\" For nroff, turn off justification. Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..hy 0.if n .na.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear. Run. Save yourself. No user-serviceable parts.. \" fudge factors for nroff and troff.if n \{\. ds #H 0. ds #V .8m. ds #F .3m. ds #[ \f1. ds #] \fP.\}.if t \{\. ds #H ((1u-(\\\\n(.fu%2u))*.13m). ds #V .6m. ds #F 0. ds #[ \&. ds #] \&.\}. \" simple accents for nroff and troff.if n \{\. ds ' \&. ds ` \&. ds ^ \&. ds , \&. ds ~ ~. ds /.\}.if t \{\. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u". ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}. \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E. \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'. \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\. ds : e. ds 8 ss. ds o a. ds d- d\h'-1'\(ga. ds D- D\h'-1'\(hy. ds th \o'bp'. ds Th \o'LP'. ds ae ae. ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "DebPool::Config 5".TH DebPool::Config 5 "2005-01-20" "perl v5.8.4" "DebPool Configuration".SH "NAME"DebPool::Config \- configuration file format for debpool.SH "SYNOPSIS".IX Header "SYNOPSIS"package DebPool::Config;.PP%Options = ('option1' => value1,'option2' => value2,...);.PP1;.SH "DESCRIPTION".IX Header "DESCRIPTION"The DebPool::Config file is normally found in three places;\&\fI/usr/share/debpool/Config.pm\fR, \fI/etc/debpool/Config.pm\fR, and\&\fI$HOME/.debpool/Config.pm\fR (in ascending order of precedence);further locations can also be specified on the command line with the\&'\-\-config=<file>' option, which overrides all of these (and is, in turn,overridden by any command line options). Also of note is the \-\-nodefaultoption, which prevents any attempt at loading the default (system and user)config files..PPThe config files in /etc/debpool and \f(CW$HOME\fR/.debpool are not required to befull Perl modules, though they must still declare a package namespace of\&'DebPool::Config' and return a true value..Sh "File/Directory configuration".IX Subsection "File/Directory configuration"These config values determine what directories various parts of the archiveare put in, and what permissions those directories have, as well as thedefault permissions for files..PP\&\s-1NOTE:\s0 While debpool will attempt to create db_dir, dists_dir, incoming_dir,installed_dir, pool_dir, and reject_dir if they do not exist, it will *not*attempt to do this for archive_dir..PP\&\s-1WARNING:\s0 If you redefine archive_dir and you want the other four entries toreflect this by incorporating the new value, you *MUST* redefine them here(even if you simply use the default value of 'archive_dir'/<dirname>) sothat they use the new definition of archive_dir..IP "\fBarchive_dir\fR => \fIarchive directory\fR" 4.IX Item "archive_dir => archive directory"Base directory of the archive. This is never used directly; however, itis normally used to construct relative paths for dists_dir, incoming_dir,installed_dir, pool_dir, and reject_dir..Sp\&\s-1WARNING:\s0 See the section documentation for important details aboutredefining this value..SpDefault value: '/var/cache/debpool'.IP "\fBdb_dir\fR => \fIdists directory\fR" 4.IX Item "db_dir => dists directory"\&\s-1DB\s0 directory, where the database files for each distribution are kept..SpDefault value: \*(L"$Options{'archive_dir'}/db\*(R".IP "\fBdb_dir_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "db_dir_mode = permissions (octal)"Permissions for db_dir..SpDefault value: 0750.IP "\fBdb_file_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "db_file_mode = permissions (octal)"Permissions for database files in db_dir..SpDefault value: 0640.IP "\fBdists_dir\fR => \fIdists directory\fR" 4.IX Item "dists_dir => dists directory"Dists directory, where distribution files (\fI{Packages,Sources}{,.gz}\fR live..SpDefault value: \*(L"$Options{'archive_dir'}/dists\*(R".IP "\fBdists_dir_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "dists_dir_mode = permissions (octal)"Permissions for dists_dir and all of it's subdirectories..SpDefault value: 0755.IP "\fBdists_file_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "dists_file_mode = permissions (octal)"Permissions for distribution files ({Packages,Sources}{,.gz}..SpDefault value: 0644.IP "\fBincoming_dir\fR => \fIincoming directory\fR" 4.IX Item "incoming_dir => incoming directory"Incoming directory, where new packages are uploaded..SpDefault value: \*(L"$Options{'archive_dir'}/incoming\*(R";.IP "\fBincoming_dir_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "incoming_dir_mode = permissions (octal)"Permissions for incoming_dir. Should have the sticky bit set if you want asystem archive..SpDefault value: 01775.IP "\fBinstalled_dir\fR => \fIinstalled directory\fR" 4.IX Item "installed_dir => installed directory"Incoming directory, where new packages are uploaded..SpDefault value: \*(L"$Options{'archive_dir'}/installed\*(R";.IP "\fBinstalled_dir_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "installed_dir_mode = permissions (octal)"Permissions for installed_dir. Should have the sticky bit set if you want asystem archive..SpDefault value: 0755.IP "\fBinstalled_file_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "installed_file_mode = permissions (octal)"Permissions for installed Changes files..SpDefault value: 0644.IP "\fBpool_dir\fR => \fIpool directory\fR" 4.IX Item "pool_dir => pool directory"Pool directory where all .deb files are stored after being accepted. Normallythis is constructed as a relative path from archive_dir..SpDefault value: \*(L"$Options{'archive_dir'}/pool\*(R".IP "\fBpool_dir_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "pool_dir_mode = permissions (octal)"Permissions for pool_dir and all of it's subdirectories..SpDefault value: 0755.IP "\fBpool_file_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "pool_file_mode = permissions (octal)"Permissions for files installed into the pool area (orig.tar.gz, tar.gz,diff.gz, dsc, deb)..SpDefault value: 0644.IP "\fBreject_dir\fR => \fIreject directory\fR" 4.IX Item "reject_dir => reject directory"Reject directory, where rejected packages are placed..SpDefault value: \*(L"$Options{'archive_dir'}/reject\*(R".IP "\fBreject_dir_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "reject_dir_mode = permissions (octal)"Permissions for reject_dir..SpDefault value: 0750.IP "\fBreject_file_mode\fR = \fIpermissions (octal)\fR" 4.IX Item "reject_file_mode = permissions (octal)"Permissions for rejected package files..SpDefault value: 0640.IP "\fBlock_file\fR => \fIlockfile\fR" 4.IX Item "lock_file => lockfile"Location of the lockfile to use when running..SpDefault value: \*(L"$Options{'archive_dir'}/.lock\*(R".IP "\fBcompress_dists\fR = \fIboolean\fR" 4.IX Item "compress_dists = boolean"This determines whether or not compressed versions of the distributionfiles (Packages.gz, Sources.gz) are generated. Note that enabling thisintroduces a dependancy on gzip..Sh "Archive configuration".IX Subsection "Archive configuration"These values control which distributions, components, and architectures thearchive will support..IP "\fBdists\fR => \fIhash of distribution names and codenames\fR" 4.IX Item "dists => hash of distribution names and codenames"A hashref pointing to a hash with entries for all distributions we willaccept packages for, and what the current codename for each distributionis. Note that it is acceptable for more than one distribution to point to agiven codename (for example, when frozen is active); however, this has somestrange (and non\-deterministic) consequences for Release files..SpDefault value:.Sp{ 'stable' => 'woody','testing' => 'sarge','unstable' => 'sid','experimental' => 'experimental' }.IP "\fBvirtual_dists\fR => \fIhash of virtual distribution names and targets\fR" 4.IX Item "virtual_dists => hash of virtual distribution names and targets"A hashref pointing to a hash with entries for all 'virtual' distributionswe will accept packages for, and what distribution it should be treatedas. It is acceptable for more than one virtual distribution to point to agiven target. Note that unlike 'dists' entries, symlinks pointing from thevirtual name to the real name will not be created, and no attempt is madeto use these names in reverse processes (such as Release files); however,virtual distributions may target any name (\*(L"unstable\*(R") or codename (\*(L"sid\*(R")which appears in the 'dists' hash..SpDefault value:.Sp{}.SpExsample value:.Sp{ 'unstable\-hostname' => 'unstable','testing\-hostname' => 'sarge',}.IP "\fBsections\fR => \fIarray of section names\fR" 4.IX Item "sections => array of section names"An arrayref pointing to an array which lists all sections we will acceptpackages for. Typically, these will be drawn from the set 'main',\&'contrib', 'non\-free', 'experimental', 'alien', and 'local' (at least onthe author's systems)..SpDefault value: [ 'main', 'contrib', 'non\-free' ].IP "\fBarchs\fR => \fIarray of architecture names\fR" 4.IX Item "archs => array of architecture names"An arrayref pointing to an array which lists all architectures we willaccept packages for. Note that 'source' will always be present, and 'all'will be silently ignored (uploads for Arch: all will still work, but thelistings appear in arch-specific Packages files)..SpDefault value: [ 'i386' ].Sh "Release configuration".IX Subsection "Release configuration"If all of the variables below are defined (release_origin, release_label,and release_description), Release files will be generated for eachdistribution directory..PPPlease note that enabling Release files will introduce a dependancy on thepackages 'libdigest\-md5\-perl' and 'libdigest\-sha1\-perl'..PPSee also: sign_release.IP "\fBrelease_origin\fR => \fIorigin tag\fR" 4.IX Item "release_origin => origin tag"A string to be used for the Origin tag in the Release file..SpDefault value: undef.IP "\fBrelease_label\fR => \fIlabel tag\fR" 4.IX Item "release_label => label tag"A string to be used for the Label tag in the Release file..SpDefault value: undef.IP "\fBrelease_description\fR => \fIdescription tag\fR" 4.IX Item "release_description => description tag"A string to be used for the Description tag in the Release file. (Note thatthis should be a single line.).SpDefault value: undef.IP "\fBrelease_noauto\fR = <array of NonAutomatic release names>" 4.IX Item "release_noauto = <array of NonAutomatic release names>"An array of release names which should be tagged with 'NonAutomatic: yes'in their Release files. This tag will keep \s-1APT\s0 from ever automaticallyselecting a package from that archive as an installation candidate..SpDefault value: [ 'experimental' ].Sh "Signature configuration".IX Subsection "Signature configuration"Please note that enabling any of these options will cause a dependancy onthe 'gnupg' package. See \fI/usr/share/doc/debpool/README.GnuPG\fR for moreinformation..IP "\fBrequire_sigs_debs\fR = \fIboolean\fR" 4.IX Item "require_sigs_debs = boolean"If true, packages will be rejected unless their package files (.deb)are GPG-signed with a recognized key found one of the keyrings listedin 'gpg_keyrings'. These can be signed with the tools in the 'debsigs'package..SpDefault value: 0 (false).SpSee also: gpg_keyrings.IP "\fBrequire_sigs_meta\fR = \fIboolean\fR" 4.IX Item "require_sigs_meta = boolean"If true, packages will be rejected unless their meta-files (.changes and\&.dsc) are GPG-signed with a recognized key found one of the keyrings listedin 'gpg_keyrings'. These are the files normally signed by the 'debsign'utility in devscripts package..SpDefault value: 0 (false).SpSee also: gpg_keyrings.IP "\fBsign_release\fR = \fIboolean\fR" 4.IX Item "sign_release = boolean"If true, generated Release files with be GPG-signed with the key specifiedin 'gpg_sign_key'..SpNote that this will have no effect unless 'gpg_sign_key' is also defined atsome point..SpDefault value: 0 (false).SpSee also: \*(L"Release configuration\*(R", gpg_sign_key.Sh "GnuPG configuration".IX Subsection "GnuPG configuration"These values will only be used if the use of GnuPG is triggered in somefashion (such as any of the values in \*(L"Signature configuration\*(R" beingenabled) , and thus do not (in themselves) trigger a dependancy on GnuPG.Please see \fI/usr/share/doc/debpool/README.GnuPG\fR for more information..IP "\fBgpg_bin\fR = \fIGnuPG binary\fR" 4.IX Item "gpg_bin = GnuPG binary"This is used to specify the GnuPG binary to run..SpDefault value: '/usr/bin/gpg'.IP "\fBgpg_home\fR = \fIGnuPG homedir\fR" 4.IX Item "gpg_home = GnuPG homedir"This is used to specify the GnuPG homedir (via the \-\-homedir option)..SpDefault value: '/home/user/.gnupg'.IP "\fBgpg_keyrings\fR = \fIarray of keyring filenames\fR" 4.IX Item "gpg_keyrings = array of keyring filenames"An arrayref pointing to an array which lists all of the \s-1GPG\s0 keyrings thathold keys for approved uploaders. Note that this will have no effect unlessat least one of 'require_sigs_debs' or 'require_sigs_meta' is enabled..SpDefault value: [ 'uploaders.gpg' ].SpSee also: require_sigs_debs, require_sigs_meta.IP "\fBgpg_sign_key\fR = \fIsignature keyID\fR" 4.IX Item "gpg_sign_key = signature keyID"A string which contains the \s-1ID\s0 of the key which we will sign Release fileswith. Note that this will have no effect unless 'sign_release' is true..SpDefault value: undef.SpSee also: sign_release.IP "\fBgpg_passfile\fR = \fIpassphrase file\fR" 4.IX Item "gpg_passfile = passphrase file"This specifies the name of the file from which we read the GnuPG passphrasefor the key listed in gpg_sign_key. Note that it will have no effect unless\&'sign_release' is true and 'gpg_sign_key' is defined..SpDefault value: '/home/user/.gnupg/passphrase';.SpSee also: sign_release, gpg_sign_key.Sh "Logging configuration".IX Subsection "Logging configuration"These are values which control the logging system..IP "\fBlog_file\fR = \fIfilename\fR" 4.IX Item "log_file = filename"If this option is defined, logging output will be sent to the filenamespecified. Note that an undefined value is considered an explicit requestto log nothing..Sh "Misc. configuration".IX Subsection "Misc. configuration"These are values which don't particularly fit into any of the othersections..RS 4.IP "\fBdaemon\fR = \fIboolean\fR" 4.IX Item "daemon = boolean"This determines whether debpool runs as a daemon (never exiting except onfatal errors, rescanning the Incoming directory periodically), or on asingle-run basis. True values cause debpool to run as a daemon..SpDefault value: 0 (false).IP "\fBsleep\fR = \fIdelay\fR" 4.IX Item "sleep = delay"This option determines how long the daemon sleeps for, between eachprocessing run. Note that signals (such as \s-1SIGHUP\s0, \s-1SIGINT\s0, or \s-1SIGTERM\s0)will force the daemon to wake up before this expires, so don't worry aboutsetting it too long..SpDefault value: 300 (5 minutes).IP "\fBrollback\fR = \fIboolean\fR" 4.IX Item "rollback = boolean"This determines whether older packages in the incoming queue are allowedto replace newer versions already in the archive (roll back the archiveversion)..SpDefault value: 0 (false).IP "\fBrebuild-files\fR = \fIboolean\fR" 4.IX Item "rebuild-files = boolean"This option can be set in configfiles, but is more commonly used from thecommandline; if set, it forces all of the distribution files (Packages andSources) to be rebuilt, whether or not they need it. This should almostnever be used in conjunction with the daemon option..SpDefault value: 0 (false).IP "\fBrebuild-dbs\fR = \fIboolean\fR" 4.IX Item "rebuild-dbs = boolean"This option should not be set in configfiles, only used from thecommandline; if set, it forces all of the metadata files to be rebuilt fromscratch. It should, of course, also not be used with the daemon option..Sp\&\s-1WARNING:\s0 This feature is not yet implemented, and will (silently) fail todo anything, at this time. It will be implemented in a future version..SpDefault value: 0 (false).IP "\fBrebuild-all\fR = \fIboolean\fR" 4.IX Item "rebuild-all = boolean"This option should not be set in configfiles, only used from thecommandline; if set, it is equivalent to turning on all other rebuildoptions (currently \-\-rebuild\-files and \-\-rebuild\-dbs)..Sp\&\s-1WARNING:\s0 This feature depends on rebuild\-dbs, which is not yet implemented;only the \-\-rebuild\-files section will be triggered..SpDefault value: 0 (false).IP "\fBconfig\fR = \fIconfigfile\fR" 4.IX Item "config = configfile"This is a special option that should not be put into configfiles; it isintended only for command-line use. It may be issued multiple times; eachtime it is used, it will add the named config file to the list whichDebPool will load (later config files override earlier ones, in case of anyconflicts)..SpDefault value: N/A.RE.RS 4.SH "CAVEATS".IX Header "CAVEATS"Command line options will override all Config.pm declarations..SH "SEE ALSO".IX Header "SEE ALSO"\&\fIdebpool\fR\|(1).SH "AUTHOR".IX Header "AUTHOR"Joel Baker <fenton@debian.org>