Date: Wed, 26 Jan 2005 11:03:52 +0100 From: Clement Laforet <clement@FreeBSD.org> To: apache@FreeBSD.org Subject: Fwd: cvs commit: ports/www/apache2 Makefile.modules.3rd Message-ID: <20050126100352.GB50248@goofy.cultdeadsheep.org>
index | next in thread | raw e-mail
[-- Attachment #1 --]
FYI.
----- Forwarded message from Clement Laforet <clement@FreeBSD.org> -----
From: Clement Laforet <clement@FreeBSD.org>
Date: Wed, 26 Jan 2005 10:00:11 +0000 (UTC)
To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org,
cvs-all@FreeBSD.org
Subject: cvs commit: ports/www/apache2 Makefile.modules.3rd
clement 2005-01-26 10:00:11 UTC
FreeBSD ports repository
Modified files:
www/apache2 Makefile.modules.3rd
Log:
Changes in Makefile.modules.3rd
o Major change(s)
- in some cases, modules are still built as static modules, making
modules selection useless and generate a non-desired httpd
o Minor change(s)
- apxs detection is done only if port isn't a server one.
- Mark modules ports as IGNORED if apaxhe is built statically
- fix make show-modules when when WITH_ALL_STATIC_MODULES is defined
Most issues discovered by: Jason Mealins <jason_mealins@bigfix.com>
Revision Changes Path
1.16 +22 -10 ports/www/apache2/Makefile.modules.3rd
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/www/apache2/Makefile.modules.3rd.diff?&r1=1.15&r2=1.16&f=h&f=u
===================================================================
RCS file: /usr/local/www/cvsroot/FreeBSD/ports/www/apache2/Makefile.modules.3rd,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- ports/www/apache2/Makefile.modules.3rd 2005/01/25 10:11:34 1.15
+++ ports/www/apache2/Makefile.modules.3rd 2005/01/26 10:00:11 1.16
@@ -1,6 +1,6 @@
# Makefile.modules.3rd
#
-# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/www/apache2/Makefile.modules.3rd,v 1.15 2005/01/25 10:11:34 clement Exp $
+# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/www/apache2/Makefile.modules.3rd,v 1.16 2005/01/26 10:00:11 clement Exp $
#
# Author: Clement Laforet <clement@FreeBSD.org>
# If you have questions, please contact me.
@@ -18,15 +18,6 @@ OVERRIDABLE_VARS= SRC_FILE MODULENAME SH
PKGNAMESUFFIX
-.if exists(${APXS})
-APXS_PREFIX!= ${APXS} -q prefix
-. if defined(AP_GENPLIST) && ${APXS_PREFIX} != ${PREFIX}
-IGNORE= PREFIX must be egal to APXS_PREFIX.
-. endif
-.else
-APXS_PREFIX= ${APXS:S/\/sbin\/apxs//}
-.endif
-
.if exists(${APXS_PREFIX}/include/apache2/http_core.h)
WITH_APACHE2= YES
. if defined (WANT_APACHE)
@@ -59,6 +50,18 @@ IGNORE= "Unknown apache version"
.endif
.if !defined(PORT_IS_SERVER)
+.if exists(${APXS})
+APXS_PREFIX!= ${APXS} -q prefix 2> /dev/null || true
+. if defined(APXS_PREFIX)
+IGNORE= : Your apache does not support DSO modules
+. endif
+. if defined(AP_GENPLIST) && ${APXS_PREFIX} != ${PREFIX}
+IGNORE?= PREFIX must be egal to APXS_PREFIX.
+. endif
+.else
+APXS_PREFIX= ${APXS:S/\/sbin\/apxs//}
+.endif
+
.if defined(WITH_APACHE2)
AP_BUILDEXT= la
PLIST_SUB+= APACHEMODDIR="libexec/apache2"
@@ -147,6 +150,14 @@ ${module}_PLIST_SUB= "@comment "
.if ${WANT_APACHE} == common13
# dirty hack to make sure all modules are disabled before we select them
CONFIGURE_ARGS+= --disable-module="all"
+.elif ${WANT_APACHE} == common2
+CONFIGURE_ARGS+= --disable-access --disable-auth \
+ --disable-charset-lite --disable-include \
+ --disable-log-config --disable-env --disable-setenvif \
+ --disable-mime --disable-status --disable-autoindex \
+ --disable-asis --disable-cgid --disable-cgi \
+ --disable-negotiation --disable-dir --disable-imap \
+ --disable-actions --disable-userdir --disable-alias
.endif
.if defined(WITH_MODULES)
@@ -243,6 +254,7 @@ _CONFIGURE_ARGS!= \
fi; done
CONFIGURE_ARGS+= ${_CONFIGURE_ARGS}
.elif defined(WITH_STATIC_APACHE) || defined(WITH_ALL_STATIC_MODULES)
+WITH_STATIC_MODULES= ${APACHE_MODULES}
. if ${WANT_APACHE} == common13
. for module in ${APACHE_MODULES}
CONFIGURE_ARGS+= --enable-module=${module}
----- End forwarded message -----
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFB92sIsRhfjwcjuh0RAgQaAJ4gyRO57s/0WSfPbegYawFfJ80VWwCfQqfF
X7jDiJXaT8XhMXELmvc+MNY=
=m9yp
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050126100352.GB50248>
