aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache24/Makefile.options
blob: 3a9dc91b54f5ec706d7090f98f9fcf65f154f77d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# $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