X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=cacti-spine-paths.patch;h=a2cd1737be8a4bb73f99c35cd71e447cdb4cff8c;hb=a16c76ac3635b0ef767e65419ede92295cd35a52;hp=1cf2ca3a6b0d1f4f51fbb5c78d64b358d3ca45c1;hpb=9d56b56ea61978effe8f414e3f8c743f209ec14a;p=packages%2Fcacti-spine.git diff --git a/cacti-spine-paths.patch b/cacti-spine-paths.patch index 1cf2ca3..a2cd173 100644 --- a/cacti-spine-paths.patch +++ b/cacti-spine-paths.patch @@ -1,7 +1,7 @@ ---- cacti-spine-0.8.7a/spine.h~ 2007-11-26 05:40:21.000000000 +0200 -+++ cacti-spine-0.8.7a/spine.h 2008-10-05 05:33:49.545548298 +0300 -@@ -136,21 +136,18 @@ - #define MAX_SIMULTANEOUS_SCRIPTS 20 +--- cacti-spine-0.8.7g/spine.h~ 2010-07-12 12:40:01.000000000 +0300 ++++ cacti-spine-0.8.7g/spine.h 2010-07-12 12:40:39.663780727 +0300 +@@ -135,22 +135,19 @@ + #define SPINE_FORK 0 /* locations to search for the config file */ -#define CONFIG_PATHS 4 @@ -22,6 +22,7 @@ +#define DEFAULT_DB_USER "mysql" +#define DEFAULT_DB_PASS "" #define DEFAULT_DB_PORT 3306 + #define DEFAULT_DB_PREG 0 -#define DEFAULT_LOGFILE "/var/www/html/cacti/log/cacti.log" +#define DEFAULT_LOGFILE "/var/log/cacti/cacti.log" #define DEFAULT_TIMEOUT 294000000 @@ -39,20 +40,19 @@ set.log_destination = LOGDEST_FILE; } ---- cacti-spine-0.8.7a/spine.conf~ 2007-11-26 05:40:21.000000000 +0200 -+++ cacti-spine-0.8.7a/spine.conf 2008-10-05 05:41:07.495832134 +0300 -@@ -28,8 +28,8 @@ - # | DB_User The user to access the database, typically 'cactiuser' | - # | DB_Pass The password for the Cacti user | +--- cacti-spine-0.8.8f/spine.conf.dist~ 2015-07-20 04:59:09.000000000 +0300 ++++ cacti-spine-0.8.8f/spine.conf.dist 2016-01-19 11:37:46.898998318 +0200 +@@ -30,8 +30,8 @@ + # | SNMP_Clientaddr Bind SNMP to a specific address for sites that use | + # | higher security levels | # +-------------------------------------------------------------------------+ -DB_Host localhost -DB_Database cacti -DB_User cactiuser -DB_Pass cactiuser -DB_Port 3306 -\ No newline at end of file +#DB_Host localhost +#DB_Database cacti -+#DB_User mysql -+#DB_Pass ++#DB_User cactiuser ++#DB_Pass cactiuser +#DB_Port 3306