[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#530378: debian-policy: allow /usr/share/doc/<package> to point to another indirectly-depended-upon package's dir



Package: debian-policy
Version: 3.8.1.0
Severity: minor
Tags: patch

Policy allows a package's doc directory to be a symlink to another package's
doc directory, as long as they are:

- from the same source package and
- the first package directly depends upon the second

I propose that that the second requirement is relaxed to allow for an indirect
dependency of the first package to the second (as long as all packages
involved have the same source).

Please see attached patch for a possible wording.

Cheers,
Serafeim

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

debian-policy depends on no packages.

debian-policy recommends no packages.

Versions of packages debian-policy suggests:
pn  doc-base                      <none>     (no description available)

-- no debconf information
--- policy-orig.txt	2009-05-23 20:09:11.000000000 +0200
+++ policy.txt	2009-05-23 20:09:01.000000000 +0200
@@ -6036,7 +6036,10 @@
 
      `/usr/share/doc/<package>' may be a symbolic link to another directory
      in `/usr/share/doc' only if the two packages both come from the same
-     source and the first package Depends on the second.[2]
+     source and the first package Depends on the second.[2] It is also
+     acceptable that the first package has an indirect dependency on the
+     second package, through one or more other packages, as long as all
+     involved packages come from the same source.
 
      Former Debian releases placed all additional documentation in
      `/usr/doc/<package>'.  This has been changed to

Reply to: