X-Git-Url: https://git.donarmstrong.com/?p=debian%2Fdebian-policy.git;a=blobdiff_plain;f=policy.sgml;h=10e626babf857a9c1b25e56444ae3d75f9f12e2c;hp=6cb5b0de28ee9e05eab509d3396aaca0cd03ccff;hb=bce4b938b4e603a7bceeaf2ad31d007d0a9dcb43;hpb=28ec95b89d5f29d1aaa54b990a0dc9d10301ef1a diff --git a/policy.sgml b/policy.sgml index 6cb5b0d..10e626b 100644 --- a/policy.sgml +++ b/policy.sgml @@ -1988,51 +1988,33 @@ zope.
-- A package may also provide one or both of the targets - build-arch and build-indep. - The build-arch target, if provided, should + The build-arch target must perform all the configuration and compilation required for producing all architecture-dependant binary packages (those packages for which the body of the Architecture field in debian/control is not all). Similarly, the build-indep - target, if provided, should perform all the configuration + target must perform all the configuration and compilation required for producing all architecture-independent binary packages (those packages for which the body of the Architecture field in debian/control is all). -
- -
- If build-arch or build-indep targets are
- provided in the rules file, the build target
+ The build target
should either depend on those targets or take the same
actions as invoking those targets would perform.
- If one or both of the targets build-arch and
- build-indep are not provided, then invoking
-
The build-arch and build-indep targets
must not do anything that might require root privilege.
@@ -2667,7 +2649,6 @@ Package: libc6
- In the
- Indicates that Debian Maintainers may upload this package to
- the Debian archive. The only valid value is yes. If
- the field DM-Upload-Allowed: yes is present in the
- source section of the source control file of the most recent
- version of a package in unstable or experimental, the Debian
- archive will accept uploads of this package signed with a key
- in the Debian Maintainer keyring. See the General
- Resolution
+ The following fields have been obsoleted and may be found in packages + conforming with previous versions of the Policy. +
+ +
+ Indicates that Debian Maintainers may upload this package to
+ the Debian archive. The only valid value is yes. This
+ field was used to regulate uploads by Debian Maintainers, See the
+ General Resolution
To determine the soversion, look at
the SONAME of the library, stored in the
- ELF SONAME attribute. it is usually of the
+ ELF SONAME attribute. It is usually of the
form name.so.major-version (for
example, libz.so.1). The version part is the part
which comes after .so., so in that example it
@@ -5978,28 +5971,37 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
whether new library interfaces are available and can be called).
To allow these dependencies to be constructed, shared libraries
must provide either a
- These two mechanisms differ in the degree of detail that they
- provide. A
+ The two mechanisms differ in the degree of detail that they
+ provide. A
+ A
-
@@ -6019,9 +6028,10 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
required by
There are two types of ABI changes: ones that are
backward-compatible and ones that are not. An ABI change is
- backward-compatible if any binary was linked with the previous
- version of the shared library will still work correctly with
- the new version of the shared library. Adding new symbols to
- the shared library is a backward-compatible change. Removing
- symbols from the shared library is not. Changing the behavior
- of a symbol may or may not be backward-compatible depending on
- the change; for example, changing a function to accept a new
- enum constant not previously used by the library is generally
+ backward-compatible if any reasonable program or library that
+ was linked with the previous version of the shared library
+ will still work correctly with the new version of the shared
+ library.
- A common example of when a change to the is required is a
- function that takes an enum or struct argument that controls
- what the function does. For example:
+ A common example of when a change to the dependency version
+ is required is a function that takes an enum or struct
+ argument that controls what the function does. For example:
@@ -6460,8 +6482,9 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
recent version of the shared library that changed the
behavior of that symbol, whether by adding it, changing its
function signature (the parameters, their types, or the
- return type), or its behavior in a way that is visible to a
- caller. id-of-dependency-template is an optional
+ return type), or changing its behavior in a way that is
+ visible to a caller.
+ id-of-dependency-template is an optional
field that references
an alternative-dependency-template; see below for
a full description.
@@ -6482,9 +6505,9 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
compressBound@ZLIB_1.2.0 1:1.2.0
@@ -6611,7 +6634,7 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
- The shlibs system is an simpler alternative to
+ The shlibs system is a simpler alternative to
the symbols system for declaring dependencies for
shared libraries. It may be more appropriate for C++
libraries and other cases where tracking individual symbols is
@@ -6769,7 +6792,7 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
library was in version 1:1.2.3.3.dfsg-1, then
the shlibs entry for this library could say:
+ Packages must not assume the
@@ -8020,33 +8049,28 @@ Reloading description configuration...done.
- Packages which provide the ability to view/show/play,
- compose, edit or print MIME types should register themselves
- as such following the current MIME support policy.
+ Packages which provide programs to view/show/play, compose, edit or
+ print MIME types should register them as such by placing a file in
+
The
- Packages containing such programs must register them
- with
+ A number of other init systems are available now in Debian that
+ can be used in place of
+ Packages may integrate with these replacement init systems by
+ providing implementation-specific configuration information about
+ how and when to start a service or in what order to run certain
+ tasks at boot time. However, any package integrating with other
+ init systems must also be backwards-compatible with
+
+ Packages may integrate with the
+ Because packages shipping upstart jobs may be installed on
+ systems that are not using upstart, maintainer scripts must
+ still use the common
+ Dependency-based boot managers for SysV init scripts, such as
+