Subject: ldap support for apache2
To: None <>
From: Dick Davies <>
List: tech-pkg
Date: 06/11/2004 10:09:55
I've tweaked the makefiles for apache2 to support mod_ldap and mod_auth_ldap,
it's a bit rough and ready but seems to build OK.

The only possible snag I see so far is that it builds them
into Apache, but apxs doesn't work that well for these two
as ldap support needs to be built into apr-util..

Can anyone see any other problems before I send-pr?

rasputin@lb:apache2$ cvs diff
cvs diff: Diffing .
Index: Makefile
RCS file: /pub/NetBSD-CVS/pkgsrc/www/apache2/Makefile,v
retrieving revision 1.36
diff -r1.36 Makefile
> .if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == YES
> APACHE_MODULES+=      ldap auth_ldap
> .endif
Index: Makefile.common
RCS file: /pub/NetBSD-CVS/pkgsrc/www/apache2/Makefile.common,v
retrieving revision 1.8
diff -r1.8 Makefile.common
> .if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == YES
> APR_CONFIGURE_ARGS+= --with-ldap
> APU_CONFIGURE_ARGS+= --with-ldap
> .include "../../databases/openldap/"
> .endif
cvs diff: Diffing files
cvs diff: Diffing patches

The light at the end of the tunnel is the headlight of an approaching
Rasputin :: Jack of All Trades - Master of Nuns