Package: d-shlibs
Version: 0.41
Severity: important
Tags: patch

Hi Junichi,

According to Debian Policy ยง7.1 the releationship fields may span
multiple lines, additional lines space-indented.

Currently d-shlibs fails to recognize such multi-line fields.

Attached patch fixes this.


Kind regards,

  - Jonas


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-12-generic (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.25.3   Advanced front-end for dpkg
ii  binutils                      2.20.1-2   The GNU assembler, linker and bina
ii  debianutils                   3.2.2      Miscellaneous utilities specific t

d-shlibs recommends no packages.

d-shlibs suggests no packages.

-- no debconf information
--- d-shlibmove.orig    2009-09-29 16:27:54.000000000 +0200
+++ d-shlibmove 2010-03-11 03:47:58.000000000 +0100
@@ -68,6 +68,7 @@
     local ENTRYLINE="$2"
     
     if ! awk '/^Package:.*'"$PKGNAME"'/,/^$/{print}' "$CONTROL" | \
+       perl -0 -pe 's/\n[ \t]+/ /g' | \
        grep "$ENTRYLINE"  > /dev/null; then
        echo "E: line [$ENTRYLINE] not found in $CONTROL section for $PKGNAME"
        # set this error signifier to true

Reply via email to