Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2007 04:01:34 GMT
From:      Eric Cronin<ecronin@gizmolabs.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/110603: NEW: net-mgmt/nagios-certexp-plugin
Message-ID:  <200703210401.l2L41YY9022824@www.freebsd.org>
Resent-Message-ID: <200703210410.l2L4A8w2018256@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110603
>Category:       ports
>Synopsis:       NEW: net-mgmt/nagios-certexp-plugin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 21 04:10:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Eric Cronin
>Release:        
>Organization:
>Environment:
>Description:
check_certexp is a Nagios plugin for checking the number of days left until a certificate expires. The check is done via an SSL connection (STARTTLS mechanisms are not supported). The plugin is written in Perl, should work with the embedded Perl interpreter (not tested though) and requires Net::SSLeay  and Date::Manip to be installed on the Nagios host.

Author: Holger Weiss <holger@CIS.FU-Berlin.DE>
WWW:    http://www.jhweiss.de/software/nagios.html
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# New ports collection makefile for:	nagios-certexp-plugin
# Date created:				2007-03-20
# Whom:					ecronin@gizmolabs.org
#
# $FreeBSD: $

PORTNAME=	nagios-certexp-plugin
PORTVERSION=	1.1
CATEGORIES=	net-mgmt
MASTER_SITES=	ftp://jhweiss.de/pub/users/weiss/nagios/plugins/
DISTNAME=	check_certexp.pl
EXTRACT_SUFX=

MAINTAINER=	ecronin@gizmolabs.org
COMMENT=	Nagios plugin for checking SSL server certificate expiration

RUN_DEPENDS+=	${SITE_PERL}/mach/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \
		${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
		${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long

USE_PERL5=	yes
NO_WRKSUBDIR=	yes
NO_BUILD=	yes
PLIST_FILES=	${NAGIOS_PLUGIN_DIR}/check_certexp.pl
PLIST_DIRS=	${NAGIOS_PLUGIN_DIR}

NAGIOS_PLUGIN_DIR=	libexec/nagios

do-extract:
	${MKDIR} ${WRKSRC}
	${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/check_certexp.pl

post-patch:
	${REINPLACE_CMD} -e \
		"s,/usr/local/nagios/libexec,${PREFIX}/${NAGIOS_PLUGIN_DIR}," \
		${WRKSRC}/check_certexp.pl

do-install:
	${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
	${INSTALL_SCRIPT} ${WRKSRC}/check_certexp.pl ${PREFIX}/${NAGIOS_PLUGIN_DIR}

.include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703210401.l2L41YY9022824>