From ad3f34f9653fe848816f2af915b9cdd260fc4421 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 8 Feb 2004 00:16:45 +0000 Subject: [PATCH] r1653: * dh_strip: Add note to man page that the detached debugging symbols options mean the package must build-depend on a new enough version of binutils. Closes: #231382 * dh_installdebconf: The debconf dependency has changed to include "| debconf-2.0". Closes: #230622 --- dh_installdebconf | 9 +++++---- dh_perl | 4 ++++ dh_strip | 6 ++++++ 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/dh_installdebconf b/dh_installdebconf index c9c72b2..66dafd0 100755 --- a/dh_installdebconf +++ b/dh_installdebconf @@ -112,13 +112,14 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } } + # I'm going with debconf 0.5 because it was the first + # "modern" one. + my $debconfdep="debconf (>= 0.5) | debconf-2.0"; if ($config ne '' || $templates ne '') { - # I'm going with debconf 0.5 because it was the first - # "modern" one. - addsubstvar($package, "misc:Depends", "debconf", ">= 0.5"); + addsubstvar($package, "misc:Depends", $debconfdep); } else { - addsubstvar($package, "misc:Depends", "debconf", ">= 0.5", 1); # remove + addsubstvar($package, "misc:Depends", $debconfdep, undef, 1); # remove } if (($config ne '' || $templates ne '') && ! $dh{NOSCRIPTS}) { diff --git a/dh_perl b/dh_perl index 65b1da0..7e446b5 100755 --- a/dh_perl +++ b/dh_perl @@ -36,6 +36,10 @@ full perl package. If so, you can pass the -d option to make dh_perl generate a dependency on the correct base package. This is only necessary for some packages that are included in the base system. +Note that this flag may cause no dependency on perl-base to be generated at +all. perl-base is Essential, so its dependency can be left out, unless a +versioned dependency is needed. + =item B<-V> By default, scripts and architecture independent modules don't depend diff --git a/dh_strip b/dh_strip index 93d59b3..a090618 100755 --- a/dh_strip +++ b/dh_strip @@ -58,12 +58,18 @@ automatically load up the debugging symbols from it when debugging libfoo. This option may be repeated to list more than one package. +Note that if you use this option, your package should build-depend on +binutils (>= 2.12.90.0.9). + =item B<-k>, B<--keep-debug> Debug symbols will be retained, but split into an independant file in usr/lib/debug/ in the package build directory. --dbg-package is easier to use than this option, but this option is more flexible. +Note that if you use this option, your package should build-depend on +binutils (>= 2.12.90.0.9). + =back =head1 NOTES -- 2.39.2