Subject: pkg/35350: Wrong Apache module specified in Makefile (module name has changed in Apache 2.2)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jl+netbsd@lists.wasmer.ca>
List: pkgsrc-bugs
Date: 01/01/2007 17:50:01
>Number: 35350
>Category: pkg
>Synopsis: Wrong Apache module specified in Makefile (module name has changed in Apache 2.2)
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 01 17:50:00 +0000 2007
>Originator: Jean-Luc Wasmer
>Release: 4.0_BETA2
>Organization:
>Environment:
>Description:
According to
mod_auth_ldap is now called authnz_ldap.
The Makefile needs to be updated to correctly build Apache 2.2 with LDAP authentication support.
>How-To-Repeat:
Build Apache 2.2 with
PKG_OPTIONS.apr+= ldap
Check the lack of LDAP auth support
httpd -l
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/apache22/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 9 Dec 2006 00:51:21 -0000 1.2
+++ Makefile 1 Jan 2007 17:41:41 -0000
@@ -91,7 +91,7 @@
# LDAP support
.if !empty(PKG_BUILD_OPTIONS.apr:Mldap)
-DFLT_APACHE_MODULES+= ldap auth_ldap
+DFLT_APACHE_MODULES+= ldap authnz_ldap
.endif
# APACHE_MODULES are the modules that are linked statically into the