1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/www/apache24/Makefile.options
Olli Hauer fa82723bda - new port www/apache24
The Apache HTTP Server Project is an effort to develop and maintain an
open-source HTTP server for various modern desktop and server operating
systems, such as UNIX and Windows NT. The goal of this project is to
provide a secure, efficient and extensible server which provides HTTP
services in sync with the current HTTP standards.
The 2.x branch of Apache Web Server includes several improvements like
threading, use of APR, native IPv6 and SSL support, and many more.

WWW: http://httpd.apache.org/

Note:
 Since apache24 does not enable every module by default in httpd.conf the
 list of modules to build was preselected to match build param
  --enable-modules=most

 MPM selection is now an OPTION also if the MPM is build statically or
 dynamically. In the later case all modules are build/installed but only
 the selected MPM has an entry in httpd.conf (see apache issue 53882)

 Per default the MPM prefork (static) will be build, to get the best
 compatibility.

 Custom variants like itk/peruser are not supported at the moment.

 Port based on my work prototype from the apache@ list and patch from
 PR 174617

with hat apache@

PR:		174617
Submitted by:	<swall@redcom.com>
2013-03-26 21:35:33 +00:00

100 lines
3.1 KiB
Makefile

# $FreeBSD$
# ===========================================================
# The list of modules are no longer classified in CATEGORIES.
# We use for enabled/disabled now the resulting modules from
# configure --enable-modules=most
#
# Required modules without OPTION:
# UNIXD LOG_CONFIG
PROXY_ENABLED_MODULES= \
PROXY_AJP PROXY_BALANCER PROXY_CONNECT PROXY_EXPRESS PROXY_FCGI \
PROXY_FTP PROXY_HTTP PROXY_SCGI
PROXY_DISABLED_MODULES= \
PROXY_FDPASS PROXY_HTML
# SESSION_CRYPTO need APR build with crypto (EVP support in APR)
SESSION_ENABLED_MODULES= \
SESSION_COOKIE SESSION_CRYPTO
SESSION_DISABLED_MODULES= \
SESSION_DBD
HEARTBEAT_MODULES= \
HEARTBEAT HEARTMONITOR LBMETHOD_HEARTBEAT
EXAMPLE_MODULES= \
CASE_FILTER CASE_FILTER_IN ECHO EXAMPLE_HOOKS EXAMPLE_IPC \
OPTIONAL_FN_EXPORT OPTIONAL_FN_IMPORT OPTIONAL_HOOK_EXPORT \
OPTIONAL_HOOK_IMPORT
DEV_MODULES= BUCKETEER
MOST_ENABLED_MODULES= \
ACCESS_COMPAT ACTIONS ALIAS ALLOWMETHODS ASIS AUTHN_ANON AUTHN_CORE \
AUTHN_DBD AUTHN_DBM AUTHN_FILE AUTHN_SOCACHE AUTHZ_CORE AUTHZ_DBD \
AUTHZ_DBM AUTHZ_GROUPFILE AUTHZ_HOST AUTHZ_OWNER AUTHZ_USER \
AUTH_BASIC AUTH_DIGEST AUTH_FORM AUTOINDEX BUFFER CACHE CACHE_DISK \
CERN_META CGI CGID DAV DAV_FS DBD DEFLATE DIR DUMPIO ENV EXPIRES \
EXT_FILTER FILE_CACHE FILTER HEADERS IMAGEMAP INCLUDE INFO \
LBMETHOD_BYBUSYNESS LBMETHOD_BYREQUESTS LBMETHOD_BYTRAFFIC \
LOGIO LOG_DEBUG MIME MIME_MAGIC NEGOTIATION RATELIMIT REMOTEIP \
REQTIMEOUT REQUEST REWRITE SED SETENVIF SOCACHE_DBM SOCACHE_MEMCACHE \
SOCACHE_SHMCB SPELING SSL STATUS SUBSTITUTE UNIQUE_ID USERDIR \
VERSION VHOST_ALIAS
MOST_DISABLED_MODULES:= \
AUTHNZ_LDAP LDAP CHARSET_LITE DATA DAV_LOCK DIALUP IDENT LOG_FORENSIC \
LUA REFLECTOR SLOTMEM_PLAIN SLOTMEM_SHM SOCACHE_DC SUEXEC USERTRACK \
XML2ENC WATCHDOG ${HEARTBEAT_MODULES} ${EXAMPLE_MODULES} ${DEV_MODULES}
#MULTI_MODULES:= ${OPTIONS_MULTI}
# XXX PROXY and SESSION are modules but also used to
# enable/disable additional PROXY/SESSION modules
META_MODULES= PROXY SESSION
ALL_MODULES_CATEGORIES= \
MOST_ENABLED MOST_DISABLED MULTI \
PROXY_ENABLED PROXY_DISABLED \
SESSION_ENABLED SESSION_DISABLED \
META
#STATIC= STATIC_AB STATIC_CHECKGID STATIC_FCGISTARTER STATIC_HTCACHECLEAN \
# STATIC_HTDBM STATIC_HTDIGEST STATIC_HTPASSWD STATIC_HTTXT2DBM \
# STATIC_LOGRESOLVE STATIC_ROTATELOGS STATIC_SUPPORT
ADDITIONAL_OPT= LUAJIT IPV4_MAPPED
# ===================================================================================
NO_OPTIONS_SORT= yes
OPTIONS_MULTI= ${META_MODULES}
OPTIONS_MULTI_PROXY:= ${PROXY_ENABLED_MODULES} ${PROXY_DISABLED_MODULES}
OPTIONS_MULTI_SESSION:= ${SESSION_ENABLED_MODULES} ${SESSION_DISABLED_MODULES}
OPTIONS_RADIO= SHARED_MPM
OPTIONS_RADIO_SHARED_MPM= MPM_SHARED
OPTIONS_SINGLE= DEFAULT_MPM
OPTIONS_SINGLE_DEFAULT_MPM= MPM_PREFORK MPM_WORKER MPM_EVENT
# ===================================================================================
OPTIONS_DEFINE:= \
${MOST_ENABLED_MODULES} \
${MOST_DISABLED_MODULES}\
${ADDITIONAL_OPT} \
${OPTIONS_MULTI}
OPTIONS_DEFAULT:= \
${MOST_ENABLED_MODULES} \
${OPTIONS_MULTI} \
${SESSION_ENABLED_MODULES} \
${PROXY_ENABLED_MODULES} \
MPM_PREFORK