Commit 3c7d9160 authored by Guillem Jover's avatar Guillem Jover

deb-src-control(5): Document Private- field prefix

This prefix avoids getting warnins from dpkg-deb for unknown fields, and
also avoids stomping over the global namespace so that no future
official field will be reused.
parent 1cfc90c6
......@@ -26,6 +26,7 @@ dpkg (1.16.5) UNRELEASED; urgency=low
* Do not assume $ENV{'HOME'} is defined in Dpkg::Source::Package.
Thanks to Niels Thykier <>. Closes: #677631
* Document in more detail in deb(5) the supported ar archive format.
* Document in deb-src-control(5) the Private- field prefix.
[ Updated dpkg translations ]
* Swedish (Peter Krefting).
......@@ -2,6 +2,7 @@
.\" Copyright © 2010 Oxan van Leeuwen <>
.\" Copyright © 2011 Raphaël Hertzog <>
.\" Copyright © 2011-2012 Guillem Jover <>
.\" This is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
......@@ -16,7 +17,7 @@
.\" You should have received a copy of the GNU General Public License
.\" along with this program. If not, see <>.
.TH deb\-src\-control 5 "2012-05-16" "Debian Project" "Debian"
.TH deb\-src\-control 5 "2012-06-16" "Debian Project" "Debian"
deb\-src\-control \- Debian source packages' master control file format
......@@ -325,6 +326,11 @@ output files. A field \fBXC\-Approved\-By\fP will appear as
\fBApproved\-By\fP 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 \fBPrivate\-\fP, such as \fBXB\-Private\-New\-Field\fP, which as
a side effect will make \fBdpkg\-deb\fP not warn on them as unknown fields.
.\" .RS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment