Bug#509932: shlibs format only addresses one versioning structure
Package: debian-policy
Version: 3.8.0.1
Severity: minor
The current description of the shlibs format in section 8.6.3 assumes
all shared libraries have SONAMEs of the form libfoo.so.<version>.
However, Debian's tools also support a versioned SONAME of the form
libfoo-<version>.so.
The regex used to parse such SONAMEs in dpkg-shlibdeps is:
/^(.*)-(\d.*)\.so$/
so textually we would say that the SONAME must end in .so and everything
from the first hyphen followed by a digit to the .so is taken to be the
version.
Lintian will be updated to match in the next release, and I filed a bug
against dh_makeshlibs to suggest using the same regex (it currently accepts
anything after a dash and doesn't require the digit or that the SONAME end
in .so).
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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:
ii doc-base 0.8.18 utilities to manage online documen
-- no debconf information
Reply to: