Author: glen                         Date: Tue Oct 21 18:07:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- works from commandline, likely nagios checkcommands needs to be checked too

---- Files affected:
SPECS:
   nagios-plugin-check_email_delivery.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/nagios-plugin-check_email_delivery.spec
diff -u SPECS/nagios-plugin-check_email_delivery.spec:1.1 
SPECS/nagios-plugin-check_email_delivery.spec:1.2
--- SPECS/nagios-plugin-check_email_delivery.spec:1.1   Tue Oct 21 19:45:50 2008
+++ SPECS/nagios-plugin-check_email_delivery.spec       Tue Oct 21 20:06:58 2008
@@ -4,7 +4,7 @@
 Summary:       Nagios plugins to check email delivery
 Name:          nagios-plugin-%{plugin}
 Version:       0.6.3
-Release:       0.1
+Release:       0.2
 License:       GPL v2
 Group:         Networking
 Source0:       
http://www.buhacoff.net/2008/projects/nagios/check_email_delivery-%{version}.tar.gz
@@ -12,7 +12,9 @@
 URL:           http://apricoti.pbwiki.com/NagiosCheckEmailDelivery
 BuildRequires: perl-tools-pod
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: sed >= 4.0
 Requires:      nagios-core
+Requires:      perl-Mail-IMAPClient
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -20,12 +22,12 @@
 %define                _sysconfdir     /etc/nagios/plugins
 
 %description
-Nagios plugin which sends e-mail to server and then checks if the email arrived
-by login into IMAP server.
+Nagios plugin which sends e-mail to server and then checks if the
+email arrived by login into IMAP server.
 
 %description -l et.UTF-8
-Nagiose plugin, mis saadab emaili serverile ning seejärel logib IMAPiga
-kasutajaga mailikontole test ning kontrollib kas email on saabunud.
+Nagiose plugin, mis saadab emaili serverile ning seejärel logib
+IMAPiga kasutajaga mailikontole ning kontrollib kas email on saabunud.
 
 %prep
 %setup -q -n check_email_delivery-%{version}
@@ -36,6 +38,8 @@
 mv check_imap_receive_epn check_imap_receive
 mv check_smtp_send_epn check_smtp_send
 
+%{__sed} -i -e 's,/usr/local/nagios/libexec,%{plugindir},' check_*
+
 cat > nagios.cfg <<'EOF'
 define command {
        command_name check_email_delivery
@@ -75,6 +79,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/10/21 18:06:58  glen
+- works from commandline, likely nagios checkcommands needs to be checked too
+
 Revision 1.1  2008/10/21 17:45:50  glen
 - new;
   and no, this is not my first Estonian translation, I copied it from
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios-plugin-check_email_delivery.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to