From owner-svn-ports-head@FreeBSD.ORG Sun Oct 5 21:40:31 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A585627; Sun, 5 Oct 2014 21:40:31 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 25DBFE6C; Sun, 5 Oct 2014 21:40:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s95LeVFq030118; Sun, 5 Oct 2014 21:40:31 GMT (envelope-from robak@FreeBSD.org) Received: (from robak@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s95LeUa9030114; Sun, 5 Oct 2014 21:40:30 GMT (envelope-from robak@FreeBSD.org) Message-Id: <201410052140.s95LeUa9030114@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: robak set sender to robak@FreeBSD.org using -f From: Bartek Rutkowski Date: Sun, 5 Oct 2014 21:40:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370131 - in head/net-mgmt: . nagios-check_dhcp.pl X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2014 21:40:31 -0000 Author: robak Date: Sun Oct 5 21:40:29 2014 New Revision: 370131 URL: https://svnweb.freebsd.org/changeset/ports/370131 QAT: https://qat.redports.org/buildarchive/r370131/ Log: net-mgmt/nagios-check_dhcp.pl: NEW PORT - Nagios DHCP check plugin This plugin tests the availability of a given DHCP server using unicast delivery. PR: 187623 Submitted by: Lawrence Chen Approved by: mentors (implicit) Added: head/net-mgmt/nagios-check_dhcp.pl/ head/net-mgmt/nagios-check_dhcp.pl/Makefile (contents, props changed) head/net-mgmt/nagios-check_dhcp.pl/distinfo (contents, props changed) head/net-mgmt/nagios-check_dhcp.pl/pkg-descr (contents, props changed) Modified: head/net-mgmt/Makefile Modified: head/net-mgmt/Makefile ============================================================================== --- head/net-mgmt/Makefile Sun Oct 5 21:36:02 2014 (r370130) +++ head/net-mgmt/Makefile Sun Oct 5 21:40:29 2014 (r370131) @@ -108,6 +108,7 @@ SUBDIR += nagios-check_bacula5 SUBDIR += nagios-check_clamav SUBDIR += nagios-check_cpu_usage + SUBDIR += nagios-check_dhcp.pl SUBDIR += nagios-check_email_delivery SUBDIR += nagios-check_hdd_health SUBDIR += nagios-check_hp_bladechassis Added: head/net-mgmt/nagios-check_dhcp.pl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nagios-check_dhcp.pl/Makefile Sun Oct 5 21:40:29 2014 (r370131) @@ -0,0 +1,37 @@ +# Created by: Lawrence Chen +# $FreeBSD$ + +PORTNAME= check_dhcp.pl +PORTVERSION= 0.1 +CATEGORIES= net-mgmt +MASTER_SITES= http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=1526&cf_id=24&dummy=/ +PKGNAMEPREFIX= nagios- +DISTNAME= ${PORTNAME} +EXTRACT_SUFX= + +MAINTAINER= beastie@tardisi.com +COMMENT= Check the availability of a DHCP server using unicast delivery + +RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/utils.pm:${PORTSDIR}/net-mgmt/nagios-plugins \ + p5-IO-Interface>=0:${PORTSDIR}/net/p5-IO-Interface \ + p5-Net-DHCP-Watch>=0:${PORTSDIR}/net/p5-Net-DHCP-Watch + +USES= perl5 +USE_PERL5= run + +PLIST_FILES= libexec/nagios/check_dhcp.pl +NO_BUILD= yes +NO_WRKSUBDIR= yes + +post-patch: + @${REINPLACE_CMD} -e "s,/usr/bin/perl,${PERL}," ${WRKSRC}/${PORTNAME} + +do-extract: + @${MKDIR} ${WRKDIR} + @${CP} ${DISTDIR}/${PORTNAME} ${WRKDIR}/ + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios + ${INSTALL_SCRIPT} ${WRKSRC}/check_dhcp.pl ${STAGEDIR}${PREFIX}/libexec/nagios/check_dhcp.pl + +.include Added: head/net-mgmt/nagios-check_dhcp.pl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nagios-check_dhcp.pl/distinfo Sun Oct 5 21:40:29 2014 (r370131) @@ -0,0 +1,2 @@ +SHA256 (check_dhcp.pl) = 7aa6f26ae11f66e7b7a0100649a42fbd7179279a1bc2ff0305d633be59bcc87b +SIZE (check_dhcp.pl) = 4171 Added: head/net-mgmt/nagios-check_dhcp.pl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nagios-check_dhcp.pl/pkg-descr Sun Oct 5 21:40:29 2014 (r370131) @@ -0,0 +1,4 @@ +This plugin tests the availability of a given DHCP server using unicast +delivery. + +WWW: http://exchange.nagios.org/