Bug#509932: shlibs format only addresses one versioning structure

2010-07-03 Thread Russ Allbery
Steve Langasek writes: > On Thu, Jul 01, 2010 at 12:15:38PM -0700, Russ Allbery wrote: >> diff --git a/policy.sgml b/policy.sgml >> index 1e641e6..9a72be5 100644 >> --- a/policy.sgml >> +++ b/policy.sgml >> @@ -5470,8 +5470,13 @@ Replaces: mail-transport-agent >>debian/shlibs.local >>

Bug#509932: shlibs format only addresses one versioning structure

2010-07-03 Thread Steve Langasek
On Thu, Jul 01, 2010 at 12:15:38PM -0700, Russ Allbery wrote: > diff --git a/policy.sgml b/policy.sgml > index 1e641e6..9a72be5 100644 > --- a/policy.sgml > +++ b/policy.sgml > @@ -5470,8 +5470,13 @@ Replaces: mail-transport-agent > debian/shlibs.local > > > -

Bug#509932: shlibs format only addresses one versioning structure

2010-07-03 Thread Russ Allbery
Russ Allbery writes: > Russ Allbery writes: >> The current description of the shlibs format in section 8.6.3 assumes >> all shared libraries have SONAMEs of the form libfoo.so.. >> However, Debian's tools also support a versioned SONAME of the form >> libfoo-.so. > Here is the second patch, whi

Bug#509932: shlibs format only addresses one versioning structure

2010-07-03 Thread Russ Allbery
Russ Allbery writes: > This patch removes the instructions for how to create shlibs.local files > and the encouragement to do so if one runs into errors with > dpkg-shlibdeps, since the archive coverage for shlibs is now complete and > writing a shlibs.local file is unlikely to be an appropriate

Bug#509932: shlibs format only addresses one versioning structure

2010-07-03 Thread Russ Allbery
Kurt Roeckx writes: > On Sun, Feb 01, 2009 at 11:21:55AM -0800, Russ Allbery wrote: >> Yes, quite a few. All of the libdb packages, for instance. >> >> windlord:~> dpkg -L libdb4.6 | grep /usr/lib/ >> /usr/lib/libdb-4.6.so >> windlord:~> readelf -d /usr/lib/libdb-4.6.so | grep SONAME >> 0x

Bug#509932: shlibs format only addresses one versioning structure

2010-07-03 Thread Kurt Roeckx
On Sun, Feb 01, 2009 at 11:21:55AM -0800, Russ Allbery wrote: > > > Are there shared libraries (not plugin) in Debian with SONAME of the > > form libfoo-.so ? > > Yes, quite a few. All of the libdb packages, for instance. > > windlord:~> dpkg -L libdb4.6 | grep /usr/lib/ > /usr/lib/libdb-4.6.so

Bug#509932: shlibs format only addresses one versioning structure

2010-07-02 Thread Cyril Brulebois
Julien Cristau (01/07/2010): > On Thu, Jul 1, 2010 at 12:15:38 -0700, Russ Allbery wrote: > > > diff --git a/policy.sgml b/policy.sgml > > index 1e641e6..9a72be5 100644 > > --- a/policy.sgml > > +++ b/policy.sgml > > @@ -5470,8 +5470,13 @@ Replaces: mail-transport-agent > > debian/shli

Bug#509932: shlibs format only addresses one versioning structure

2010-07-01 Thread Raphael Hertzog
On Thu, 01 Jul 2010, Julien Cristau wrote: > On Thu, Jul 1, 2010 at 12:19:42 -0700, Russ Allbery wrote: > > > diff --git a/policy.sgml b/policy.sgml > > index 9a72be5..2a634b8 100644 > > --- a/policy.sgml > > +++ b/policy.sgml > > @@ -5654,7 +5654,11 @@ objdump -p /usr/lib/libz.so.1.1.3 | grep SO

Bug#509932: shlibs format only addresses one versioning structure

2010-07-01 Thread Jakub Wilk
* Russ Allbery , 2010-07-01, 12:15: diff --git a/policy.sgml b/policy.sgml index 1e641e6..9a72be5 100644 --- a/policy.sgml +++ b/policy.sgml @@ -5470,8 +5470,13 @@ Replaces: mail-transport-agent debian/shlibs.local - This lists overrides for this packag

Bug#509932: shlibs format only addresses one versioning structure

2010-07-01 Thread Julien Cristau
On Thu, Jul 1, 2010 at 12:19:42 -0700, Russ Allbery wrote: > diff --git a/policy.sgml b/policy.sgml > index 9a72be5..2a634b8 100644 > --- a/policy.sgml > +++ b/policy.sgml > @@ -5654,7 +5654,11 @@ objdump -p /usr/lib/libz.so.1.1.3 | grep SONAME > > > The version part i

Bug#509932: shlibs format only addresses one versioning structure

2010-07-01 Thread Julien Cristau
On Thu, Jul 1, 2010 at 12:15:38 -0700, Russ Allbery wrote: > diff --git a/policy.sgml b/policy.sgml > index 1e641e6..9a72be5 100644 > --- a/policy.sgml > +++ b/policy.sgml > @@ -5470,8 +5470,13 @@ Replaces: mail-transport-agent > debian/shlibs.local > > > -

Bug#509932: shlibs format only addresses one versioning structure

2010-07-01 Thread Russ Allbery
Russ Allbery writes: > The current description of the shlibs format in section 8.6.3 assumes > all shared libraries have SONAMEs of the form libfoo.so.. > However, Debian's tools also support a versioned SONAME of the form > libfoo-.so. Here is the second patch, which addresses this issue. Obje

Bug#509932: shlibs format only addresses one versioning structure

2010-07-01 Thread Russ Allbery
I've started looking at revising the sections in Debian Policy about the shlibs file and have two patches to propose. This is the first. (Yes, this whole section will need further revision to add information about symbols files, but I think we have a separate bug about that and regardless can han

Bug#509932: shlibs format only addresses one versioning structure

2009-02-02 Thread Raphael Hertzog
On Sat, 27 Dec 2008, Russ Allbery wrote: > /^(.*)-(\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. .* is greedy in perl so it's rather the last hyphen followed by a di

Bug#509932: shlibs format only addresses one versioning structure

2009-02-01 Thread Bill Allombert
On Sat, Dec 27, 2008 at 12:12:43PM -0800, Russ Allbery wrote: > 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.. > However, Debian's tools also support a

Bug#509932: shlibs format only addresses one versioning structure

2009-02-01 Thread Russ Allbery
Bill Allombert writes: > On Sat, Dec 27, 2008 at 12:12:43PM -0800, Russ Allbery wrote: >> The current description of the shlibs format in section 8.6.3 assumes >> all shared libraries have SONAMEs of the form libfoo.so.. >> However, Debian's tools also support a versioned SONAME of the form >> li

Bug#509932: shlibs format only addresses one versioning structure

2008-12-27 Thread Russ Allbery
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.. However, Debian's tools also support a versioned SONAME of the form libfoo-.so. The regex used to parse such SONA