Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2000 15:50:05 +0200 (CEST)
From:      Martin Cracauer <cracauer@counter.bik-gmbh.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21910: apache13-port module configure arguments do not work
Message-ID:  <200010111350.e9BDo5e66024@counter.bik-gmbh.de>

next in thread | raw e-mail | index | archive | help

>Number:         21910
>Category:       ports
>Synopsis:       The apache port has module-enabling CONFIGURE_ARGS - they don't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 11 07:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Martin Cracauer
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
>Environment:

	

>Description:

ports/www/apache13/Makefile has CONFIGURE_ARGS that should enable
some modules.

However, the current apache configure script has a bug that
mod-enabling configure options are not processed when they appear late
on the commandline (I did not bother to find out the exact
conditions). 

Reordering CONFIGURE_ARGS to have the module-enabling ones earlier on
the commandline make things work

>How-To-Repeat:

Install the port.  It should enable module auth_db.
Then do
  /usr/local/sbin/httpd -l
which lists modules, you will see that auth_db is missing.

>Fix:

Workaround: reorder arguments like the appended diff.  The maintainer
should probably investigates the exact circumstances and report them
back to the apache team.

Thanks for your good work.

Index: Makefile
===================================================================
RCS file: /home/CVS-FreeBSD/ports/www/apache13/Makefile,v
retrieving revision 1.82
diff -u -r1.82 Makefile
--- Makefile	2000/08/22 03:41:03	1.82
+++ Makefile	2000/10/11 13:45:15
@@ -35,6 +35,9 @@
 
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	\
+		--enable-module=most \
+		--enable-module=auth_db \
+		--enable-module=proxy \
 		--prefix=${PREFIX} \
 		--server-gid=nogroup \
 		--with-perl=${PERL} \
@@ -42,8 +45,6 @@
 		--suexec-docroot=${PREFIX}/www/data \
 		--without-confadjust \
 		--enable-shared=remain \
-		--enable-module=most \
-		--enable-module=auth_db \
 		--disable-module=auth_dbm
 
 OPTIM=		-DHARD_SERVER_LIMIT=512 \



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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