[Reproducible-commits] [dpkg] 14/26: man: Add new deb822(5) man page
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Jan 15 21:11:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository dpkg.
commit 17ab352ea8b4735eac13bd00c6394c50c0f49ba7
Author: Guillem Jover <guillem at debian.org>
Date: Sun Oct 11 03:48:31 2015 +0200
man: Add new deb822(5) man page
Adapted from the Debian policy manual.
---
debian/changelog | 1 +
debian/dpkg-dev.manpages | 1 +
man/Makefile.am | 1 +
man/deb822.5 | 135 +++++++++++++++++++++++++++++++++++++++++++++++
man/po/po4a.cfg | 3 ++
5 files changed, 141 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8625837..805a1f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
- Fix reference to --record-avail instead of inexistent --avail.
- Add missing quotes in man pages.
- Document Source field version in deb-control(5).
+ - Add new deb822(5) man page.
-- Guillem Jover <guillem at debian.org> Fri, 25 Dec 2015 14:20:16 +0100
diff --git a/debian/dpkg-dev.manpages b/debian/dpkg-dev.manpages
index 0aa70d1..0a08ac6 100644
--- a/debian/dpkg-dev.manpages
+++ b/debian/dpkg-dev.manpages
@@ -13,6 +13,7 @@ debian/tmp/usr/share/man/*/deb-symbols.5
debian/tmp/usr/share/man/*/deb-triggers.5
debian/tmp/usr/share/man/*/deb-old.5
debian/tmp/usr/share/man/*/deb.5
+debian/tmp/usr/share/man/*/deb822.5
debian/tmp/usr/share/man/*/dsc.5
debian/tmp/usr/share/man/*/dpkg-architecture.1
debian/tmp/usr/share/man/*/dpkg-buildflags.1
diff --git a/man/Makefile.am b/man/Makefile.am
index 06fdcc4..f656b6b 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -16,6 +16,7 @@ dist_man_MANS = \
deb-override.5 \
deb-extra-override.5 \
deb.5 \
+ deb822.5 \
dpkg-architecture.1 \
dpkg-buildflags.1 \
dpkg-buildpackage.1 \
diff --git a/man/deb822.5 b/man/deb822.5
new file mode 100644
index 0000000..8e1ede1
--- /dev/null
+++ b/man/deb822.5
@@ -0,0 +1,135 @@
+.\" dpkg manual page - deb822(5)
+.\"
+.\" Copyright © 1995-1996 Ian Jackson <ijackson at chiark.greenend.org.uk>
+.\" Copyright © 2015 Guillem Jover <guillem at debian.org>
+.\"
+.\" This is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation; either version 2 of the License, or
+.\" (at your option) any later version.
+.\"
+.\" This is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with this program. If not, see <https://www.gnu.org/licenses/>.
+.
+.TH deb822 5 "2015-06-01" "Debian Project" "Debian"
+.SH NAME
+deb822 \- Debian RFC822 control data format
+.
+.SH DESCRIPTION
+The package management system manipulates data represented in a common
+format, known as \fIcontrol data\fP, stored in \fIcontrol files\fP.
+Control files are used for source packages, binary packages and the
+\fB.changes\fP files which control the installation of uploaded
+files (\fBdpkg\fP's internal databases are in a similar format).
+.
+.SH SYNTAX
+A control file consists of one or more paragraphs of fields (the paragraphs
+are also sometimes referred to as stanzas).
+The paragraphs are separated by empty lines.
+Parsers may accept lines consisting solely of spaces and tabs as paragraph
+separators, but control files should use empty lines.
+Some control files allow only one paragraph; others allow several, in which
+case each paragraph usually refers to a different package.
+(For example, in source packages, the first paragraph refers to the source
+package, and later paragraphs refer to binary packages generated from the
+source.)
+The ordering of the paragraphs in control files is significant.
+
+Each paragraph consists of a series of data fields.
+Each field consists of the field name followed by a colon and then the
+data/value associated with that field.
+The field name is composed of US-ASCII characters excluding control
+characters, space, and colon (i.e., characters in the ranges 33-57 and
+59-126, inclusive).
+Field names must not begin with the comment character (\(oq\fB#\fP\(cq),
+nor with the hyphen character (\(oq\fB\-\fP\(cq).
+
+The field ends at the end of the line or at the end of the last continuation
+line (see below).
+Horizontal whitespace (spaces and tabs) may occur immediately before or after
+the value and is ignored there; it is conventional to put a single space after
+the colon.
+For example, a field might be:
+.RS
+.nf
+Package: dpkg
+.fi
+.RE
+the field name is \fBPackage\fP and the field value \fBdpkg\fP.
+
+Empty field values are only permitted in source package control files
+(\fIdebian/control\fP).
+Such fields are ignored.
+
+A paragraph must not contain more than one instance of a particular field name.
+
+There are three types of fields:
+
+.RS 0
+.TP
+.B simple
+The field, including its value, must be a single line.
+Folding of the field is not permitted.
+This is the default field type if the definition of the field does not
+specify a different type.
+.TP
+.B folded
+The value of a folded field is a logical line that may span several lines.
+The lines after the first are called continuation lines and must start with
+a space or a tab.
+Whitespace, including any newlines, is not significant in the field values
+of folded fields.
+
+This folding method is similar to RFC5322, allowing control files that
+contain only one paragraph and no multiline fields to be read by parsers
+written for RFC5322.
+.TP
+.B multiline
+The value of a multiline field may comprise multiple continuation lines.
+The first line of the value, the part on the same line as the field name,
+often has special significance or may have to be empty.
+Other lines are added following the same syntax as the continuation lines
+of the folded fields.
+Whitespace, including newlines, is significant in the values of multiline
+fields.
+.RE
+
+Whitespace must not appear inside names (of packages, architectures, files
+or anything else) or version numbers, or between the characters of
+multi-character version relationships.
+
+The presence and purpose of a field, and the syntax of its value may differ
+between types of control files.
+
+Field names are not case-sensitive, but it is usual to capitalize the field
+names using mixed case as shown below.
+Field values are case-sensitive unless the description of the field says
+otherwise.
+
+Paragraph separators (empty lines) and lines consisting only of spaces and
+tabs are not allowed within field values or between fields.
+Empty lines in field values are usually escaped by representing them by a
+space followed by a dot.
+
+Lines starting with \(oq\fB#\fP\(cq without any preceding whitespace are
+comments lines that are only permitted in source package control files
+\fIdebian/control\fP).
+These comment lines are ignored, even between two continuation lines.
+They do not end logical lines.
+
+All control files must be encoded in UTF-8.
+.
+.\" .SH EXAMPLE
+.\" .RS
+.\" .nf
+.\" .fi
+.\" .RE
+.
+.SH SEE ALSO
+.BR RFC822 ,
+.BR RFC5322 .
diff --git a/man/po/po4a.cfg b/man/po/po4a.cfg
index a2a609d..64d00ae 100644
--- a/man/po/po4a.cfg
+++ b/man/po/po4a.cfg
@@ -18,6 +18,9 @@
[type:man] deb.5 $lang:$lang/deb.5 \
add_$lang:po/$lang.add
+[type:man] deb822.5 $lang:$lang/deb822.5 \
+ add_$lang:po/$lang.add
+
[type:man] deb-changelog.5 $lang:$lang/deb-changelog.5 \
add_$lang:po/$lang.add
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list