//------------------------------------------------------------------------ // This is an apt-ftparchive(1) configuration file used to create // a repository of Debian packages. // // We intend to provide packages to be installed onto a standard Debian // box, so our distributions $(DIST) are named upon official Debian // ones: woody, sarge, etch, ... // // Our sections $(SECTION) are named accordingly to the purpose of the // packages: gis (packages for a GIS workstation), server (packages // suitable for a server), ... // We do not follow the official Debian components (main, non-free, ...) // // Usage: apt-ftparchive generate repository.conf // //------------------------------------------------------------------------ //------------------------------------------------------------------------ // The Dir section defines the standard directories needed to locate // the files required during the generation process. //------------------------------------------------------------------------ Dir { // Specifies the root of the FTP archive, this is the // directory that contains the dist node. ArchiveDir "/home/madkiss/public_html/ubuntu-ppa"; // Specifies the location of the cache files used by // apt-ftparchive to cache the contents of .deb files. CacheDir "/home/madkiss/public_html/ubuntu-ppa/ftparchive/"; // Specifies the location of the override files. // There can be override files for binary, source and extra. OverrideDir "/home/madkiss/public_html/ubuntu-ppa/indices"; // Specifies the location of the file list files, if the // FileList setting is used (see below). FileListDir "/home/madkiss/public_html/ubuntu-ppa/indices"; }; //------------------------------------------------------------------------ // The Default section specifies default values, and settings that // control the operation of the generator. Other sections may override // these defaults with a per-section setting. //------------------------------------------------------------------------ Default { Packages::Compress ". gzip bzip2"; Sources::Compress ". gzip bzip2"; Contents::Compress ". gzip bzip2"; }; //------------------------------------------------------------------------ // Sets defaults specific to Tree sections. All of these variables are // substitution variables and have the strings $(DIST), $(SECTION) and // $(ARCH) replaced with their respective values. // // DIST Something like stable, testing, ... // SECTION Something like main, non-free, contrib // ARCH Something like i386, m68k, ... //------------------------------------------------------------------------ TreeDefault { // Binary cache database for this section. Creted into CacheDir. BinCacheDB "packages-$(SECTION)-$(ARCH).db"; // Sets the top of the .deb directory tree. Directory "pool/$(SECTION)"; // Sets the output Packages file. Packages "$(DIST)/$(SECTION)/binary-$(ARCH)/Packages"; // Sets the top of the source package directory tree. SrcDirectory "pool/$(SECTION)/source/"; // Sets the output Sources file. Sources "$(DIST)/$(SECTION)/source/Sources"; // Sets the output Contents file. Contents "$(DIST)/Contents-$(ARCH)"; }; //------------------------------------------------------------------------ // The Tree section defines a standard Debian file tree which consists // of a base directory, then multiple sections in that base directory // and finally multiple Architectures in each section. //------------------------------------------------------------------------ Tree "dists/lucid" { // This is a space separated list of sections which appear under // the distribution, typically this is something like main // contrib non-free Sections "main"; // This is a space separated list of all the architectures that // appear under search section. The special architecture 'source' // is used to indicate that this tree has a source archive. Architectures "amd64 i386 source"; }