Ceci est une ancienne révision du document !
// Dinstall. Mandatory. List of dinstall options.
Dinstall
{
// PGPKeyring and GPGKeyring (required): filenames of the PGP and
// GnuPG keyrings to be used by katie respectively.
// Both need to be defined at the moment, but they can point to the
// same file.
GPGKeyring "/var/lib/dak/keyrings/keyring.gpg";
PGPKeyring "/var/lib/dak/keyrings/keyring.gpg";
// SigningKeyring (optional): this is the private keyring used by
// ziyi.
// To sign the release files. Adjust the keyid!
// Note: Key must be without a passphrase or it wont work
// automagically!
SigningKeyring "/var/lib/dak/s3kr1t/dot-gnupg/secring.gpg";
SigningPubKeyring "/var/lib/dak/s3kr1t/dot-gnupg/pubring.gpg";
SigningKeyIds "50483642";
// SendmailCommand (required): command to call the MTA.
SendmailCommand "/usr/sbin/sendmail -odq -oi -t";
// MyEmailAddress (required): this is used as the From: line for
// sending mails as a script/daemon.
MyEmailAddress "archive FDL (abonde) Installer <Lehobey@free.fr>";
// MyAdminAddress (required): used as a contact address in mails.
MyAdminAddress "LEHOBEY@free.fr";
// used for generating user@my_host addresses in
// e.g. manual_reject()
MyHost "localhost.localdomain"; // used for generating user@my_host addresses in e.g. manual_reject()
// MyDistribution (required): this variable is used in emails sent
// out by katie and others. It should indicate the name of the
// distribution.
MyDistribution "archive FDL (abonde)"; // Used in emails
// BugServer (required): is used by katie and melanie when closing
// bugs.
// Alicia and melanie can use it
BugServer "bugs.localhost.localdomain";
// PackagesServer (required): used by melanie when carbon-copying a
// bug close mail to a package maintainer.
PackagesServer "packages.localhost.localdomain";
// TrackingServer (optional): used by katie and melanie to send
// messages for the maintainer also to an alias for people tracking
// a specific source package.
// If defined then the package@this.server gets a copy of most of the
// actions related to the package. For an example look at
// packages.qa.debian.org
// TrackingServer "packages.qa.localhost.localdomain";
// LockFile (required): contains the filename of the lockfile used
// by dinstall when in action mode (i.e. not using
// -n/--no-action).
LockFile "/var/lib/dak/katie/lock";
// All sent mail is blind carbon copied to the email address in Bcc
// if it's not blank and defined.
// Bcc "archive@localhost.localdomain";
// GroupOverrideFilename (optional): this is the override file
// which contains the list of email addresses which, if part of the
// Maintainer field, cause uploads to always be treated as
// maintainer uploads.
// GroupOverrideFilename "override.group-maint";
// FutureTimeTravelGrace (required): specifies how many seconds
// into the future timestamps are allowed to be inside a deb before
// being rejected.
FutureTimeTravelGrace 28800; // 8 hours
// PastCutoffYear (required): specifies the cut-off year which is
// used when deciding whether or not to reject packages based on
// the file timestamp.
PastCutoffYear "1984";
// SkipTime (required): an integer value which is the number of
// seconds that a file must be older than (via it's last modified
// timestamp) before jennifer will REJECT rather than SKIP the
// package.
SkipTime 300;
// CloseBugs (optional): a boolean (default: no); if true the
// automated bug closing feature of dinstall is activated: mails to
// close bugs are sent to the bugserver.
CloseBugs "false";
// OverrideDisparityCheck (optional): a boolean (default: no); if
// true, jennifer compares an uploads section/priority with the
// overrides and whines at the maintainer if they differ.
OverrideDisparityCheck "true";
DefaultSuite "unstable";
Reject
{
NoSourceOnly "true";
};
// If set, only send mails to addresses listed there.
MailWhiteList "/var/lib/dak/katie/mail-whitelist";
// (Unused in this default dak configuration.)
//
// BXANotify (optional): a boolean (default: no); if true
// (Debian-specific) BXA notification is sent. The template for
// the BXA notification is located in
// Dir::Templates/lisa.bxa_notification and should be changed if
// this option is set.
//
// AcceptedAutoBuildSuites (optional): a list of suites which
// should be auto build.
//
// SpecialAcceptedAutoBuild is a boolean; if true it activates
// support for auto-building from accepted.
//
// OverrideMaintainer (optional): be used to globally override the
// __MAINTAINER_TO__ and __MAINTAINER_FROM__ variables in template
// mails. Use with caution.
};
Alicia
{
MyEmailAddress "archive FDL (abonde) FTP Masters <LEHOBEY@free.fr>";
};
Jennifer{
// If you want Jennifer to run Helena for a NEW overview in HTML
// format set this value to a path. If not - uncomment.
HelenaPath "/var/lib/dak/ftp/new.html";
};
Uma
{
// Should we sent a mail to newly added users?
SendEmail "true";
// Should we create an account so they can login?
// Account will be created with the defaults from adduser, so adjust
// it's configuration to fit your needs.
// NOTE: This requires that your dak user has a sudo entry, allowing
// to run /usr/sbin/useradd!
CreateAccount "true";
// Note: This is a comma separated list of additional groupnames to
// which uma should add the user. NO spaces between the groupnames or
// useradd will die.
// Disable it if you dont want or need that feature.
GID "debuser";
};
Julia
{
// The Primary GID of your users. Using uma it is the gid from group
// users.
ValidGID "800";
// Comma separated list of users who are in Postgres but not the
// passwd file
KnownPostgres "postgres,katie";
};
Shania
{
Options
{
Days 14;
};
MorgueSubDir "shania";
};
Natalie
{
Options
{
Component "main";
Suite "unstable";
Type "deb";
};
// Whether the component is prepended or appended to the section name.
ComponentPosition "prefix";
};
Melanie
{
Options
{
Suite "unstable";
};
MyEmailAddress "archive FDL (abonde) Maintenance <LEHOBEY@free.fr>";
LogFile "/var/lib/dak/web/removals.txt";
};
Neve
{
ExportDir "/var/lib/dak/katie/neve-files/";
};
Rhona
{
// How long (in seconds) dead packages are left before being killed
StayOfExecution 129600; // 1.5 days
AcceptedAutoBuildStayOfExecution 86400; // 24 hours
MorgueSubDir "rhona";
};
// Suite. Mandatory. List of all suites.
Suite
{
Unstable
{
Components
{
main;
contrib;
non-free ;
};
Architectures
{
source;
all;
alpha;
amd64;
arm;
hppa;
hurd-i386;
i386;
ia64;
kfreebsd-i386;
m68k;
mips;
mipsel;
powerpc;
s390;
sh;
sparc;
};
// Announce (optional): controls where "Installed foo" mails
// are sent.
Announce "changeslist@localhost.localdomain";
// CodeName, Origin and Description (optional): This settings
// are used by ziyi and put in the Release files.
Origin "archive FDL (abonde)";
Description "archive FDL (abonde)";
CodeName "fdl";
// OverrideCodeName (optional): used by Denise.
OverrideCodeName "fdl";
// Priority (optional) determines which suite is used for the
// Maintainers file as generated by charisma/da_mkmaintainers
// (highest wins).
Priority "7";
// (Unused in this default dak configuration.)
// CopyChanges (optional): if this variable is present it
// should be a path into the archive (i.e. "Dir::RootDir");
// any upload targeted for a suite with this config option
// present will have the .changes file copied into that path.
//
// CopyKatie (optional): if this is present it should be an
// absolute path; any upload targeted for a suite with this
// config option present will have the .katie file copied into
// that path. This option is similar to CopyChanges and will
// most often be used with it; they're seperate because
// .changes files are mirrored and .katie files aren't, so the
// paths will usually be different.
//
// There are more optional variables, such as VersionChecks.
// Please see /usr/share/doc/dak/examples/katie.conf for
// examples.
};
Stable
{
Components
{
main;
contrib;
non-free ;
};
Architectures
{
source;
all;
alpha;
amd64;
arm;
hppa;
hurd-i386;
i386;
ia64;
kfreebsd-i386;
m68k;
mips;
mipsel;
powerpc;
s390;
sh;
sparc;
};
// Announce (optional): controls where "Installed foo" mails
// are sent.
Announce "changeslist@localhost.localdomain";
// CodeName, Origin and Description (optional): This settings
// are used by ziyi and put in the Release files.
Origin "archive FDL (abonde)";
Description "archive FDL (abonde)";
CodeName "fdl-stable";
// OverrideCodeName (optional): used by Denise.
OverrideCodeName "fdl-stable";
// Priority (optional) determines which suite is used for the
// Maintainers file as generated by charisma/da_mkmaintainers
// (highest wins).
Priority "3";
// (Unused in this default dak configuration.)
// CopyChanges (optional): if this variable is present it
// should be a path into the archive (i.e. "Dir::RootDir");
// any upload targeted for a suite with this config option
// present will have the .changes file copied into that path.
//
// CopyKatie (optional): if this is present it should be an
// absolute path; any upload targeted for a suite with this
// config option present will have the .katie file copied into
// that path. This option is similar to CopyChanges and will
// most often be used with it; they're seperate because
// .changes files are mirrored and .katie files aren't, so the
// paths will usually be different.
//
// There are more optional variables, such as VersionChecks.
// Please see /usr/share/doc/dak/examples/katie.conf for
// examples.
};
};
// (Unused in this default dak configuration.)
//
// SuiteMappings. Optional. List of mappings for the Distribution
// file in a .changes file, e.g.:
//
// | SuiteMappings
// | {
// | "map stable proposed-updates";
// | "map frozen unstable";
// | "map-unreleased stable unstable";
// | "map-unreleased proposed-updates unstable";
// | "ignore testing";
// | };
//
// There are three mapping types:
//
// (1) map <source> <dest>
//
// Any target suite of '<source>' is unconditionally overriden
// to '<dest>'.
//
// (2) map-unreleased <source> <dest>
//
// Any upload targeted for suite '<source>' will be mapped to
// '<dest>' iff it contains uploads for an architecture that is
// not part of '<source>'.
//
// (3) ignore <suite>
//
// Any target suite of '<suite>' is unconditionally removed from
// the list of target suites. NB: if the upload had only one
// target suite this will lead to rejection.
//
// NB: ordering is not guaranteed.
// Dir. Mandatory. List of directory locations.
Dir
{
// Root (required): Specifies the path of the root of the FTP
// archive.
Root "/var/lib/dak/ftp/";
// Pool (required): This variable specifies the path of the pool
// directory. Debian packages will be placed in the pool by kelly
// after they have been accepted by jennifer.
Pool "/var/lib/dak/ftp/pool/";
// Templates (required): katie sends various mails and uses
// templates from this directory.
Templates "/var/lib/dak/katie/templates/";
// PoolRoot (required): This variable specifies the basename of the
// pool directory.
PoolRoot "pool/";
// Lists (optional): This directory holds file lists used by
// apt-ftparchive to generate Packages and Sources files (used by
// jenna).
Lists "/var/lib/dak/database/dists/";
// Log (required): Log files are put in this directory.
Log "/var/lib/dak/log/";
// Morgue (required): Removed files are moved there. The morgue has
// various sub-directories, including (optionally) those defined by
// Shania::MorgueSubDir and Rhona::MorgueSubDir.
Morgue "/var/lib/dak/morgue/";
// MorgueReject (required): if katie cannot move a rejected package
// to Dir::Queue::Reject, it will try to move it to the
// Dir::MorgueReject directory located under Dir::Morgue.
MorgueReject "reject";
// Override (optional): This directory optionally stores override
// files (used by denise).
Override "/var/lib/dak/scripts/override/";
// UrgencyLog (optional): If this directory is specified, kelly will
// store the urgency value of each upload. This is mainly used for
// britney (the testing script).
UrgencyLog "/var/lib/dak/testing/urgencies/";
// Queue (required): This sub-tree defines important directories for
// the incoming queue. The following variables have to be set:
// Accepted, Byhand Done, Holding, New, Reject, Unchecked. An
// explanation of the function of these directores can be found in
// README.new-incoming.
Queue
{
Accepted "/var/lib/dak/queue/accepted/";
Byhand "/var/lib/dak/queue/byhand/";
Done "/var/lib/dak/queue/done/";
Holding "/var/lib/dak/queue/holding/";
New "/var/lib/dak/queue/new/";
Reject "/var/lib/dak/queue/reject/";
Unchecked "/var/lib/dak/queue/unchecked/";
// Queue::BTSVersionTrack (optional): this directory holds the
// DebBugs Version Tracking support files.
BTSVersionTrack "/var/lib/dak/queue/bts_version_track/";
// (Unused in this default dak configuration.)
// AcceptedAutoBuild (optional): This variable is only relevant if
// any suites are to be auto built, i.e. if
// Dinstall::AcceptedAutoBuildSuites has any values.
};
};
// DB. Essential. List of database details.
DB
{
// Name (required): The name of the PostgreSQL database which has
// been created for katie.
Name "projectb";
// Host (required): The name of the host on which the database is
// located. If the database is local, Host should be blank.
Host "";
// Port (required): The port of the database. If the port is the
// default value (5432), this option should be set to -1.
Port -1;
};
// Architectures. Mandatory. List of all architectures.
Architectures
{
// Both values go into the SQL database's 'architecture' table.
// The description is currently unused.
source "Source";
all "Architecture Independent";
alpha "DEC Alpha";
hurd-i386 "Intel ia32 running the HURD";
hppa "HP PA RISC";
arm "ARM";
i386 "Intel ia32";
ia64 "Intel ia64";
kfreebsd-i386 "Intel IA32 running kFreeBSD";
m68k "Motorola Mc680x0";
mips "MIPS (Big Endian)";
mipsel "MIPS (Little Endian)";
powerpc "PowerPC";
s390 "IBM S/390";
sh "Hitatchi SuperH";
sparc "Sun SPARC/UltraSPARC";
amd64 "AMD x86_64 (AMD64)";
};
// Archive. Mandatory. List of all archives.
Archive
{
localhost.localdomain
{
OriginServer "localhost.localdomain";
PrimaryMirror "localhost.localdomain";
Description "Master Archive for archive FDL (abonde)";
};
};
// Component. Mandatory. List of all components
Component
{
// All three values go into the SQL database's 'component' table.
// MeetsDFSG is currently unused.
main
{
Description "Main";
MeetsDFSG "true";
};
contrib
{
Description "Contrib";
MeetsDFSG "true";
};
non-free
{
Description "Non-free";
MeetsDFSG "false";
};
};
// Section. Mandatory. List of all valid sections.
// The section goes into the 'section' table in SQL database.
Section
{
admin;
base;
comm;
debian-installer;
devel;
doc;
editors;
embedded;
electronics;
games;
gnome;
graphics;
hamradio;
interpreters;
kde;
libdevel;
libs;
mail;
math;
misc;
net;
news;
oldlibs;
otherosfs;
perl;
python;
science;
shells;
sound;
tex;
text;
utils;
web;
x11;
};
// Priority. Mandatory. List of all valid priorities.
// The value is the sorting key. Both the section and it's sorting
// key go into the SQL database's 'priority' table.
Priority
{
required 1;
important 2;
standard 3;
optional 4;
extra 5;
source 0; // i.e. unused
};
// OverrideType. Mandatory. List of al valid override types.
// The type goes into the 'override_type' table in the SQL database.
OverrideType
{
deb;
udeb;
dsc;
};
// Location. Mandatory. List all locations.
// There are three valid values for 'Type': 'legacy', 'legacy-mixed'
// and 'pool'. 'legacy' and 'pool' are assumed to have sections for
// all components listed in the Components section 'legacy-mixed' are
// assumed to mix all components into one location. The 'Archive' and
// 'Type' sections go into the SQL database's 'location' table.
// 'Suites' is a list of existent suites that should be used to
// populate the SQL database.
//
// Note that the archive value specified here must correspond to one
// defined in Archive.
//
// [Note: yes, this is horrible, it dates back to the original `import
// the existent archive into the SQL Database' script (neve)
// and isn't otherwise used. It should be revisited at some
// stage.]
Location
{
// Pool locations on localhost.localdomain
/var/lib/dak/ftp/pool/
{
Archive "localhost.localdomain";
Type "pool";
};
};
// Urgency. Mandatory.
// This defines the valid and default urgency of an upload. If a
// package is uploaded with an urgency not listed here, it will be
// rejected.
Urgency
{
Default "low";
Valid
{
low;
medium;
high;
emergency;
critical;
};
};