* updated knights (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / network / apache / config.in
blob733b0150010460a95c25b791c384cf3d00062ccb
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3
4 # T2 SDE: package/.../apache/config.in
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 # Copyright (C) 1998 - 2004 ROCK Linux Project
7
8 # More information can be found in the files COPYING and README.
9
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; version 2 of the License. A copy of the
13 # GNU General Public License can be found in the file COPYING.
14 # --- T2-COPYRIGHT-NOTE-END ---
16 if pkgcheck apache X
17 then
18         menu_begin MENU_PKG_APACHE 'Apache Package Options'
19         text 'Install prefix for apache packages' \
20              SDECFG_PKG_APACHE_PREFIX "opt/apache"
22         pkgout
23         list=""; default=""
24         while read pkg ver; do
25                 if [ "$pkg" = "bdb42" ]; then
26                         default="$pkg"
27                 elif [ "$default" = "" ]; then
28                         default="$pkg"
29                 fi
30                 list="$list $pkg Use_${pkg}_($ver)_as_standard_DB"
31         done < <(grep  "^X .* bdb[0-9 ]*" config/$config/packages | \
32                  cut -f5,6 -d' ' | sort)
34         if [ "$list" ]; then
35                 choice SDECFG_PKG_APACHE_BDB $default $list
36         fi
38         bool "Enable suEXEC"                                    SDECFG_PKG_APACHE_SUEXEC                0
39         if [ "$SDECFG_PKG_APACHE_SUEXEC" == "1" ]; then
40                 text 'suEXEC document root' \
41                         SDECFG_PKG_APACHE_DOCROOT "lib/htdocs"
42         #       text 'suEXEC user directory' \
43         #               SDECFG_PKG_APACHE_USERDIR "public_html"
44         fi
46         bool "DSO support (mod_so)"                             SDECFG_PKG_APACHE_MOD_SO                1
47         bool "Anonymous user access (mod_auth_anon)"            SDECFG_PKG_APACHE_MOD_AUTH_ANON         0
48         bool "DBM authentication support (mod_auth_dbm)"        SDECFG_PKG_APACHE_MOD_AUTH_DBM          0
49         bool "Digest authentication support (mod_auth_digest)"  SDECFG_PKG_APACHE_MOD_AUTH_DIGEST       0
50         bool "LDAP authentication support (mod_auth_ldap)"      SDECFG_PKG_APACHE_MOD_AUTH_LDAP         0
51         bool "SSL/TLS support (mod_ssl)"                        SDECFG_PKG_APACHE_MOD_SSL               1
52         bool "WebDAV support (mod_dav)"                         SDECFG_PKG_APACHE_MOD_DAV               1
53         bool "Dynamic file caching support (mod_cache)"         SDECFG_PKG_APACHE_MOD_CACHE             1
54         bool "Disk caching support (mod_disk_cache)"            SDECFG_PKG_APACHE_MOD_DISK_CACHE        1
55         bool "Proxy support (mod_proxy)"                        SDECFG_PKG_APACHE_MOD_PROXY             1
56         bool "URL rewrite  support (mod_rewrite)"               SDECFG_PKG_APACHE_MOD_REWRITE           1
57         bool "Compression support (mod_deflate)"                SDECFG_PKG_APACHE_MOD_DEFLATE           1
58         bool "Server information support (mod_info)"            SDECFG_PKG_APACHE_MOD_INFO              0
59         bool "URL spelling correction support (mod_spelling)"   SDECFG_PKG_APACHE_MOD_SPELLING          0
61         menu_end