]> git.decadent.org.uk Git - dak.git/blob - config/backports/dak.conf
020a9963fa1e5afb5441e5a23132bd3a4f5b1cb1
[dak.git] / config / backports / dak.conf
1 Dinstall
2 {
3    // Both need to be defined at the moment, but they can point to the
4    // same file.
5    GPGKeyring {
6       "/srv/backports-master.debian.org/keyrings/keyring.gpg";
7    };
8    // To sign the release files. Adjust the keyid!
9    // Note: Key must be without a passphrase or it wont work automagically!
10    SigningKeyring "/srv/backports-master.debian.org/s3kr1t/dot-gnupg/secring.gpg";
11    SigningPubKeyring "/srv/backports-master.debian.org/s3kr1t/dot-gnupg/pubring.gpg";
12    SendmailCommand "/usr/sbin/sendmail -oi -t -f envelope@backports.debian.org";
13    MyEmailAddress "Backports Debian FTP Masters <ftpmaster@backports.debian.org>";
14    MyAdminAddress "ftpmaster@backports.debian.org";
15    MyHost "backports.debian.org";  // used for generating user@my_host addresses in e.g. manual_reject()
16    MyDistribution "backports.debian.org archive"; // Used in emails
17    // Alicia and melanie can use it
18    BugServer "bugs.debian.org";
19    // melanie uses the packages server.
20    // PackagesServer "packages.test.backports.org";
21    // If defined then the package@this.server gets a copy of most of the
22    // actions related to the package. For an example look at
23    // packages.qa.debian.org
24    // TrackingServer "packages.qa.test.backports.org";
25    LockFile "/srv/backports-master.debian.org/lock/dinstall.lock";
26    // If defined this address gets a bcc of all mails.
27    // FIXME: Einrichten wenn das hier produktiv geht!
28    Bcc "debian-backports-changes@lists.debian.org";
29    GroupOverrideFilename "override.group-maint";
30    FutureTimeTravelGrace 28800; // 8 hours
31    PastCutoffYear "1984";
32    SkipTime 300;
33    // If defined then mails to close bugs are sent to the bugserver.
34    CloseBugs "false";
35    OverrideDisparityCheck "false";
36    DefaultSuite "lenny-backports";
37    Reject
38    {
39      NoSourceOnly "true";
40      ReleaseTransitions "/srv/backports-master.debian.org/hints/transitions.yaml";
41    };
42    // If set, only send mails to addresses listed there.
43    // format of entries: one entry per line. Either an email address directly, or a regular expression,
44    // prefixed by "RE:". Examples: "jane.doe@domain.com" or "RE:jane[^@]@domain.com", where the first will
45    // only allow to mail jane.doe@domain.com while the second will mail all of jane*@domain.com
46    MailWhiteList "/srv/backports-master.debian.org/dak/config/backports/mail-whitelist";
47 };
48
49 Generate-Index-Diffs
50 {
51    Options
52    {
53      TempDir "/srv/backports-master.debian.org/tiffani";
54      MaxDiffs { Default 50; };
55    };
56 };
57
58 Add-User
59 {
60 // Should we sent a mail to newly added users?
61   SendEmail "true";
62
63 // Should we create an account so they can login?
64 // Account will be created with the defaults from adduser, so adjust
65 // it's configuration to fit your needs.
66 // NOTE: This requires that your dak user has a sudo entry, allowing
67 // to run /usr/sbin/useradd!
68   CreateAccount "false";
69
70 // Note: This is a comma separated list of additional groupnames to
71 // which uma should add the user. NO spaces between the groupnames or
72 // useradd will die.
73 // Disable it if you dont want or need that feature.
74 //  GID "debuser";
75
76 };
77
78 Show-New
79 {
80   HTMLPath "/srv/backports-web.debian.org/underlay/new/";
81 }
82
83 Check-Overrides
84 {
85   OverrideSuites
86   {
87     lenny-backports
88     {
89       Process "1";
90 //      OriginSuite "Unstable";
91     };
92
93     lenny-backports-sloppy
94     {
95       Process "1";
96 //      OriginSuite "Unstable";
97     };
98
99     squeeze-backports
100     {
101       Process "1";
102 //      OriginSuite "Unstable";
103     };
104
105   };
106 };
107
108
109 Import-Users-From-Passwd
110 {
111   // The Primary GID of your users. Using uma it is the gid from group users.
112   ValidGID "800";
113   // Comma separated list of users who are in Postgres but not the passwd file
114   KnownPostgres "postgres,katie,dak,www-data,qa,guest,repuser";
115 };
116
117 Queue-Report
118 {
119   ReportLocations
120   {
121     822Location "/srv/backports-web.debian.org/underlay/new.822";
122   };
123 };
124
125 Clean-Queues
126 {
127   Options
128   {
129     Days 14;
130    };
131  MorgueSubDir "queues";
132 };
133
134 Control-Overrides
135 {
136   Options
137   {
138     Component "main";
139     Suite "lenny-backports";
140     Type "deb";
141    };
142
143  ComponentPosition "prefix"; // Whether the component is prepended or appended to the section name
144 };
145
146 Rm
147 {
148   Options
149   {
150     Suite "lenny-backports";
151    };
152
153    LogFile "/srv/backports-web.debian.org/underlay/removals.txt";
154    LogFile822 "/srv/backports-web.debian.org/underlay/removals.822";
155 };
156
157 Import-Archive
158 {
159   ExportDir "/srv/backports-master.debian.org/dak/import-archive-files/";
160 };
161
162 Clean-Suites
163 {
164   // How long (in seconds) dead packages are left before being killed
165   StayOfExecution 1209600; // 14 days
166   AcceptedAutoBuildStayOfExecution 86400; // 24 hours
167   MorgueSubDir "pool";
168 };
169
170 Process-New
171 {
172   DinstallLockFile "/srv/backports-master.debian.org/lock/processnew.lock";
173   LockDir "/srv/backports-master.debian.org/lock/new/";
174 };
175
176 Suite
177 {
178   lenny-backports
179   {
180         Components
181         {
182           main;
183           contrib;
184           non-free;
185         };
186   };
187
188   lenny-backports-sloppy
189   {
190         Components
191         {
192           main;
193           contrib;
194           non-free;
195         };
196   };
197
198   squeeze-backports
199   {
200         Components
201         {
202           main;
203           contrib;
204           non-free;
205         };
206   };
207
208 };
209
210 Dir
211 {
212   Root "/srv/backports-master.debian.org/ftp/";
213   Pool "/srv/backports-master.debian.org/ftp/pool/";
214   Export "/srv/backports-master.debian.org/export/";
215   Templates "/srv/backports-master.debian.org/dak/templates/";
216   PoolRoot "pool/";
217   Lists "/srv/backports-master.debian.org/database/dists/";
218   Cache "/srv/backports-master.debian.org/database/";
219   Log "/srv/backports-master.debian.org/log/";
220   Lock "/srv/backports-master.debian.org/lock";
221   Morgue "/srv/backports-master.debian.org/morgue/";
222   MorgueReject "reject";
223   Override "/srv/backports-master.debian.org/scripts/override/";
224   QueueBuild "/srv/backports-master.debian.org/buildd/";
225   UrgencyLog "/srv/backports-master.debian.org/testing/urgencies/";
226   TempPath "/srv/backports-master.debian.org/tmp";
227   Queue
228   {
229     Byhand "/srv/backports-master.debian.org/queue/byhand/";
230     Done "/srv/backports-master.debian.org/queue/done/";
231     Holding "/srv/backports-master.debian.org/queue/holding/";
232     New "/srv/backports-master.debian.org/queue/new/";
233     Reject "/srv/backports-master.debian.org/queue/reject/";
234     Unchecked "/srv/backports-master.debian.org/queue/unchecked/";
235     BTSVersionTrack "/srv/backports-master.debian.org/queue/bts_version_track/";
236     Newstage "/srv/backports-master.debian.org/queue/newstage/";
237     Embargoed "/srv/backports-master.debian.org/queue/Embargoed/";
238     Unembargoed "/srv/backports-master.debian.org/queue/Unembargoed/";
239     ProposedUpdates "/srv/backports-master.debian.org/queue/p-u-new/";
240     OldProposedUpdates "/srv/backports-master.debian.org/queue/Unembargoed/";
241   };
242 };
243
244 DB
245 {
246   Service "backports";
247   // PoolSize should be at least ThreadCount + 1
248   PoolSize 5;
249   // MaxOverflow shouldn't exceed postgresql.conf's max_connections - PoolSize
250   MaxOverflow 13;
251   // should be false for encoding == SQL_ASCII
252   Unicode "false"
253 };
254
255 SuiteMappings
256 {
257  "map lenny lenny-backports";
258  "map lenny-bpo lenny-backports";
259  "map lenny-bpo-sloppy lenny-backports-sloppy";
260  "map squeeze squeeze-backports";
261  "map squeeze-bpo squeeze-backports";
262 };
263
264 Architectures
265 {
266   source "Source";
267   all "Architecture Independent";
268   alpha "DEC Alpha";
269   amd64 "AMD x86_64 (AMD64)";
270   hurd-i386 "Intel ia32 running the HURD";
271   hppa "HP PA RISC";
272   arm "ARM";
273   armel "ARM EABI";
274   i386 "Intel ia32";
275   ia64 "Intel ia64";
276   m68k "Motorola Mc680x0";
277   mips "MIPS (Big Endian)";
278   mipsel "MIPS (Little Endian)";
279   powerpc "PowerPC";
280   s390 "IBM S/390";
281   sh "Hitatchi SuperH";
282   sparc "Sun SPARC/UltraSPARC";
283   kfreebsd-i386 "GNU/kFreeBSD i386";
284   kfreebsd-amd64 "GNU/kFreeBSD amd64";
285 };
286
287 Archive
288 {
289   backports
290   {
291     OriginServer "backports.debian.org";
292     PrimaryMirror "backports.debian.org";
293     Description "Master Archive for backports.debian.org archive";
294   };
295 };
296
297 Component
298 {
299   main
300   {
301         Description "Main";
302         MeetsDFSG "true";
303   };
304
305   contrib
306   {
307         Description "Contrib";
308         MeetsDFSG "true";
309   };
310
311   non-free
312   {
313      Description "Software that fails to meet the DFSG";
314      MeetsDFSG "false";
315   };
316
317 };
318
319 Section
320 {
321   admin;
322   cli-mono;
323   comm;
324   database;
325   debian-installer;
326   debug;
327   devel;
328   doc;
329   editors;
330   embedded;
331   electronics;
332   fonts;
333   games;
334   gnome;
335   graphics;
336   gnu-r;
337   gnustep;
338   hamradio;
339   haskell;
340   httpd;
341   interpreters;
342   java;
343   kde;
344   kernel;
345   libdevel;
346   libs;
347   lisp;
348   localization;
349   mail;
350   math;
351   misc;
352   net;
353   news;
354   ocaml;
355   oldlibs;
356   otherosfs;
357   perl;
358   php;
359   python;
360   ruby;
361   science;
362   shells;
363   sound;
364   tex;
365   text;
366   utils;
367   web;
368   vcs;
369   video;
370   x11;
371   xfce;
372   zope;
373 };
374
375 Priority
376 {
377   required 1;
378   important 2;
379   standard 3;
380   optional 4;
381   extra 5;
382   source 0; // i.e. unused
383 };
384
385 OverrideType
386 {
387   deb;
388   udeb;
389   dsc;
390 };
391
392 Location
393 {
394   // Pool locations on backports.debian.org
395   /srv/backports-master.debian.org/ftp/pool/
396     {
397       Archive "backports";
398       Type "pool";
399     };
400
401 };
402
403 Urgency
404 {
405   Default "low";
406   Valid
407   {
408     low;
409     medium;
410     high;
411     emergency;
412     critical;
413   };
414 };
415
416 Common
417 {
418   // The default number of threads for multithreading parts of dak:
419   ThreadCount 16;
420 }
421
422 Import-LDAP-Fingerprints
423 {
424   LDAPDn "ou=users,dc=debian,dc=org";
425   LDAPServer "db.debian.org";
426   ExtraKeyrings
427   {
428     "/srv/keyring.debian.org/keyrings/removed-keys.pgp";
429     "/srv/keyring.debian.org/keyrings/removed-keys.gpg";
430     "/srv/keyring.debian.org/keyrings/extra-keys.pgp";
431   };
432   KeyServer "wwwkeys.eu.pgp.net";
433 };
434
435 Changelogs
436 {
437   Export "/srv/backports-master.debian.org/export/changelogs";
438 }
439
440 Generate-Releases
441 {
442   MD5Sum
443   {
444     lenny-backports;
445     lenny-backports-sloppy;
446     squeeze-backports;
447   };
448   SHA1
449   {
450     lenny-backports;
451     lenny-backports-sloppy;
452     squeeze-backports;
453   };
454   SHA256
455   {
456     lenny-backports;
457     lenny-backports-sloppy;
458     squeeze-backports;
459   };
460 }