deb-control.5 3.8 KB

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