]> git.saurik.com Git - apt.git/blobdiff - doc/apt-ftparchive.1.sgml
Run ispell -h over the man page sources and fix a bunch...
[apt.git] / doc / apt-ftparchive.1.sgml
index ab650e74bdaba7b5be19d18ff7ec6608ab397bd2..84c26d3c735b6b9efd91f4269aa7d0dc8ac549e9 100644 (file)
@@ -49,7 +49,7 @@
 
    <para>
    <command/apt-ftparchive/ is a superset of the &dpkg-scanpackages; program,
-   incorporating it's entire functionality via the <literal/directory/ command.
+   incorporating its entire functionality via the <literal/packages/ command.
    It also contains a contents file generator, <literal/contents/, and an 
    elaborate means to 'script' the generation process for a complete 
    archive.
    The <literal/generate/ command uses a configuration file to describe the 
    archives that are going to be generated. It follows the typical ISC 
    configuration format as seen in ISC tools like bind 8 and dhcpd. 
-   &apt-conf; contains a decsription of the syntax. Note that the generate 
+   &apt-conf; contains a description of the syntax. Note that the generate 
    configuration is parsed in sectional manner, but &apt-conf; is parsed in a
    tree manner. This only effects how the scope tag is handled.
 
    <para>
-   The generate configuration has 4 separate sections, each decribed below.
+   The generate configuration has 4 separate sections, each described below.
 
    <refsect2><title>Dir Section</>
      <Para>
    
    <refsect2><title>TreeDefault Section</>
      <para>
-     Sets defaults specific to <literal/Tree/ sections. All of these 
+     Sets defaults specific to <literal/Tree/ sections. All of these
      variables are substitution variables and have the strings $(DIST), 
      $(SECTION) and $(ARCH) replaced with their respective values.
      
       to be checked without changing. If this limit is passed the mtime of the 
       contents file is updated. This case can occur if the package file is 
       changed in such a way that does not result in a new contents file 
-      [overried edit for instance]. A hold off is allowed in hopes that new 
+      [override edit for instance]. A hold off is allowed in hopes that new 
       .debs will be installed, requiring a new file anyhow. The default is 10, 
       the units are in days.
       </VarListEntry>
       <filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</>
       </VarListEntry>
       
+      <VarListEntry><term>SrcDirectory</term>
+      <ListItem><Para>
+      Sets the top of the source package directory tree. Defaults to
+      <filename>$(DIST)/$(SECTION)/source/</>
+      </VarListEntry>
+      
       <VarListEntry><term>Packages</term>
       <ListItem><Para>
       Sets the output Packages file. Defaults to 
       
       <VarListEntry><term>FileList</term>
       <ListItem><Para>
-      Specifies that instead of walking the directory tree 
-      that <command/apt-ftparchive/ should read the list of files from the given 
+      Specifies that instead of walking the directory tree, 
+      <command/apt-ftparchive/ should read the list of files from the given 
       file. Relative files names are prefixed with the archive directory.
       </VarListEntry>
       
       <VarListEntry><term>SourceFileList</term>
       <ListItem><Para>
-      Specifies that instead of walking the directory tree 
-      that <command/apt-ftparchive/ should read the list of files from the given 
+      Specifies that instead of walking the directory tree, 
+      <command/apt-ftparchive/ should read the list of files from the given 
       file. Relative files names are prefixed with the archive directory. 
       This is used when processing source indexs.
       </VarListEntry>
@@ -336,7 +342,7 @@ for i in Sections do
       <VarListEntry><term>Architectures</term>
       <ListItem><Para>
       This is a space separated list of all the 
-      architectures that appear under seach section. The special architecture 
+      architectures that appear under search section. The special architecture 
       'source' is used to indicate that this tree has a source archive.
       </VarListEntry>
       
@@ -345,12 +351,22 @@ for i in Sections do
       Sets the binary override file. The override file 
       contains section, priority and maintainer address information.
       </VarListEntry>
-      
+
       <VarListEntry><term>SrcOverride</term>
       <ListItem><Para>
       Sets the source override file. The override file 
       contains section information.
       </VarListEntry>
+      
+      <VarListEntry><term>ExtraOverride</term>
+      <ListItem><Para>
+      Sets the binary extra override file. 
+      </VarListEntry>
+      
+      <VarListEntry><term>SrcExtraOverride</term>
+      <ListItem><Para>
+      Sets the source extra override file. 
+      </VarListEntry>
      </VariableList>
    </refsect2>
    
@@ -378,7 +394,7 @@ for i in Sections do
       Sets the Contents file output. (Optional)
       </VarListEntry>
       
-      <VarListEntry><term>Binoverride</term>
+      <VarListEntry><term>BinOverride</term>
       <ListItem><Para>
       Sets the binary override file.
       </VarListEntry>
@@ -388,6 +404,16 @@ for i in Sections do
       Sets the source override file.
       </VarListEntry>
       
+      <VarListEntry><term>ExtraOverride</term>
+      <ListItem><Para>
+      Sets the binary extra override file.
+      </VarListEntry>
+      
+      <VarListEntry><term>SrcExtraOverride</term>
+      <ListItem><Para>
+      Sets the source extra override file.
+      </VarListEntry>
+      
       <VarListEntry><term>BinCacheDB</term>
       <ListItem><Para>
       Sets the cache DB.
@@ -409,7 +435,7 @@ for i in Sections do
  <RefSect1><Title>The Binary Override File</>
    <para>
    The binary override file is fully compatible with &dpkg-scanpackages;. It
-   contains 4 fields sperated by spaces. The first field is the package name,
+   contains 4 fields separated by spaces. The first field is the package name,
    the second is the priority to force that package to, the third is the
    the section to force that package to and the final field is the maintainer 
    permutation field. 
@@ -431,6 +457,13 @@ for i in Sections do
    package name, the second is the section to assign it.
  </RefSect1>   
 
+ <RefSect1><title>The Extra Override File</>
+   <para>
+   The extra override file allows any arbitrary tag to be added or replaced
+   in the output. It has 3 columns, the first is the package, the second is
+   the tag and the remainder of the line is the new value.
+ </RefSect1>   
+
  <RefSect1><Title>Options</>
    &apt-cmdblurb;
    
@@ -491,6 +524,17 @@ for i in Sections do
    </VariableList>
  </RefSect1>
 
+<RefSect1><Title>Examples</>
+
+<para>To create a compressed Packages file for a directory containing
+binary packages (.deb):
+
+<programlisting
+<command/apt-ftparchive/ packages <replaceable/directory/ | <command/gzip/ > <filename/Packages.gz/
+</programlisting>
+
+</RefSect1>
+
  <RefSect1><Title>See Also</>
    <para>
    &apt-conf;