packages: cacti/cacti-config.patch - REAL use of /etc/webapps/cacti/config....

paszczus paszczus at pld-linux.org
Mon Nov 15 10:17:39 CET 2010


Author: paszczus                     Date: Mon Nov 15 09:17:39 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- REAL use of /etc/webapps/cacti/config.php instead of default one

---- Files affected:
packages/cacti:
   cacti-config.patch (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/cacti/cacti-config.patch
diff -u packages/cacti/cacti-config.patch:1.8 packages/cacti/cacti-config.patch:1.9
--- packages/cacti/cacti-config.patch:1.8	Tue Apr 13 12:48:51 2010
+++ packages/cacti/cacti-config.patch	Mon Nov 15 10:17:34 2010
@@ -10,12 +10,28 @@
  
  /* colors */
  $colors["dark_outline"] = "454E53";
---- cacti-0.8.7a.orig/include/config.php	2007-11-17 19:11:52.000000000 +0100
-+++ cacti-0.8.7a/include/config.php	2007-12-04 10:53:28.000000000 +0100
-@@ -30,6 +30,8 @@
+diff -ur cacti-0.8.7g/include/config.php cacti-0.8.7g.new//include/config.php
+--- cacti-0.8.7g/include/config.php     2010-07-10 00:33:46.000000000 +0200
++++ cacti-0.8.7g.new//include/config.php        2010-11-15 10:12:12.503157839 +0100
+@@ -22,7 +22,11 @@
+  +-------------------------------------------------------------------------+
+ */
+
+-/* make sure these values refect your actual database/host/user/password */
++/*
++ * !!! Use /etc/webapps/cacti/config.php instead of this section !!!
++ *
++ * Make sure these values refect your actual database/host/user/password
++
+ $database_type = "mysql";
+ $database_default = "cacti";
+ $database_hostname = "localhost";
+@@ -30,6 +34,10 @@
  $database_password = "cactiuser";
  $database_port = "3306";
- 
+
++ */
++
 +require '/etc/webapps/cacti/config.php';
 +
  /* Default session name - Session name must contain alpha characters */
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti/cacti-config.patch?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list