Debian-news is about one simple thing - news about Debian GNU/Linux and the top free distributions based on Debian GNU/Linux.


Policy released

Debian Policy has been released. The next time you upload your packages, please review them against the upgrading checklist in the debian-policy package and see if they require changes for the new version of Policy.

Lintian 2.4.3, which has been updated for this release of Policy, has also
just been uploaded.

Here are the primary changes in the new version, marked with the Policy
section that was changed:

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.

Maintainer scripts must pass `–package’ to `dpkg-divert’ when
creating or removing diversions and must not use `–local’.

Only `dpkg-gencontrol’ supports variable substitution.
`dpkg-genchanges’ (for `*.changes’) and `dpkg-source’ (for
`*.dsc’) do not.

Architecture restrictions and wildcards are also allowed in
binary package relationships provided that the binary package is
not architecture-independent.

`Conflicts’ and `Breaks’ 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.

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.

Ada Library Information (`*.ali’) files must be installed

8.6.1, 8.6.2, 8.6.5
Packages should normally not include a `shlibs.local’ file since
we now have complete `shlibs’ coverage.

The SONAME of a library may instead be of the form

Libtool `.la’ files should not be installed for public libraries.
If they’re required (for `libltdl’, for instance), the
`dependency_libs’ setting should be emptied. Library packages
historically including `.la’ files must continue to include them
(with `dependency_libs’ emptied) until all libraries that depend
on that library have removed or emptied their `.la’ files.

Libraries no longer need to be built with `-D_REENTRANT’, 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.

`/bin/sh’ scripts may assume that `kill’ supports an argument of
`-‘, that `kill’ and `trap’ support the numeric signals
listed in the XSI extension, and that signal 13 (SIGPIPE) can be
trapped with `trap’.

Recommend `/etc/logrotate.d/ ‘ for logrotate rules.

Control information files should be owned by `root:root’ and
either mode 644 or mode 755.

11.4, 11.8.3, 11.8.4
Packages providing alternatives for `editor’, `pager’,
`x-terminal-emulator’, or `x-window-manager’ should also provide
a slave alternative for the corresponding manual page.

Cgi-bin executable files may be installed in subdirectories of
`/usr/lib/cgi-bin’ and web servers should serve out executables
in those subdirectories.

The GPL version 1 is now included in common-licenses and should
be referenced from there instead of included in the `copyright’

— Russ Allbery (

One Response to “Policy released” »

  1. Pingback by Tweets that mention Policy released | - Your one stop for news about Debian -- — July 28, 2010 @ 10:34 pm

    […] This post was mentioned on Twitter by Meteorito, The Debian Project. The Debian Project said: ( Policy released […]

RSS feed for comments on this post.

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *


Debian-News is not related to the Debian Project.
All logos and trademarks on this site are property of their respective owners.