Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   deb-src-control    ( 5 )

формат главного управляющего файла пакетов исходного кода Debian (Debian source packages' master control file format)

  Name  |  Synopsis  |  Description  |  Source fields  |  Binary fields  |    User-defined fields    |  Examples  |  See also  |

USER-DEFINED FIELDS

It is allowed to add additional user-defined fields to the
       control file. The tools will ignore these fields. If you want the
       fields to be copied over to the output files, such as the binary
       packages, you need to use a custom naming scheme: the fields
       should start with an X, followed by zero or more of the letters
       SBC and a hyphen.

S The field will appear in the source package control file, see dsc(5).

B The field will appear in the control file in the binary package, see deb-control(5).

C The field will appear in the upload control (.changes) file, see deb-changes(5).

Note that the X[SBC]- prefixes are stripped when the fields are copied over to the output files. A field XC-Approved-By will appear as Approved-By in the changes file and will not appear in the binary or source package control files.

Take into account that these user-defined fields will be using the global namespace, which might at some point in the future collide with officially recognized fields. To avoid such potential situation you can prefix those fields with Private-, such as XB-Private-New-Field.