SPECS: cacti.spec - add plugins architecture - please test it

wolvverine wolvverine at pld-linux.org
Thu Jan 12 17:03:44 CET 2006


Author: wolvverine                   Date: Thu Jan 12 16:03:44 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add plugins architecture
- please test it

---- Files affected:
SPECS:
   cacti.spec (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: SPECS/cacti.spec
diff -u SPECS/cacti.spec:1.37 SPECS/cacti.spec:1.38
--- SPECS/cacti.spec:1.37	Mon Dec 12 16:19:32 2005
+++ SPECS/cacti.spec	Thu Jan 12 17:03:38 2006
@@ -4,17 +4,18 @@
 Summary(pl):	Cacti - frontend w PHP do rrdtoola
 Name:		cacti
 Version:	0.8.6g
-Release:	2
+Release:	2.1
 License:	GPL
 Group:		Applications/WWW
 Source0:	http://www.cacti.net/downloads/%{name}-%{version}.tar.gz
 # Source0-md5:	b3cf31349d2db47d14dcf347b8422bc2
-Patch0:		http://www.cacti.net/downloads/patches/0.8.6g/short_open_tag_parse_error.patch
-Patch1:		http://www.cacti.net/downloads/patches/0.8.6g/graph_properties_zoom.patch
-Patch2:		http://www.cacti.net/downloads/patches/0.8.6g/script_server_snmp_auth.patch
-Patch3:		http://www.cacti.net/downloads/patches/0.8.6g/mib_file_loading.patch
-Patch4:		%{name}-config.patch
-Patch5:		%{name}-mysql5.patch
+Patch0:         %{name}-plugin-%{version}.diff
+Patch1:		http://www.cacti.net/downloads/patches/0.8.6g/short_open_tag_parse_error.patch
+Patch2:		http://www.cacti.net/downloads/patches/0.8.6g/graph_properties_zoom.patch
+Patch3:		http://www.cacti.net/downloads/patches/0.8.6g/script_server_snmp_auth.patch
+Patch4:		http://www.cacti.net/downloads/patches/0.8.6g/mib_file_loading.patch
+Patch5:		%{name}-config.patch
+Patch6:		%{name}-mysql5.patch
 URL:		http://www.cacti.net/
 BuildRequires:	rpm-perlprov
 Requires:	crondaemon
@@ -61,6 +62,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 
@@ -80,6 +82,21 @@
 \$database_hostname = "localhost";
 \$database_username = "cactiuser";
 \$database_password = "cactiuser";
+
+$plugins = array();
+// $plugins[] = 'thold';
+// $plugins[] = 'monitor';
+// $plugins[] = 'discovery';
+
+/* Do not edit this line */
+$config = array();
+
+/* This is full URL Path to the Cacti installation
+   For example, if your cacti was accessible by http://server/cacti/ you would user '/cacti/'
+   as the url path.  For just http://server/ use '/'
+*/
+$config["url_path"] = '/cacti/';
+
 ?>
 EOF
 
@@ -114,6 +131,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.38  2006/01/12 16:03:38  wolvverine
+- add plugins architecture
+- please test it
+
 Revision 1.37  2005/12/12 15:19:32  glen
 - adapterized (sorted %verify flags)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cacti.spec?r1=1.37&r2=1.38&f=u



More information about the pld-cvs-commit mailing list