Bug 128078

Summary: www/apache20 -- LDAP support is broken
Product: Ports & Packages Reporter: Jeremy Chadwick <koitsu>
Component: Individual Port(s)Assignee: freebsd-apache (Nobody) <apache>
Status: Closed FIXED    
Severity: Affects Only Me CC: skreuzer
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jeremy Chadwick freebsd_committer freebsd_triage 2008-10-14 00:40:00 UTC
	skreuzer on EFnet #bsdports brought to our attention that the Apache 2.0
	port does not appear to be properly including LDAP support when built
	with "make WITH_LDAP=true".

	openldap24-client is pulled in as a dependency, but mod_auth_ldap.so
	isn't installed, and "httpd -l | grep -i ldap" shows nothing.

Fix: 

Upon reading httpd-2.0.63/modules/experimental/README.ldap, I found that
	there's two configure flags which are missing from the port Makefile:

	--enable-ldap
	--enable-auth-ldap

	These need to be added to the CONFIGURE_ARGS section within the WITH_LDAP
	define check (lines 131 to 136).

	Upon adding these to the Makefile, I was able to get LDAP support working
	in Apache, but only built statically (no mod_auth_ldap.so installed, but
	"httpd -l | grep -i ldap" shows mod_auth_ldap.c).

	I think this needs some further research.  I'm not fully familiar with
	getting shared modules to work in www/apache20, but clement@ I'm sure
	knows how to do it properly.  :-)

	Also note www/apache22 may have the same problem, but I haven't confirmed
	this possibility.
How-To-Repeat: 	See above.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-10-14 00:40:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clement

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2008-12-27 20:30:03 UTC
Responsible Changed
From-To: clement->apache

apache team
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-07 05:59:40 UTC
State Changed
From-To: open->closed

Committed. Thanks!