deb-changes.5 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. .\" dpkg manual page - deb-changes(5)
  2. .\"
  3. .\" Copyright © 1995-1996 Ian Jackson <ijackson@chiark.greenend.org.uk>
  4. .\" Copyright © 2010 Russ Allbery <rra@debian.org>
  5. .\" Copyright © 2015 Guillem Jover <guillem@debian.org>
  6. .\"
  7. .\" This is free software; you can redistribute it and/or modify
  8. .\" it under the terms of the GNU General Public License as published by
  9. .\" the Free Software Foundation; either version 2 of the License, or
  10. .\" (at your option) any later version.
  11. .\"
  12. .\" This is distributed in the hope that it will be useful,
  13. .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. .\" GNU General Public License for more details.
  16. .\"
  17. .\" You should have received a copy of the GNU General Public License
  18. .\" along with this program. If not, see <https://www.gnu.org/licenses/>.
  19. .
  20. .TH deb-changes 5 "2015-06-01" "Debian Project" "Debian"
  21. .SH NAME
  22. deb\-changes \- Debian changes file format
  23. .
  24. .SH SYNOPSIS
  25. .IB filename .changes
  26. .
  27. .SH DESCRIPTION
  28. Each Debian source package is composed of a .dsc control file, which
  29. contains a number of fields.
  30. Each field begins with a tag, such as
  31. .B Source
  32. or
  33. .B Binary
  34. (case insensitive), followed by a colon, and the body of the field.
  35. Fields are delimited only by field tags.
  36. In other words, field text may be multiple lines in length, but the
  37. installation tools will generally join lines when processing the body
  38. of the field (except in case of the multiline fields
  39. .BR Description ", " Changes ", " Files ", " Checksums-Sha1
  40. and
  41. .BR Checksums-Sha256 ,
  42. see below).
  43. .PP
  44. The control data might be enclosed in an OpenPGP ASCII Armored signature,
  45. as specified in RFC4880.
  46. .
  47. .SH FIELDS
  48. .TP
  49. .BR Format: " \fIformat-version\fP (required)"
  50. The value of this field declares the format version of the file.
  51. The syntax of the field value is a version number with a major and minor
  52. component.
  53. Backward incompatible changes to the format will bump the major version,
  54. and backward compatible changes (such as field additions) will bump the
  55. minor version.
  56. The current format version is \fB1.8\fP.
  57. .TP
  58. .BR Date: " \fIrelease-date\fP (required)"
  59. The date the package was built or last edited.
  60. It must be in the same format as the date in a \fBdeb\-changelog\fP(5)
  61. entry.
  62. The value of this field is usually extracted from the \fIdebian/changelog\fP
  63. file.
  64. .TP
  65. .BR Source: " \fIsource-name\fP [\fB(\fP\fIsource-version\fP\fB)\fP] (required)"
  66. The name of the source package.
  67. If the source version differs from the binary version, then the
  68. \fIsource-name\fP will be followed by a \fIsource-version\fP in parenthesis.
  69. This can happen when the upload is a binary-only non-maintainer upload.
  70. .TP
  71. .BR Binary: " \fIbinary-package-list\fP (required)"
  72. This folded field is a space-separated list of binary packages to upload.
  73. .TP
  74. .BR Architecture: " \fIarch-list\fP"
  75. Lists the architectures of the files currently being uploaded.
  76. Common architectures are \fBamd64\fP, \fBarmel\fP, \fBi386\fP, etc.
  77. Note that the \fBall\fP value is meant for packages that are architecture
  78. independent.
  79. If the source for the package is also being uploaded, the special entry
  80. \fBsource\fP is also present.
  81. Architecture wildcards must never be present in the list.
  82. .TP
  83. .BR Version: " \fIversion-string\fP (required)"
  84. Typically, this is the original package's version number in whatever form
  85. the program's author uses.
  86. It may also include a Debian revision number (for non-native packages).
  87. The exact format and sorting algorithm are described in
  88. .BR deb\-version (5).
  89. .TP
  90. .BR Distribution: " \fIdistribution\fPs (required)"
  91. Lists one or more space-separated distributions where this version should
  92. be installed when it is uploaded to the archive.
  93. .TP
  94. .BR Urgency: " \fIurgency\fP"
  95. The urgency of the upload.
  96. The currently known values, in increasing order of urgency, are:
  97. .BR low ", " medium ", " high ", " critical " and " emergency .
  98. .TP
  99. .BR Maintainer: " \fIfullname-email\fP (required)"
  100. Should be in the format \(lqJoe Bloggs <jbloggs@example.org>\(rq, and is
  101. typically the person who created the package, as opposed to the author of
  102. the software that was packaged.
  103. .TP
  104. .BI Changed\-By: " fullname-email"
  105. Should be in the format \(lqJoe Bloggs <jbloggs@example.org>\(rq, and is
  106. typically the person who prepared the package changes for this release.
  107. .TP
  108. .BR Description: " (required)"
  109. .TQ
  110. .RB " \fIbinary-package-name\fP " \fB\-\fP " \fIbinary-package-summary\fP"
  111. This multiline field contains a list of binary package names followed by
  112. a space, a dash (\(oq\fB\-\fP\(cq) and their possibly truncated short
  113. descriptions.
  114. .TP
  115. .BI Closes: " bug-number-list"
  116. A space-separated list of bug report numbers that have been resolved with
  117. this upload.
  118. The distribution archive software might use this field to automatically
  119. close the referred bug numbers in the distribution bug tracking system.
  120. .TP
  121. .B Binary\-Only: yes
  122. This field denotes that the upload is a binary-only non-maintainer build.
  123. It originates from the \fBbinary\-only=yes\fP key/value from the changelog
  124. matadata entry.
  125. .TP
  126. .BR Changes: " (required)"
  127. .TQ
  128. .I " changelog-entries"
  129. This multiline field contains the concatenated text of all changelog
  130. entries that are part of the upload.
  131. To make this a valid multiline field empty lines are replaced with a
  132. single full stop (\(oq.\(cq) and all lines are indented by one space
  133. character.
  134. The exact content depends on the changelog format.
  135. .TP
  136. .BR Files: " (required)"
  137. .TQ
  138. .RI " " md5sum " " size " " section " " priority " " filename
  139. This multiline field contains a list of files with a md5sum, size, section
  140. and priority for each one.
  141. The first line of the field value (the part on the same line as the field
  142. name followed by a colon) is always empty.
  143. The content of the field is expressed as continuation lines, one line per file.
  144. Each line consists of space-separated entries describing the file:
  145. the md5sum, the file size, the file section, the file priority, and
  146. the file name.
  147. This field lists all files that make up the upload.
  148. The list of files in this field must match the list of files in the
  149. other related \fBChecksums\fP fields.
  150. .TP
  151. .BR Checksums\-Sha1: " (required)"
  152. .TQ
  153. .BR Checksums\-Sha256: " (required)"
  154. .TQ
  155. .RI " " checksum " " size " " filename
  156. These multiline fields contain a list of files with a checksum and size
  157. for each one.
  158. These fields have the same syntax and differ only in the checksum algorithm
  159. used: SHA-1 for \fBChecksums\-Sha1\fP and SHA-256 for \fBChecksums\-Sha256\fP.
  160. The first line of the field value (the part on the same line as the field
  161. name followed by a colon) is always empty.
  162. The content of the field is expressed as continuation lines, one line per file.
  163. Each line consists of space-separated entries describing the file:
  164. the checksum, the file size, and the file name.
  165. These fields list all files that make up the upload.
  166. The list of files in these fields must match the list of files in the
  167. \fBFiles\fP field and the other related \fBChecksums\fP fields.
  168. .
  169. .\" .SH EXAMPLE
  170. .\" .RS
  171. .\" .nf
  172. .\"
  173. .\" .fi
  174. .\" .RE
  175. .
  176. .SH BUGS
  177. The \fBFiles\fP field is inconsistent with the other \fBChecksums\fP fields.
  178. The \fBChange\-By\fP and \fBMaintainer\fP fields have confusing names.
  179. The \fBDistribution\fP field contains information about what is commonly
  180. referred to as a suite.
  181. .SH SEE ALSO
  182. .BR deb\-src\-control (5),
  183. .BR deb\-version (5).