From owner-freebsd-ports@FreeBSD.ORG Tue Jun 3 04:03:53 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7EE437B401; Tue, 3 Jun 2003 04:03:52 -0700 (PDT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3342C43FA3; Tue, 3 Jun 2003 04:03:51 -0700 (PDT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.11.6p2/8.11.6) with ESMTP id h53B3nv90532; Tue, 3 Jun 2003 14:03:49 +0300 (EEST) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9/8.12.6) with ESMTP id h53B3nO6093708; Tue, 3 Jun 2003 14:03:49 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <3EDC8094.3070702@noc.ntua.gr> Date: Tue, 03 Jun 2003 14:03:48 +0300 From: Panagiotis Astithas 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: ports@freebsd.org Content-Type: multipart/mixed; boundary="------------060302080901000008040603" 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] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 11:03:53 -0000 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 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 --------------030207000101030903020702-- --------------060302080901000008040603--