X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=policy.sgml;h=df6ae893820dc8be311435e7d18f42345a99eca9;hb=d1e5a9704809957ffe79ce1ad5c3d1aef36bb1f1;hp=21c1c7e35df73a53b31a0145230d142a27acfef3;hpb=c3b32de449b929a77b1791c8523ab01f00d1c855;p=debian%2Fdebian-policy.git
diff --git a/policy.sgml b/policy.sgml
index 21c1c7e..df6ae89 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -1854,21 +1854,28 @@
A package may also provide both of the targets
build-arch and build-indep.
The build-arch target, if provided, should
- perform all the configuration and compilation required
- for producing all architecture-dependant binary packages
+ 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 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).
+ Architecture field in debian/control is
+ not all). Similarly, the build-indep
+ target, if provided, should 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).
The build target should depend on those of the
targets build-arch and build-indep that
- are provided in the rules file.
+ are provided in the rules file.
@@ -2486,8 +2493,6 @@ Package: libc6 The syntax and semantics of the fields are described below.
- -
These fields are used by
+ These fields contain a list of files with a checksum and size + for each one. Both Checksums-Sha1 + and Checksums-Sha256 have the same syntax and differ + only in the checksum algorithm used: SHA-1 + for Checksums-Sha1 and SHA-256 + for Checksums-Sha256. +
+ +
+ Checksums-Sha1 and Checksums-Sha256 are
+ multiline fields. The first line of the field value (the part
+ on the same line as Checksums-Sha1:
+ or Checksums-Sha256:) is always empty. The content
+ of the field is expressed as continuation lines, one line per
+ file. Each line consists of the checksum, a space, the file
+ size, a space, and the file name. For example (from
+ a
+ In the
+ For example, if a package
If a package is completely replaced in this way, so that
- If you make "build-arch" or "binary-arch", you need
- Build-Depends. If you make "build-indep" or
- "binary-indep", you need Build-Depends and
- Build-Depends-Indep. If you make "build" or "binary",
- you need both.
-
There is no Build-Depends-Arch; this role is essentially
- met with Build-Depends. Anyone building the
- build-indep and binary-indep targets
- is basically assumed to be building the whole package
- anyway and so installs all build dependencies. The
- autobuilders use dpkg-buildpackage -B, which
- calls build (not build-arch, since it
- does not yet know how to check for its existence) and
- binary-arch.
+ met with Build-Depends. Anyone building the
+ build-indep and binary-indep targets is
+ assumed to be building the whole package, and therefore
+ installation of all build dependencies is required.
- The purpose of the original split, I recall, was so that
- the autobuilders wouldn't need to install extra packages
- needed only for the binary-indep targets. But without a
- build-arch/build-indep split, this didn't work, since
- most of the work is done in the build target, not in the
- binary target.
+ The autobuilders use dpkg-buildpackage -B, which
+ calls build, not build-arch since it does
+ not yet know how to check for its existence, and
+ binary-arch. The purpose of the original split
+ between Build-Depends and
+ Build-Depends-Indep was so that the autobuilders
+ wouldn't need to install extra packages needed only for the
+ binary-indep targets. But without a build-arch/build-indep
+ split, this didn't work, since most of the work is done in
+ the build target, not in the binary target.
@@ -9232,14 +9288,13 @@ END-INFO-DIR-ENTRY
- Packages distributed under the UCB BSD license, the Apache
- license (version 2.0), the Artistic license, the GNU GPL
- (version 2 or 3), the GNU LGPL (versions 2, 2.1, or 3), and the
- GNU FDL (versions 1.2 or 1.3) should refer to the corresponding
- files under
In particular,
-