[zabbix20/el5] Re-add patch for traceroute path in SQL dumps

Volker Fröhlich volter at fedoraproject.org
Sat Feb 9 18:03:46 UTC 2013


commit e26a1b4549444526f5584343906b7b7507b722dd
Author: Volker Fröhlich <volker27 at gmx.at>
Date:   Sat Feb 9 19:03:34 2013 +0100

    Re-add patch for traceroute path in SQL dumps

 zabbix20.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/zabbix20.spec b/zabbix20.spec
index bd401cf..050ec13 100644
--- a/zabbix20.spec
+++ b/zabbix20.spec
@@ -34,7 +34,7 @@
 
 Name:           zabbix20
 Version:        2.0.4
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Open-source monitoring solution for your IT infrastructure
 
 Group:          Applications/Internet
@@ -296,7 +296,11 @@ rm -f frontends/php/include/.htaccess
 rm -f frontends/php/api/.htaccess
 rm -f frontends/php/conf/.htaccess
 
-# set timestamp on modified config file and directories
+# Fix path to traceroute utility
+# Probably obsolete after EL 6
+find database -name 'data.sql' -exec sed -i 's|/usr/bin/traceroute|/bin/traceroute|' {} \;
+
+# Set timestamp on modified config file and directories
 touch -r frontends/php/css.css frontends/php/include/config.inc.php \
     frontends/php/include/defines.inc.php \
     frontends/php/include \
@@ -680,6 +684,9 @@ fi
 %files web-pgsql
 
 %changelog
+* Sat Feb  9 2013 Volker Fröhlich <volker27 at gmx.at> - 2.0.4-5
+- Correct path to traceroute in DB dumps again
+
 * Tue Jan 22 2013 Volker Fröhlich <volker27 at gmx.at> - 2.0.4-4
 - Remove zabbix_get plus manpage from the proxy files section
 - Solve conflict for externalscripts symlink between proxy and


More information about the scm-commits mailing list