packages: cacti-spine/cacti-spine-paths.patch, cacti-spine/cacti-spine.spec...

glen glen at pld-linux.org
Thu Jul 16 10:49:01 CEST 2009


Author: glen                         Date: Thu Jul 16 08:49:01 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.8.7e by Eero Hänninen

---- Files affected:
packages/cacti-spine:
   cacti-spine-paths.patch (1.2 -> 1.3) , cacti-spine.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: packages/cacti-spine/cacti-spine-paths.patch
diff -u packages/cacti-spine/cacti-spine-paths.patch:1.2 packages/cacti-spine/cacti-spine-paths.patch:1.3
--- packages/cacti-spine/cacti-spine-paths.patch:1.2	Wed Apr 15 11:45:52 2009
+++ packages/cacti-spine/cacti-spine-paths.patch	Thu Jul 16 10:48:55 2009
@@ -1,13 +1,14 @@
 --- 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,20 +136,18 @@
+@@ -136,21 +136,18 @@
  #define MAX_SIMULTANEOUS_SCRIPTS 20
  
  /* locations to search for the config file */
--#define CONFIG_PATHS 3
+-#define CONFIG_PATHS 4
 -#define CONFIG_PATH_1 ""
 -#define CONFIG_PATH_2 "/etc/"
--#define CONFIG_PATH_3 "../etc/"
+-#define CONFIG_PATH_3 "/etc/cacti/"
+-#define CONFIG_PATH_4 "../etc/"
 +#define CONFIG_PATHS 1
 +#define CONFIG_PATH_1 "/etc/webapps/cacti/"
  
@@ -28,17 +29,18 @@
  /* threads constants */
 --- cacti-spine-0.8.7a/util.c~	2007-11-26 05:40:21.000000000 +0200
 +++ cacti-spine-0.8.7a/util.c	2008-10-05 05:35:03.349764684 +0300
-@@ -462,8 +462,6 @@
+@@ -462,9 +462,6 @@
  	STRNCOPY(set.dbpass, DEFAULT_DB_PASS);
  
  	STRNCOPY(config_paths[0], CONFIG_PATH_1);
 -	STRNCOPY(config_paths[1], CONFIG_PATH_2);
 -	STRNCOPY(config_paths[2], CONFIG_PATH_3);
- 
+-	STRNCOPY(config_paths[3], CONFIG_PATH_4);
+
  	set.log_destination = LOGDEST_FILE;
  }
---- cacti-spine-0.8.7a/spine.conf.dist~	2007-11-26 05:40:21.000000000 +0200
-+++ cacti-spine-0.8.7a/spine.conf.dist	2008-10-05 05:41:07.495832134 +0300
+--- 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                            |

================================================================
Index: packages/cacti-spine/cacti-spine.spec
diff -u packages/cacti-spine/cacti-spine.spec:1.26 packages/cacti-spine/cacti-spine.spec:1.27
--- packages/cacti-spine/cacti-spine.spec:1.26	Wed Apr 15 11:45:00 2009
+++ packages/cacti-spine/cacti-spine.spec	Thu Jul 16 10:48:55 2009
@@ -2,12 +2,12 @@
 Summary:	A backend data gatherer for cacti
 Summary(pl.UTF-8):	Backend gromadzący dane dla cacti
 Name:		cacti-spine
-Version:	0.8.7c
+Version:	0.8.7e
 Release:	1
 License:	GPL
 Group:		Applications
 Source0:	http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz
-# Source0-md5:	8e924e83735d411c2798cc646d67d21e
+# Source0-md5:	99e5bde07fc31d1ed8aa23c59de00417
 Patch0:		%{name}-paths.patch
 URL:		http://www.cacti.net/
 BuildRequires:	autoconf
@@ -59,7 +59,6 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-mv spine.conf.dist spine.conf
 install spine.conf $RPM_BUILD_ROOT%{_sysconfdir}
 mv $RPM_BUILD_ROOT%{_sbindir}/{spine,cacti-poller-spine}
 
@@ -78,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2009/07/16 08:48:55  glen
+- up to 0.8.7e by Eero Hänninen
+
 Revision 1.26  2009/04/15 09:45:00  marmarek
 - up to 0.8.7c
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-spine/cacti-spine-paths.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-spine/cacti-spine.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list