[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ports/38861: www/auth_ldap compiles-installs but fails atruntime in auth_ldap.so when starting apache-1.3.24_7
- Subject: ports/38861: www/auth_ldap compiles-installs but fails atruntime in auth_ldap.so when starting apache-1.3.24_7
- From: past at noc.ntua.gr (Panagiotis Astithas)
- Date: Mon Jun 2 06:50:38 2003
The following reply was made to PR ports/38861; it has been noted by GNATS.
From: Panagiotis Astithas <past_(_at_)_noc_(_dot_)_ntua_(_dot_)_gr>
To: freebsd-gnats-submit_(_at_)_FreeBSD_(_dot_)_org, eculp_(_at_)_encontacto_(_dot_)_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 <bsd.port.mk>
--------------030207000101030903020702--
Visit your host, monkey.org