packages: nagios-merlin/nagios-merlin.spec, nagios-merlin/README.PLD (NEW) ...

glen glen at pld-linux.org
Tue Dec 7 16:07:49 CET 2010


Author: glen                         Date: Tue Dec  7 15:07:49 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add pld readme, needs mysql dbi driver (at least)

---- Files affected:
packages/nagios-merlin:
   nagios-merlin.spec (1.6 -> 1.7) , README.PLD (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/nagios-merlin/nagios-merlin.spec
diff -u packages/nagios-merlin/nagios-merlin.spec:1.6 packages/nagios-merlin/nagios-merlin.spec:1.7
--- packages/nagios-merlin/nagios-merlin.spec:1.6	Tue Dec  7 15:57:16 2010
+++ packages/nagios-merlin/nagios-merlin.spec	Tue Dec  7 16:07:44 2010
@@ -2,7 +2,7 @@
 Summary:	Merlin: Module for Effortless Redundancy and Loadbalancing In Nagios
 Name:		nagios-merlin
 Version:	0.9.0
-Release:	0.11
+Release:	0.13
 License:	GPL v2
 Group:		Networking
 Source0:	http://www.op5.org/op5media/op5.org/downloads/merlin-%{version}.tar.gz
@@ -15,6 +15,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.228
 BuildRequires:	sed >= 4.0.9
 Requires(post,preun):	/sbin/chkconfig
+Requires:	libdbi-drivers-mysql
 Requires:	nagios >= 3.2.4
 Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -47,6 +48,8 @@
 	s#/var/run/merlin.pid#/var/run/merlind.pid#
 ' example.conf
 
+cp -a %{SOURCE2} README.PLD
+
 %build
 %{__make} \
 	V=1 \
@@ -92,7 +95,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc COPYING HOWTO README SPECS TECHNICAL
+%doc COPYING HOWTO README SPECS TECHNICAL README.PLD
 %doc example.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/merlin.conf
 %attr(754,root,root) /etc/rc.d/init.d/merlind
@@ -111,6 +114,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/12/07 15:07:44  glen
+- add pld readme, needs mysql dbi driver (at least)
+
 Revision 1.6  2010/12/07 14:57:16  glen
 - some path fixups, restart service
 

================================================================
Index: packages/nagios-merlin/README.PLD
diff -u /dev/null packages/nagios-merlin/README.PLD:1.1
--- /dev/null	Tue Dec  7 16:07:49 2010
+++ packages/nagios-merlin/README.PLD	Tue Dec  7 16:07:44 2010
@@ -0,0 +1,5 @@
+To init database:
+
+mysqladmin create merlin
+mysql merlin < /usr/lib*/nagios/merlin/db.sql
+mysql -e "GRANT ALL ON merlin.* TO merlin at localhost IDENTIFIED BY 'merlin'"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-merlin/nagios-merlin.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list