summaryrefslogtreecommitdiff
path: root/www/apache13+ipv6/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache13+ipv6/files')
-rw-r--r--www/apache13+ipv6/files/apache.sh8
-rw-r--r--www/apache13+ipv6/files/patch-ae11
2 files changed, 15 insertions, 4 deletions
diff --git a/www/apache13+ipv6/files/apache.sh b/www/apache13+ipv6/files/apache.sh
index 03e31dd16321..5b612e5aa804 100644
--- a/www/apache13+ipv6/files/apache.sh
+++ b/www/apache13+ipv6/files/apache.sh
@@ -13,9 +13,9 @@
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
-apache_enable="NO"
-apache_flags=""
-apache_pidfile="/var/run/httpd.pid"
+apache_enable=${apache_enable-"NO"}
+apache_flags=${apache_flags-""}
+apache_pidfile=${apache_pidfile-"/var/run/httpd.pid"}
. %%RC_SUBR%%
@@ -27,6 +27,6 @@ load_rc_config $name
pidfile="${apache_pidfile}"
-start_precmd="`/usr/bin/limits -e -U www`"
+start_cmd="echo \"Starting ${name}.\"; /usr/bin/limits -U www ${command} ${apache_flags} ${command_args}"
run_rc_command "$1"
diff --git a/www/apache13+ipv6/files/patch-ae b/www/apache13+ipv6/files/patch-ae
new file mode 100644
index 000000000000..5a34a8b90afc
--- /dev/null
+++ b/www/apache13+ipv6/files/patch-ae
@@ -0,0 +1,11 @@
+--- src/Configure.bak Thu Sep 16 03:45:17 2004
++++ src/Configure Mon Oct 25 17:59:48 2004
+@@ -456,7 +456,7 @@
+ PLATOSVERS=`echo $PLAT | sed 's/^.*freebsd//'`
+ OS="FreeBSD $PLATOSVERS"
+ case "$PLATOSVERS" in
+- [2345]*)
++ [2-9]*)
+ DEF_WANTHSREGEX=no
+ CFLAGS="$CFLAGS -funsigned-char"
+ ;;