From a316bc31f948ba252322e317d3e33725f19bd96d Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Thu, 16 Jun 2005 05:35:53 +0000 Subject: [PATCH] Guenther Palfinger's bugs Author: joy Date: 2003/01/18 23:08:36 Guenther Palfinger's bugs git-archimport-id: srivasta@debian.org--etch/debian-policy--devel--3.0--patch-168 --- debian/changelog | 2 ++ policy.sgml | 47 +++++++++++++++++++++++++---------------------- 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4f12dc1..c7c3a82 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,8 @@ debian-policy (3.5.9.0) unstable; urgency=low * Fixed an accidental change from /usr/share/package to /usr/share/doc in the paragraph about not depending on /usr/share/doc/package, closes: #174048. + * Fixed several errors reported by Guenther Palfinger, with some help from + Richard Braakman, closes: #177205, #177206, #177207, #177208, #177209. -- diff --git a/policy.sgml b/policy.sgml index 78215fb..c889fdd 100644 --- a/policy.sgml +++ b/policy.sgml @@ -2276,6 +2276,8 @@ Package: libc6 + + debian/substvars and variable substitutions @@ -2294,9 +2296,8 @@ Package: libc6

The debian/substvars file is usually generated and - modified dynamically by debian/rules targets; in - this case it must be removed by the clean - target. + modified dynamically by debian/rules targets, in + which case it must be removed by the clean target.

@@ -4895,7 +4896,7 @@ test -f program-executed-later-in-script || exit 0 interprets the argument reload to send the nameserver a HUP signal (causing it to reload its configuration); this way the system administrator can say - /etc/init.d/bind reload to reload the name + /etc/init.d/bind reload to reload the name server. The script has one configurable value, which can be used to pass parameters to the named program at startup; this value is read from @@ -5623,14 +5624,17 @@ endif Libraries +

In general, libraries must have a shared version in the - library package and a static version in the development - package. The shared version must be compiled with - -fPIC, and the static version must not be. In - other words, each source unit ( *.c, for example, - for C files) will need to be compiled twice. + library package (lib*) and a static + version in the development package (lib*-dev). + The shared version must be compiled with -fPIC, + and the static version must not be. In other words, each source + unit (*.c, for example, for C files) will need to be + compiled twice.

+

In some cases, it is acceptable for a library to be available in static form only; these cases include: @@ -5657,18 +5661,12 @@ endif If a library is available only in static form, then it must follow the conventions for a development package.

-

- All libraries must have a shared version in the - lib* package and a static version in the - lib*-dev package. The shared version must be - compiled with -fPIC, and the static version must - not be. In other words, each *.c file will need to - be compiled twice.

You must specify the gcc option -D_REENTRANT when building a library (either static or shared) to make - the library compatible with LinuxThreads.

+ the library compatible with LinuxThreads. +

Note that all installed shared libraries should be @@ -6285,8 +6283,11 @@ ln -fs ../sbin/sendmail debian/tmp/usr/bin/runq

However, programs that require dotfiles in order to - operate sensibly (dotfiles that they do not create - themselves automatically, that is) are a bad thing. + operate sensibly are a bad thing, unless they do create + the dotfiles themselves automatically. +

+ +

Furthermore, programs should be configured by the Debian default installation to behave as closely to the upstream default behaviour as possible. @@ -9332,6 +9333,8 @@ install-info --quiet --remove /usr/share/info/foobar.info all.

+ + debian/substvars and variable substitutions @@ -9351,8 +9354,8 @@ install-info --quiet --remove /usr/share/info/foobar.info

- The is usually generated and modified dynamically by - debian/rules targets; in this case it must be + This file is usually generated and modified dynamically by + debian/rules targets, in which case it must be removed by the clean target.

@@ -10058,7 +10061,7 @@ install-info --quiet --remove /usr/share/info/foobar.info

This field contains a list of files with information about each one. The exact information and syntax varies with - the context. In all cases the the part of the field + the context. In all cases the part of the field contents on the same line as the field name is empty. The remainder of the field is one line per file, each line being indented by one space and containing a number of -- 2.39.5