From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 13 23:40:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B9DE1065692 for ; Mon, 13 Oct 2008 23:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D8BF28FC1C for ; Mon, 13 Oct 2008 23:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9DNe0sV096324 for ; Mon, 13 Oct 2008 23:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9DNe0vf096323; Mon, 13 Oct 2008 23:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 13 Oct 2008 23:40:00 GMT Resent-Message-Id: <200810132340.m9DNe0vf096323@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BE211065686 for ; Mon, 13 Oct 2008 23:37:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id CC3148FC1D for ; Mon, 13 Oct 2008 23:37:25 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA10.westchester.pa.mail.comcast.net with comcast id SHj61a0040ldTLk5APdR04; Mon, 13 Oct 2008 23:37:25 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA04.westchester.pa.mail.comcast.net with comcast id SPdG1a00T2P6wsM3QPdGM1; Mon, 13 Oct 2008 23:37:17 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 5B52EC9419; Mon, 13 Oct 2008 16:37:15 -0700 (PDT) Message-Id: <20081013233715.5B52EC9419@icarus.home.lan> Date: Mon, 13 Oct 2008 16:37:15 -0700 (PDT) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/128078: www/apache20 -- LDAP support is broken X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Chadwick List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 23:40:02 -0000 >Number: 128078 >Category: ports >Synopsis: www/apache20 -- LDAP support is broken >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 13 23:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 7.1-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 03:04:20 PDT 2008 root@icarus.home.lan:/usr/obj/usr/src/sys/PDSMI_PLUS_RELENG_7_amd64 amd64 >Description: 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. >How-To-Repeat: See above. >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. >Release-Note: >Audit-Trail: >Unformatted: