Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.20
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
debian-policy /
policy.html /
[ HOME SHELL ]
Name
Size
Permission
Action
_images
[ DIR ]
drwxr-xr-x
_sources
[ DIR ]
drwxr-xr-x
_static
[ DIR ]
drwxr-xr-x
ap-flowcharts.html
7.02
KB
-rw-r--r--
ap-license.html
4.8
KB
-rw-r--r--
ap-pkg-alternatives.html
6.79
KB
-rw-r--r--
ap-pkg-binarypkg.html
17.44
KB
-rw-r--r--
ap-pkg-conffiles.html
12.14
KB
-rw-r--r--
ap-pkg-controlfields.html
12.4
KB
-rw-r--r--
ap-pkg-diversions.html
11.4
KB
-rw-r--r--
ap-pkg-scope.html
7.81
KB
-rw-r--r--
ap-pkg-sourcepkg.html
33.32
KB
-rw-r--r--
ap-process.html
18.49
KB
-rw-r--r--
ch-archive.html
28.57
KB
-rw-r--r--
ch-binary.html
38.01
KB
-rw-r--r--
ch-controlfields.html
107.38
KB
-rw-r--r--
ch-customized-programs.html
53.09
KB
-rw-r--r--
ch-docs.html
33.97
KB
-rw-r--r--
ch-files.html
69.51
KB
-rw-r--r--
ch-maintainerscripts.html
40.34
KB
-rw-r--r--
ch-opersys.html
84.18
KB
-rw-r--r--
ch-relationships.html
67.18
KB
-rw-r--r--
ch-scope.html
18.54
KB
-rw-r--r--
ch-sharedlibs.html
88.6
KB
-rw-r--r--
ch-source.html
79.4
KB
-rw-r--r--
genindex.html
3.48
KB
-rw-r--r--
index.html
59.51
KB
-rw-r--r--
objects.inv
4.75
KB
-rw-r--r--
search.html
2.99
KB
-rw-r--r--
searchindex.js
58.77
KB
-rw-r--r--
upgrading-checklist.html
121.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : upgrading-checklist.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> <title>10. Upgrading checklist — Debian Policy Manual v4.6.0.1</title> <link rel="stylesheet" type="text/css" href="_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="_static/nature.css" /> <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script> <script src="_static/jquery.js"></script> <script src="_static/underscore.js"></script> <script src="_static/doctools.js"></script> <link rel="index" title="Index" href="genindex.html" /> <link rel="search" title="Search" href="search.html" /> <link rel="next" title="11. License" href="ap-license.html" /> <link rel="prev" title="9. Maintainer script flowcharts" href="ap-flowcharts.html" /> </head><body> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="ap-license.html" title="11. License" accesskey="N">next</a> |</li> <li class="right" > <a href="ap-flowcharts.html" title="9. Maintainer script flowcharts" accesskey="P">previous</a> |</li> <li class="nav-item nav-item-0"><a href="index.html">Debian Policy Manual v4.6.0.1</a> »</li> <li class="nav-item nav-item-this"><a href=""><span class="section-number">10. </span>Upgrading checklist</a></li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body" role="main"> <section id="upgrading-checklist"> <h1><span class="section-number">10. </span>Upgrading checklist<a class="headerlink" href="#upgrading-checklist" title="Permalink to this headline">¶</a></h1> <section id="about-the-checklist"> <h2><span class="section-number">10.1. </span>About the checklist<a class="headerlink" href="#about-the-checklist" title="Permalink to this headline">¶</a></h2> <p>The checklist below has been created to simplify the upgrading process of old packages. This list is not official or normative. It only provides an indication of what has changed and whether you are likely to need to make changes to your package in light of this. If you have doubts about a certain topic, if you need more details, or if you think some other package does not comply with policy, please refer to the Policy Manual itself.</p> <p>All of the changes from version 3.0.0 onwards indicate which section of the Policy Manual discusses the issue. The section numbering should still be accurate for changes back to the 2.5.0 release. Before that point, the sections listed here probably no longer correspond to sections in the modern Policy Manual.</p> <p>Here is how the check list works: Check which policy version your package was checked against last (indicated in the <code class="docutils literal notranslate"><span class="pre">Standards-Version</span></code> field of the source package). Then move upwards until the top and check which of the items on the list might concern your package. Note which sections of policy discuss this, and then check out the Policy Manual for details. Once you’ve made all necessary changes to match the current rules, update the value of <code class="docutils literal notranslate"><span class="pre">Standards-Version</span></code> to the current Policy Manual version.</p> <p>If an item in the list is followed by the name of a Lintian tag in square brackets, it indicates that the policy requirement is covered by that Lintian tag. The lack of such an annotation does not mean that no Lintian tag exists to cover the requirement. Our coverage of these annotations is quite incomplete, and patches to this checklist are very welcome.</p> <p>The sections in this checklist match the values for the <code class="docutils literal notranslate"><span class="pre">Standards-Version</span></code> control field in omitting the minor patch version, except in the two anomalous historical cases where normative requirements were changed in a minor patch release.</p> </section> <section id="version-4-6-0"> <h2><span class="section-number">10.2. </span>Version 4.6.0<a class="headerlink" href="#version-4-6-0" title="Permalink to this headline">¶</a></h2> <p>Released August, 2021.</p> <dl class="simple"> <dt>9.1.1</dt><dd><p>No package is allowed to install files in <code class="docutils literal notranslate"><span class="pre">/usr/lib64/</span></code>. Previously, this prohibition only applied to packages for 64-bit architectures.</p> </dd> <dt>12.1</dt><dd><p>Manual pages may be included in dependencies, not only in the packages containing the things they document.</p> </dd> </dl> </section> <section id="version-4-5-1"> <h2><span class="section-number">10.3. </span>Version 4.5.1<a class="headerlink" href="#version-4-5-1" title="Permalink to this headline">¶</a></h2> <p>Released November, 2020.</p> <dl> <dt>2.3, 4.5 & 12.5</dt><dd><p>The copyright information for files in a package must be copied verbatim into <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/PACKAGE/copyright</span></code> when</p> <ol class="arabic simple"> <li><p>the distribution license for those files requires that copyright information be included in all copies and/or binary distributions;</p></li> <li><p>the files are shipped in the binary package, either in source or compiled form; and</p></li> <li><p>the form in which the files are present in the binary package does not include a plain text version of their copyright notices.</p></li> </ol> <p>Note that there is no change to the requirement to copy all licensing information into <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/PACKAGE/copyright</span></code>.</p> <p>(Previously, it was always required for all copyright information to be copied into <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/PACKAGE/copyright</span></code>.)</p> </dd> <dt>4.17</dt><dd><p>Packages must not contain a non-default series file. That is, dpkg’s vendor-specific patch series feature must not be used for packages in the Debian archive.</p> <p>(previously a “should not”)</p> </dd> </dl> </section> <section id="version-4-5-0"> <h2><span class="section-number">10.4. </span>Version 4.5.0<a class="headerlink" href="#version-4-5-0" title="Permalink to this headline">¶</a></h2> <p>Released January, 2020.</p> <dl> <dt>9.2.1</dt><dd><p>When maintainers choose a new hardcoded or dynamically generated username for packages to use, they should start this username with an underscore.</p> </dd> <dt>9.3.1</dt><dd><p>Packages that include system services should include <code class="docutils literal notranslate"><span class="pre">systemd</span></code> service units to start or stop those services.</p> <p>Including an init script is encouraged if there is no systemd unit, and optional if there is (previously, it was recommended).</p> <p>In the common case that a package includes a single system service, the service unit should have the same name as the package plus the “.service” extension. If an init script is included, it should have the same name as the systemd unit.</p> </dd> <dt>9.3.2</dt><dd><p>It is encouraged for init scripts to support the <code class="docutils literal notranslate"><span class="pre">status</span></code> argument (previously, it was recommended).</p> </dd> <dt>9.3.3</dt><dd><p>Use of update-rc.d is required if the package includes an init script (previously, Policy said in one place that it was required, and in another said that it was recommended).</p> </dd> </dl> </section> <section id="version-4-4-1"> <h2><span class="section-number">10.5. </span>Version 4.4.1<a class="headerlink" href="#version-4-4-1" title="Permalink to this headline">¶</a></h2> <p>Released September, 2019.</p> <dl> <dt>5.6.26</dt><dd><p>A package control file must not have more than one <code class="docutils literal notranslate"><span class="pre">Vcs-<type></span></code> field.</p> <p>If the package is maintained in multiple version control systems, the maintainer should specify the one that they would prefer other people to use as the basis for proposing changes to the package.</p> </dd> <dt>9.10 & 11.5</dt><dd><p>doc-base registration is now optional, from being recommended.</p> </dd> <dt>9.12</dt><dd><p>Document <code class="docutils literal notranslate"><span class="pre">/run/reboot-required</span></code> mechanism.</p> </dd> <dt>copyright-format</dt><dd><p>State some syntactical restrictions on the <code class="docutils literal notranslate"><span class="pre">Files:</span></code> field. Wildcards are required to match the contents of directories, and the space character separates patterns and cannot be escaped.</p> </dd> </dl> </section> <section id="version-4-4-0"> <h2><span class="section-number">10.6. </span>Version 4.4.0<a class="headerlink" href="#version-4-4-0" title="Permalink to this headline">¶</a></h2> <p>Released July, 2019.</p> <dl> <dt>4.9</dt><dd><p>The recommended way to implement the build process of a Debian package, in the absence of a good reason to use a different approach, is the <code class="docutils literal notranslate"><span class="pre">dh</span></code> tool. This recommendation includes the contents of the <code class="docutils literal notranslate"><span class="pre">debian/rules</span></code> building script.</p> <p>Some examples of good reasons to use a different approach are given. The recommendation to use <code class="docutils literal notranslate"><span class="pre">dh</span></code> does not always apply, and use of <code class="docutils literal notranslate"><span class="pre">dh</span></code> is not required.</p> </dd> <dt>5.6.26</dt><dd><p>Permit <code class="docutils literal notranslate"><span class="pre">-b</span></code> in Vcs-Hg as well as Vcs-Git.</p> </dd> <dt>7.5</dt><dd><p>Document versioned Provides.</p> </dd> <dt>virtual</dt><dd><p>New <code class="docutils literal notranslate"><span class="pre">logind</span></code> and <code class="docutils literal notranslate"><span class="pre">default-logind</span></code> virtual packages for a package providing logind API (via D-Bus and <em class="manpage">sd-login(3)</em>), and for Debian’s preferred implementation, respectively.</p> </dd> </dl> </section> <section id="version-4-3-0"> <h2><span class="section-number">10.7. </span>Version 4.3.0<a class="headerlink" href="#version-4-3-0" title="Permalink to this headline">¶</a></h2> <p>Released December, 2018.</p> <dl class="simple"> <dt>2.3 & 4.5</dt><dd><p>In cases where a package’s distribution license explicitly permits its copyright information to be excluded from distributions of binaries built from the source, a verbatim copy of the package’s copyright information should normally still be included in the copyright file, but it need not be if creating and maintaining a copy of that information involves significant time and effort.</p> </dd> <dt>4.9</dt><dd><p>Required targets must not write outside of the unpacked source package tree, except for TMPDIR, /tmp and /var/tmp.</p> </dd> <dt>4.17</dt><dd><p>Packages should not contain a non-default series file. That is, dpkg’s vendor-specific patch series feature should not be used for packages in the Debian archive.</p> </dd> <dt>10.1</dt><dd><p>Binaries should be stripped using <code class="docutils literal notranslate"><span class="pre">strip</span> <span class="pre">--strip-unneeded</span> <span class="pre">--remove-section=.comment</span> <span class="pre">--remove-section=.note</span></code> (as dh_strip already does).</p> </dd> <dt>10.1</dt><dd><p>It is no longer suggested nor recommended to use <code class="docutils literal notranslate"><span class="pre">install</span> <span class="pre">-s</span></code> to strip binaries, because it gets several things wrong.</p> </dd> <dt>10.2</dt><dd><p>When stripping shared libraries with <em class="manpage">strip(1)</em>, you should additionally pass <code class="docutils literal notranslate"><span class="pre">--remove-section=.comment</span> <span class="pre">--remove-section=.note</span></code> (as dh_strip already does).</p> </dd> <dt>virtual</dt><dd><p>New <code class="docutils literal notranslate"><span class="pre">dbus-session-bus</span></code> and <code class="docutils literal notranslate"><span class="pre">default-dbus-session-bus</span></code> virtual packages for a package providing the D-Bus session bus, and for Debian’s preferred D-Bus implementation, respectively.</p> </dd> </dl> </section> <section id="version-4-2-1"> <h2><span class="section-number">10.8. </span>Version 4.2.1<a class="headerlink" href="#version-4-2-1" title="Permalink to this headline">¶</a></h2> <p>Released August, 2018.</p> <dl class="simple"> <dt>10.4 & perl</dt><dd><p>The requirement that the shebang at the top of Perl command scripts be <code class="docutils literal notranslate"><span class="pre">#!/usr/bin/perl</span></code> is relaxed from a ‘must’ to a ‘should’.</p> </dd> </dl> </section> <section id="version-4-2-0"> <h2><span class="section-number">10.9. </span>Version 4.2.0<a class="headerlink" href="#version-4-2-0" title="Permalink to this headline">¶</a></h2> <p>Released August, 2018.</p> <dl> <dt>4.9</dt><dd><p>The package build should be as verbose as reasonably possible. This means that <code class="docutils literal notranslate"><span class="pre">debian/rules</span></code> should pass to the commands it invokes options that cause them to produce verbose output.</p> </dd> <dt>4.9</dt><dd><p>Required targets may attempt network access, via the loopback interface, to services on the build host that have been started by the build.</p> </dd> <dt>4.9.1</dt><dd><p>New <code class="docutils literal notranslate"><span class="pre">terse</span></code> tag that can appear in <code class="docutils literal notranslate"><span class="pre">DEB_BUILD_OPTIONS</span></code> to make a package build less verbose.</p> </dd> <dt>5.2 & 5.4</dt><dd><p>The Standards-Version field is now mandatory, not just recommended.</p> </dd> <dt>12.7</dt><dd><p>Upstream release notes, when available, should be installed as <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/package/NEWS.gz</span></code>. Upstream changelogs may be made available as <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/package/changelog.gz</span></code>.</p> <p>This is a relaxation of older Policy which said that the upstream changelog should be made accessible at this path. Now it is up to maintainer discretion whether it is useful to install it.</p> <p>The practice of installing the upstream release notes as <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/package/changelog.gz</span></code> is permitted but deprecated.</p> </dd> </dl> </section> <section id="version-4-1-5"> <h2><span class="section-number">10.10. </span>Version 4.1.5<a class="headerlink" href="#version-4-1-5" title="Permalink to this headline">¶</a></h2> <p>Released July, 2018.</p> <dl class="simple"> <dt>4.9.2</dt><dd><p>Document how <code class="docutils literal notranslate"><span class="pre">debian/rules</span></code> and the <code class="docutils literal notranslate"><span class="pre">Rules-Requires-Root</span></code> field interact.</p> </dd> <dt>5.6.12</dt><dd><p>You should not change a package’s epoch, even in experimental, without getting consensus on debian-devel first.</p> </dd> <dt>5.6.12.1</dt><dd><p>Epochs should not be used for the purpose of rolling back the version of a package. Use the +really convention.</p> </dd> <dt>5.6.31</dt><dd><p>Document the <code class="docutils literal notranslate"><span class="pre">Rules-Requires-Root</span></code> field.</p> </dd> <dt>9.1.1</dt><dd><p>Update Debian’s version of the Filesystem Hierarchy Standard from 2.3 to 3.0, and update the list of exceptions. Only a tiny minority of packages, if any, should be made buggy by this change.</p> </dd> <dt>9.3.2 & 10.4</dt><dd><p>Update version of POSIX standard for shell scripts from SUSv3 to POSIX.1-2017 (also known as SUSv4 in some contexts).</p> </dd> </dl> </section> <section id="version-4-1-4"> <h2><span class="section-number">10.11. </span>Version 4.1.4<a class="headerlink" href="#version-4-1-4" title="Permalink to this headline">¶</a></h2> <p>Released April, 2018.</p> <dl class="simple"> <dt>3.2.2</dt><dd><p>The part of the version number after the epoch must not be reused for a version of the package with different contents, even after the version of the package previously using that part of the version number is no longer present in any archive suites.</p> </dd> <dt>3.2.2</dt><dd><p>For non-native packages, the upstream version must not be reused for different upstream source code, so that for each source package name and upstream version number there exists exactly one original source archive contents.</p> </dd> <dt>4.9</dt><dd><p>The <code class="docutils literal notranslate"><span class="pre">get-orig-source</span></code> rules target has been removed. Packages should transition to <code class="docutils literal notranslate"><span class="pre">debian/watch</span></code> and use uscan where possible.</p> </dd> <dt>9.1.2</dt><dd><p>If <code class="docutils literal notranslate"><span class="pre">/etc/staff-group-for-usr-local</span></code> does not exist, <code class="docutils literal notranslate"><span class="pre">/usr/local</span></code> and all subdirectories created by packages should have permissions 0755 and be owned by <code class="docutils literal notranslate"><span class="pre">root:root</span></code>. If the file exists, the old permissions of 2775 and ownership of root:staff should remain.</p> </dd> </dl> </section> <section id="version-4-1-3"> <h2><span class="section-number">10.12. </span>Version 4.1.3<a class="headerlink" href="#version-4-1-3" title="Permalink to this headline">¶</a></h2> <p>Released December, 2017.</p> <dl> <dt>5.6.26</dt><dd><p>URLs given in <code class="docutils literal notranslate"><span class="pre">VCS-*</span></code> headers should use a scheme that provides confidentiality (<code class="docutils literal notranslate"><span class="pre">https</span></code>, for example) if the VCS repository supports it. <code class="docutils literal notranslate"><span class="pre">[vcs-field-uses-insecure-uri]</span></code></p> </dd> <dt>7.8</dt><dd><p><code class="docutils literal notranslate"><span class="pre">Built-Using</span></code> should be used exactly when there are license or DFSG requirements to retain full source code in the archive. Previously, the description of the field implied it was needed in other cases too.</p> </dd> <dt>9.1.1</dt><dd><p><code class="docutils literal notranslate"><span class="pre">libc</span></code> may also install files in <code class="docutils literal notranslate"><span class="pre">/lib64</span></code>.</p> </dd> <dt>9.3.3.1</dt><dd><p>If a package’s daemon should not be autostarted unless the local administrator has explicitly requested it, the package’s <code class="docutils literal notranslate"><span class="pre">postinst</span></code> should use the new <code class="docutils literal notranslate"><span class="pre">defaults-disabled</span></code> option of <code class="docutils literal notranslate"><span class="pre">update-rc.d</span></code>.</p> <p>The old method of including <code class="docutils literal notranslate"><span class="pre">DISABLED=yes</span></code> in the package’s <code class="docutils literal notranslate"><span class="pre">/etc/default</span></code> file should not be used.</p> </dd> <dt>11.4</dt><dd><p>Clarify that programs may invoke either <code class="docutils literal notranslate"><span class="pre">/usr/bin/editor</span></code> and <code class="docutils literal notranslate"><span class="pre">/usr/bin/pager</span></code> directly, or use <code class="docutils literal notranslate"><span class="pre">editor</span></code> and <code class="docutils literal notranslate"><span class="pre">pager</span></code> and rely on PATH.</p> </dd> <dt>12.5</dt><dd><p>The Creative Commons CC0 1.0 Universal license (CC0-1.0) is now included in <code class="docutils literal notranslate"><span class="pre">/usr/share/common-licenses</span></code> and does not need to be copied verbatim in the package <code class="docutils literal notranslate"><span class="pre">copyright</span></code> file.</p> </dd> </dl> </section> <section id="version-4-1-2"> <h2><span class="section-number">10.13. </span>Version 4.1.2<a class="headerlink" href="#version-4-1-2" title="Permalink to this headline">¶</a></h2> <p>Released November, 2017.</p> <dl class="simple"> <dt>3.1.1</dt><dd><p>Binary packages that have potentially offensive content should have the suffix <code class="docutils literal notranslate"><span class="pre">-offensive</span></code>. This replaces an older convention to use <code class="docutils literal notranslate"><span class="pre">-off</span></code>. As before, whether the contents of a package needs this content warning is a matter of maintainer discretion.</p> </dd> <dt>10.2</dt><dd><p>Private shared object files should be installed in subdirectories of <code class="docutils literal notranslate"><span class="pre">/usr/lib</span></code> or <code class="docutils literal notranslate"><span class="pre">/usr/lib/triplet</span></code>. This change permits private shared object files to take advantage of multiarch, and also removes the implication that it is permissible to install private shared object files directly into <code class="docutils literal notranslate"><span class="pre">/usr/lib/triplet</span></code>.</p> </dd> <dt>10.4</dt><dd><p>The shebang at the top of Perl command scripts must be <code class="docutils literal notranslate"><span class="pre">#!/usr/bin/perl</span></code>. (Previously, this was a ‘should’ rather than a ‘must’.)</p> </dd> </dl> </section> <section id="version-4-1-1"> <h2><span class="section-number">10.14. </span>Version 4.1.1<a class="headerlink" href="#version-4-1-1" title="Permalink to this headline">¶</a></h2> <p>Released September, 2017.</p> <dl class="simple"> <dt>4.4</dt><dd><p>debian/changelog must exist in source packages.</p> </dd> <dt>9.2.3</dt><dd><p>The canonical non-existent home directory is <code class="docutils literal notranslate"><span class="pre">/nonexistent</span></code>.</p> </dd> </dl> </section> <section id="version-4-1-0"> <h2><span class="section-number">10.15. </span>Version 4.1.0<a class="headerlink" href="#version-4-1-0" title="Permalink to this headline">¶</a></h2> <p>Released August, 2017.</p> <dl> <dt>2.2.1</dt><dd><p>Non-default alternative dependencies on non-free packages are permitted for packages in main.</p> </dd> <dt>4.11</dt><dd><p>If upstream provides OpenPGP signatures, including the upstream signing key as <code class="docutils literal notranslate"><span class="pre">debian/upstream/signing-key.asc</span></code> in the source package and using the <code class="docutils literal notranslate"><span class="pre">pgpsigurlmangle</span></code> option in <code class="docutils literal notranslate"><span class="pre">debian/watch</span></code> configuration to indicate how to find the upstream signature for new releases is recommended.</p> </dd> <dt>4.15</dt><dd><p>Packages should build reproducibly when certain factors are held constant; see 4.15 for the list.</p> </dd> <dt>4.15</dt><dd><p>Packages are recommended to build reproducibly even when build paths and most environment variables are allowed to vary.</p> </dd> <dt>9.1.1</dt><dd><p>Only the dynamic linker may install files to <code class="docutils literal notranslate"><span class="pre">/lib64/</span></code>.</p> <p>No package for a 64 bit architecture may install files to <code class="docutils literal notranslate"><span class="pre">/usr/lib64/</span></code> or any subdirectory.</p> </dd> <dt>11.8.3</dt><dd><p>The required behaviour of <code class="docutils literal notranslate"><span class="pre">x-terminal-emulator</span> <span class="pre">-e</span></code> has been clarified, and updated to replace a false claim about the behaviour of <code class="docutils literal notranslate"><span class="pre">xterm</span></code>.</p> <p>Programs must support <code class="docutils literal notranslate"><span class="pre">-e</span> <span class="pre">command</span></code> where <code class="docutils literal notranslate"><span class="pre">command</span></code> may include multiple arguments, which must be executed as if the arguments were passed to <code class="docutils literal notranslate"><span class="pre">execvp</span></code> directly, bypassing the shell.</p> <p>If this execution fails and <code class="docutils literal notranslate"><span class="pre">-e</span></code> has a single argument, <code class="docutils literal notranslate"><span class="pre">xterm</span></code>’s fallback behaviour of passing <code class="docutils literal notranslate"><span class="pre">command</span></code> to the shell is permitted but not required.</p> </dd> </dl> </section> <section id="version-4-0-1"> <h2><span class="section-number">10.16. </span>Version 4.0.1<a class="headerlink" href="#version-4-0-1" title="Permalink to this headline">¶</a></h2> <p>Released August, 2017.</p> <dl> <dt>2.5</dt><dd><p>Priorities are now used only for controlling which packages are part of a minimal or standard Debian installation and should be selected based on functionality provided directly to users (so nearly all shared libraries should have a priority of <code class="docutils literal notranslate"><span class="pre">optional</span></code>). Packages may now depend on packages with a lower priority.</p> <p>The <code class="docutils literal notranslate"><span class="pre">extra</span></code> priority has been deprecated and should be treated as equivalent to <code class="docutils literal notranslate"><span class="pre">optional</span></code>. All <code class="docutils literal notranslate"><span class="pre">extra</span></code> priorities should be changed to <code class="docutils literal notranslate"><span class="pre">optional</span></code>. Packages with a priority of <code class="docutils literal notranslate"><span class="pre">optional</span></code> may conflict with each other (but packages that both have a priority of <code class="docutils literal notranslate"><span class="pre">standard</span></code> or higher still may not conflict).</p> </dd> <dt>5.6.30</dt><dd><p>New section documenting the <code class="docutils literal notranslate"><span class="pre">Testsuite</span></code> field in Debian source control files.</p> </dd> <dt>8.1.1</dt><dd><p>Shared libraries must now invoke <code class="docutils literal notranslate"><span class="pre">ldconfig</span></code> by means of triggers, instead of maintscripts.</p> </dd> <dt>9.3.3</dt><dd><p>Packages are recommended to use debhelper tools instead of invoking <code class="docutils literal notranslate"><span class="pre">update-rc.d</span></code> and <code class="docutils literal notranslate"><span class="pre">invoke-rc.d</span></code> directly.</p> </dd> <dt>9.3.3</dt><dd><p>Policy’s description of how the local system administrator may modify the runlevels at which a daemon is started and stopped, and how init scripts may depend on other init scripts, have been removed. These are now handled by LSB headers.</p> </dd> <dt>9.4</dt><dd><p>Policy’s specification of the console messages that should be emitted by <code class="docutils literal notranslate"><span class="pre">init.d</span></code> scripts has been removed. This is now defined by LSB, for sysvinit, and is not expected to be followed by other init systems.</p> </dd> <dt>9.6</dt><dd><p>Packages installing a Free Desktop entry must not also install a Debian menu system entry.</p> </dd> <dt>9.9</dt><dd><p>The prohibition against depending on environment variables for reasonable defaults is only for programs on the system PATH and only for custom environment variable settings (not, say, a sane PATH).</p> </dd> </dl> </section> <section id="version-4-0-0"> <h2><span class="section-number">10.17. </span>Version 4.0.0<a class="headerlink" href="#version-4-0-0" title="Permalink to this headline">¶</a></h2> <p>Released May, 2017.</p> <dl class="simple"> <dt>4.3</dt><dd><p><code class="docutils literal notranslate"><span class="pre">config.sub</span></code> and <code class="docutils literal notranslate"><span class="pre">config.guess</span></code> should be updated at build time or replaced with the versions from autotools-dev.</p> </dd> <dt>4.9</dt><dd><p>New <code class="docutils literal notranslate"><span class="pre">TARGET</span></code> set of <code class="docutils literal notranslate"><span class="pre">dpkg-architecture</span></code> variables and new <code class="docutils literal notranslate"><span class="pre">DEB_*_ARCH_BITS</span></code> and <code class="docutils literal notranslate"><span class="pre">DEB_*_ARCH_ENDIAN</span></code> variables.</p> </dd> <dt>4.9.1</dt><dd><p>New <code class="docutils literal notranslate"><span class="pre">DEB_BUILD_OPTIONS</span></code> tag, <code class="docutils literal notranslate"><span class="pre">nodoc</span></code>, which says to suppress documentation generation (but continue to build all binary packages, even documentation packages, just let them be mostly empty).</p> </dd> <dt>5.2</dt><dd><p>Automatically-generated debug packages do not need to have a corresponding paragraph in <code class="docutils literal notranslate"><span class="pre">debian/control</span></code>. (This is existing practice; this Policy update is just clearer about it.)</p> </dd> <dt>5.6.12</dt><dd><p>Colons are not permitted in upstream version numbers.</p> </dd> <dt>7.7</dt><dd><p>New <code class="docutils literal notranslate"><span class="pre">Build-Depends-Arch</span></code> and <code class="docutils literal notranslate"><span class="pre">Build-Conflicts-Arch</span></code> fields are now supported.</p> </dd> <dt>8.4</dt><dd><p>The recommended package name for shared library development files is now libraryname-dev or librarynameapiversion-dev, not librarynamesoversion-dev.</p> </dd> <dt>9.1.1</dt><dd><p>The stable release of Debian supports <code class="docutils literal notranslate"><span class="pre">/run</span></code>, so packages may now assume that it exists and do not need any special dependency on a version of initscripts.</p> </dd> <dt>9.3.2</dt><dd><p>New optional <code class="docutils literal notranslate"><span class="pre">try-restart</span></code> standard init script argument, which (if supported) should restart the service if it is already running and otherwise just report success.</p> </dd> <dt>9.3.2</dt><dd><p>Support for the <code class="docutils literal notranslate"><span class="pre">status</span></code> init script argument is recommended.</p> </dd> <dt>9.3.3.2</dt><dd><p>Packages must not call <code class="docutils literal notranslate"><span class="pre">/etc/init.d</span></code> scripts directly even as a fallback, and instead must always use <code class="docutils literal notranslate"><span class="pre">invoke-rc.d</span></code> (which is essential and shouldn’t require any conditional).</p> </dd> <dt>9.11.1</dt><dd><p>Instructions for <code class="docutils literal notranslate"><span class="pre">upstart</span></code> integration removed since <code class="docutils literal notranslate"><span class="pre">upstart</span></code> is no longer maintained in Debian.</p> </dd> <dt>10.1</dt><dd><p>Packages may not install files in both <code class="docutils literal notranslate"><span class="pre">/path</span></code> and <code class="docutils literal notranslate"><span class="pre">/usr/path</span></code>, and must manage any backward-compatibility symlinks so that they don’t break if <code class="docutils literal notranslate"><span class="pre">/path</span></code> and <code class="docutils literal notranslate"><span class="pre">/usr/path</span></code> are the same directory.</p> </dd> <dt>10.6</dt><dd><p>Packages should assume device files in <code class="docutils literal notranslate"><span class="pre">/dev</span></code> are dynamically managed and don’t have to be created by the package. Packages other than those whose purpose is to manage <code class="docutils literal notranslate"><span class="pre">/dev</span></code> must not create or remove files there when a dynamic management facility is in use. Named pipes and device files outside of <code class="docutils literal notranslate"><span class="pre">/dev</span></code> should normally be created on demand via init scripts, systemd units, or similar mechanisms, but may be created and removed in maintainer scripts if they must be created during package installation.</p> </dd> <dt>10.9</dt><dd><p>Checking with the base-passwd maintainer is no longer required (or desirable) when creating a new dynamic user or group in a package.</p> </dd> <dt>12.3</dt><dd><p>Dependencies on *-doc packages should be at most Recommends (Suggests if they only include documentation in supplemental formats).</p> </dd> <dt>12.5</dt><dd><p>The Mozilla Public License 1.1 and 2.0 (MPL-1.1 and MPL-2.0) are now included in <code class="docutils literal notranslate"><span class="pre">/usr/share/common-licenses</span></code> and do not need to be copied verbatim in the package <code class="docutils literal notranslate"><span class="pre">copyright</span></code> file.</p> </dd> <dt>copyright-format</dt><dd><p>The <code class="docutils literal notranslate"><span class="pre">https</span></code> form of the copyright-format URL is now allowed and preferred in the <code class="docutils literal notranslate"><span class="pre">Format</span></code> field.</p> </dd> <dt>perl</dt><dd><p>The Perl search path now includes multiarch directories. The vendor directory for architecture-specific modules is now versioned to support multiarch.</p> </dd> <dt>virtual</dt><dd><p>New <code class="docutils literal notranslate"><span class="pre">adventure</span></code> virtual package for implementations of the classic Colossal Cave Adventure game.</p> </dd> <dt>virtual</dt><dd><p>New <code class="docutils literal notranslate"><span class="pre">httpd-wsgi3</span></code> virtual package for Python 3 WSGI-capable HTTP servers. The existing <code class="docutils literal notranslate"><span class="pre">httpd-wsgi</span></code> virtual package is for Python 2 WSGI-capable HTTP servers.</p> </dd> <dt>virtual</dt><dd><p>New <code class="docutils literal notranslate"><span class="pre">virtual-mysql-client</span></code>, <code class="docutils literal notranslate"><span class="pre">virtual-mysql-client-core</span></code>, <code class="docutils literal notranslate"><span class="pre">virtual-mysql-server</span></code>, <code class="docutils literal notranslate"><span class="pre">virtual-mysql-server-core</span></code>, and <code class="docutils literal notranslate"><span class="pre">virtual-mysql-testsuite</span></code> virtual packages for MySQL-compatible software.</p> </dd> </dl> </section> <section id="version-3-9-8"> <h2><span class="section-number">10.18. </span>Version 3.9.8<a class="headerlink" href="#version-3-9-8" title="Permalink to this headline">¶</a></h2> <p>Released April, 2016.</p> <dl class="simple"> <dt>9.6</dt><dd><p>The menu system is deprecated in favor of the FreeDesktop menu standard. New requirements set for FreeDesktop menu entries.</p> </dd> <dt>9.7</dt><dd><p>New instructions for registering media type handlers with the FreeDesktop system, which automatically synchronizes with mailcap and therefore replaces mailcap registration for packages using desktop entries.</p> </dd> </dl> </section> <section id="version-3-9-7"> <h2><span class="section-number">10.19. </span>Version 3.9.7<a class="headerlink" href="#version-3-9-7" title="Permalink to this headline">¶</a></h2> <p>Released February, 2016.</p> <dl class="simple"> <dt>10.5</dt><dd><p>Symbolic links must not traverse above the root directory.</p> </dd> <dt>9.2.2</dt><dd><p>32bit UIDs in the range 65536-4294967293 are reserved for dynamically allocated user accounts.</p> </dd> <dt>5.1</dt><dd><p>Empty field values in control files are only permitted in the <code class="docutils literal notranslate"><span class="pre">debian/control</span></code> file of a source package.</p> </dd> <dt>4.9</dt><dd><p><code class="docutils literal notranslate"><span class="pre">debian/rules</span></code>: required targets must not attempt network access.</p> </dd> <dt>12.3</dt><dd><p>recommend to ship additional documentation for package <code class="docutils literal notranslate"><span class="pre">pkg</span></code> in a separate package <code class="docutils literal notranslate"><span class="pre">pkg-doc</span></code> and install it into <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/pkg</span></code>.</p> </dd> </dl> </section> <section id="version-3-9-6"> <h2><span class="section-number">10.20. </span>Version 3.9.6<a class="headerlink" href="#version-3-9-6" title="Permalink to this headline">¶</a></h2> <p>Released September, 2014.</p> <dl class="simple"> <dt>9.1</dt><dd><p>The FHS is relaxed to allow a subdirectory of <code class="docutils literal notranslate"><span class="pre">/usr/lib</span></code> to hold a mixture of architecture-independent and architecture-dependent files, though directories entirely composed of architecture-independent files should be located in <code class="docutils literal notranslate"><span class="pre">/usr/share</span></code>.</p> </dd> <dt>9.1</dt><dd><p>The FHS requirement for <code class="docutils literal notranslate"><span class="pre">/usr/local/lib64</span></code> to exist if <code class="docutils literal notranslate"><span class="pre">/lib64</span></code> or <code class="docutils literal notranslate"><span class="pre">/usr/lib64</span></code> exists is removed.</p> </dd> <dt>9.1</dt><dd><p>An FHS exception has been granted for multiarch include files, permitting header files to instead be installed to <code class="docutils literal notranslate"><span class="pre">/usr/include/triplet</span></code>.</p> </dd> <dt>10.1</dt><dd><p>Binaries must not be statically linked with the GNU C library, see policy for exceptions.</p> </dd> <dt>4.4</dt><dd><p>It is clarified that signature appearing in debian/changelog should be the details of the person who prepared this release of the package.</p> </dd> <dt>11.5</dt><dd><p>The default web document root is now <code class="docutils literal notranslate"><span class="pre">/var/www/html</span></code></p> </dd> <dt>virtual</dt><dd><p><code class="docutils literal notranslate"><span class="pre">java1-runtime</span></code> and <code class="docutils literal notranslate"><span class="pre">java2-runtime</span></code> are removed, <code class="docutils literal notranslate"><span class="pre">javaN-runtime</span></code> and <code class="docutils literal notranslate"><span class="pre">javaN-runtime-headless</span></code> are added for all N between 5 and 9.</p> </dd> <dt>virtual</dt><dd><p>Added <code class="docutils literal notranslate"><span class="pre">httpd-wsgi</span></code> for WSGI capable HTTP servers.</p> </dd> <dt>perl</dt><dd><p>Perl packages should use the <code class="docutils literal notranslate"><span class="pre">%Config</span></code> hash to locate module paths instead of hardcoding paths in <code class="docutils literal notranslate"><span class="pre">@INC</span></code>.</p> </dd> <dt>perl</dt><dd><p>Perl binary modules and any modules installed into <code class="docutils literal notranslate"><span class="pre">$Config{vendorarch}</span></code> must depend on the relevant perlapi-* package.</p> </dd> </dl> </section> <section id="version-3-9-5"> <h2><span class="section-number">10.21. </span>Version 3.9.5<a class="headerlink" href="#version-3-9-5" title="Permalink to this headline">¶</a></h2> <p>Released October, 2013.</p> <dl class="simple"> <dt>5.1</dt><dd><p>Control data fields must not start with the hyphen character (<code class="docutils literal notranslate"><span class="pre">-</span></code>), to avoid potential confusions when parsing clearsigned control data files that were not properly unescaped.</p> </dd> <dt>5.4, 5.6.24</dt><dd><p><code class="docutils literal notranslate"><span class="pre">Checksums-Sha1</span></code> and <code class="docutils literal notranslate"><span class="pre">Checksums-Sha256</span></code> are now mandatory in <code class="docutils literal notranslate"><span class="pre">.dsc</span></code> files.</p> </dd> <dt>5.6.25, 5.8.1</dt><dd><p>The <code class="docutils literal notranslate"><span class="pre">DM-Upload-Allowed</span></code> field is obsolete. Permissions are now granted via <em>dak-commands</em> files.</p> </dd> <dt>5.6.27</dt><dd><p>New section documenting the <code class="docutils literal notranslate"><span class="pre">Package-List</span></code> field in Debian source control files.</p> </dd> <dt>5.6.28</dt><dd><p>New section documenting the <code class="docutils literal notranslate"><span class="pre">Package-Type</span></code> field in source package control files.</p> </dd> <dt>5.6.29</dt><dd><p>New section documenting the <code class="docutils literal notranslate"><span class="pre">Dgit</span></code> field in Debian source control files.</p> </dd> <dt>9.1.1.8</dt><dd><p>The exception to the FHS for the <code class="docutils literal notranslate"><span class="pre">/selinux</span></code> was removed.</p> </dd> <dt>10.7.3</dt><dd><p>Packages should remove all obsolete configuration files without local changes during upgrades. The <code class="docutils literal notranslate"><span class="pre">dpkg-maintscript-helper</span></code> tool, available from the dpkg package since <em>Wheezy</em>, can help with this.</p> </dd> <dt>10.10</dt><dd><p>The name of the files and directories installed by binary packages must be encoded in UTF-8 and should be restricted to ASCII when possible. In the system PATH, they must be restricted to ASCII.</p> </dd> <dt>11.5.2</dt><dd><p>Stop recommending to serve HTML documents from <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/package</span></code>.</p> </dd> <dt>12.2</dt><dd><p>Packages distributing Info documents should use install-info’s trigger, and do not need anymore to depend on <code class="docutils literal notranslate"><span class="pre">dpkg</span> <span class="pre">(>=</span> <span class="pre">1.15.4)</span> <span class="pre">|</span> <span class="pre">install-info</span></code>.</p> </dd> <dt>debconf</dt><dd><p>The <code class="docutils literal notranslate"><span class="pre">escape</span></code> capability is now documented.</p> </dd> <dt>virtual</dt><dd><p><code class="docutils literal notranslate"><span class="pre">mp3-decoder</span></code> and <code class="docutils literal notranslate"><span class="pre">mp3-encoder</span></code> are removed.</p> </dd> </dl> </section> <section id="version-3-9-4"> <h2><span class="section-number">10.22. </span>Version 3.9.4<a class="headerlink" href="#version-3-9-4" title="Permalink to this headline">¶</a></h2> <p>Released August, 2012.</p> <dl class="simple"> <dt>2.4</dt><dd><p>New <em>tasks</em> archive section.</p> </dd> <dt>4.9</dt><dd><p><code class="docutils literal notranslate"><span class="pre">build-arch</span></code> and <code class="docutils literal notranslate"><span class="pre">build-indep</span></code> are now mandatory targets in <code class="docutils literal notranslate"><span class="pre">debian/rules</span></code>.</p> </dd> <dt>5.6.26</dt><dd><p>New section documenting the <code class="docutils literal notranslate"><span class="pre">Vcs-*</span></code> fields, which are already in widespread use. Note the mechanism for specifying the Git branch used for packaging in the Vcs-Git field.</p> </dd> <dt>7.1</dt><dd><p>The deprecated relations < and > now must not be used.</p> </dd> <dt>7.8</dt><dd><p>New <code class="docutils literal notranslate"><span class="pre">Built-Using</span></code> field, which must be used to document the source packages for any binaries that are incorporated into this package at build time. This is used to ensure that the archive meets license requirements for providing source for all binaries.</p> </dd> <dt>8.6</dt><dd><p>Policy for dependencies between shared libraries and other packages has been largely rewritten to document the <code class="docutils literal notranslate"><span class="pre">symbols</span></code> system and more clearly document handling of shared library ABI changes. <code class="docutils literal notranslate"><span class="pre">symbols</span></code> files are now recommended over <code class="docutils literal notranslate"><span class="pre">shlibs</span></code> files in most situations. All maintainers of shared library packages should review the entirety of this section.</p> </dd> <dt>9.1.1</dt><dd><p>Packages must not assume the <code class="docutils literal notranslate"><span class="pre">/run</span></code> directory exists or is usable without a dependency on <code class="docutils literal notranslate"><span class="pre">initscripts</span> <span class="pre">(>=</span> <span class="pre">2.88dsf-13.3)</span></code> until the stable release of Debian supports <code class="docutils literal notranslate"><span class="pre">/run</span></code>.</p> </dd> <dt>9.7</dt><dd><p>Packages including MIME configuration can now rely on triggers and do not need to call update-mime.</p> </dd> <dt>9.11</dt><dd><p>New section documenting general requirements for alternate init systems and specific requirements for integrating with upstart.</p> </dd> <dt>12.5</dt><dd><p>All copyright files must be encoded in UTF-8.</p> </dd> </dl> </section> <section id="version-3-9-3"> <h2><span class="section-number">10.23. </span>Version 3.9.3<a class="headerlink" href="#version-3-9-3" title="Permalink to this headline">¶</a></h2> <p>Released February, 2012.</p> <dl class="simple"> <dt>2.4</dt><dd><p>New archive sections <em>education</em>, <em>introspection</em>, and <em>metapackages</em> added.</p> </dd> <dt>5.6.8</dt><dd><p>The <code class="docutils literal notranslate"><span class="pre">Architecture</span></code> field in <code class="docutils literal notranslate"><span class="pre">*.dsc</span></code> files may now contain the value <code class="docutils literal notranslate"><span class="pre">any</span> <span class="pre">all</span></code> for source packages building both architecture-independent and architecture-dependent packages.</p> </dd> <dt>7.1</dt><dd><p>If a dependency is restricted to particular architectures, the list of architectures must be non-empty.</p> </dd> <dt>9.1.1</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/run</span></code> is allowed as an exception to the FHS and replaces <code class="docutils literal notranslate"><span class="pre">/var/run</span></code>. <code class="docutils literal notranslate"><span class="pre">/run/lock</span></code> replaces <code class="docutils literal notranslate"><span class="pre">/var/lock</span></code>. The FHS requirements for the older directories apply to these directories as well. Backward compatibility links will be maintained and packages need not switch to referencing <code class="docutils literal notranslate"><span class="pre">/run</span></code> directly yet. Files in <code class="docutils literal notranslate"><span class="pre">/run</span></code> should be stored in a temporary file system.</p> </dd> <dt>9.1.4</dt><dd><p>New section spelling out the requirements for packages that use files in <code class="docutils literal notranslate"><span class="pre">/run</span></code>, <code class="docutils literal notranslate"><span class="pre">/var/run</span></code>, or <code class="docutils literal notranslate"><span class="pre">/var/lock</span></code>. This generalizes information previously only in 9.3.2.</p> </dd> <dt>9.5</dt><dd><p>Cron job file names must not contain <code class="docutils literal notranslate"><span class="pre">.</span></code> or <code class="docutils literal notranslate"><span class="pre">+</span></code> or they will be ignored by cron. They should replace those characters with <code class="docutils literal notranslate"><span class="pre">_</span></code>. If a package provides multiple cron job files in the same directory, they should each start with the package name (possibly modified as above), <code class="docutils literal notranslate"><span class="pre">-</span></code>, and then some suitable suffix.</p> </dd> <dt>9.10</dt><dd><p>Packages using doc-base do not need to call install-docs anymore.</p> </dd> <dt>10.7.4</dt><dd><p>Packages that declare the same <code class="docutils literal notranslate"><span class="pre">conffile</span></code> may see left-over configuration files from each other even if they conflict.</p> </dd> <dt>11.8</dt><dd><p>The Policy rules around Motif libraries were just a special case of normal rules for non-free dependencies and were largely obsolete, so they have been removed.</p> </dd> <dt>12.5</dt><dd><p><code class="docutils literal notranslate"><span class="pre">debian/copyright</span></code> is no longer required to list the Debian maintainers involved in the creation of the package (although note that the requirement to list copyright information is unchanged).</p> </dd> <dt>copyright-format</dt><dd><p>Version 1.0 of the “Machine-readable <code class="docutils literal notranslate"><span class="pre">debian/copyright</span></code> file” specification is included.</p> </dd> <dt>mime</dt><dd><p>This separate document has been retired and and its (short) contents merged into Policy section 9.7. There are no changes to the requirements.</p> </dd> <dt>perl</dt><dd><p>Packages may declare an interest in the perl-major-upgrade trigger to be notified of major upgrades of perl.</p> </dd> <dt>virtual</dt><dd><p><code class="docutils literal notranslate"><span class="pre">ttf-japanese-{mincho,</span> <span class="pre">gothic}</span></code> is renamed to <code class="docutils literal notranslate"><span class="pre">fonts-japanese-{mincho,</span> <span class="pre">gothic}</span></code>.</p> </dd> </dl> </section> <section id="version-3-9-2"> <h2><span class="section-number">10.24. </span>Version 3.9.2<a class="headerlink" href="#version-3-9-2" title="Permalink to this headline">¶</a></h2> <p>Released April, 2011.</p> <dl class="simple"> <dt>*</dt><dd><p>Multiple clarifications throughout Policy where “installed” was used and the more precise terms “unpacked” or “configured” were intended.</p> </dd> <dt>3.3</dt><dd><p>The maintainer address must accept mail from Debian role accounts and the BTS. At least one human must be listed with their personal email address in <code class="docutils literal notranslate"><span class="pre">Uploaders</span></code> if the maintainer is a shared email address. The duties of a maintainer are also clearer.</p> </dd> <dt>5</dt><dd><p>All control fields are now classified as simple, folded, or multiline, which governs whether their values must be a single line or may be continued across multiple lines and whether line breaks are significant.</p> </dd> <dt>5.1</dt><dd><p>Parsers are allowed to accept paragraph separation lines containing whitespace, but control files should use completely empty lines. Ordering of paragraphs is significant. Field names must be composed of printable ASCII characters except colon and must not begin with #.</p> </dd> <dt>5.6.25</dt><dd><p>The <code class="docutils literal notranslate"><span class="pre">DM-Upload-Allowed</span></code> field is now documented.</p> </dd> <dt>6.5</dt><dd><p>The system state maintainer scripts can rely upon during each possible invocation is now documented. In several less-common cases, this is stricter than Policy had previously documented. Packages with complex maintainer scripts should be reviewed in light of this new documentation.</p> </dd> <dt>7.2</dt><dd><p>The impact on system state when maintainer scripts that are part of a circular dependency are run is now documented. Circular dependencies are now a should not.</p> </dd> <dt>7.2</dt><dd><p>The system state when <code class="docutils literal notranslate"><span class="pre">postinst</span></code> and <code class="docutils literal notranslate"><span class="pre">prerm</span></code> scripts are run is now documented, and the documentation of the special case of dependency state for <code class="docutils literal notranslate"><span class="pre">postrm</span></code> scripts has been improved. <code class="docutils literal notranslate"><span class="pre">postrm</span></code> scripts are required to gracefully skip actions if their dependencies are not available.</p> </dd> <dt>9.1.1</dt><dd><p>GNU/Hurd systems are allowed <code class="docutils literal notranslate"><span class="pre">/hurd</span></code> and <code class="docutils literal notranslate"><span class="pre">/servers</span></code> directories in the root filesystem.</p> </dd> <dt>9.1.1</dt><dd><p>Packages installing to architecture-specific subdirectories of <code class="docutils literal notranslate"><span class="pre">/usr/lib</span></code> must use the value returned by <code class="docutils literal notranslate"><span class="pre">dpkg-architecture</span> <span class="pre">-qDEB_HOST_MULTIARCH</span></code>, not by <code class="docutils literal notranslate"><span class="pre">dpkg-architecture</span> <span class="pre">-qDEB_HOST_GNU_TYPE</span></code>; this is a path change on i386 architectures and a no-op for other architectures.</p> </dd> <dt>virtual</dt><dd><p><code class="docutils literal notranslate"><span class="pre">mailx</span></code> is now a virtual package provided by packages that install <code class="docutils literal notranslate"><span class="pre">/usr/bin/mailx</span></code> and implement at least the POSIX-required interface.</p> </dd> </dl> </section> <section id="version-3-9-1"> <h2><span class="section-number">10.25. </span>Version 3.9.1<a class="headerlink" href="#version-3-9-1" title="Permalink to this headline">¶</a></h2> <p>Released July, 2010.</p> <dl class="simple"> <dt>3.2.1</dt><dd><p>Date-based version components should be given as the four-digit year, two-digit month, and then two-digit day, but may have embedded punctuation.</p> </dd> <dt>3.9</dt><dd><p>Maintainer scripts must pass <code class="docutils literal notranslate"><span class="pre">--package</span></code> to <code class="docutils literal notranslate"><span class="pre">dpkg-divert</span></code> when creating or removing diversions and must not use <code class="docutils literal notranslate"><span class="pre">--local</span></code>.</p> </dd> <dt>4.10</dt><dd><p>Only <code class="docutils literal notranslate"><span class="pre">dpkg-gencontrol</span></code> supports variable substitution. <code class="docutils literal notranslate"><span class="pre">dpkg-genchanges</span></code> (for <code class="docutils literal notranslate"><span class="pre">*.changes</span></code>) and <code class="docutils literal notranslate"><span class="pre">dpkg-source</span></code> (for <code class="docutils literal notranslate"><span class="pre">*.dsc</span></code>) do not.</p> </dd> <dt>7.1</dt><dd><p>Architecture restrictions and wildcards are also allowed in binary package relationships provided that the binary package is not architecture-independent.</p> </dd> <dt>7.4</dt><dd><p><code class="docutils literal notranslate"><span class="pre">Conflicts</span></code> and <code class="docutils literal notranslate"><span class="pre">Breaks</span></code> should only be used when there are file conflicts or one package breaks the other, not just because two packages provide similar functionality but don’t interfere.</p> </dd> <dt>8.1</dt><dd><p>The SONAME of a library should change whenever the ABI of the library changes in a way that isn’t backward-compatible. It should not change if the library ABI changes are backward-compatible. Discourage bundling shared libraries together in one package.</p> </dd> <dt>8.4</dt><dd><p>Ada Library Information (<code class="docutils literal notranslate"><span class="pre">*.ali</span></code>) files must be installed read-only.</p> </dd> <dt>8.6.1, 8.6.2, 8.6.5</dt><dd><p>Packages should normally not include a <code class="docutils literal notranslate"><span class="pre">shlibs.local</span></code> file since we now have complete <code class="docutils literal notranslate"><span class="pre">shlibs</span></code> coverage.</p> </dd> <dt>8.6.3</dt><dd><p>The SONAME of a library may instead be of the form <code class="docutils literal notranslate"><span class="pre">name-major-version.so</span></code>.</p> </dd> <dt>10.2</dt><dd><p>Libtool <code class="docutils literal notranslate"><span class="pre">.la</span></code> files should not be installed for public libraries. If they’re required (for <code class="docutils literal notranslate"><span class="pre">libltdl</span></code>, for instance), the <code class="docutils literal notranslate"><span class="pre">dependency_libs</span></code> setting should be emptied. Library packages historically including <code class="docutils literal notranslate"><span class="pre">.la</span></code> files must continue to include them (with <code class="docutils literal notranslate"><span class="pre">dependency_libs</span></code> emptied) until all libraries that depend on that library have removed or emptied their <code class="docutils literal notranslate"><span class="pre">.la</span></code> files.</p> </dd> <dt>10.2</dt><dd><p>Libraries no longer need to be built with <code class="docutils literal notranslate"><span class="pre">-D_REENTRANT</span></code>, which was an obsolete LinuxThreads requirement. Instead, say explicitly that libraries should be built with threading support and to be thread-safe if the library supports this.</p> </dd> <dt>10.4</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/bin/sh</span></code> scripts may assume that <code class="docutils literal notranslate"><span class="pre">kill</span></code> supports an argument of <code class="docutils literal notranslate"><span class="pre">-signal</span></code>, that <code class="docutils literal notranslate"><span class="pre">kill</span></code> and <code class="docutils literal notranslate"><span class="pre">trap</span></code> support the numeric signals listed in the XSI extension, and that signal 13 (SIGPIPE) can be trapped with <code class="docutils literal notranslate"><span class="pre">trap</span></code>.</p> </dd> <dt>10.8</dt><dd><p>Use of <code class="docutils literal notranslate"><span class="pre">/etc/logrotate.d/package</span></code> for logrotate rules is now recommended.</p> </dd> <dt>10.9</dt><dd><p>Control information files should be owned by <code class="docutils literal notranslate"><span class="pre">root:root</span></code> and either mode 644 or mode 755.</p> </dd> <dt>11.4, 11.8.3, 11.8.4</dt><dd><p>Packages providing alternatives for <code class="docutils literal notranslate"><span class="pre">editor</span></code>, <code class="docutils literal notranslate"><span class="pre">pager</span></code>, <code class="docutils literal notranslate"><span class="pre">x-terminal-emulator</span></code>, or <code class="docutils literal notranslate"><span class="pre">x-window-manager</span></code> should also provide a slave alternative for the corresponding manual page.</p> </dd> <dt>11.5</dt><dd><p>Cgi-bin executable files may be installed in subdirectories of <code class="docutils literal notranslate"><span class="pre">/usr/lib/cgi-bin</span></code> and web servers should serve out executables in those subdirectories.</p> </dd> <dt>12.5</dt><dd><p>The GPL version 1 is now included in common-licenses and should be referenced from there instead of included in the <code class="docutils literal notranslate"><span class="pre">copyright</span></code> file.</p> </dd> </dl> </section> <section id="version-3-9-0"> <h2><span class="section-number">10.26. </span>Version 3.9.0<a class="headerlink" href="#version-3-9-0" title="Permalink to this headline">¶</a></h2> <p>Released June, 2010.</p> <dl class="simple"> <dt>4.4, 5.6.15</dt><dd><p>The required format for the date in a changelog entry and in the Date control field is now precisely specified.</p> </dd> <dt>5.1</dt><dd><p>A control paragraph must not contain more than one instance of a particular field name.</p> </dd> <dt>5.4, 5.5, 5.6.24</dt><dd><p>The <code class="docutils literal notranslate"><span class="pre">Checksums-Sha1</span></code> and <code class="docutils literal notranslate"><span class="pre">Checksums-Sha256</span></code> fields in <code class="docutils literal notranslate"><span class="pre">*.dsc</span></code> and <code class="docutils literal notranslate"><span class="pre">*.changes</span></code> files are now documented and recommended.</p> </dd> <dt>5.5, 5.6.16</dt><dd><p>The <code class="docutils literal notranslate"><span class="pre">Format</span></code> field of <code class="docutils literal notranslate"><span class="pre">.changes</span></code> files is now 1.8. The <code class="docutils literal notranslate"><span class="pre">Format</span></code> field syntax for source package <code class="docutils literal notranslate"><span class="pre">.dsc</span></code> files allows a subtype in parentheses, and it is used for a different purpose than the <code class="docutils literal notranslate"><span class="pre">Format</span></code> field for <code class="docutils literal notranslate"><span class="pre">.changes</span></code> files.</p> </dd> <dt>5.6.2</dt><dd><p>The syntax of the <code class="docutils literal notranslate"><span class="pre">Maintainer</span></code> field is now must rather than should.</p> </dd> <dt>5.6.3</dt><dd><p>The comma separating entries in <code class="docutils literal notranslate"><span class="pre">Uploaders</span></code> is now must rather than should.</p> </dd> <dt>5.6.8, 7.1, 11.1.1</dt><dd><p>Architecture wildcards may be used in addition to specific architectures in <code class="docutils literal notranslate"><span class="pre">debian/control</span></code> and <code class="docutils literal notranslate"><span class="pre">*.dsc</span></code> Architecture fields, and in architecture restrictions in build relationships.</p> </dd> <dt>6.3</dt><dd><p>Maintainer scripts are no longer guaranteed to run with a controlling terminal and must be able to fall back to noninteractive behavior (debconf handles this). Maintainer scripts may abort if there is no controlling terminal and no reasonable default for a high-priority question, but should avoid this if possible.</p> </dd> <dt>7.3, 7.6.1</dt><dd><p><code class="docutils literal notranslate"><span class="pre">Breaks</span></code> should be used with <code class="docutils literal notranslate"><span class="pre">Replaces</span></code> for moving files between packages.</p> </dd> <dt>7.4</dt><dd><p><code class="docutils literal notranslate"><span class="pre">Breaks</span></code> should normally be used instead of <code class="docutils literal notranslate"><span class="pre">Conflicts</span></code> for transient issues and moving files between packages. New documentation of when each should be used.</p> </dd> <dt>7.5</dt><dd><p>Use <code class="docutils literal notranslate"><span class="pre">Conflicts</span></code> with <code class="docutils literal notranslate"><span class="pre">Provides</span></code> if only one provider of a virtual facility can be installed at a time.</p> </dd> <dt>8.4</dt><dd><p>All shared library development files are no longer required to be in the <code class="docutils literal notranslate"><span class="pre">-dev</span></code> package, only be available when the <code class="docutils literal notranslate"><span class="pre">-dev</span></code> package is installed. This allows the <code class="docutils literal notranslate"><span class="pre">-dev</span></code> package to be split as long as it depends on the additional packages.</p> </dd> <dt>9.2.2</dt><dd><p>The UID range of user accounts is extended to 1000-59999.</p> </dd> <dt>9.3.2, 10.4</dt><dd><p><code class="docutils literal notranslate"><span class="pre">init.d</span></code> scripts are a possible exception from the normal requirement to use <code class="docutils literal notranslate"><span class="pre">set</span> <span class="pre">-e</span></code> in each shell script.</p> </dd> <dt>12.5</dt><dd><p>The UCB BSD license was removed from the list of licenses that should be referenced from <code class="docutils literal notranslate"><span class="pre">/usr/share/common-licenses/BSD</span></code>. It should instead be included directly in <code class="docutils literal notranslate"><span class="pre">debian/copyright</span></code>, although it will still be in common-licenses for the time being.</p> </dd> <dt>debconf</dt><dd><p><code class="docutils literal notranslate"><span class="pre">SETTITLE</span></code> is now documented (it has been supported for some time). <code class="docutils literal notranslate"><span class="pre">SETTITLE</span></code> is like <code class="docutils literal notranslate"><span class="pre">TITLE</span></code> but takes a template instead of a string to allow translation.</p> </dd> <dt>perl</dt><dd><p>perl-base now provides perlapi-abiname instead of a package based solely on the Perl version. Perl packages must now depend on perlapi-$Config{debian_abi}, falling back on <code class="docutils literal notranslate"><span class="pre">$Config{version}</span></code> if <code class="docutils literal notranslate"><span class="pre">$Config{debian_abi}</span></code> is not set.</p> </dd> <dt>perl</dt><dd><p>Packages using <code class="docutils literal notranslate"><span class="pre">Makefile.PL</span></code> should use <code class="docutils literal notranslate"><span class="pre">DESTDIR</span></code> rather than <code class="docutils literal notranslate"><span class="pre">PREFIX</span></code> to install into the package staging area. <code class="docutils literal notranslate"><span class="pre">PREFIX</span></code> only worked due to a Debian-local patch.</p> </dd> </dl> </section> <section id="version-3-8-4"> <h2><span class="section-number">10.27. </span>Version 3.8.4<a class="headerlink" href="#version-3-8-4" title="Permalink to this headline">¶</a></h2> <p>Released January, 2010.</p> <dl class="simple"> <dt>9.1.1</dt><dd><p>An FHS exception has been granted for multiarch libraries. Permitting files to instead be installed to <code class="docutils literal notranslate"><span class="pre">/lib/triplet</span></code> and <code class="docutils literal notranslate"><span class="pre">/usr/lib/triplet</span></code> directories.</p> </dd> <dt>10.6</dt><dd><p>Packages may not contain named pipes and should instead create them in postinst and remove them in prerm or postrm.</p> </dd> <dt>9.1.1</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/sys</span></code> and <code class="docutils literal notranslate"><span class="pre">/selinux</span></code> directories are explicitly allowed as an exception to the FHS.</p> </dd> </dl> </section> <section id="version-3-8-3"> <h2><span class="section-number">10.28. </span>Version 3.8.3<a class="headerlink" href="#version-3-8-3" title="Permalink to this headline">¶</a></h2> <p>Released August, 2009.</p> <dl class="simple"> <dt>4.9</dt><dd><p>DEB_*_ARCH_CPU and DEB_*_ARCH_OS variables are now documented and recommended over GNU-style variables for that information.</p> </dd> <dt>5.6.8</dt><dd><p>Source package Architecture fields may contain <em>all</em> in combination with other architectures. Clarify when <em>all</em> and <em>any</em> may be used in different versions of the field.</p> </dd> <dt>5.6.14</dt><dd><p>The Debian archive software does not support uploading to multiple distributions with one <code class="docutils literal notranslate"><span class="pre">*.changes</span></code> file.</p> </dd> <dt>5.6.19</dt><dd><p>The Binary field may span multiple lines.</p> </dd> <dt>10.2</dt><dd><p>Shared library packages are no longer allowed to install libraries in a non-standard location and modify <code class="docutils literal notranslate"><span class="pre">ld.so.conf</span></code>. Packages should either be installed in a standard library directory or packages using them should be built with RPATH.</p> </dd> <dt>11.8.7</dt><dd><p>Installation directories for X programs have been clarified. Packages are no longer required to pre-depend on x11-common before installing into <code class="docutils literal notranslate"><span class="pre">/usr/include/X11</span></code> and <code class="docutils literal notranslate"><span class="pre">/usr/lib/X11</span></code>.</p> </dd> <dt>12.1</dt><dd><p>Manual pages are no longer required to contain only characters representable in the legacy encoding for that language.</p> </dd> <dt>12.1</dt><dd><p>Localized man pages should either be kept up-to-date with the original version or warn that they’re not up-to-date, either with warning text or by showing missing or changed portions in the original language.</p> </dd> <dt>12.2</dt><dd><p>install-info is now handled via triggers so packages no longer need to invoke it in maintainer scripts. Info documents should now have directory sections and entries in the document. Packages containing info documents should add a dependency to support partial upgrades.</p> </dd> <dt>perl</dt><dd><p>The requirement for Perl modules to have a versioned Depend and Build-Depend on <code class="docutils literal notranslate"><span class="pre">perl</span> <span class="pre">>=</span> <span class="pre">5.6.0-16</span></code> has been removed.</p> </dd> </dl> </section> <section id="version-3-8-2"> <h2><span class="section-number">10.29. </span>Version 3.8.2<a class="headerlink" href="#version-3-8-2" title="Permalink to this headline">¶</a></h2> <p>Released June, 2009.</p> <dl class="simple"> <dt>2.4</dt><dd><p>The list of archive sections has been significantly expanded. See <a class="reference external" href="http://lists.debian.org/debian-devel-announce/2009/03/msg00010.html">this debian-devel-announce message</a> for the list of new sections and rules for how to categorize packages.</p> </dd> <dt>3.9.1</dt><dd><p>All packages must use debconf or equivalent for user prompting, though essential packages or their dependencies may also fall back on other methods.</p> </dd> <dt>5.6.1</dt><dd><p>The requirements for source package names are now explicitly spelled out.</p> </dd> <dt>9.1</dt><dd><p>Legacy XFree86 servers no longer get a special exception from the FHS permitting <code class="docutils literal notranslate"><span class="pre">/etc/X11/XF86Config-4</span></code>.</p> </dd> <dt>9.1.3</dt><dd><p>Removed obsolete dependency requirements for packages that use <code class="docutils literal notranslate"><span class="pre">/var/mail</span></code>.</p> </dd> <dt>11.8.5</dt><dd><p>Speedo fonts are now deprecated. The X backend was disabled starting in lenny.</p> </dd> <dt>12.5</dt><dd><p>The GNU Free Documentation License version 1.3 is included in common-licenses and should be referenced from there.</p> </dd> </dl> </section> <section id="version-3-8-1"> <h2><span class="section-number">10.30. </span>Version 3.8.1<a class="headerlink" href="#version-3-8-1" title="Permalink to this headline">¶</a></h2> <p>Released March, 2009.</p> <dl class="simple"> <dt>3.8</dt><dd><p>Care should be taken when adding functionality to essential and such additions create an obligation to support that functionality in essential forever unless significant work is done.</p> </dd> <dt>4.4</dt><dd><p>Changelog files must be encoded in UTF-8.</p> </dd> <dt>4.4</dt><dd><p>Some format requirements for changelog files are now “must” instead of “should.”</p> </dd> <dt>4.4.1</dt><dd><p>Alternative changelog formats have been removed. Debian only supports one changelog format for the Debian Archive.</p> </dd> <dt>4.9.1</dt><dd><p>New nocheck option for DEB_BUILD_OPTIONS indicating any build-time test suite provided by the package should not be run.</p> </dd> <dt>5.1</dt><dd><p>All control files must be encoded in UTF-8.</p> </dd> <dt>5.2</dt><dd><p><code class="docutils literal notranslate"><span class="pre">debian/control</span></code> allows comment lines starting with # with no preceding whitespace.</p> </dd> <dt>9.3</dt><dd><p>Init scripts ending in .sh are not handled specially. They are not sourced and are not guaranteed to be run by <code class="docutils literal notranslate"><span class="pre">/bin/sh</span></code> regardless of the #! line. This brings Policy in line with the long-standing behavior of the init system in Debian.</p> </dd> <dt>9.3.2</dt><dd><p>The start action of an init script must exit successfully and not start the daemon again if it’s already running.</p> </dd> <dt>9.3.2</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/var/run</span></code> and <code class="docutils literal notranslate"><span class="pre">/var/lock</span></code> may be mounted as temporary filesystems, and init scripts must therefore create any necessary subdirectories dynamically.</p> </dd> <dt>10.4</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/bin/sh</span></code> scripts may assume that local can take multiple variable arguments and supports assignment.</p> </dd> <dt>11.6</dt><dd><p>User mailboxes may be mode 600 and owned by the user rather than mode 660, owned by user, and group mail.</p> </dd> </dl> </section> <section id="version-3-8-0"> <h2><span class="section-number">10.31. </span>Version 3.8.0<a class="headerlink" href="#version-3-8-0" title="Permalink to this headline">¶</a></h2> <p>Released June, 2008.</p> <dl class="simple"> <dt>2.4, 3.7</dt><dd><p>The base section has been removed. contrib and non-free have been removed from the section list; they are only categories. The base system is now defined by priority.</p> </dd> <dt>4.9</dt><dd><p>If <code class="docutils literal notranslate"><span class="pre">dpkg-source</span> <span class="pre">-x</span></code> doesn’t provide the source that will be compiled, a debian/rules patch target is recommended and should do whatever else is necessary.</p> </dd> <dt>4.9.1, 10.1</dt><dd><p>Standardized the format of DEB_BUILD_OPTIONS. Specified permitted characters for tags, required that tags be whitespace-separated, allowed packages to assume non-conflicting tags, and required unknown flags be ignored.</p> </dd> <dt>4.9.1</dt><dd><p>Added parallel=n to the standardized DEB_BUILD_OPTIONS tags, indicating that a package should be built using up to n parallel processes if the package supports it</p> </dd> <dt>4.13</dt><dd><p>Debian packages should not use convenience copies of code from other packages unless the included package is explicitly intended to be used that way.</p> </dd> <dt>4.14</dt><dd><p>If dpkg-source -x doesn’t produce source ready for editing and building with dpkg-buildpackage, packages should include a <code class="docutils literal notranslate"><span class="pre">debian/README.source</span></code> file explaining how to generate the patched source, add a new modification, and remove an existing modification. This file may also be used to document packaging a new upstream release and any other complexity of the Debian build process.</p> </dd> <dt>5.6.3</dt><dd><p>The Uploaders field in debian/control may be wrapped.</p> </dd> <dt>5.6.12</dt><dd><p>An empty Debian revision is equivalent to a Debian revision of 0 in a version number.</p> </dd> <dt>5.6.23</dt><dd><p>New Homepage field for upstream web sites.</p> </dd> <dt>6.5, 6.6, 7</dt><dd><p>The Breaks field declares that this package breaks another and prevents installation of the breaking package unless the package named in Breaks is deconfigured first. This field should not be used until the dpkg in Debian stable supports it.</p> </dd> <dt>8.1, 8.2</dt><dd><p>Clarify which files should go into a shared library package, into a separate package, or into the -dev package. Suggest -tools instead of -runtime for runtime support programs, since that naming is more common in Debian.</p> </dd> <dt>9.5</dt><dd><p>Files in <code class="docutils literal notranslate"><span class="pre">/etc/cron.{hourly,daily,weekly,monthly}</span></code> must be configuration files (upgraded from should). Mention the hourly directory.</p> </dd> <dt>11.8.6</dt><dd><p>Packages providing <code class="docutils literal notranslate"><span class="pre">/etc/X11/Xresources</span></code> files need not conflict with <code class="docutils literal notranslate"><span class="pre">xbase</span> <span class="pre">(<<</span> <span class="pre">3.3.2.3a-2)</span></code>, which is long-obsolete.</p> </dd> <dt>12.1</dt><dd><p>Manual pages in locale-specific directories should use either the legacy encoding for that directory or UTF-8. Country names should not be included in locale-specific manual page directories unless indicating a significant difference in the language. All characters in the manual page source should be representable in the legacy encoding for a locale even if the man page is encoded in UTF-8.</p> </dd> <dt>12.5</dt><dd><p>The Apache 2.0 license is now in common-licenses and should be referenced rather than quoted in <code class="docutils literal notranslate"><span class="pre">debian/copyright</span></code>.</p> </dd> <dt>12.5</dt><dd><p>Packages in contrib and non-free should state in the copyright file that the package is not part of Debian GNU/Linux and briefly explain why.</p> </dd> <dt>debconf</dt><dd><p>Underscore (<code class="docutils literal notranslate"><span class="pre">_</span></code>) is allowed in debconf template names.</p> </dd> </dl> </section> <section id="version-3-7-3"> <h2><span class="section-number">10.32. </span>Version 3.7.3<a class="headerlink" href="#version-3-7-3" title="Permalink to this headline">¶</a></h2> <p>Released December, 2007.</p> <dl class="simple"> <dt>5.6.12</dt><dd><p>Package version numbers may contain tildes, which sort before anything, even the end of a part.</p> </dd> <dt>10.4</dt><dd><p>Scripts may assume that <code class="docutils literal notranslate"><span class="pre">/bin/sh</span></code> supports local (at a basic level) and that its test builtin (if any) supports -a and -o binary logical operators.</p> </dd> <dt>8.5</dt><dd><p>The substitution variable ${binary:Version} should be used in place of ${Source-Version} for dependencies between packages of the same library.</p> </dd> <dt>menu policy</dt><dd><p>Substantial reorganization and renaming of sections in the Debian menu structure. Packages with menu entries should be reviewed to see if the menu section has been renamed or if one of the new sections would be more appropriate.</p> </dd> <dt>5.6.1</dt><dd><p>The Source field in a .changes file may contain a version number in parentheses.</p> </dd> <dt>5.6.17</dt><dd><p>The acceptable values for the Urgency field are low, medium, high, critical, or emergency.</p> </dd> <dt>8.6</dt><dd><p>The shlibs file now allows an optional type field, indicating the type of package for which the line is valid. The only currently supported type is udeb, used with packages for the Debian Installer.</p> </dd> <dt>3.9.1</dt><dd><p>Packages following the Debian Configuration management specification must allow for translation of their messages by using a gettext-based system such as po-debconf.</p> </dd> <dt>12.5</dt><dd><p>GFDL 1.2, GPL 3, and LGPL 3 are now in common-licenses and should be referenced rather than quoted in debian/copyright.</p> </dd> </dl> </section> <section id="version-3-7-2-2"> <h2><span class="section-number">10.33. </span>Version 3.7.2.2<a class="headerlink" href="#version-3-7-2-2" title="Permalink to this headline">¶</a></h2> <p>Released October, 2006.</p> <p>This release broke the normal rule against introducing normative changes without changing the major patch level.</p> <dl class="simple"> <dt>6.1</dt><dd><p>Maintainer scripts must not be world writeable (up from a should to a must)</p> </dd> </dl> </section> <section id="version-3-7-2"> <h2><span class="section-number">10.34. </span>Version 3.7.2<a class="headerlink" href="#version-3-7-2" title="Permalink to this headline">¶</a></h2> <p>Released April, 2006.</p> <dl class="simple"> <dt>11.5</dt><dd><p>Revert the cgi-lib change.</p> </dd> </dl> </section> <section id="version-3-7-1"> <h2><span class="section-number">10.35. </span>Version 3.7.1<a class="headerlink" href="#version-3-7-1" title="Permalink to this headline">¶</a></h2> <p>Released April, 2006.</p> <dl class="simple"> <dt>10.2</dt><dd><p>It is now possible to create shared libraries without relocatable code (using -fPIC) in certain exceptional cases, provided some procedures are followed, and for creating static libraries with relocatable code (again, using -fPIC). Discussion on <a class="reference external" href="mailto:debian-devel%40lists.debian.org">debian-devel<span>@</span>lists<span>.</span>debian<span>.</span>org</a>, getting a rough consensus, and documenting it in README.Debian constitute most of the process.</p> </dd> <dt>11.8.7</dt><dd><p>Packages should install any relevant files into the directories <code class="docutils literal notranslate"><span class="pre">/usr/include/X11/</span></code> and <code class="docutils literal notranslate"><span class="pre">/usr/lib/X11/</span></code>, but if they do so, they must pre-depend on <code class="docutils literal notranslate"><span class="pre">x11-common</span> <span class="pre">(>=</span> <span class="pre">1:7.0.0)</span></code></p> </dd> </dl> </section> <section id="version-3-7-0"> <h2><span class="section-number">10.36. </span>Version 3.7.0<a class="headerlink" href="#version-3-7-0" title="Permalink to this headline">¶</a></h2> <p>Released April, 2006.</p> <dl class="simple"> <dt>11.5</dt><dd><p>Packages shipping web server CGI files are expected to install them in <code class="docutils literal notranslate"><span class="pre">/usr/lib/cgi-lib/</span></code> directories. This location change perhaps should be documented in NEWS</p> </dd> <dt>11.5</dt><dd><p>Web server packages should include a standard scriptAlias of cgi-lib to <code class="docutils literal notranslate"><span class="pre">/usr/lib/cgi-lib</span></code>.</p> </dd> <dt>9.1.1</dt><dd><p>The version of FHS mandated by policy has been upped to 2.3. There should be no changes required for most packages, though new top level directories <code class="docutils literal notranslate"><span class="pre">/media</span></code>, <code class="docutils literal notranslate"><span class="pre">/srv</span></code>, etc. may be of interest.</p> </dd> <dt>5.1, 5.6.3</dt><dd><p>All fields, apart from the Uploaders field, in the control file are supposed to be a single logical line, which may be spread over multiple physical lines (newline followed by space is elided). However, any parser for the control file must allow the Uploaders field to be spread over multiple physical lines as well, to prepare for future changes.</p> </dd> <dt>10.4</dt><dd><p>When scripts are installed into a directory in the system PATH, the script name should not include an extension that denotes the scripting language currently used to implement it.</p> </dd> <dt>9.3.3.2</dt><dd><p>packages that invoke initscripts now must use invoke-rc.d to do so since it also pays attention to run levels and other local constraints.</p> </dd> <dt>11.8.5.2, 11.8.7, etc</dt><dd><p>We no longer use <code class="docutils literal notranslate"><span class="pre">/usr/X11R6</span></code>, since we have migrated away to using Xorg paths. This means, for one thing, fonts live in <code class="docutils literal notranslate"><span class="pre">/usr/share/fonts/X11/</span></code> now, and <code class="docutils literal notranslate"><span class="pre">/usr/X11R6</span></code> is gone.</p> </dd> </dl> </section> <section id="version-3-6-2"> <h2><span class="section-number">10.37. </span>Version 3.6.2<a class="headerlink" href="#version-3-6-2" title="Permalink to this headline">¶</a></h2> <p>Released June, 2005.</p> <blockquote> <div><p>Recommend doc-base, and not menu, for registering package documentation.</p> </div></blockquote> <dl class="simple"> <dt>8.1</dt><dd><p>Run time support programs should live in subdirectories of <code class="docutils literal notranslate"><span class="pre">/usr/lib/</span></code> or <code class="docutils literal notranslate"><span class="pre">/usr/share</span></code>, and preferably the shared lib is named the same as the package name (to avoid name collisions).</p> </dd> <dt>11.5</dt><dd><p>It is recommended that HTTP servers provide an alias /images to allow packages to share image files with the web server</p> </dd> </dl> </section> <section id="version-3-6-1"> <h2><span class="section-number">10.38. </span>Version 3.6.1<a class="headerlink" href="#version-3-6-1" title="Permalink to this headline">¶</a></h2> <p>Released August, 2003.</p> <dl class="simple"> <dt>3.10.1</dt><dd><p>Prompting the user should be done using debconf. Non debconf user prompts are now deprecated.</p> </dd> </dl> </section> <section id="version-3-6-0"> <h2><span class="section-number">10.39. </span>Version 3.6.0<a class="headerlink" href="#version-3-6-0" title="Permalink to this headline">¶</a></h2> <p>Released July, 2003.</p> <p>Restructuring caused shifts in section numbers and bumping of the minor version number.</p> <p>Many packaging manual appendices that were integrated into policy sections are now empty, and replaced with links to the Policy. In particular, the appendices that included the list of control fields were updated (new fields like Closes, Changed-By were added) and the list of fields for each of control, .changes and .dsc files is now in Policy, and they’re marked mandatory, recommended or optional based on the current practice and the behavior of the deb-building tool-chain.</p> <p>Elimination of needlessly deep section levels, primarily in the chapter Debian Archive, from which two new chapters were split out, Binary packages and Source packages. What remained was reordered properly, that is, some sects became sects etc.</p> <p>Several sections that were redundant, crufty or simply not designed with any sort of vision, were rearranged according to the formula that everything should be either in the same place or properly interlinked. Some things remained split up between different chapters when they talked about different aspects of files: their content, their syntax, and their placement in the file system. In particular, see the new sections about changelog files.</p> <dl class="simple"> <dt>menu policy</dt><dd><p>Added Games/Simulation and Apps/Education to menu sub-policy</p> </dd> <dt>C.2.2</dt><dd><p>Debian changelogs should be UTF-8 encoded.</p> </dd> <dt>10.2</dt><dd><p>shared libraries must be linked against all libraries that they use symbols from in the same way that binaries are.</p> </dd> <dt>7.6</dt><dd><p>build-depends-indep need not be satisfied during clean target.</p> </dd> </dl> </section> <section id="version-3-5-10"> <h2><span class="section-number">10.40. </span>Version 3.5.10<a class="headerlink" href="#version-3-5-10" title="Permalink to this headline">¶</a></h2> <p>Released May, 2003.</p> <dl class="simple"> <dt>11.8.3</dt><dd><p>packages providing the x-terminal-emulator virtual package ought to ensure that they interpret the command line exactly like xterm does.</p> </dd> <dt>11.8.4</dt><dd><p>Window managers compliant with the Window Manager Specification Project may add 40 points for ranking in the alternatives</p> </dd> </dl> </section> <section id="version-3-5-9"> <h2><span class="section-number">10.41. </span>Version 3.5.9<a class="headerlink" href="#version-3-5-9" title="Permalink to this headline">¶</a></h2> <p>Released March, 2003.</p> <dl class="simple"> <dt>3.4.2</dt><dd><p>The section describing the Description: package field once again has full details of the long description format.</p> </dd> <dt>4.2</dt><dd><p>Clarified that if a package has non-build-essential build-dependencies, it should have them listed in the Build-Depends and related fields (i.e. it’s not merely optional).</p> </dd> <dt>9.3.2</dt><dd><p>When asked to restart a service that isn’t already running, the init script should start the service.</p> </dd> <dt>12.6</dt><dd><p>If the purpose of a package is to provide examples, then the example files can be installed into <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/package</span></code> (rather than <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/package/examples</span></code>).</p> </dd> </dl> </section> <section id="version-3-5-8"> <h2><span class="section-number">10.42. </span>Version 3.5.8<a class="headerlink" href="#version-3-5-8" title="Permalink to this headline">¶</a></h2> <p>Released November, 2002.</p> <dl class="simple"> <dt>12.7</dt><dd><p>It is no longer necessary to keep a log of changes to the upstream sources in the copyright file. Instead, all such changes should be documented in the changelog file.</p> </dd> <dt>7.6</dt><dd><p>Build-Depends, Build-Conflicts, Build-Depends-Indep, and Build-Conflicts-Indep must also be satisfied when the clean target is called.</p> </dd> <dt>menu policy</dt><dd><p>A new Apps/Science menu section is available</p> </dd> <dt>debconf policy</dt><dd><p>debconf specification cleared up, various changes.</p> </dd> <dt>12.1</dt><dd><p>It is no longer recommended to create symlinks from nonexistent manual pages to <em class="manpage">undocumented(7)</em>. Missing manual pages for programs are still a bug.</p> </dd> </dl> </section> <section id="version-3-5-7"> <h2><span class="section-number">10.43. </span>Version 3.5.7<a class="headerlink" href="#version-3-5-7" title="Permalink to this headline">¶</a></h2> <p>Released August, 2002.</p> <blockquote> <div><p>Packages no longer have to ask permission to call MAKEDEV in postinst, merely notifying the user ought to be enough.</p> </div></blockquote> <dl class="simple"> <dt>2.2.4</dt><dd><p>cryptographic software may now be included in the main archive.</p> </dd> <dt>3.9</dt><dd><p>task packages are no longer permitted; tasks are now created by a special Tasks: field in the control file.</p> </dd> <dt>11.8.4</dt><dd><p>window managers that support netwm can now add 20 points when they add themselves as an alternative for <code class="docutils literal notranslate"><span class="pre">/usr/bin/x-window-manager</span></code></p> </dd> <dt>10.1</dt><dd><p>The default compilation options have now changed, one should provide debugging symbols in all cases, and optionally step back optimization to -O0, depending on the DEB_BUILD_OPTIONS environment variable.</p> </dd> <dt>7.6, 4.8</dt><dd><p>Added mention of build-arch, build-indep, etc, in describing the relationships with Build-Depends, Build-Conflicts, Build-Depends-Indep, and Build-Conflicts-Indep. May need to review the new rules.</p> </dd> <dt>8</dt><dd><p>Changed rules on how, and when, to invoke ldconfig in maintainer scripts. Long rationale.</p> </dd> </dl> <p><em>Added the last note in 3.5.6 upgrading checklist item regarding build rules, please see below</em></p> </section> <section id="version-3-5-6"> <h2><span class="section-number">10.44. </span>Version 3.5.6<a class="headerlink" href="#version-3-5-6" title="Permalink to this headline">¶</a></h2> <p>Released July, 2001.</p> <dl class="simple"> <dt>2.5</dt><dd><p>Emacs and TeX are no longer mandated by policy to be priority standard packages</p> </dd> <dt>11.5</dt><dd><p>Programs that access docs need to do so via <code class="docutils literal notranslate"><span class="pre">/usr/share/doc</span></code>, and not via <code class="docutils literal notranslate"><span class="pre">/usr/doc/</span></code> as was the policy previously</p> </dd> <dt>12.3</dt><dd><p>Putting documentation in <code class="docutils literal notranslate"><span class="pre">/usr/doc</span></code> versus <code class="docutils literal notranslate"><span class="pre">/usr/share/doc</span></code> is now a “serious” policy violation.</p> </dd> <dt>11.5</dt><dd><p>For web servers, one should not provide non-local access to the <code class="docutils literal notranslate"><span class="pre">/usr/share/doc</span></code> hierarchy. If one can’t provide access controls for the <a class="reference external" href="http://localhost/doc/">http://localhost/doc/</a> directory, then it is preferred that one ask permission to expose that information during the install.</p> </dd> <dt>7</dt><dd><p>There are new rules for build-indep/build-arch targets and there is a new Build-Depend-Indep semantic.</p> </dd> </dl> </section> <section id="version-3-5-5"> <h2><span class="section-number">10.45. </span>Version 3.5.5<a class="headerlink" href="#version-3-5-5" title="Permalink to this headline">¶</a></h2> <p>Released May, 2001.</p> <dl> <dt>12.1</dt><dd><p>Manpages should not rely on header information to have alternative manpage names available; it should only use symlinks or .so pages to do this</p> <p><em>Clarified note in 3.5.3.0 upgrading checklist regarding examples and templates: this refers only to those examples used by scripts; see section 10.7.3 for the whole story</em></p> <p>Included a new section 10.9.1 describing the use of dpkg-statoverride; this does not have the weight of policy</p> <p>Clarify Standards-Version: you don’t need to rebuild your packages just to change the Standards-Version!</p> </dd> <dt>10.2</dt><dd><p>Plugins are no longer bound by all the rules of shared libraries</p> </dd> <dt>X Windows related things:</dt><dd><dl class="simple"> <dt>11.8.1</dt><dd><p>Clarification of priority levels of X Window System related packages</p> </dd> <dt>11.8.3</dt><dd><p>Rules for defining x-terminal-emulator improved</p> </dd> <dt>11.8.5</dt><dd><p>X Font policy rewritten: you must read this if you provide fonts for the X Window System</p> </dd> <dt>11.8.6</dt><dd><p>Packages must not ship <code class="docutils literal notranslate"><span class="pre">/usr/X11R6/lib/X11/app-defaults/</span></code></p> </dd> <dt>11.8.7</dt><dd><p>X-related packages should usually use the regular FHS locations; imake-using packages are exempted from this</p> </dd> <dt>11.8.8</dt><dd><p>OpenMotif linked binaries have the same rules as OSF/Motif-linked ones</p> </dd> </dl> </dd> </dl> </section> <section id="version-3-5-4"> <h2><span class="section-number">10.46. </span>Version 3.5.4<a class="headerlink" href="#version-3-5-4" title="Permalink to this headline">¶</a></h2> <p>Released April, 2001.</p> <dl class="simple"> <dt>11.6</dt><dd><p>The system-wide mail directory is now /var/mail, no longer /var/spool/mail. Any packages accessing the mail spool should access it via /var/mail and include a suitable Depends field;</p> </dd> <dt>11.9; perl-policy</dt><dd><p>The perl policy is now part of Debian policy proper. Perl programs and modules should follow the current Perl policy</p> </dd> </dl> </section> <section id="version-3-5-3"> <h2><span class="section-number">10.47. </span>Version 3.5.3<a class="headerlink" href="#version-3-5-3" title="Permalink to this headline">¶</a></h2> <p>Released April, 2001.</p> <dl class="simple"> <dt>7.1</dt><dd><p>Build-Depends arch syntax has been changed to be less ambiguous. This should not affect any current packages</p> </dd> <dt>10.7.3</dt><dd><p>Examples and templates files for use by scripts should now live in <code class="docutils literal notranslate"><span class="pre">/usr/share/<package></span></code> or <code class="docutils literal notranslate"><span class="pre">/usr/lib/<package></span></code>, with symbolic links from <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/<package>/examples</span></code> as needed</p> </dd> </dl> </section> <section id="version-3-5-2"> <h2><span class="section-number">10.48. </span>Version 3.5.2<a class="headerlink" href="#version-3-5-2" title="Permalink to this headline">¶</a></h2> <p>Released February, 2001.</p> <dl class="simple"> <dt>11.8.6</dt><dd><p>X app-defaults directory has moved from <code class="docutils literal notranslate"><span class="pre">/usr/X11R6/lib/X11/app-defaults</span></code> to <code class="docutils literal notranslate"><span class="pre">/etc/X11/app-defaults</span></code></p> </dd> </dl> </section> <section id="version-3-5-1"> <h2><span class="section-number">10.49. </span>Version 3.5.1<a class="headerlink" href="#version-3-5-1" title="Permalink to this headline">¶</a></h2> <p>Released February, 2001.</p> <dl class="simple"> <dt>8.1</dt><dd><p>dpkg-shlibdeps now uses objdump, so shared libraries have to be run through dpkg-shlibdeps as well as executables</p> </dd> </dl> </section> <section id="version-3-5-0"> <h2><span class="section-number">10.50. </span>Version 3.5.0<a class="headerlink" href="#version-3-5-0" title="Permalink to this headline">¶</a></h2> <p>Released January, 2001.</p> <dl class="simple"> <dt>11.8.5</dt><dd><p>Font packages for the X Window System must now declare a dependency on <code class="docutils literal notranslate"><span class="pre">xutils</span> <span class="pre">(>=</span> <span class="pre">4.0.2)</span></code></p> </dd> </dl> </section> <section id="version-3-2-1-1"> <h2><span class="section-number">10.51. </span>Version 3.2.1.1<a class="headerlink" href="#version-3-2-1-1" title="Permalink to this headline">¶</a></h2> <p>Released January, 2001.</p> <p>This release broke the normal rule against introducing normative changes without changing the major patch level.</p> <dl> <dt>9.3.2</dt><dd><p>Daemon startup scripts in <code class="docutils literal notranslate"><span class="pre">/etc/init.d/</span></code> should not contain modifiable parameters; these should be moved to a file in <code class="docutils literal notranslate"><span class="pre">/etc/default/</span></code></p> </dd> <dt>12.3</dt><dd><p>Files in <code class="docutils literal notranslate"><span class="pre">/usr/share/doc</span></code> must not be referenced by any program. If such files are needed, they must be placed in <code class="docutils literal notranslate"><span class="pre">/usr/share/<package>/</span></code>, and symbolic links created as required in <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/<package>/</span></code></p> <p>Much of the packaging manual has now been imported into the policy document</p> </dd> </dl> </section> <section id="version-3-2-1"> <h2><span class="section-number">10.52. </span>Version 3.2.1<a class="headerlink" href="#version-3-2-1" title="Permalink to this headline">¶</a></h2> <p>Released August, 2000.</p> <dl class="simple"> <dt>11.8.1</dt><dd><p>A package of priority standard or higher may provide two binaries, one compiled with support for the X Window System, and the other without</p> </dd> </dl> </section> <section id="version-3-2-0"> <h2><span class="section-number">10.53. </span>Version 3.2.0<a class="headerlink" href="#version-3-2-0" title="Permalink to this headline">¶</a></h2> <p>Released August, 2000.</p> <dl> <dt>10.1</dt><dd><p>By default executables should not be built with the debugging option -g. Instead, it is recommended to support building the package with debugging information optionally.</p> </dd> <dt>12.8</dt><dd><p>Policy for packages where the upstream uses HTML changelog files has been expanded. In short, a plain text changelog file should always be generated for the upstream changes</p> <p>Please note that the new release of the X window system (3.2) shall probably need sweeping changes in policy</p> <p>Policy for packages providing the following X-based features has been codified:</p> <dl class="simple"> <dt>11.8.2</dt><dd><p>X server (virtual package xserver)</p> </dd> <dt>11.8.3</dt><dd><p>X terminal emulator (virtual package x-terminal-emulator)</p> </dd> <dt>11.8.4</dt><dd><p>X window manager (virtual package x-window-manager, and <code class="docutils literal notranslate"><span class="pre">/usr/bin/x-window-manager</span></code> alternative, with priority calculation guidelines)</p> </dd> <dt>12.8.5</dt><dd><p>X fonts (this section has been written from scratch)</p> </dd> <dt>11.8.6</dt><dd><p>X application defaults</p> </dd> </dl> </dd> <dt>11.8.7</dt><dd><p>Policy for packages using the X Window System and FHS issues has been clarified;</p> </dd> <dt>11.7.3</dt><dd><p>No package may contain or make hard links to conffiles</p> </dd> <dt>8</dt><dd><p>Noted that newer dpkg versions do not require extreme care in always creating the shared lib before the symlink, so the unpack order be correct</p> </dd> </dl> </section> <section id="version-3-1-1"> <h2><span class="section-number">10.54. </span>Version 3.1.1<a class="headerlink" href="#version-3-1-1" title="Permalink to this headline">¶</a></h2> <p>Released November, 1999.</p> <dl class="simple"> <dt>7.1</dt><dd><p>Correction to semantics of architecture lists in Build-Depends etc. Should not affect many packages</p> </dd> </dl> </section> <section id="version-3-1-0"> <h2><span class="section-number">10.55. </span>Version 3.1.0<a class="headerlink" href="#version-3-1-0" title="Permalink to this headline">¶</a></h2> <p>Released October, 1999.</p> <dl class="simple"> <dt>defunct</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/usr/doc/<package></span></code> has to be a symlink pointing to <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/<package></span></code>, to be maintained by postinst and prerm scripts.</p> </dd> <dt>7.1, 7.6</dt><dd><p>Introduced source dependencies (Build-Depends, etc.)</p> </dd> <dt>9.3.4</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/etc/rc.boot</span></code> has been deprecated in favour of <code class="docutils literal notranslate"><span class="pre">/etc/rcS.d</span></code>. (Packages should not be touching this directory, but should use update-rc.d instead)</p> </dd> <dt>9.3.3</dt><dd><p>update-rc.d is now the <em>only</em> allowable way of accessing the <code class="docutils literal notranslate"><span class="pre">/etc/rc?.d/[SK]??*</span></code> links. Any scripts which manipulate them directly must be changed to use update-rc.d instead. (This is because the file-rc package handles this information in an incompatible way.)</p> </dd> <dt>12.7</dt><dd><p>Architecture-specific examples go in <code class="docutils literal notranslate"><span class="pre">/usr/lib/<package>/examples</span></code> with symlinks from <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/<package>/examples/*</span></code> or from <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/<package>/examples</span></code> itself</p> </dd> <dt>9.1.1</dt><dd><p>Updated FHS to a 2.1 draft; this reverts <code class="docutils literal notranslate"><span class="pre">/var/state</span></code> to <code class="docutils literal notranslate"><span class="pre">/var/lib</span></code></p> </dd> <dt>9.7; mime-policy</dt><dd><p>Added MIME sub-policy document</p> </dd> <dt>12.4</dt><dd><p>VISUAL is allowed as a (higher priority) alternative to EDITOR</p> </dd> <dt>11.6</dt><dd><p>Modified liblockfile description, which affects mailbox-accessing programs. Please see the policy document for details</p> </dd> <dt>12.7</dt><dd><p>If a package provides a changelog in HTML format, a text-only version should also be included. (Such a version may be prepared using <code class="docutils literal notranslate"><span class="pre">lynx</span> <span class="pre">-dump</span> <span class="pre">-nolist</span></code>.)</p> </dd> <dt>3.2.1</dt><dd><p>Description of how to handle version numbers based on dates added</p> </dd> </dl> </section> <section id="version-3-0-1"> <h2><span class="section-number">10.56. </span>Version 3.0.1<a class="headerlink" href="#version-3-0-1" title="Permalink to this headline">¶</a></h2> <p>Released July, 1999.</p> <dl class="simple"> <dt>10.2</dt><dd><p>Added the clarification that the .la files are essential for the packages using libtool’s libltdl library, in which case the .la files must go in the run-time library package</p> </dd> </dl> </section> <section id="version-3-0-0"> <h2><span class="section-number">10.57. </span>Version 3.0.0<a class="headerlink" href="#version-3-0-0" title="Permalink to this headline">¶</a></h2> <p>Released June, 1999.</p> <dl class="simple"> <dt>9.1</dt><dd><p>Debian formally moves from the FSSTND to the FHS. This is a major change, and the implications of this move are probably not all known.</p> </dd> <dt>4.1</dt><dd><p>Only 3 digits of the Standards version need be included in control files, though all four digits are still permitted.</p> </dd> <dt>12.6</dt><dd><p>The location of the GPL has changed to <code class="docutils literal notranslate"><span class="pre">/usr/share/common-licenses</span></code>. This may require changing the copyright files to point to the correct location of the GPL and other major licenses</p> </dd> <dt>10.2</dt><dd><p>Packages that use libtool to create shared libraries must include the .la files in the -dev packages</p> </dd> <dt>10.8</dt><dd><p>Use logrotate to rotate log files</p> </dd> <dt>now 11.8</dt><dd><p>section 5.8 has been rewritten (Programs for the X Window System)</p> </dd> <dt>9.6; menu-policy</dt><dd><p>There is now an associated menu policy, in a separate document, that carries the full weight of Debian policy</p> </dd> <dt>11.3</dt><dd><p>Programs which need to modify the files <code class="docutils literal notranslate"><span class="pre">/var/run/utmp</span></code>, <code class="docutils literal notranslate"><span class="pre">/var/log/wtmp</span></code> and <code class="docutils literal notranslate"><span class="pre">/var/log/lastlog</span></code> must be installed setgid utmp</p> </dd> </dl> </section> <section id="version-2-5-0"> <h2><span class="section-number">10.58. </span>Version 2.5.0<a class="headerlink" href="#version-2-5-0" title="Permalink to this headline">¶</a></h2> <p>Released October, 1998.</p> <p><em>Please note that section numbers below this point may not match the current Policy Manual.</em></p> <ul class="simple"> <li><p>Rearranged the manual to create a new Section 4, Files</p> <ul> <li><p>Section 3.3 (“Files”) was moved to Section 4. The Sections that were Section 4 and Section 5 were moved down to become Section 5 and Section 6.</p></li> <li><p>What was Section 5.5 (“Log files”) is now a subsection of the new Section 4 (“Files”), becoming section 4.8, placed after “Configuration files”, moving the Section 4.8 (“Permissions and owners”) to Section 4.9. All subsections of the old Section 5 after 5.5 were moved down to fill in the number gap.</p></li> </ul> </li> <li><p>Modified the section about changelog files to accommodate upstream changelogs which were formatted as HTML. These upstream changelog files should now be accessible as <code class="docutils literal notranslate"><span class="pre">/usr/doc/package/changelog.html.gz</span></code></p></li> <li><p>Symlinks are permissible to link the real, or upstream, changelog name to the Debian mandated name.</p></li> <li><p>Clarified that HTML documentation should be present in some package, though not necessarily the main binary package.</p></li> <li><p>Corrected all references to the location of the copyright files. The correct location is <code class="docutils literal notranslate"><span class="pre">/usr/doc/package/copyright</span></code></p></li> <li><p>Ratified the architecture specification strings to cater to the HURD.</p></li> </ul> </section> <section id="version-2-4-1"> <h2><span class="section-number">10.59. </span>Version 2.4.1<a class="headerlink" href="#version-2-4-1" title="Permalink to this headline">¶</a></h2> <p>Released April, 1998.</p> <dl class="simple"> <dt>Updated section 3.3.5 Symbolic links</dt><dd><p>symbolic links within a toplevel directory should be relative, symbolic links between toplevel directories should be absolute (cf., Policy Weekly Issue#6, topic 2)</p> </dd> <dt>Updated section 4.9 Games</dt><dd><p>manpages for games should be installed in <code class="docutils literal notranslate"><span class="pre">/usr/man/man6</span></code> (cf., Policy Weekly Issue#6, topic 3)</p> </dd> <dt>Updated Chapter 12 Shared Libraries</dt><dd><p>ldconfig must be called in the postinst script if the package installs shared libraries (cf., Policy Weekly Issue #6, fixes:bug#20515)</p> </dd> </dl> </section> <section id="version-2-4-0"> <h2><span class="section-number">10.60. </span>Version 2.4.0<a class="headerlink" href="#version-2-4-0" title="Permalink to this headline">¶</a></h2> <p>Released January, 1998</p> <dl class="simple"> <dt>Updated section 3.3.4 Scripts</dt><dd><ul class="simple"> <li><p>/bin/sh may be any POSIX compatible shell</p></li> <li><p>scripts including bashisms have to specify <code class="docutils literal notranslate"><span class="pre">/bin/bash</span></code> as interpreter</p></li> <li><p>scripts which create files in world-writable directories (e.g., in <code class="docutils literal notranslate"><span class="pre">/tmp</span></code>) should use tempfile or mktemp for creating the directory</p></li> </ul> </dd> <dt>Updated section 3.3.5 Symbolic Links</dt><dd><p>symbolic links referencing compressed files must have the same file extension as the referenced file</p> </dd> <dt>Updated section 3.3.6 Device files</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/dev/tty*</span></code> serial devices should be used instead of <code class="docutils literal notranslate"><span class="pre">/dev/cu*</span></code></p> </dd> <dt>Updated section 3.4.2 Writing the scripts in <code class="docutils literal notranslate"><span class="pre">/etc/init.d</span></code></dt><dd><ul class="simple"> <li><p>all <code class="docutils literal notranslate"><span class="pre">/etc/init.d</span></code> scripts have to provide the following options: start, stop, restart, force-reload</p></li> <li><p>the reload option is optional and must never stop and restart the service</p></li> </ul> </dd> <dt>Updated section 3.5 Cron jobs</dt><dd><p>cron jobs that need to be executed more often than daily should be installed into <code class="docutils literal notranslate"><span class="pre">/etc/cron.d</span></code></p> </dd> <dt>Updated section 3.7 Menus</dt><dd><p>removed section about how to register HTML docs to `menu’ (the corresponding section in 4.4, Web servers and applications, has been removed in policy 2.2.0.0 already, so this one was obsolete)</p> </dd> <dt>New section 3.8 Keyboard configuration</dt><dd><p>details about how the backspace and delete keys should be handled</p> </dd> <dt>New section 3.9 Environment variables</dt><dd><p>no program must depend on environment variables to get a reasonable default configuration</p> </dd> <dt>New section 4.6 News system configuration</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/etc/news/organization</span></code> and <code class="docutils literal notranslate"><span class="pre">/etc/news/server</span></code> should be supported by all news servers and clients</p> </dd> <dt>Updated section 4.7 Programs for the X Window System</dt><dd><ul class="simple"> <li><p>programs requiring a non-free Motif library should be provided as foo-smotif and foo-dmotif package</p></li> <li><p>if lesstif works reliably for such program, it should be linked against lesstif and not against a non-free Motif library</p></li> </ul> </dd> <dt>Updated section 4.9 Games</dt><dd><p>games for X Windows have to be installed in <code class="docutils literal notranslate"><span class="pre">/usr/games</span></code>, just as non-X games</p> </dd> </dl> </section> <section id="version-2-3-0"> <h2><span class="section-number">10.61. </span>Version 2.3.0<a class="headerlink" href="#version-2-3-0" title="Permalink to this headline">¶</a></h2> <p>Released September, 1997.</p> <ul class="simple"> <li><p>new section `4.2 Daemons’ including rules for <code class="docutils literal notranslate"><span class="pre">/etc/services</span></code>, <code class="docutils literal notranslate"><span class="pre">/etc/protocols</span></code>, <code class="docutils literal notranslate"><span class="pre">/etc/rpc</span></code>, and <code class="docutils literal notranslate"><span class="pre">/etc/inetd.conf</span></code></p></li> <li><p>updated section about `Configuration files’: packages may not touch other packages’ configuration files</p></li> <li><p>MUAs and MTAs have to use liblockfile</p></li> </ul> </section> <section id="version-2-2-0"> <h2><span class="section-number">10.62. </span>Version 2.2.0<a class="headerlink" href="#version-2-2-0" title="Permalink to this headline">¶</a></h2> <p>Released July, 1997.</p> <ul class="simple"> <li><p>added section 4.1 `Architecture specification strings’: use <arch>-linux where <arch> is one of the following: i386, alpha, arm, m68k, powerpc, sparc.</p></li> <li><p>detailed rules for <code class="docutils literal notranslate"><span class="pre">/usr/local</span></code></p></li> <li><p>user ID’s</p></li> <li><p>editor/pager policy</p></li> <li><p>cron jobs</p></li> <li><p>device files</p></li> <li><p>don’t install shared libraries as executable</p></li> <li><p>app-defaults files may not be conffiles</p></li> </ul> </section> <section id="version-2-1-3"> <h2><span class="section-number">10.63. </span>Version 2.1.3<a class="headerlink" href="#version-2-1-3" title="Permalink to this headline">¶</a></h2> <p>Released March, 1997.</p> <ul class="simple"> <li><p>two programs with different functionality must not have the same name</p></li> <li><p>“Webstandard 3.0”</p></li> <li><p>“Standard for Console Messages”</p></li> <li><p>Libraries should be compiled with <code class="docutils literal notranslate"><span class="pre">-D_REENTRANT</span></code></p></li> <li><p>Libraries should be stripped with <code class="docutils literal notranslate"><span class="pre">strip</span> <span class="pre">--strip-unneeded</span></code></p></li> </ul> </section> <section id="version-2-1-2"> <h2><span class="section-number">10.64. </span>Version 2.1.2<a class="headerlink" href="#version-2-1-2" title="Permalink to this headline">¶</a></h2> <p>Released November, 1996.</p> <ul class="simple"> <li><p>Some changes WRT shared libraries</p></li> </ul> </section> <section id="version-2-1-1"> <h2><span class="section-number">10.65. </span>Version 2.1.1<a class="headerlink" href="#version-2-1-1" title="Permalink to this headline">¶</a></h2> <p>Released September, 1996.</p> <ul class="simple"> <li><p>No hard links in source packages</p></li> <li><p>Do not use <code class="docutils literal notranslate"><span class="pre">dpkg-divert</span></code> or <code class="docutils literal notranslate"><span class="pre">update-alternatives</span></code> without consultation</p></li> <li><p>Shared libraries must be installed stripped</p></li> </ul> </section> <section id="version-2-1-0"> <h2><span class="section-number">10.66. </span>Version 2.1.0<a class="headerlink" href="#version-2-1-0" title="Permalink to this headline">¶</a></h2> <p>Released August, 1996.</p> <ul class="simple"> <li><p>Upstream changelog must be installed too</p></li> </ul> </section> </section> <div class="clearer"></div> </div> </div> </div> <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> <div class="sphinxsidebarwrapper"> <h3><a href="index.html">Table of Contents</a></h3> <ul> <li><a class="reference internal" href="#">10. Upgrading checklist</a><ul> <li><a class="reference internal" href="#about-the-checklist">10.1. About the checklist</a></li> <li><a class="reference internal" href="#version-4-6-0">10.2. Version 4.6.0</a></li> <li><a class="reference internal" href="#version-4-5-1">10.3. Version 4.5.1</a></li> <li><a class="reference internal" href="#version-4-5-0">10.4. Version 4.5.0</a></li> <li><a class="reference internal" href="#version-4-4-1">10.5. Version 4.4.1</a></li> <li><a class="reference internal" href="#version-4-4-0">10.6. Version 4.4.0</a></li> <li><a class="reference internal" href="#version-4-3-0">10.7. Version 4.3.0</a></li> <li><a class="reference internal" href="#version-4-2-1">10.8. Version 4.2.1</a></li> <li><a class="reference internal" href="#version-4-2-0">10.9. Version 4.2.0</a></li> <li><a class="reference internal" href="#version-4-1-5">10.10. Version 4.1.5</a></li> <li><a class="reference internal" href="#version-4-1-4">10.11. Version 4.1.4</a></li> <li><a class="reference internal" href="#version-4-1-3">10.12. Version 4.1.3</a></li> <li><a class="reference internal" href="#version-4-1-2">10.13. Version 4.1.2</a></li> <li><a class="reference internal" href="#version-4-1-1">10.14. Version 4.1.1</a></li> <li><a class="reference internal" href="#version-4-1-0">10.15. Version 4.1.0</a></li> <li><a class="reference internal" href="#version-4-0-1">10.16. Version 4.0.1</a></li> <li><a class="reference internal" href="#version-4-0-0">10.17. Version 4.0.0</a></li> <li><a class="reference internal" href="#version-3-9-8">10.18. Version 3.9.8</a></li> <li><a class="reference internal" href="#version-3-9-7">10.19. Version 3.9.7</a></li> <li><a class="reference internal" href="#version-3-9-6">10.20. Version 3.9.6</a></li> <li><a class="reference internal" href="#version-3-9-5">10.21. Version 3.9.5</a></li> <li><a class="reference internal" href="#version-3-9-4">10.22. Version 3.9.4</a></li> <li><a class="reference internal" href="#version-3-9-3">10.23. Version 3.9.3</a></li> <li><a class="reference internal" href="#version-3-9-2">10.24. Version 3.9.2</a></li> <li><a class="reference internal" href="#version-3-9-1">10.25. Version 3.9.1</a></li> <li><a class="reference internal" href="#version-3-9-0">10.26. Version 3.9.0</a></li> <li><a class="reference internal" href="#version-3-8-4">10.27. Version 3.8.4</a></li> <li><a class="reference internal" href="#version-3-8-3">10.28. Version 3.8.3</a></li> <li><a class="reference internal" href="#version-3-8-2">10.29. Version 3.8.2</a></li> <li><a class="reference internal" href="#version-3-8-1">10.30. Version 3.8.1</a></li> <li><a class="reference internal" href="#version-3-8-0">10.31. Version 3.8.0</a></li> <li><a class="reference internal" href="#version-3-7-3">10.32. Version 3.7.3</a></li> <li><a class="reference internal" href="#version-3-7-2-2">10.33. Version 3.7.2.2</a></li> <li><a class="reference internal" href="#version-3-7-2">10.34. Version 3.7.2</a></li> <li><a class="reference internal" href="#version-3-7-1">10.35. Version 3.7.1</a></li> <li><a class="reference internal" href="#version-3-7-0">10.36. Version 3.7.0</a></li> <li><a class="reference internal" href="#version-3-6-2">10.37. Version 3.6.2</a></li> <li><a class="reference internal" href="#version-3-6-1">10.38. Version 3.6.1</a></li> <li><a class="reference internal" href="#version-3-6-0">10.39. Version 3.6.0</a></li> <li><a class="reference internal" href="#version-3-5-10">10.40. Version 3.5.10</a></li> <li><a class="reference internal" href="#version-3-5-9">10.41. Version 3.5.9</a></li> <li><a class="reference internal" href="#version-3-5-8">10.42. Version 3.5.8</a></li> <li><a class="reference internal" href="#version-3-5-7">10.43. Version 3.5.7</a></li> <li><a class="reference internal" href="#version-3-5-6">10.44. Version 3.5.6</a></li> <li><a class="reference internal" href="#version-3-5-5">10.45. Version 3.5.5</a></li> <li><a class="reference internal" href="#version-3-5-4">10.46. Version 3.5.4</a></li> <li><a class="reference internal" href="#version-3-5-3">10.47. Version 3.5.3</a></li> <li><a class="reference internal" href="#version-3-5-2">10.48. Version 3.5.2</a></li> <li><a class="reference internal" href="#version-3-5-1">10.49. Version 3.5.1</a></li> <li><a class="reference internal" href="#version-3-5-0">10.50. Version 3.5.0</a></li> <li><a class="reference internal" href="#version-3-2-1-1">10.51. Version 3.2.1.1</a></li> <li><a class="reference internal" href="#version-3-2-1">10.52. Version 3.2.1</a></li> <li><a class="reference internal" href="#version-3-2-0">10.53. Version 3.2.0</a></li> <li><a class="reference internal" href="#version-3-1-1">10.54. Version 3.1.1</a></li> <li><a class="reference internal" href="#version-3-1-0">10.55. Version 3.1.0</a></li> <li><a class="reference internal" href="#version-3-0-1">10.56. Version 3.0.1</a></li> <li><a class="reference internal" href="#version-3-0-0">10.57. Version 3.0.0</a></li> <li><a class="reference internal" href="#version-2-5-0">10.58. Version 2.5.0</a></li> <li><a class="reference internal" href="#version-2-4-1">10.59. Version 2.4.1</a></li> <li><a class="reference internal" href="#version-2-4-0">10.60. Version 2.4.0</a></li> <li><a class="reference internal" href="#version-2-3-0">10.61. Version 2.3.0</a></li> <li><a class="reference internal" href="#version-2-2-0">10.62. Version 2.2.0</a></li> <li><a class="reference internal" href="#version-2-1-3">10.63. Version 2.1.3</a></li> <li><a class="reference internal" href="#version-2-1-2">10.64. Version 2.1.2</a></li> <li><a class="reference internal" href="#version-2-1-1">10.65. Version 2.1.1</a></li> <li><a class="reference internal" href="#version-2-1-0">10.66. Version 2.1.0</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="ap-flowcharts.html" title="previous chapter"><span class="section-number">9. </span>Maintainer script flowcharts</a></p> <h4>Next topic</h4> <p class="topless"><a href="ap-license.html" title="next chapter"><span class="section-number">11. </span>License</a></p> <div role="note" aria-label="source link"> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/upgrading-checklist.rst.txt" rel="nofollow">Show Source</a></li> </ul> </div> <div id="searchbox" style="display: none" role="search"> <h3 id="searchlabel">Quick search</h3> <div class="searchformwrapper"> <form class="search" action="search.html" method="get"> <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/> <input type="submit" value="Go" /> </form> </div> </div> <script>$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="ap-license.html" title="11. License" >next</a> |</li> <li class="right" > <a href="ap-flowcharts.html" title="9. Maintainer script flowcharts" >previous</a> |</li> <li class="nav-item nav-item-0"><a href="index.html">Debian Policy Manual v4.6.0.1</a> »</li> <li class="nav-item nav-item-this"><a href=""><span class="section-number">10. </span>Upgrading checklist</a></li> </ul> </div> <div class="footer" role="contentinfo"> Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.2.0. </div> </body> </html>
Close