]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Merge branch 'master' into bug104373-rra
authorRuss Allbery <rra@debian.org>
Tue, 29 Jun 2010 18:14:48 +0000 (11:14 -0700)
committerRuss Allbery <rra@debian.org>
Tue, 29 Jun 2010 18:14:48 +0000 (11:14 -0700)
Makefile
debian/changelog
debian/control
debian/source/format [new file with mode: 0644]
perl-policy.sgml
policy.sgml
upgrading-checklist.sgml

index 20433d734b6ab97ea85148164dcd29c386dcb080..5d8931a48520aed5a247058eb3da40ad5e3aba88 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ include debian/rules
 policy.sgml: version.ent
 menu-policy.sgml: version.ent
 mime-policy.sgml: version.ent
+perl-policy.sgml: version.ent
 
 ifneq (,$(strip $(HAVE_ORG_EMACS)))
 %.txt: %.org
index 205a8992863a6e7aa2a94e1f9c8b96604b16ef7c..fedb536ff12febb436ce79a92ddaea729b0bbdaf 100644 (file)
@@ -1,4 +1,23 @@
-debian-policy (3.9.0.0) UNRELEASED; urgency=low
+debian-policy (3.9.1.0) UNRELEASED; urgency=low
+
+  * Policy: Include GPL version 1 in common-licenses
+    Wording: Russ Allbery <rra@debian.org>
+    Seconded: gregor herrmann <gregoa@debian.org>
+    Seconded: Damyan Ivanov <dmn@debian.org>
+    Seconded: Giacomo A. Catenazzi <cate@debian.org>
+    Closes: #436105
+  * Set the version of the Perl Policy to match the version of the Policy
+    package.
+  * Explain the Perl module package naming policy more explicitly and
+    provide some examples.  (Closes: #175202)
+  * Add Pre-Depends and Build-Depends-Indep to the relationships not
+    allowed from main to contrib or non-free and mention that such
+    relationships are okay if the non-free package is only an
+    alternative.  Thanks, Raphael Geissert.  (Closes: #587279)
+
+ -- Russ Allbery <rra@debian.org>  Mon, 28 Jun 2010 09:34:54 -0700
+
+debian-policy (3.9.0.0) unstable; urgency=low
 
   [ Colin Watson ]
   * Fix path to changelog.Debian.gz in footnote on documentation symlinks.
@@ -83,6 +102,12 @@ debian-policy (3.9.0.0) UNRELEASED; urgency=low
     Seconded: Emilio Pozuelo Monfort <pochu@debian.org>
     Seconded: Andrew McMillan <andrew@morphoss.com>
     Closes: #575639
+  * Policy: Update Format control field documentation
+    Wording: Russ Allbery <rra@debian.org>
+    Wording: Charles Plessy <plessy@debian.org>
+    Seconded: Charles Plessy <plessy@debian.org>
+    Seconded: Emilio Pozuelo Monfort <pochu27@gmail.com>
+    Closes: #547272
   * Debconf: Add SETTITLE, like title but uses a template
     Wording: Frans Pop <elendil@planet.nl>
     Seconded: Russ Allbery <rra@debian.org>
@@ -132,8 +157,9 @@ debian-policy (3.9.0.0) UNRELEASED; urgency=low
   * Avoid "Debianised" or "Debianized" in favor of just "Debian" or
     "Debian package" as appropriate.  Patch from Ben Finney.
     (Closes: #586163)
+  * Switch to source format 3.0 (native).
 
- -- Bill Allombert <ballombe@debian.org>  Mon, 31 May 2010 20:00:28 +0200
+ -- Russ Allbery <rra@debian.org>  Sun, 27 Jun 2010 21:40:52 -0700
 
 debian-policy (3.8.4.0) unstable; urgency=low
 
index 897ab26916ecd3f5fff0528e332e5e1d833b368a..673eb7643ce8d24b839fa3ccef8a00ab67d00177 100644 (file)
@@ -3,7 +3,7 @@ Section: doc
 Priority: optional
 Maintainer: Debian Policy List <debian-policy@lists.debian.org>
 Uploaders: Manoj Srivastava <srivasta@debian.org>, Russ Allbery <rra@debian.org>, Colin Watson <cjwatson@debian.org>, Bill Allombert <ballombe@debian.org>
-Standards-Version: 3.8.4
+Standards-Version: 3.9.0
 Build-Depends-Indep: sgml-data (>= 2.0), debiandoc-sgml (>= 1.1.47), texlive, texlive-latex-extra, groff, bsdmainutils, pstoedit, jade, docbook-xml (>= 3.1.1), docbook-dsssl, tidy, links (>= 0.90) | elinks
 Vcs-Browser: http://git.debian.org/?p=dbnpolicy/policy.git
 Vcs-Git: git://git.debian.org/git/dbnpolicy/policy.git
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..89ae9db
--- /dev/null
@@ -0,0 +1 @@
+3.0 (native)
index 4f34758e8f458aeb0248f575dd4a548dccb4523b..3b76b940ce12086b96b410823568f6deaf672c03 100644 (file)
@@ -1,4 +1,8 @@
-<!doctype debiandoc system>
+<!doctype debiandoc system [
+<!-- include version information so we don't have to hard code it
+     within the document -->
+<!entity % versiondata SYSTEM "version.ent"> %versiondata;
+]>
 
 <debiandoc>
   <book>
@@ -14,7 +18,7 @@
        <name>The Debian Policy mailing list</name>
        <email>debian-policy@lists.debian.org</email>
       </author>
-      <version>version 1.20</version>
+      <version>version &version;, &date;</version>
 
       <abstract>
        This document describes the packaging of Perl within the Debian
@@ -294,10 +298,17 @@ make install
        <heading>Module Package Names</heading>
        <p>
          Perl module packages should be named for the primary module
-         provided.  The naming convention for module <tt>Foo::Bar</tt>
-         is <package>libfoo-bar-perl</package>.  Packages which include
-         multiple modules may additionally include provides for those
-         modules using the same convention.
+         provided.  The naming convention is to lowercase the Perl module
+         name, prepend, <tt>lib</tt>, change all occurrences
+         of <tt>::</tt> to <tt>-</tt>, and append <tt>-perl</tt>.  For
+         example:
+         <example>
+Foo::Bar        libfoo-bar-perl
+Foo::Bar::Baz   libfoo-bar-baz-perl
+Foo::BarBaz     libfoo-barbaz-perl
+         </example>
+         Packages which include multiple modules may additionally include
+         provides for the additional modules using the same convention.
        </p>
       </sect>
 
index 48e4295332293ddb628027ab8f6865b26ab10a85..57ac14cbc6b5e66269f5f0b468b1b4f958e46b29 100644 (file)
@@ -2,6 +2,8 @@
 <!-- include version information so we don't have to hard code it
      within the document -->
 <!entity % versiondata SYSTEM "version.ent"> %versiondata;
+<!-- current Debian changes file format -->
+<!entity changesversion "1.8">
 ]>
 <debiandoc>
 
              <item>
                  must not require a package outside of <em>main</em>
                  for compilation or execution (thus, the package must
-                 not declare a "Depends", "Recommends", or
-                 "Build-Depends" relationship on a non-<em>main</em>
-                 package),
+                 not declare a <tt>Pre-Depends</tt>, <tt>Depends</tt>,
+                 <tt>Recommends</tt>, <tt>Build-Depends</tt>,
+                 or <tt>Build-Depends-Indep</tt> relationship on a
+                 non-<em>main</em> package unless a package
+                 in <em>main</em> is listed as an alternative),
              </item>
              <item>
                  must not be so buggy that we refuse to support them,
@@ -2497,7 +2501,7 @@ Package: libc6
          These fields are used by <prgn>dpkg-gencontrol</prgn> to
          generate control files for binary packages (see below), by
          <prgn>dpkg-genchanges</prgn> to generate the
-         <tt>.changes</tt> file to accompany the upload, and by
+         <file>.changes</file> file to accompany the upload, and by
          <prgn>dpkg-source</prgn> when it creates the
          <file>.dsc</file> source control file as part of a source
          archive. Many fields are permitted to span multiple lines in
@@ -2531,7 +2535,8 @@ Package: libc6
 
        <p>
          The <file>DEBIAN/control</file> file contains the most vital
-         (and version-dependent) information about a binary package.
+         (and version-dependent) information about a binary package.  It
+         consists of a single paragraph.
        </p>
 
        <p>
@@ -2558,10 +2563,9 @@ Package: libc6
        <heading>Debian source control files -- <tt>.dsc</tt></heading>
 
        <p>
-         This file contains a series of fields, identified and
-         separated just like the fields in the control file of
-         a binary package.  The fields are listed below; their
-         syntax is described above, in <ref id="pkg-controlfields">.
+         This file consists of a single paragraph, possibly surrounded by
+         a PGP signature. The fields of that paragraph are listed below.
+         Their syntax is described above, in <ref id="pkg-controlfields">.
 
        <list compact="compact">
          <item><qref id="f-Format"><tt>Format</tt></qref> (mandatory)</item>
@@ -2595,12 +2599,19 @@ Package: libc6
        <heading>Debian changes files -- <file>.changes</file></heading>
 
        <p>
-         The .changes files are used by the Debian archive maintenance
-         software to process updates to packages. They contain one
-         paragraph which contains information from the
-         <tt>debian/control</tt> file and other data about the
-         source package gathered via <tt>debian/changelog</tt>
-         and <tt>debian/rules</tt>.
+         The <file>.changes</file> files are used by the Debian archive
+         maintenance software to process updates to packages. They
+         consist of a single paragraph, possibly surrounded by a PGP
+         signature. That paragraph contains information from the
+         <file>debian/control</file> file and other data about the
+         source package gathered via <file>debian/changelog</file>
+         and <file>debian/rules</file>.
+       </p>
+
+       <p>
+         <file>.changes</file> files have a format version that is
+         incremented whenever the documented fields or their meaning
+         change.  This document describes format &changesversion;.
        </p>
 
        <p>
@@ -3259,12 +3270,30 @@ Package: libc6
          <heading><tt>Format</tt></heading>
 
          <p>
-           This field specifies a format revision for the file.
-           The most current format described in the Policy Manual
-           is version <strong>1.5</strong>.  The syntax of the
-           format value is the same as that of a package version
-           number except that no epoch or Debian revision is allowed
-           - see <ref id="f-Version">.
+           In <qref id="debianchangesfiles"><file>.changes</file></qref>
+           files, this field declares the format version of that file.
+           The syntax of the field value is the same as that of
+           a <qref id="f-Version">package version number</qref> except
+           that no epoch or Debian revision is allowed.  The format
+           described in this document is <tt>&changesversion;</tt>.
+         </p>
+
+         <p>
+           In <qref id="debiansourcecontrolfiles"><file>.dsc</file>
+           Debian source control</qref> files, this field declares the
+           format of the source package.  The field value is used by
+           programs acting on a source package to interpret the list of
+           files in the source package and determine how to unpack it.
+           The syntax of the field value is a numeric major revision, a
+           period, a numeric minor revision, and then an optional subtype
+           after whitespace, which if specified is an alphanumeric word
+           in parentheses.  The subtype is optional in the syntax but may
+           be mandatory for particular source format revisions.
+           <footnote>
+             The source formats currently supported by the Debian archive
+             software are <tt>1.0</tt>, <tt>3.0 (native)</tt>,
+             and <tt>3.0 (quilt)</tt>.
+           </footnote>
          </p>
        </sect1>
 
@@ -3525,7 +3554,6 @@ Checksums-Sha256:
            must match the list of files in the <tt>Files</tt> field.
          </p>
        </sect1>
-
       </sect>
 
       <sect>
@@ -9383,14 +9411,15 @@ END-INFO-DIR-ENTRY
 
        <p>
          Packages distributed under the Apache license (version 2.0), the
-         Artistic license, the GNU GPL (version 2 or 3), the GNU LGPL
-         (versions 2, 2.1, or 3), and the GNU FDL (versions 1.2 or 1.3)
-         should refer to the corresponding files
+         Artistic license, the GNU GPL (versions 1, 2, or 3), the GNU
+         LGPL (versions 2, 2.1, or 3), and the GNU FDL (versions 1.2 or
+         1.3) should refer to the corresponding files
          under <file>/usr/share/common-licenses</file>,<footnote>
            <p>
              In particular,
               <file>/usr/share/common-licenses/Apache-2.0</file>,
               <file>/usr/share/common-licenses/Artistic</file>,
+              <file>/usr/share/common-licenses/GPL-1</file>,
               <file>/usr/share/common-licenses/GPL-2</file>,
               <file>/usr/share/common-licenses/GPL-3</file>,
               <file>/usr/share/common-licenses/LGPL-2</file>,
index 06349a5be84e4abf58abe1d79fe84c579d7d0d50..fabc1cbab3eb84f2d068fe3e9335283da5ef681e 100644 (file)
@@ -34,10 +34,23 @@ picking your way through this list.
 
 <chapt> The checklist
 
-<sect> Version 3.8.5.0
+<sect> Version 3.9.1.0
 <p>
 
-Release Jun 2010.
+Not yet released.
+
+</p><p><taglist>
+<tag>12.5</tag>
+  <item>The GPL version 1 is now included in common-licenses and should be
+  referenced from there instead of included in the <file>copyright</file>
+  file.
+  </item>
+</taglist></p>
+
+<sect> Version 3.9.0.0
+<p>
+
+Released June, 2010.
 
 </p><p><taglist>
 <tag>4.4, 5.6.15</tag>
@@ -53,6 +66,13 @@ Release Jun 2010.
   and <tt>Checksums-Sha256</tt> fields in <file>*.dsc</file>
   and <file>*.changes</file> files.
   </item>
+<tag>5.5, 5.6.16</tag>
+  <item>The <tt>Format</tt> field of <file>.changes</file> files is now
+  1.8.  The <tt>Format</tt> field syntax for source
+  package <file>.dsc</file> files allows a subtype in parentheses, and it
+  is used for a different purpose than the <tt>Format</tt> field
+  for <file>.changes</file> files.
+  </item>
 <tag>5.6.2</tag>
   <item>The syntax of the <tt>Maintainer</tt> field is now must rather
   than should.
@@ -85,7 +105,7 @@ Release Jun 2010.
   </item>
 <tag>7.5</tag>
   <item>Use <tt>Conflicts</tt> with <tt>Provides</tt> if only one provider
-  of a virtual facility can ge installed at a time.
+  of a virtual facility can be installed at a time.
   </item>
 <tag>8.4</tag>
   <item>All shared library development files are no longer required to be