From 971b8a70cb5c0be92e23c00b13ea2ed0aa293e25 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Wed, 29 Oct 2003 06:12:27 +0000 Subject: - Security Fix for mod_rewrite with more than 9 brackets. http://www.apache.org/dist/httpd/Announcement.html --- www/apache13-modssl/files/patch-apachectl | 45 +++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 www/apache13-modssl/files/patch-apachectl (limited to 'www/apache13-modssl/files/patch-apachectl') diff --git a/www/apache13-modssl/files/patch-apachectl b/www/apache13-modssl/files/patch-apachectl new file mode 100644 index 000000000000..0eb64d59af3c --- /dev/null +++ b/www/apache13-modssl/files/patch-apachectl @@ -0,0 +1,45 @@ +--- src/support/apachectl.orig Sun Oct 26 20:53:07 2003 ++++ src/support/apachectl Mon Oct 27 22:27:30 2003 +@@ -105,14 +105,14 @@ + restart) + if [ $RUNNING -eq 0 ]; then + echo "$0 $ARG: httpd not running, trying to start" +- if $HTTPD ; then ++ if $HTTPD -DSSL ; then + echo "$0 $ARG: httpd started" + else + echo "$0 $ARG: httpd could not be started" + ERROR=5 + fi + else +- if $HTTPD -t >/dev/null 2>&1; then ++ if $HTTPD -DSSL -t >/dev/null 2>&1; then + if kill -HUP $PID ; then + echo "$0 $ARG: httpd restarted" + else +@@ -129,14 +129,14 @@ + graceful) + if [ $RUNNING -eq 0 ]; then + echo "$0 $ARG: httpd not running, trying to start" +- if $HTTPD ; then ++ if $HTTPD -DSSL ; then + echo "$0 $ARG: httpd started" + else + echo "$0 $ARG: httpd could not be started" + ERROR=5 + fi + else +- if $HTTPD -t >/dev/null 2>&1; then ++ if $HTTPD -DSSL -t >/dev/null 2>&1; then + if kill -USR1 $PID ; then + echo "$0 $ARG: httpd gracefully restarted" + else +@@ -157,7 +157,7 @@ + $LYNX $STATUSURL + ;; + configtest) +- if $HTTPD -t; then ++ if $HTTPD -DSSL -t; then + : + else + ERROR=8 -- cgit v1.2.3