File icinga-web-builddir.patch of Package icinga-web
diff -rupN icinga-web-1.9.0.orig/etc/build.xml icinga-web-1.9.0/etc/build.xml
--- icinga-web-1.9.0.orig/etc/build.xml 2013-05-06 17:13:02.000000000 +0200
+++ icinga-web-1.9.0/etc/build.xml 2013-05-07 13:34:06.173644947 +0200
@@ -137,8 +137,8 @@
<target name="scheduler-install">
<input propertyname="USER_Icinga" promptChar="?" defaultValue="icinga">Name of icinga-user</input>
-
- <copy file="etc/scheduler/icingaCron" tofile="/etc/cron.d/icingaCron">
+ <mkdir dir="${builddir}/etc/cron.d" />
+ <copy file="etc/scheduler/icingaCron" tofile="${builddir}/etc/cron.d/icingaCron">
<filterchain>
<replacetokens begintoken="%%" endtoken="%%">
<token key="USER" value="${USER_Icinga}" />
@@ -146,12 +146,11 @@
</replacetokens>
</filterchain>
</copy>
- <mkdir dir="/var/log/icingaCron" />
- <chown file="/var/log/icingaCron" user="${USER_Icinga}" />
+ <mkdir dir="${builddir}/var/log/icingaCron" />
</target>
<target name="scheduler-remove">
- <delete file="/etc/cron.d/icingaCron"/>
+ <delete file="${builddir}/etc/cron.d/icingaCron"/>
</target>
<target name="drop-customcronk-layout">