Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jun 2003 14:03:48 +0300
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        ports@freebsd.org
Cc:        nik@freebsd.org
Subject:   [Fwd: Re: ports/38861: www/auth_ldap compiles-installs but fails at runtime in auth_ldap.so when starting apache-1.3.24_7]
Message-ID:  <3EDC8094.3070702@noc.ntua.gr>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060302080901000008040603
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I am forwarding this in order to avoid it being lost in the mist of an 
unmaintained port :-)
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece

--------------060302080901000008040603
Content-Type: message/rfc822;
	runtime in auth_ldap.sowhen starting apache-1.3.24_7"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	at runtime in auth_ldap.sowhen starting apache-1.3.24_7"

Message-ID: <3EDB5483.9020007@noc.ntua.gr>
Date: Mon, 02 Jun 2003 16:43:31 +0300
From: Panagiotis Astithas <past@noc.ntua.gr>
Organization: NTUA/NMC
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en, el
MIME-Version: 1.0
To: freebsd-gnats-submit@FreeBSD.org,  eculp@encontacto.net
Subject: Re: ports/38861: www/auth_ldap compiles-installs but fails at runtime
 in auth_ldap.so when starting apache-1.3.24_7
Content-Type: multipart/mixed;
 boundary="------------030207000101030903020702"

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 <bsd.port.mk>

--------------030207000101030903020702--


--------------060302080901000008040603--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EDC8094.3070702>