Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2003 06:50:16 -0700 (PDT)
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/38861: www/auth_ldap compiles-installs but fails atruntime in auth_ldap.so when starting apache-1.3.24_7
Message-ID:  <200306021350.h52DoGEs094722@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/38861; it has been noted by GNATS.

From: Panagiotis Astithas <past@noc.ntua.gr>
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 <bsd.port.mk>
 
 --------------030207000101030903020702--
 



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