[Pkg-openldap-devel] Bug#650501: slapd headers status

Ryan Tandy ryan at nardis.ca
Tue Aug 19 17:57:04 UTC 2014


Hello Luca,

On Tue, Aug 19, 2014 at 9:19 AM, Luca Bruno <lucab at debian.org> wrote:
> It is my understanding that those file were once provided by
> a libslapd2.3-dev package, which doesn’t exist anymore. However,
> git history[0] didn’t tell me the reason behind its removal,
> and a bug is currently open to have it back (#650501).
>
> Somebody who is more knowledgeable about this, can please tell me:
>  * why was it removed?

First, I'll note that it was never in a stable release. It was added
and then dropped again during sarge development.

Some of the history is in deleted svn branches and not included in the
git import. After the openldap2/openldap2.2 split, libldap2.2-dev and
libslapd2.2-dev were dropped "until post-sarge":

http://anonscm.debian.org/viewvc/pkg-openldap?view=revision&revision=388
http://anonscm.debian.org/viewvc/pkg-openldap?view=revision&revision=389

(I don't have all the context, but I think the reason for the split
was that the GnuTLS never really worked well with 2.2 or 2.3, while
slapd 2.1 was buggy and no longer supported upstream.)

Shortly after the commit you quoted, around the time of importing 2.3,
Matthijs noted that reintroducing the -dev packages still had to be
delayed:

http://anonscm.debian.org/cgit/pkg-openldap/openldap.git/commit/?id=f83935ddfb02df611c65a40d5057145fb09259e4

In the excitement of the 2.4 update and long-awaited source merge,
libslapd2.3-dev appears to have been simply dropped:

http://anonscm.debian.org/cgit/pkg-openldap/openldap.git/commit/?id=3bff96fbaf398ca668449ab34b7679152c3784ec
http://anonscm.debian.org/cgit/pkg-openldap/openldap.git/commit/?id=a834d5bbc916e8318a5c8a86ec81e9a2a0da3e3d
http://anonscm.debian.org/cgit/pkg-openldap/openldap.git/commit/?id=4293383b1aea21ab27e3955f3edee03f2a55e96e

Based on that, I don't see a reason why libslapd-dev couldn't be enabled again.

I don't think I know enough to answer your other questions. That said,
if the slapd headers could be reintroduced, I'd be interested in
trying to package the LTB ppolicy checker.

>  * can we start providing again those headers? looking at the bug,
>    there are several people needing it.
>  * should a separate libslapd2-dev be reintroduced, or can they be
>    shipped in private subdirectories of libldap2-dev?
>  * is portable.h really a private header? From a quick glance, it
>    looks like a global header inside include/, but I noticed that
>    several files from there are not installed.
>
> [0] http://anonscm.debian.org/cgit/pkg-openldap/openldap.git/commit/debian/control?id=7a9ad38eac2a4aec87dc8b61bfec56fcd43ff9a7
>
> Cheers, Luca

On Tue, Aug 19, 2014 at 9:19 AM, Luca Bruno <lucab at debian.org> wrote:
> Hi,
> I’m currently dealing with an OpenLDAP password checker,
> which builds as an external module.
> It currently needs two include files, portable.h and slap.h,
> which are not shipped by any package.
>
> It is my understanding that those file were once provided by
> a libslapd2.3-dev package, which doesn’t exist anymore. However,
> git history[0] didn’t tell me the reason behind its removal,
> and a bug is currently open to have it back (#650501).
>
> Somebody who is more knowledgeable about this, can please tell me:
>  * why was it removed?
>  * can we start providing again those headers? looking at the bug,
>    there are several people needing it.
>  * should a separate libslapd2-dev be reintroduced, or can they be
>    shipped in private subdirectories of libldap2-dev?
>  * is portable.h really a private header? From a quick glance, it
>    looks like a global header inside include/, but I noticed that
>    several files from there are not installed.
>
> [0] http://anonscm.debian.org/cgit/pkg-openldap/openldap.git/commit/debian/control?id=7a9ad38eac2a4aec87dc8b61bfec56fcd43ff9a7
>
> Cheers, Luca
>
> _______________________________________________
> Pkg-openldap-devel mailing list
> Pkg-openldap-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-openldap-devel



More information about the Pkg-openldap-devel mailing list