|
|
@ -38,6 +38,20 @@ if [ $pkg = "apache" ] ; then |
|
|
|
--enable-speling --enable-rewrite --enable-so --enable-deflate" |
|
|
|
# --enable-speling is not a typo! |
|
|
|
|
|
|
|
if [ "$ROCKCFG_PKG_APACHE_SUEXEC" == "1" ]; then |
|
|
|
if [ "${ROCKCFG_PKG_APACHE_DOCROOT:0:1}" == "/" ] ; then |
|
|
|
docroot="$ROCKCFG_PKG_APACHE_DOCROOT" |
|
|
|
else |
|
|
|
docroot="$localstatedir/$ROCKCFG_PKG_APACHE_DOCROOT" |
|
|
|
fi |
|
|
|
var_append extraconfopt ' ' \ |
|
|
|
"--with-suexec-docroot=${docroot#$root}" |
|
|
|
# var_append extraconfopt ' ' \ |
|
|
|
# "--with-suexec-userdir=$ROCKCFG_PKG_APACHE_USERDIR" |
|
|
|
var_append extraconfopt ' ' "--with-suexec-caller=80 \ |
|
|
|
--enable-suexec" |
|
|
|
fi |
|
|
|
|
|
|
|
[ "$ROCKCFG_PKG_APACHE_INFO" == 1 ] && \ |
|
|
|
var_append extraconfopt " " "--enable-info" |
|
|
|
|
|
|
|