deb-control.5 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. .\" Hey, Emacs! This is an -*- nroff -*- source file.
  2. .\" Author: Raul Miller
  3. .\" Includes text from the debian Guidelines by Ian Jackson, Ian Murdock
  4. .TH DEB-CONTROL 5 "29th November 1995" "Debian Project" "Debian GNU/Linux"
  5. .SH NAME
  6. deb\-control \- Debian GNU/Linux packages' master control file format
  7. .SH SYNOPSIS
  8. control
  9. .SH DESCRIPTION
  10. Master control file format:
  11. .LP
  12. The `control' file contains a number of fields. Each field begins
  13. with a tag, such as `PACKAGE' or `VERSION' (case insensitive),
  14. followed by a colon, and the body of the field. Fields are delimited
  15. only by field tags. In other words, field text may be multiple lines
  16. in length, but the installation tools will generally join lines when
  17. processing the body of the field.
  18. .SH REQUIRED FIELDS
  19. .TP
  20. .BR PACKAGE: \ <Short\ name\ of\ package>
  21. The value of this field is used to generate file names by some
  22. installation tools.
  23. .TP
  24. .BR VERSION: \ <Original\ version\ number>
  25. typically, this is the original portable package's version
  26. number in whatever form the program's author uses.
  27. .TP
  28. .BR PACKAGE_REVISION: \ <Debian\ package\ revision\ number>
  29. this should usually be a plain number, or perhaps two numbers
  30. separated by a full stop.
  31. .TP
  32. .BR MAINTAINER: \ <Name\ and\ e-mail\ address\ of\ package\ maintainer>
  33. should be in the format Joe Bloggs <jbloggs@foo.com>.
  34. .TP
  35. .BR DESCRIPTION: \ <Description\ of\ package>
  36. .SH OPTIONAL FIELDS
  37. .TP
  38. .BR DEPENDS: \ <Short\ names\ of\ prerequisite\ packages>
  39. list of packages that are required for this package to provide a
  40. non-trivial amount of functionality. The package maintenance software
  41. will not allow a package to be installed without also installing
  42. packages listed in its
  43. .B DEPENDS
  44. field, and will rin the postinst scripts of packages listed in DEPENDS
  45. fields before those of the packages which depend on them, and run
  46. prerm scripts before.
  47. .TP
  48. .BR RECOMMENDED: \ <Short\ names\ of\ related,\ recommended\ packages>
  49. lists packages that would be found together with
  50. this one in all but unusual installations. The package maintenance
  51. software will warn the user if they install a package without those
  52. listed in its
  53. .B RECOMMENDED
  54. field.
  55. .LP
  56. The syntax of
  57. .B DEPENDS
  58. and
  59. .B RECOMMENDED
  60. is a list of groups of alternative packages. Each group is a list of
  61. packages separated by vertical bar (or `pipe') symbols, `|'. The
  62. groups are separated by commas. Each package is a package name
  63. optionally followed by a version number specification in parentheses.
  64. A version number may start with a `>', in which case any later version
  65. will match, and may specify or omit the Debian packaging revision
  66. (separated by a hyphen). Commas are to be read as `AND', and pipes as
  67. `OR', with pipes binding more tightly.
  68. .TP
  69. .BR OPTIONAL: \ <Short\ names\ of\ related,\ optional\ packages>
  70. lists packages that are related to this one and can perhaps enhance
  71. its usefulness, but without which installing this package is perfectly
  72. reasonable. The package maintenance software will not moan at the
  73. user for not selecting
  74. .B OPTIONAL
  75. related packages, but may use the information in the
  76. .B OPTIONAL
  77. field to assist the user during package selection.
  78. .TP
  79. .BR CONFLICTS: \ <Short\ names\ of\ packages\ which\ conflict\ with\ this\ one>
  80. lists packages that conflict with this one, for example by containing
  81. files with the same names (an example would be Smail vs. Sendmail).
  82. The package maintenance software will not allow conflicting packages
  83. to be installed. Two conflicting packages should each include a
  84. .B CONFLICTS
  85. line mentioning the other.
  86. .LP
  87. The syntax of
  88. .B OPTIONAL
  89. and
  90. .B CONFLICTS
  91. is a list of package names, separated by commas (and optional
  92. whitespace). In the
  93. .B CONFLICTS
  94. field, the comma should be read as `OR'.
  95. .SH BUGS
  96. This manpage is seriously out of date.
  97. .SH SEE ALSO
  98. .BR deb (5),
  99. .BR dpkg (5),
  100. .BR dpkg (8),
  101. .BR dpkg-dep (8),
  102. .BR dselect (8).