Package: d-shlibs
Version: 0.40
Severity: normal
Tags: patch
d-shlibdeps sanitychecks control file, including if -dev package depends
on shlib package.
In some situations - like my use of CDBS - such dependency is not static
but resolved through a ${foo:Bar} variable - e.g. to limit to specific
versions resolved programmatically.
Concretely, I need this for ghostscript - if curious, you can see my
recent work by pulling from Git:
git clone git://git.debian.org/git/collab-maint/ghostscript.git
Please apply attached patch to allow that check to be suppressed.
Kind regards,
- Jonas
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-rc5-amd64 (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages d-shlibs depends on:
ii apt 0.7.21 Advanced front-end for dpkg
ii binutils 2.19.1-1 The GNU assembler, linker and bina
ii debianutils 3.1.3 Miscellaneous utilities specific t
d-shlibs recommends no packages.
d-shlibs suggests no packages.
-- no debconf information
--- d-shlibmove.orig 2009-03-31 17:25:29.000000000 +0200
+++ d-shlibmove 2009-05-24 14:33:19.880256805 +0200
@@ -93,6 +93,7 @@
TRANSITIONSUFFIX=
DOIT=no
+IGNORELIBDEP=no
while [ -n "$1" ]; do
case $1 in
--moveshl)
@@ -137,6 +138,9 @@
DEVSUFFIX="$1";
shift;
;;
+ --ignorelibdep)
+ IGNORELIBDEP=yes
+ shift;;
--c102)
TRANSITIONSUFFIX="c102"
shift;;
@@ -209,7 +213,9 @@
check_line "${PKGSHL}" "Conflicts: ${SONAMEPKGNAME}${SUFFIX}"
fi
check_line "${PKGDEV}" "Section: \(devel\|libdevel\)"
-check_line "${PKGDEV}" "Depends:.*${PKGSHL}"
+if ! [ "${IGNORELIBDEP}" = "yes" ]; then
+ check_line "${PKGDEV}" "Depends:.*${PKGSHL}"
+fi
check_line "${PKGSHL}" "Depends:.*[$]{shlibs:Depends}"
if [ "${CHECK_ERROR}" = "true" ]; then