aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2011-05-12 23:38:14 +0000
committerWesley Shields <wxs@FreeBSD.org>2011-05-12 23:38:14 +0000
commit06c4ef4c09f6400bc4a3dbe5606bb5191a28c9d0 (patch)
tree228832b94ac28ad2fb306e6c6580de2c63ca9a3d /net-mgmt
parent73c8a65c84912f307a618e11da7fe53ef24cee08 (diff)
downloadports-06c4ef4c09f6400bc4a3dbe5606bb5191a28c9d0.tar.gz
ports-06c4ef4c09f6400bc4a3dbe5606bb5191a28c9d0.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/nagios-check_email_delivery/Makefile44
-rw-r--r--net-mgmt/nagios-check_email_delivery/distinfo2
-rw-r--r--net-mgmt/nagios-check_email_delivery/pkg-descr14
-rw-r--r--net-mgmt/nagios-check_email_delivery/pkg-plist14
5 files changed, 75 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 75d0669f0dbc..a6a3c1b9f8a2 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -115,6 +115,7 @@
SUBDIR += nagios-check_bacula
SUBDIR += nagios-check_clamav
SUBDIR += nagios-check_cpu_usage
+ SUBDIR += nagios-check_email_delivery
SUBDIR += nagios-check_hdd_health
SUBDIR += nagios-check_ice
SUBDIR += nagios-check_kumofs
diff --git a/net-mgmt/nagios-check_email_delivery/Makefile b/net-mgmt/nagios-check_email_delivery/Makefile
new file mode 100644
index 000000000000..078b5e6f49bf
--- /dev/null
+++ b/net-mgmt/nagios-check_email_delivery/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: nagios-check_email_delivery
+# Date created: 9 May 2011
+# Whom: Ryan Steinmetz
+#
+# $FreeBSD$
+
+PORTNAME= check_email_delivery
+PORTVERSION= 0.7.0
+CATEGORIES= net-mgmt
+MASTER_SITES= http://buhacoff.net/software/check_email_delivery/archive/ \
+ http://people.rit.edu/rpsfa/
+PKGNAMEPREFIX= nagios-
+
+MAINTAINER= rpsfa@rit.edu
+COMMENT= Nagios Plugin to monitor your mail environment
+
+RUN_DEPENDS= p5-Net-SMTP-TLS>=0:${PORTSDIR}/mail/p5-Net-SMTP-TLS \
+ p5-Mail-IMAPClient>=0:${PORTSDIR}/mail/p5-Mail-IMAPClient
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+NO_BUILD= yes
+USE_PERL5_RUN= yes
+DOC_FILES= check_email_delivery.html check_email_delivery.pod check_imap_receive.html check_imap_receive.pod check_smtp_send.html check_smtp_send.pod
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ @${MKDIR} ${PREFIX}/libexec/nagios
+ ${INSTALL_SCRIPT} ${WRKSRC}/check_email_delivery ${PREFIX}/libexec/nagios/
+ ${INSTALL_SCRIPT} ${WRKSRC}/check_email_delivery_epn ${PREFIX}/libexec/nagios/
+ ${INSTALL_SCRIPT} ${WRKSRC}/check_imap_receive ${PREFIX}/libexec/nagios/
+ ${INSTALL_SCRIPT} ${WRKSRC}/check_imap_receive_epn ${PREFIX}/libexec/nagios/
+ ${INSTALL_SCRIPT} ${WRKSRC}/check_smtp_send ${PREFIX}/libexec/nagios/
+ ${INSTALL_SCRIPT} ${WRKSRC}/check_smtp_send_epn ${PREFIX}/libexec/nagios/
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/nagios-check_email_delivery/distinfo b/net-mgmt/nagios-check_email_delivery/distinfo
new file mode 100644
index 000000000000..4066a57d1618
--- /dev/null
+++ b/net-mgmt/nagios-check_email_delivery/distinfo
@@ -0,0 +1,2 @@
+SHA256 (check_email_delivery-0.7.0.tar.gz) = 132adc4a26a43c48c9b3c813cdb280cbbe5877911d12f8427b6efddbfea72e3d
+SIZE (check_email_delivery-0.7.0.tar.gz) = 69766
diff --git a/net-mgmt/nagios-check_email_delivery/pkg-descr b/net-mgmt/nagios-check_email_delivery/pkg-descr
new file mode 100644
index 000000000000..c6c650eec07d
--- /dev/null
+++ b/net-mgmt/nagios-check_email_delivery/pkg-descr
@@ -0,0 +1,14 @@
+Check Email Delivery is a plugin for Nagios that allows you to
+check functionality within your email environment.
+
+Some typical uses of this plugin include:
+* check SMTP server
+* check IMAP server
+* check email delivery loop
+* check auto-responder function
+* keep an eye on email lag
+* monitor automated mailboxes
+* aggregate check results of multiple plugins
+* check email-to-FTP or other special email gateways
+
+WWW: http://buhacoff.net/software/check_email_delivery/
diff --git a/net-mgmt/nagios-check_email_delivery/pkg-plist b/net-mgmt/nagios-check_email_delivery/pkg-plist
new file mode 100644
index 000000000000..8ec35897daac
--- /dev/null
+++ b/net-mgmt/nagios-check_email_delivery/pkg-plist
@@ -0,0 +1,14 @@
+libexec/nagios/check_email_delivery
+libexec/nagios/check_email_delivery_epn
+libexec/nagios/check_imap_receive
+libexec/nagios/check_imap_receive_epn
+libexec/nagios/check_smtp_send
+libexec/nagios/check_smtp_send_epn
+%%PORTDOCS%%%%DOCSDIR%%/check_email_delivery.html
+%%PORTDOCS%%%%DOCSDIR%%/check_email_delivery.pod
+%%PORTDOCS%%%%DOCSDIR%%/check_imap_receive.html
+%%PORTDOCS%%%%DOCSDIR%%/check_imap_receive.pod
+%%PORTDOCS%%%%DOCSDIR%%/check_smtp_send.html
+%%PORTDOCS%%%%DOCSDIR%%/check_smtp_send.pod
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry libexec/nagios