1 <!-- -*- mode: sgml; mode: fold -*- -->
2 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
4 <!ENTITY % dakent SYSTEM "dak.ent">
13 <refentrytitle>dak_make-maintainers</>
17 <!-- Man page title -->
19 <refname>dak make-maintainers</>
20 <refpurpose>Utility to generate an index of package's maintainers</>
26 <command>dak make-maintainers</>
27 <arg><option><replaceable>options</replaceable></></arg>
28 <arg choice="plain"><replaceable>extra file...</replaceable></arg>
32 <RefSect1><Title>Description</>
34 <command>dak make-maintainers</command> is a utility to generate an index of package's maintainers. The output format is:
35 <literallayout>package~version maintainer</literallayout>
36 The input format of extra files can either be in this form or in the old style which is similar, but lacking the version number, i.e.:
37 <literallayout>package maintainer</literallayout>
38 dak Make-Maintainers will auto-detect the type of layout of the extra file. If the extra file is in the old style format the records in it are assumed to supersed any that were seen earlier (i.e. either from earlier extra files or generated from the SQL).
41 dak Make-Maintainers determines the maintainer of a package by comparing suite priority (see 'Configuration') and then version number.
45 <RefSect1><Title>Options</>
48 <VarListEntry><term><option>-h/--help</option></>
50 <Para>Show help and then exit.</PARA>
58 <title>Configuration</title>
59 <para><command>dak make-maintainers</command> uses dak's configuration file. It follows the typical ISC configuration format as seen in ISC tools like bind 8 and dhcpd. Apart from being able to alter the defaults for command line options, the following configuration items are used:</para>
62 <term>Suite::<SUITE>::Priority</term>
64 <para>Suite priority overrides the version checks dak make-maintainers does. A package in higher priority suite overrides versions in lower priority suites even if the version number in the higher priority suite is older.</para>
71 <title>New versus Old output format</title>
72 <para>Converting the new output format to the old output format is easy with some simple sed + awk, e.g.
73 <literallayout>sed -e "s/~[^ ]*\([ ]\)/\1/" | awk '{printf "%-20s ", $1; for (i=2; i<=NF; i++) printf "%s ", $i; printf "\n";}'</literallayout>
77 <RefSect1><Title>Diagnostics</>
79 <command>dak make-maintainers</command> returns zero on normal operation, non-zero on error.