FreeBSD Bugzilla – Attachment 29800 Details for
Bug 50455
apache13-modssl/Makefile new options and changes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Makefile.diff
Makefile.diff (text/x-makefile; charset="us-ascii"), 4.30 KB, created by
Drazen
on 2003-03-30 14:16:45 UTC
(
hide
)
Description:
Makefile.diff
Filename:
MIME Type:
Creator:
Drazen
Created:
2003-03-30 14:16:45 UTC
Size:
4.30 KB
patch
obsolete
>--- Makefile.orig Fri Mar 28 01:54:36 2003 >+++ Makefile Fri Mar 28 22:13:23 2003 >@@ -41,26 +41,28 @@ > > DATADIR= ${PREFIX}/www > DOCUMENT_ROOT= ${DATADIR}/data >-DEFAULT_PATH=/bin:/usr/bin:${PREFIX}/bin > >-.if defined(WITH_APACHE_SUEXEC) && ${WITH_APACHE_SUEXEC} == yes >+.if defined(APACHE_SUEXEC) && ${APACHE_SUEXEC} == yes > >+APACHE_SUEXEC_CALLER?=www > APACHE_SUEXEC_DOCROOT?=${DOCUMENT_ROOT} >+APACHE_SUEXEC_LOG?=/var/log/httpd-suexec.log > APACHE_SUEXEC_USERDIR?=public_html >+APACHE_SUEXEC_UIDMIN?=1000 >+APACHE_SUEXEC_GIDMIN?=1000 >+APACHE_SUEXEC_SAFE_PATH?=/bin:/usr/bin:${PREFIX}/bin > >-SUEXEC_CONF=\ >- --enable-suexec \ >+SUEXEC_CONF= --enable-suexec \ >+ --suexec-caller=${APACHE_SUEXEC_CALLER} \ > --suexec-docroot=${APACHE_SUEXEC_DOCROOT} \ >- --suexec-caller=www \ >- --suexec-uidmin=1000 \ >- --suexec-gidmin=1000 \ >- --suexec-logfile=/var/log/httpd-suexec.log \ >+ --suexec-logfile=${APACHE_SUEXEC_LOG} \ > --suexec-userdir=${APACHE_SUEXEC_USERDIR} \ >- --suexec-safepath=${DEFAULT_PATH} >+ --suexec-uidmin=${APACHE_SUEXEC_UIDMIN} \ >+ --suexec-gidmin=${APACHE_SUEXEC_GIDMIN} \ >+ --suexec-safepath=${APACHE_SUEXEC_SAFE_PATH} > > .if defined(APACHE_SUEXEC_UMASK) >-SUEXEC_CONF+=\ >- --suexec-umask=${APACHE_SUEXEC_UMASK} >+SUEXEC_CONF+= --suexec-umask=${APACHE_SUEXEC_UMASK} > .endif > > PLIST_SUB+= SUB_SUEXEC="" >@@ -91,15 +93,29 @@ > --enable-module=define \ > ${SUEXEC_CONF} > >-OPTIM= -DHARD_SERVER_LIMIT=512 \ >+.if defined(APACHE_HARD_SERVER_LIMIT) >+HARD_SERVER_LIMIT=-DHARD_SERVER_LIMIT=${APACHE_HARD_SERVER_LIMIT} >+.else >+HARD_SERVER_LIMIT=-DHARD_SERVER_LIMIT=512 >+.endif >+ >+OPTIM= ${HARD_SERVER_LIMIT} \ > -DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \ > -DDEFAULT_PATH=\\"${PREFIX}/bin:/bin:/usr/bin\\" \ > -DACCEPT_FILTER_NAME=\\"httpready\\" > >-.if defined(WITH_APACHE_PERF_TUNING) && ${WITH_APACHE_PERF_TUNING} == YES >-OPTIM+= -DBUFFERED_LOGS -DFD_SETSIZE=1024 >-CFLAGS+= -O6 -funroll-loops -fstrength-reduce -fomit-frame-pointer \ >- -fexpensive-optimizations -ffast-math >+.if defined(APACHE_FD_SETSIZE) >+OPTIM+= -DFD_SETSIZE=${APACHE_FD_SETSIZE} >+.else >+OPTIM+= -DFD_SETSIZE=1024 >+.endif >+ >+.if defined(APACHE_BUFFERED_LOGS) && ${APACHE_BUFFERED_LOGS} == yes >+OPTIM+= -DBUFFERED_LOGS >+.endif >+ >+.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == yes >+CFLAGS+= -O3 > .endif > > .include "${PORTSDIR}/security/openssl/Makefile.ssl" >@@ -119,6 +135,45 @@ > TYPE= test > CRT= > KEY= >+ >+pre-fetch: >+ @${ECHO} "" >+ @${ECHO} "You may use the following build options:" >+ @${ECHO} "" >+ @${ECHO} " APACHE_SUEXEC=yes enable the suEXEC feature" >+ @${ECHO} " [default is no]" >+ @${ECHO} " APACHE_SUEXEC_CALLER=user set the suEXEC username of the allowed caller" >+ @${ECHO} " [default is www]" >+ @${ECHO} " APACHE_SUEXEC_DOCROOT=dir set the suEXEC root directory" >+ @${ECHO} " [default is ${DOCUMENT_ROOT}]" >+ @${ECHO} " APACHE_SUEXEC_LOG=file set the suEXEC logfile" >+ @${ECHO} " [default is /var/log/httpd-suexec.log]" >+ @${ECHO} " APACHE_SUEXEC_USERDIR=dir set the suEXEC user subdirectory" >+ @${ECHO} " [default is public_html]" >+ @${ECHO} " APACHE_SUEXEC_UIDMIN=uid set the suEXEC minimal allowed UID" >+ @${ECHO} " [default is 1000]" >+ @${ECHO} " APACHE_SUEXEC_GIDMIN=gid set the suEXEC minimal allowed GID" >+ @${ECHO} " [default is 1000]" >+ @${ECHO} " APACHE_SUEXEC_SAFE_PATH=path set the suEXEC safe PATH" >+ @${ECHO} " [default is /bin:/usr/bin:${PREFIX}/bin]" >+ @${ECHO} " APACHE_SUEXEC_UMASK=umask set the umask for the suEXEC'd script" >+ @${ECHO} " [default is inherited from the Apache process]" >+ @${ECHO} "" >+ @${ECHO} " APACHE_HARD_SERVER_LIMIT=nr Maximum number of Apache processes." >+ @${ECHO} " [default is 512]" >+ @${ECHO} " APACHE_FD_SETSIZE=nr Maximum number of descriptors." >+ @${ECHO} " [default is 1024]" >+ @${ECHO} "" >+ @${ECHO} " APACHE_BUFFERED_LOGS=yes Log entries are buffered before writing." >+ @${ECHO} " Writes may not be atomic, entries from multiple" >+ @${ECHO} " children could become mixed together and your" >+ @${ECHO} " web stats may be inaccurate." >+ @${ECHO} " [default is no]" >+ @${ECHO} " APACHE_PERF_TUNING=yes CFLAGS optimization." >+ @${ECHO} " This setting may produce broken code and thus" >+ @${ECHO} " is not recommended for production servers." >+ @${ECHO} " [default is no]" >+ @${ECHO} "" > > post-extract: > @${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/apache.sh \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50455
: 29800