From f8408a11bd4d141005088ac3c7956b8fb77d1e08 Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Thu, 16 Jun 2005 05:40:16 +0000 Subject: [PATCH] fixes suggested by Philippe Batailler Author: joy Date: 2003/06/01 12:14:01 fixes suggested by Philippe Batailler git-archimport-id: srivasta@debian.org--etch/debian-policy--devel--3.0--patch-228 --- policy.sgml | 89 +++++++++++++++++++++++++++-------------------------- 1 file changed, 46 insertions(+), 43 deletions(-) diff --git a/policy.sgml b/policy.sgml index da5e8a5..cdc2127 100644 --- a/policy.sgml +++ b/policy.sgml @@ -808,13 +808,11 @@

- The package name is part of the file name of the - .deb file and is included in the control field - information. -

- -

- Format is described in . + The package name is included in the control field + Package, the format of which is described + in . + The package name is also included as a part of the file name + of the .deb file.

@@ -1291,10 +1289,13 @@ Packages which use the Debian Configuration management specification may contain an additional config script and a templates - file in their control archive. The config - script might be run before the preinst - script, and before the package is unpacked or any of its - dependencies or pre-dependancies are satisfied. + file in their control archive + The control.tar.gz inside the .deb. + See . + . + The config script might be run before the + preinst script, and before the package is unpacked + or any of its dependencies or pre-dependancies are satisfied. Therefore it must work using only the tools present in essential packages. Debconf or another tool that @@ -1672,14 +1673,6 @@ In non-experimental packages you must use a format for debian/changelog which is supported by the most recent released version of dpkg. - - If there is general interest in the new format, you should - contact the dpkg maintainer to have the - parser script for it included in the dpkg - package. (You will need to agree that the parser and its - manpage may be distributed under the GNU GPL, just as the rest - of dpkg is.) -

@@ -1689,6 +1682,14 @@ expected by dpkg-genchanges and dpkg-gencontrol, and it must not interact with the user at all. + + If there is general interest in the new format, you should + contact the dpkg maintainer to have the + parser script for it included in the dpkg + package. (You will need to agree that the parser and its + manpage may be distributed under the GNU GPL, just as the rest + of dpkg is.) +

@@ -1813,9 +1814,9 @@ build

- The build target should perform all - non-interactive configuration and compilation of the - package. If a package has an interactive pre-build + The build target should perform all the + configuration and compilation of the package. + If a package has an interactive pre-build configuration routine, the Debianized source package must either be built after this has taken place (so that the binary package can be built without rerunning @@ -1882,21 +1883,21 @@ A package may also provide both of the targets build-arch and build-indep. The build-arch target, if provided, should - perform all non-interactive 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). + 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 non-interactive - configuration and compilation required for producing - all architecture-independent binary packages (those - packages for which the body of the + 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. + is all). + The build target should depend on those of the + targets build-arch and build-indep that + are provided in the rules file.

@@ -1921,8 +1922,7 @@

The binary target must be all that is necessary for the user to build the binary package(s) - produced from this source package. All of these - targets are required to be non-interactive. It is + produced from this source package. It is split into two parts: binary-arch builds the binary packages which are specific to a particular architecture, and binary-indep builds @@ -1971,7 +1971,7 @@ and binary targets may have had, except that it should leave alone any output files created in the parent directory by a run of a binary - target. This target must be non-interactive. + target.

@@ -2351,7 +2351,7 @@ Package: libc6 archive, from other files in the source package, described above. When unpacking, it is checked against the files and directories in the other parts of the - source package (see). + source package.

@@ -2546,7 +2546,7 @@ Package: libc6

- See for information how to get the + See for information how to get the architecture for the build process.

@@ -6080,9 +6080,8 @@ Reloading description configuration...done.

Registration of MIME type handlers allows programs like mail - user agents and web browsers to to invoke these handlers to - view, edit or display MIME types they don't support - directly. + user agents and web browsers to invoke these handlers to + view, edit or display MIME types they don't support directly.

@@ -8474,6 +8473,10 @@ install-info --quiet --remove /usr/share/info/foobar.info changelog.Debian.gz.

+

+ For details about the format and contents of the Debian + changelog file, please see . +

-- 2.39.2