openbsd-ports/net/nagios/check_email_delivery/Makefile
sthen d0d89306c9 tweak check_email_delivery:
- drop pointless patch, we only install the _epn version
- add mail to categories
- allow --imap-username / --imap-password by itself (avoiding the need
to specify a username which applies to smtp if auth is enabled).
2012-05-02 13:15:53 +00:00

52 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2012/05/02 13:15:53 sthen Exp $
COMMENT= Nagios plugin to check full email delivery loop (SMTP/IMAP)
DISTNAME= check_email_delivery-0.7.1b
REVISION= 0
CATEGORIES= net mail
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/
PKG_ARCH= *
NO_BUILD= Yes
NO_REGRESS= Yes
USE_GROFF = Yes
RUN_DEPENDS= converters/p5-DateManip \
mail/p5-Email-Simple \
mail/p5-Mail-IMAPClient \
net/p5-Net-SMTP_auth \
net/p5-Net-SMTP-SSL \
net/p5-Net-SMTP-TLS \
security/p5-Authen-SASL \
security/p5-IO-Socket-SSL \
textproc/p5-Text-Template
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.
.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
.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>