mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Make performance tuning conditionaly depends on APACHE_PERF_TUNING
variable. Add more optimization there.
This commit is contained in:
parent
10da61e773
commit
c5e63d8814
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11517
@ -3,7 +3,7 @@
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: ache@nagual.pp.ru
|
||||
#
|
||||
# $Id: Makefile,v 1.56 1998/06/18 11:51:03 ache Exp $
|
||||
# $Id: Makefile,v 1.57 1998/06/18 11:56:17 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.0
|
||||
@ -15,6 +15,10 @@ MASTER_SITES= ftp://www.apache.org/apache/dist/
|
||||
|
||||
MAINTAINER= ache@freebsd.org
|
||||
|
||||
#
|
||||
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
|
||||
#
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= \
|
||||
--logfiledir=/var/log \
|
||||
@ -22,16 +26,22 @@ CONFIGURE_ARGS= \
|
||||
--datadir=${PREFIX}/www \
|
||||
--proxycachedir=${PREFIX}/www/proxy \
|
||||
--libexecdir=${PREFIX}/libexec/apache \
|
||||
--disable-rule=STATUS \
|
||||
--enable-shared=remain \
|
||||
--enable-module=most \
|
||||
--enable-module=auth_db \
|
||||
--disable-module=auth_dbm
|
||||
|
||||
CONFIGURE_ENV= \
|
||||
OPTIM='-DBUFFERED_LOGS -DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"'${PREFIX}'/www/data/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:'${PREFIX}'/bin\\"'
|
||||
OPTIM=-DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\"
|
||||
|
||||
.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == YES
|
||||
CONFIGURE_ARGS+= --disable-rule=STATUS
|
||||
OPTIM+= -DBUFFERED_LOGS
|
||||
CFLAGS+= -O6 -fomit-frame-pointer -fexpensive-optimizations
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= OPTIM='${OPTIM}'
|
||||
|
||||
MAN1= ab.1 apachectl.1 dbmmanage.1 htdigest.1 htpasswd.1
|
||||
MAN8= apxs.8 httpd.8 logresolve.8 rotatelogs.8
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: ache@nagual.pp.ru
|
||||
#
|
||||
# $Id: Makefile,v 1.56 1998/06/18 11:51:03 ache Exp $
|
||||
# $Id: Makefile,v 1.57 1998/06/18 11:56:17 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.0
|
||||
@ -15,6 +15,10 @@ MASTER_SITES= ftp://www.apache.org/apache/dist/
|
||||
|
||||
MAINTAINER= ache@freebsd.org
|
||||
|
||||
#
|
||||
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
|
||||
#
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= \
|
||||
--logfiledir=/var/log \
|
||||
@ -22,16 +26,22 @@ CONFIGURE_ARGS= \
|
||||
--datadir=${PREFIX}/www \
|
||||
--proxycachedir=${PREFIX}/www/proxy \
|
||||
--libexecdir=${PREFIX}/libexec/apache \
|
||||
--disable-rule=STATUS \
|
||||
--enable-shared=remain \
|
||||
--enable-module=most \
|
||||
--enable-module=auth_db \
|
||||
--disable-module=auth_dbm
|
||||
|
||||
CONFIGURE_ENV= \
|
||||
OPTIM='-DBUFFERED_LOGS -DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"'${PREFIX}'/www/data/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:'${PREFIX}'/bin\\"'
|
||||
OPTIM=-DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\"
|
||||
|
||||
.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == YES
|
||||
CONFIGURE_ARGS+= --disable-rule=STATUS
|
||||
OPTIM+= -DBUFFERED_LOGS
|
||||
CFLAGS+= -O6 -fomit-frame-pointer -fexpensive-optimizations
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= OPTIM='${OPTIM}'
|
||||
|
||||
MAN1= ab.1 apachectl.1 dbmmanage.1 htdigest.1 htpasswd.1
|
||||
MAN8= apxs.8 httpd.8 logresolve.8 rotatelogs.8
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: ache@nagual.pp.ru
|
||||
#
|
||||
# $Id: Makefile,v 1.56 1998/06/18 11:51:03 ache Exp $
|
||||
# $Id: Makefile,v 1.57 1998/06/18 11:56:17 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.0
|
||||
@ -15,6 +15,10 @@ MASTER_SITES= ftp://www.apache.org/apache/dist/
|
||||
|
||||
MAINTAINER= ache@freebsd.org
|
||||
|
||||
#
|
||||
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
|
||||
#
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= \
|
||||
--logfiledir=/var/log \
|
||||
@ -22,16 +26,22 @@ CONFIGURE_ARGS= \
|
||||
--datadir=${PREFIX}/www \
|
||||
--proxycachedir=${PREFIX}/www/proxy \
|
||||
--libexecdir=${PREFIX}/libexec/apache \
|
||||
--disable-rule=STATUS \
|
||||
--enable-shared=remain \
|
||||
--enable-module=most \
|
||||
--enable-module=auth_db \
|
||||
--disable-module=auth_dbm
|
||||
|
||||
CONFIGURE_ENV= \
|
||||
OPTIM='-DBUFFERED_LOGS -DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"'${PREFIX}'/www/data/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:'${PREFIX}'/bin\\"'
|
||||
OPTIM=-DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\"
|
||||
|
||||
.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == YES
|
||||
CONFIGURE_ARGS+= --disable-rule=STATUS
|
||||
OPTIM+= -DBUFFERED_LOGS
|
||||
CFLAGS+= -O6 -fomit-frame-pointer -fexpensive-optimizations
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= OPTIM='${OPTIM}'
|
||||
|
||||
MAN1= ab.1 apachectl.1 dbmmanage.1 htdigest.1 htpasswd.1
|
||||
MAN8= apxs.8 httpd.8 logresolve.8 rotatelogs.8
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: ache@nagual.pp.ru
|
||||
#
|
||||
# $Id: Makefile,v 1.56 1998/06/18 11:51:03 ache Exp $
|
||||
# $Id: Makefile,v 1.57 1998/06/18 11:56:17 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.0
|
||||
@ -15,6 +15,10 @@ MASTER_SITES= ftp://www.apache.org/apache/dist/
|
||||
|
||||
MAINTAINER= ache@freebsd.org
|
||||
|
||||
#
|
||||
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
|
||||
#
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= \
|
||||
--logfiledir=/var/log \
|
||||
@ -22,16 +26,22 @@ CONFIGURE_ARGS= \
|
||||
--datadir=${PREFIX}/www \
|
||||
--proxycachedir=${PREFIX}/www/proxy \
|
||||
--libexecdir=${PREFIX}/libexec/apache \
|
||||
--disable-rule=STATUS \
|
||||
--enable-shared=remain \
|
||||
--enable-module=most \
|
||||
--enable-module=auth_db \
|
||||
--disable-module=auth_dbm
|
||||
|
||||
CONFIGURE_ENV= \
|
||||
OPTIM='-DBUFFERED_LOGS -DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"'${PREFIX}'/www/data/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:'${PREFIX}'/bin\\"'
|
||||
OPTIM=-DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\"
|
||||
|
||||
.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == YES
|
||||
CONFIGURE_ARGS+= --disable-rule=STATUS
|
||||
OPTIM+= -DBUFFERED_LOGS
|
||||
CFLAGS+= -O6 -fomit-frame-pointer -fexpensive-optimizations
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= OPTIM='${OPTIM}'
|
||||
|
||||
MAN1= ab.1 apachectl.1 dbmmanage.1 htdigest.1 htpasswd.1
|
||||
MAN8= apxs.8 httpd.8 logresolve.8 rotatelogs.8
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: ache@nagual.pp.ru
|
||||
#
|
||||
# $Id: Makefile,v 1.56 1998/06/18 11:51:03 ache Exp $
|
||||
# $Id: Makefile,v 1.57 1998/06/18 11:56:17 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.0
|
||||
@ -15,6 +15,10 @@ MASTER_SITES= ftp://www.apache.org/apache/dist/
|
||||
|
||||
MAINTAINER= ache@freebsd.org
|
||||
|
||||
#
|
||||
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
|
||||
#
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= \
|
||||
--logfiledir=/var/log \
|
||||
@ -22,16 +26,22 @@ CONFIGURE_ARGS= \
|
||||
--datadir=${PREFIX}/www \
|
||||
--proxycachedir=${PREFIX}/www/proxy \
|
||||
--libexecdir=${PREFIX}/libexec/apache \
|
||||
--disable-rule=STATUS \
|
||||
--enable-shared=remain \
|
||||
--enable-module=most \
|
||||
--enable-module=auth_db \
|
||||
--disable-module=auth_dbm
|
||||
|
||||
CONFIGURE_ENV= \
|
||||
OPTIM='-DBUFFERED_LOGS -DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"'${PREFIX}'/www/data/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:'${PREFIX}'/bin\\"'
|
||||
OPTIM=-DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\"
|
||||
|
||||
.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == YES
|
||||
CONFIGURE_ARGS+= --disable-rule=STATUS
|
||||
OPTIM+= -DBUFFERED_LOGS
|
||||
CFLAGS+= -O6 -fomit-frame-pointer -fexpensive-optimizations
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= OPTIM='${OPTIM}'
|
||||
|
||||
MAN1= ab.1 apachectl.1 dbmmanage.1 htdigest.1 htpasswd.1
|
||||
MAN8= apxs.8 httpd.8 logresolve.8 rotatelogs.8
|
||||
|
Loading…
Reference in New Issue
Block a user