Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2016 14:37:47 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424628 - head/net-mgmt/check_multi
Message-ID:  <201610251437.u9PEblSC013956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



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