packages: cacti-template-varnish/cacti-template-varnish.spec - create READM...

glen glen at pld-linux.org
Wed Apr 14 23:22:43 CEST 2010


Author: glen                         Date: Wed Apr 14 21:22:43 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- create README from the rar file

---- Files affected:
packages/cacti-template-varnish:
   cacti-template-varnish.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/cacti-template-varnish/cacti-template-varnish.spec
diff -u packages/cacti-template-varnish/cacti-template-varnish.spec:1.5 packages/cacti-template-varnish/cacti-template-varnish.spec:1.6
--- packages/cacti-template-varnish/cacti-template-varnish.spec:1.5	Wed Apr 14 23:15:57 2010
+++ packages/cacti-template-varnish/cacti-template-varnish.spec	Wed Apr 14 23:22:38 2010
@@ -3,7 +3,7 @@
 Summary:	Varnish Cache statistics template for Cacti
 Name:		cacti-template-%{template}
 Version:	0.0.3
-Release:	0.5
+Release:	0.6
 License:	GPL v2
 Group:		Applications/WWW
 Source1:	get_varnish_stats.py
@@ -22,14 +22,27 @@
 %description
 Template for Cacti - Varnish Cache statistics.
 
-Uses advanced template from
+%prep
+%setup -qcT
+
+cat > README <<'EOF'
+Uses advanced template from:
 <http://forums.cacti.net/viewtopic.php?p=182152>
 
-Combines script to pull data via varnish telnet port from
+Combines script to pull data via Varnish admin port from
 <http://forums.cacti.net/viewtopic.php?t=31260>
 
-%prep
-%setup -qcT
+How to install
+==============
+
+1 - Import cacti_host_template_varnish.xml to Cacti (tested with 0.8.7e)
+2 - Copy get_varnish_stats.py to "scripts"
+
+###############################################################################
+IMPORTANT: You need to recompile spine with "./configure --with-results-buffer=2048"
+###############################################################################
+
+EOF
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -45,6 +58,7 @@
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %attr(755,root,root) %{scriptsdir}/get_varnish_stats.py
 %{resourcedir}/*.xml
 
@@ -54,6 +68,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/04/14 21:22:38  glen
+- create README from the rar file
+
 Revision 1.5  2010/04/14 21:15:57  glen
 - use rpm macros for cacti_import_template
 - conflict with spine with small result buffer
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-template-varnish/cacti-template-varnish.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list