[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: libssh - SSH and SCP library



On Tue, Jul 05, 2005 at 08:26:25PM +0900, Junichi Uekawa wrote :
> Hi,
> 
> > > > The package can be downloaded at http://dgnr.free.fr/repository, or
> > > > with apt-get with "deb http://dgnr.free.fr/ repository/"
> > > 
> > > From the look of it, your packaging looks wrong.
> > > You're probably creating a package that ignores SONAME versioning.
> > 
> > I'm not exactly sure to completely understand what you meant, since I'm
> > only a beginner, but I tried to correct it. Could you please check it
> > again?
> > Thanks anyway for your help
> 
> 
> I have two comments:
> 
> 1. It's linking with openssl, and claiming to be LGPL, which 
>   I understand to be incompatible.
> 

I assume that linking with libcrypto.so and not libssl.so does not
change the problem?
I'll talk to upstream about that, and see if he could add an exception
for linking with openssl, as said in the openssl faq.

> 
> 2. I think the upstream either doesn't care or much understand 
>   shared library versioning; it's a nascent shared library which 
>   will undergo several revisions of ABI/API changes.
>   I would consider calling its SONAME 'libssh.so.0' to be 
>   something prone to failure.

What I don't understand is that "objdump -p /usr/lib/libssh.so.0 | grep
SONAME" returns 'libssh.so.0'. Doesn't this mean its SONAME is
'libssh.so.0'? If it does, where is the problem?
I set the shared library version to 0.0.0 since it's the first debian
package release.
I was planning to version next release 1.0.0, since interfaces will be
removed and since it will break backward compatibility, independantly
of the version number upstream will give to his release. Is this wrong?

> 
> > > 
> > > --- libssh-0.11.orig/debian/shlibs.local
> > > +++ libssh-0.11/debian/shlibs.local
> > > @@ -0,0 +1 @@
> > > +liblibssh 0.11 libssh (>> 0.11-0), libssh (<< 0.11-99)
> 
> A F.A.Q. I assembled for shared libraries in Debian is available here, 
> it might help you as a starting point:
> http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html

This and libtool-doc package has been very useful.
I am very grateful for all your help.

-- 
Jean-Philippe Garcia Ballester

Attachment: signature.asc
Description: Digital signature


Reply to: