|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/rene/apache/config.in
|
|
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version. A copy of the GNU General Public
|
|
# License can be found at Documentation/COPYING.
|
|
#
|
|
# Many people helped and are helping developing ROCK Linux. Please
|
|
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
|
|
# file for details.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
if pkgcheck apache X
|
|
then
|
|
menu_begin MENU_PKG_APACHE 'Apache Package Options'
|
|
text 'Install prefix for Apache packages' \
|
|
ROCKCFG_PKG_APACHE_PREFIX "opt/apache"
|
|
|
|
pkgout
|
|
list="" ; default=""
|
|
while read pkg ver ; do
|
|
pkg=${pkg#bdb=}
|
|
if [ "$pkg" = "bdb42" ] ; then
|
|
default="$pkg"
|
|
elif [ "$default" = "" ] ; then
|
|
default="$pkg"
|
|
fi
|
|
list="$list $pkg Use_${pkg}_($ver)_as_standard_DB"
|
|
done < <(grep "^X .* bdb[0-9 ]*" config/$config.$swpid/packages | \
|
|
cut -f5,6 -d' ' | sort)
|
|
|
|
if [ "$list" ] ; then
|
|
choice ROCKCFG_PKG_APACHE_BDB $default $list
|
|
fi
|
|
|
|
comment ' '
|
|
|
|
bool "Enable info" ROCKCFG_PKG_APACHE_INFO 0
|
|
bool "Enable Auth Digest" ROCKCFG_PKG_APACHE_AUTH_DIGEST 0
|
|
|
|
bool "Enable suEXEC" ROCKCFG_PKG_APACHE_SUEXEC 0
|
|
if [ "$ROCKCFG_PKG_APACHE_SUEXEC" == "1" ]; then
|
|
text 'suEXEC document root' \
|
|
ROCKCFG_PKG_APACHE_DOCROOT "lib/htdocs"
|
|
# text 'suEXEC user directory' \
|
|
# ROCKCFG_PKG_APACHE_USERDIR "public_html"
|
|
fi
|
|
|
|
menu_end
|
|
fi
|
|
|