packages: cacti-plugin-syslog/cacti-plugin-syslog.spec, cacti-plugin-syslog...

glen glen at pld-linux.org
Thu Oct 27 23:31:31 CEST 2011


Author: glen                         Date: Thu Oct 27 21:31:31 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.22, updated deps, revised desc

---- Files affected:
packages/cacti-plugin-syslog:
   cacti-plugin-syslog.spec (1.16 -> 1.17) , cacti-plugin-syslog-config.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/cacti-plugin-syslog/cacti-plugin-syslog.spec
diff -u packages/cacti-plugin-syslog/cacti-plugin-syslog.spec:1.16 packages/cacti-plugin-syslog/cacti-plugin-syslog.spec:1.17
--- packages/cacti-plugin-syslog/cacti-plugin-syslog.spec:1.16	Sun May 16 16:13:39 2010
+++ packages/cacti-plugin-syslog/cacti-plugin-syslog.spec	Thu Oct 27 23:31:26 2011
@@ -1,20 +1,23 @@
 # $Revision$, $Date$
 %define		plugin	syslog
-%include	/usr/lib/rpm/macros.perl
-Summary:	Plugin for Cacti - Syslog
+%define		php_min_version 5.0.0
+%include	/usr/lib/rpm/macros.php
+Summary:	Syslog Viewer for Cacti
 Summary(pl.UTF-8):	Wtyczka do Cacti - Syslog
-Name:		cacti-plugin-syslog
-Version:	0.5.2
+Name:		cacti-plugin-%{plugin}
+Version:	1.22
 Release:	1
 License:	GPL v2
 Group:		Applications/WWW
-Source0:	http://mirror.cactiusers.org/downloads/plugins/%{plugin}-%{version}.zip
-# Source0-md5:	1e2b1fc5b560452f937ccd0bca1af0a2
-Patch0:		%{name}-config.patch
-URL:		http://www.cactiusers.org/
-BuildRequires:	rpm-perlprov
-BuildRequires:	unzip
+Source0:	http://docs.cacti.net/_media/plugin:syslog-v%{version}-1.tgz
+# Source0-md5:	bed7d51a915e6dd0813766a09c31f2fe
+URL:		http://docs.cacti.net/plugin:syslog
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	cacti
+Requires:	cacti(pia) >= 2.8
+Requires:	php-common >= 4:%{php_min_version}
+Requires:	php-date
+Requires:	php-pcre
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,14 +25,16 @@
 %define		plugindir		%{cactidir}/plugins/%{plugin}
 
 %description
-Plugin for Cacti - Syslog is a cacti integrated interface to a MySQL
-database that can be used to log events from scripts, cacti or
-whatever.
-
-It is the console component for a light weight monitoring addon for
-cacti. Because the database schema is based on syslog, it can be
-configured to use a syslog-ng or kiwi's syslogd for Windows database
-so events can be correlated.
+A comprehensive Syslog Alerting tool that support very large
+partitioned databases.
+
+Features:
+- Message filter
+- Message search
+- Output to screen or file
+- Date time picker
+- Event Alerter
+- Event Removal (for Events you don't want to see)
 
 %description -l pl.UTF-8
 Wtyczka do Cacti - Syslog to zintegrowany interfejs cacti do bazy
@@ -42,20 +47,20 @@
 Windows, przez co zdarzenia mogą być skorelowane.
 
 %prep
-%setup -q -c
-%patch0 -p1
+%setup -qc
+mv %{plugin}/{LICENSE,README} .
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{plugindir}
-cp -a . $RPM_BUILD_ROOT%{plugindir}
+cp -a %{plugin}/* $RPM_BUILD_ROOT%{plugindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README LICENSE
+%doc README
 %{plugindir}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -64,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2011/10/27 21:31:26  glen
+- up to 1.22, updated deps, revised desc
+
 Revision 1.16  2010/05/16 14:13:39  sparky
 - BR: unzip
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-plugin-syslog/cacti-plugin-syslog.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list