From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 2 06:50:17 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D983437B401 for ; Mon, 2 Jun 2003 06:50:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E8AC43F3F for ; Mon, 2 Jun 2003 06:50:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h52DoGUp094723 for ; Mon, 2 Jun 2003 06:50:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h52DoGEs094722; Mon, 2 Jun 2003 06:50:16 -0700 (PDT) Date: Mon, 2 Jun 2003 06:50:16 -0700 (PDT) Message-Id: <200306021350.h52DoGEs094722@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Panagiotis Astithas Subject: Re: ports/38861: www/auth_ldap compiles-installs but fails atruntime in auth_ldap.so when starting apache-1.3.24_7 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Panagiotis Astithas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 13:50:18 -0000 The following reply was made to PR ports/38861; it has been noted by GNATS. From: Panagiotis Astithas To: freebsd-gnats-submit@FreeBSD.org, eculp@encontacto.net Cc: Subject: Re: ports/38861: www/auth_ldap compiles-installs but fails at runtime in auth_ldap.so when starting apache-1.3.24_7 Date: Mon, 02 Jun 2003 16:43:31 +0300 This is a multi-part message in MIME format. --------------030207000101030903020702 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit With the attached patch, the auth_ldap port is configured correctly for apache. It's kind of hackish, I know, but I am not into apxs-fu to do any better. -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece --------------030207000101030903020702 Content-Type: text/plain; name="Makefile.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Makefile.patch" --- Makefile Mon Jun 2 16:37:04 2003 +++ /usr/ports/www/auth_ldap/Makefile Mon Jun 2 15:35:10 2003 @@ -2,7 +2,7 @@ # Date created: 25 September 2001 # Whom: nik # -# $FreeBSD: /repoman/r/pcvs/ports/www/auth_ldap/Makefile,v 1.10 2003/02/24 02:56:36 edwin Exp $ +# $FreeBSD: ports/www/auth_ldap/Makefile,v 1.10 2003/02/24 02:56:36 edwin Exp $ # PORTNAME= auth_ldap @@ -32,6 +32,11 @@ MAKE_ARGS+= APXS=${APXS} do-install: - ${APXS} -i -A -n ldap ${WRKSRC}/auth_ldap.so + ${APXS} -i -A -n auth_ldap ${WRKSRC}/auth_ldap.so + ${SED} -e 's|mod_auth_ldap.c|auth_ldap.c|g' \ + < ${LOCALBASE}/etc/apache/httpd.conf \ + > ${LOCALBASE}/etc/apache/httpd.conf.ldap + ${MV} -f ${LOCALBASE}/etc/apache/httpd.conf.ldap \ + ${LOCALBASE}/etc/apache/httpd.conf .include --------------030207000101030903020702--