2012-07-03 08:47:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2012/07/03 12:47:11 sthen Exp $
|
2009-11-05 08:27:26 -05:00
|
|
|
|
|
|
|
COMMENT= Nagios plugin to check full email delivery loop (SMTP/IMAP)
|
|
|
|
|
2012-02-27 11:15:09 -05:00
|
|
|
DISTNAME= check_email_delivery-0.7.1b
|
2012-07-03 08:47:11 -04:00
|
|
|
REVISION= 1
|
2012-05-02 09:15:53 -04:00
|
|
|
CATEGORIES= net mail
|
2009-11-05 08:27:26 -05:00
|
|
|
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
|
|
|
|
HOMEPAGE= http://buhacoff.net/software/check_email_delivery/
|
|
|
|
|
|
|
|
# GPLv3+
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/archive/
|
|
|
|
|
2010-05-28 05:07:36 -04:00
|
|
|
PKG_ARCH= *
|
2009-11-05 08:27:26 -05:00
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2009-11-05 08:27:26 -05:00
|
|
|
|
2011-03-03 07:24:00 -05:00
|
|
|
RUN_DEPENDS= converters/p5-DateManip \
|
|
|
|
mail/p5-Email-Simple \
|
|
|
|
mail/p5-Mail-IMAPClient \
|
2010-11-19 17:31:32 -05:00
|
|
|
net/p5-Net-SMTP_auth \
|
|
|
|
net/p5-Net-SMTP-SSL \
|
2012-07-03 08:47:11 -04:00
|
|
|
net/p5-Net-SMTP-TLS-ButMaintained \
|
2010-11-19 17:31:32 -05:00
|
|
|
security/p5-Authen-SASL \
|
|
|
|
security/p5-IO-Socket-SSL \
|
|
|
|
textproc/p5-Text-Template
|
2009-11-05 08:27:26 -05:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@${SUBST_CMD} ${WRKSRC}/check_email_delivery ${WRKSRC}/check_email_delivery_epn
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libexec/nagios
|
|
|
|
# the ePN-compatible plugins are nearly identical to the normal ones,
|
|
|
|
# they just don't include the pod documentation; no point installing both
|
|
|
|
# versions.
|
2011-11-11 19:08:11 -05:00
|
|
|
.for i in check_email_delivery check_imap_receive check_imap_quota check_smtp_send imap_ssl_cert
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/$i_epn ${PREFIX}/libexec/nagios/$i
|
|
|
|
pod2man ${WRKSRC}/$i ${PREFIX}/man/man3p/$i.3p
|
2009-11-05 08:27:26 -05:00
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/check_email_delivery
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/check_email_delivery
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|