]> git.saurik.com Git - apt.git/blame - doc/examples/ftp-archive.conf
* move the ListUpdate() code from cachefile.h into algorithms.{cc,h}
[apt.git] / doc / examples / ftp-archive.conf
CommitLineData
b2e465d6
AL
1/* This configuration file describes the standard Debian distribution
2 as it once looked */
3
4Dir
5{
6 ArchiveDir "/org/ftp.debian.org/ftp/";
7 OverrideDir "/org/ftp.debian.org/scripts/override/";
8 CacheDir "/org/ftp.debian.org/scripts/cache/";
9};
10
11Default
12{
13 Packages::Compress ". gzip";
14 Sources::Compress "gzip";
15 Contents::Compress "gzip";
16 DeLinkLimit 10000; // 10 Meg delink per day
e0813f63 17 MaxContentsChange 10000; // 10 Meg of new contents files per day
b2e465d6
AL
18};
19
20TreeDefault
21{
22 Contents::Header "/org/ftp.debian.org/scripts/masterfiles/Contents.top";
23 BinCacheDB "packages-$(ARCH).db";
24
25 // These are all defaults and are provided for completeness
26 Directory "$(DIST)/$(SECTION)/binary-$(ARCH)/";
27 Packages "$(DIST)/$(SECTION)/binary-$(ARCH)/Packages";
28
29 SrcDirectory "$(DIST)/$(SECTION)/source/";
30 Sources "$(DIST)/$(SECTION)/source/Sources";
31
32 Contents "$(DIST)/Contents-$(ARCH)";
33};
34
35tree "dists/woody"
36{
37 Sections "main contrib non-free";
38 Architectures "alpha arm hurd-i386 i386 m68k powerpc sparc sparc64 source";
39 BinOverride "override.woody.$(SECTION)";
40 SrcOverride "override.woody.$(SECTION).src";
41};
42
43tree "dists/potato"
44{
45 Sections "main contrib non-free";
46 Architectures "alpha arm i386 m68k powerpc sparc source";
47 BinOverride "override.potato.$(SECTION)";
48 SrcOverride "override.woody.$(SECTION).src";
49};
50
51tree "dists/slink"
52{
53 Sections "main contrib non-free";
54 Architectures "alpha i386 m68k sparc source";
55 BinOverride "override.slink.$(SECTION)";
56 SrcOverride "override.woody.$(SECTION).src";
57 External-Links false; // Slink should contain no links outside itself
58};
59
60
61bindirectory "project/experimental"
62{
63 Sources "project/experimental/Sources";
64 Packages "project/experimental/Packages";
65
66 BinOverride "override.experimental";
67 BinCacheDB "packages-experimental.db";
68 SrcOverride "override.experimental.src";
69};
70
71bindirectory "dists/proposed-updates"
72{
73 Packages "project/proposed-updates/Packages";
74 Contents "project/proposed-updates/Contents";
75
76 BinOverride "override.slink.all3";
77 BinOverride "override.slink.all3.src";
78 BinCacheDB "packages-proposed-updates.db";
79};
80
81