From owner-svn-ports-all@freebsd.org Tue Oct 25 14:37:49 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22DAFC218EE; Tue, 25 Oct 2016 14:37:49 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 F1507EB2; Tue, 25 Oct 2016 14:37:48 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9PEbmBG013959; Tue, 25 Oct 2016 14:37:48 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9PEblSC013956; Tue, 25 Oct 2016 14:37:47 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201610251437.u9PEblSC013956@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 25 Oct 2016 14:37:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424628 - head/net-mgmt/check_multi X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2016 14:37:49 -0000 Author: mat Date: Tue Oct 25 14:37:47 2016 New Revision: 424628 URL: https://svnweb.freebsd.org/changeset/ports/424628 Log: Update to 0.26. Sponsored by: Absolight Deleted: head/net-mgmt/check_multi/pkg-plist Modified: head/net-mgmt/check_multi/Makefile (contents, props changed) head/net-mgmt/check_multi/distinfo (contents, props changed) head/net-mgmt/check_multi/pkg-descr (contents, props changed) Modified: head/net-mgmt/check_multi/Makefile ============================================================================== --- head/net-mgmt/check_multi/Makefile Tue Oct 25 14:07:06 2016 (r424627) +++ head/net-mgmt/check_multi/Makefile Tue Oct 25 14:37:47 2016 (r424628) @@ -1,33 +1,39 @@ # $FreeBSD$ PORTNAME= check_multi -PORTVERSION= 0.19 +PORTVERSION= 0.26 CATEGORIES= net-mgmt -#MASTER_SITES= http://my-plugin.de/${PORTNAME}/ -#PKGNAMEPREFIX= nagios- -#DISTNAME= ${PORTNAME}-${PORTVERSION}.current -MASTER_SITES= ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/ MAINTAINER= ports@FreeBSD.org COMMENT= Multi-purpose wrapper plugin for Nagios LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE -USES= shebangfix perl5 tar:tgz -USE_PERL5= run -NO_BUILD= yes - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -PLUGIN_DIR= libexec/nagios - -SHEBANG_FILES= check_multi - -OPTIONS_DEFINE= EXAMPLES - -do-install: - -${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} - ${INSTALL_SCRIPT} ${WRKSRC}/check_multi ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}/ - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @${TAR} -C ${WRKSRC}/contrib -cf - . | ${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf - +USES= gmake perl5 +GNU_CONFIGURE= yes +NO_ARCH= yes + +USE_GITHUB= yes +GH_ACCOUNT= flackem + +CONFIGURE_ARGS= --sysconfdir=${EXAMPLESDIR:H} \ + --libexecdir=${PREFIX}/libexec/nagios + +INSTALL_TARGET= install +TEST_TARGET= test + +OPTIONS_DEFINE= DOCS EXAMPLES + +EXAMPLES_INSTALL_TARGET= install-config + +PORTDOCS= Changelog README +PORTEXAMPLES= * + +PLIST_FILES= libexec/nagios/check_multi + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Modified: head/net-mgmt/check_multi/distinfo ============================================================================== --- head/net-mgmt/check_multi/distinfo Tue Oct 25 14:07:06 2016 (r424627) +++ head/net-mgmt/check_multi/distinfo Tue Oct 25 14:37:47 2016 (r424628) @@ -1,2 +1,3 @@ -SHA256 (check_multi-0.19.tgz) = beca8b28ffb0cdd95d786b3e36d9ce6f2fbd633063499303f8e8ea43cf82fe02 -SIZE (check_multi-0.19.tgz) = 27113 +TIMESTAMP = 1477404608 +SHA256 (flackem-check_multi-0.26_GH0.tar.gz) = f098755b2aadddeac943baabf7f076e7856f5d2d31d3a446d9cefdcc833bb7e6 +SIZE (flackem-check_multi-0.26_GH0.tar.gz) = 126723 Modified: head/net-mgmt/check_multi/pkg-descr ============================================================================== --- head/net-mgmt/check_multi/pkg-descr Tue Oct 25 14:07:06 2016 (r424627) +++ head/net-mgmt/check_multi/pkg-descr Tue Oct 25 14:37:47 2016 (r424628) @@ -2,8 +2,10 @@ check_multi is kind of a wrapper plugin Nagios 3.x capability to display multiple lines of plugin output. It calls multiple child plugins and displays their output in the long_plugin_output. A summary is given in the standard plugin output. -The child return code with the highest severity becomes the parent -(check_multi) plugin return code. + +Normally the child return code with the highest severity becomes the +parent (check_multi) plugin return code. But you can influence this +by specifying flexible state evaluation rules. The configuration is very simple: a NRPE-stylish config file contains a tag for each child plugin and then the check command line. @@ -12,6 +14,4 @@ check_multi can cover complex Business P state evaluation mechanism. The second benefit is cluster monitoring with no need for extra services. All you need is provided by check_multi. -LICENSE: GPL2 or later - WWW: http://www.my-plugin.de/wiki/projects/check_multi/start