Hey Ondrej, 

On Fri, Feb 25, 2005 at 10:57:31AM +0100, Ondrej Sury wrote:
> I need openldap2.2 for our work, so I worked a bit on having openldap2.2
> packages.

You are great, man! :) Debian could use more users of that kind!! Thanks
a lot for your patch. I have to tell you, though, that we duplicated
some work since I did OpenLDAP 2.2 packages as well yesterday. I already
uploaded to experimental with some known issues open. 

> What does attached patch:
> - renames: libldap2 to libldap2.2-7, libldap2-dev to libldap2.2-dev and
> libslapd2-dev to libslapd2.2-dev

Hmm, I named it libldap2.2 but libldap2.2-7 makes sense given the
soname. Not sure how upstream handles this, I'd like to have libldap2.2
and have that binary compatible will all older clients. Do you know
better by chance?

> - move ucdata from /usr/share/ldap/ucdata to /usr/share/ldap2.2/ucdata

I guess I'll take that change and apply it to the Debian packages. I'd
rather call it /usr/share/libldap2.2/ucdata so it is easier to associate 
to the package.

> - removes /etc/ldap/ldap.conf and man page

Did you compare the configuration options of libldap2 and libldap2.2? In
the long term libldap2 will get replaced but so long I think your
solution is the best. The current packages overwrite each other in that
regard as well.

> - libldap2.2-7 depends on libldap2 because of conf file and man page

I don't really like that but that's the option I was about to take as
well. 

> - removed upstream-merged fixes from .diff

Hmm, did not notice that part - I just merged the new upstream in
subversion :)

> What need to be done:
> - create common openldap2-common (or libldap2-common?) which will
> share /etc/ldap/ldap.conf and /usr/share/man/man5/ldap.conf.5.gz

Don't think so. In the end there will be one libldap package and one
config file. For some time we will have libldap2.2 as well but I don't
think it makes much sense to go down that path for just two files with
no benefits apart from saving the libldap2 dependency while anybody will
have that library installed anyway.

> - adapt GNUTLS patch...  it's not so hard, but I better understand it
> first before merging it :-) (*1)

Don't start on that one. We are working on reimplementing GnuTLS support
from scratch against current upstream CVS to get it in the official
OpenLDAP distribution as well. Of course we could use some help on that
front!

> - update symlinks for slap* in /usr/sbin/, they moved from having
> separate tools to symlinking to slapd. (*2)

That's already done in my packages. 

> This will allow smooth transition from libldap2 to libldap2.2 without
> broking anything.  (At least I think?)

Think so.

> I suggest upload to experimental after (*1) and (*2) is fixed?

Already done, but it's stuck in the NEW directory and waiting for manual
approval.

Greetings

        Torsten

Attachment: signature.asc
Description: Digital signature

Reply via email to