File icinga-add-ifdefine-to-apache.patch of Package icinga

Index: icinga-1.7.0/sample-config/httpd.conf.in
===================================================================
--- icinga-1.7.0.orig/sample-config/httpd.conf.in
+++ icinga-1.7.0/sample-config/httpd.conf.in
@@ -5,6 +5,7 @@
 # configuration file.  Customize the paths, etc. as
 # needed to fit your system.
 
+<IfDefine ICINGA>
 ScriptAlias @cgiurl@ "@sbindir@"
 
 <Directory "@sbindir@">
@@ -38,4 +39,4 @@
    AuthUserFile @HTTPAUTHFILE@
    Require valid-user
 </Directory>
-
+</IfDefine>
openSUSE Build Service is sponsored by