Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 14:43:17 +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: r363333 - in head/net-mgmt/monitoring-plugins: . files
Message-ID:  <201407291443.s6TEhHXi018606@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Jul 29 14:43:17 2014
New Revision: 363333
URL: http://svnweb.freebsd.org/changeset/ports/363333
QAT: https://qat.redports.org/buildarchive/r363333/

Log:
  Update to 2.0.
  
  Changes:	https://www.monitoring-plugins.org/news/release-2-0.html
  Sponsored by:	Absolight

Deleted:
  head/net-mgmt/monitoring-plugins/files/patch-plugins-scripts__check_ntp.pl
Modified:
  head/net-mgmt/monitoring-plugins/Makefile
  head/net-mgmt/monitoring-plugins/distinfo
  head/net-mgmt/monitoring-plugins/files/patch-plugins-scripts__check_ircd.pl
  head/net-mgmt/monitoring-plugins/files/patch-plugins__check_ssh.c

Modified: head/net-mgmt/monitoring-plugins/Makefile
==============================================================================
--- head/net-mgmt/monitoring-plugins/Makefile	Tue Jul 29 14:37:23 2014	(r363332)
+++ head/net-mgmt/monitoring-plugins/Makefile	Tue Jul 29 14:43:17 2014	(r363333)
@@ -2,11 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	monitoring-plugins
-PORTVERSION=	1.5.99.20140721
-PORTREVISION=	1
+PORTVERSION=	2.0
 CATEGORIES=	net-mgmt
-MASTER_SITES=	LOCAL/mat/${PORTNAME} GH GHC
-		
+MASTER_SITES=	https://www.monitoring-plugins.org/download/ LOCAL/mat/${PORTNAME}
 
 MAINTAINER=	mat@FreeBSD.org
 COMMENT=	Monitoring Plugins for Nagios
@@ -14,11 +12,6 @@ COMMENT=	Monitoring Plugins for Nagios
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	monitoring-plugins
-GH_COMMIT=	b5611ea
-GH_TAGNAME=	${GH_COMMIT}
-
 CONFLICTS_INSTALL=	nagios-plugins-*
 
 USES=		charsetfix gmake perl5 libtool
@@ -57,8 +50,6 @@ EXTRAOPTS_CONFIGURE_ENABLE=	extra-opts
 
 GNU_CONFIGURE=	yes
 
-NAGIOSUSER?=	nagios
-NAGIOSGROUP?=	nagios
 NAGIOSDIR?=	/var/spool/nagios
 
 NAGIOSWWWDIR?=	www/nagios
@@ -68,21 +59,19 @@ NAGIOSCGIURL?=	${NAGIOSHTMURL}/cgi-bin
 NAGIOSPOLLIP?=	127.0.0.1
 NAGIOSPOLLIP6?=	::1
 
-CONFIGURE_ARGS+=--with-nagios-user=${NAGIOSUSER} \
-		--with-nagios-group=${NAGIOSGROUP} \
-		--with-cgiurl=${NAGIOSCGIURL} \
+CONFIGURE_ARGS+=--with-cgiurl=${NAGIOSCGIURL} \
 		--sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
 		--libexecdir=${PREFIX}/libexec/nagios \
 		--datadir=${PREFIX}/share \
 		--sysconfdir=${PREFIX}/etc/nagios \
 		--localstatedir=${NAGIOSDIR} \
+		--with-perl=${PERL} \
 		--prefix=${PREFIX}
 
 # Also, force some commands with their expected paths so that they don't get
 # disabled.
 CONFIGURE_ARGS+=--with-qmail-qstat-command=/var/qmail/bin/qmail-qstat
 
-CONFIGURE_ENV=	PERL=${PERL}
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 CFLAGS+=	-I${LOCALBASE}/include

Modified: head/net-mgmt/monitoring-plugins/distinfo
==============================================================================
--- head/net-mgmt/monitoring-plugins/distinfo	Tue Jul 29 14:37:23 2014	(r363332)
+++ head/net-mgmt/monitoring-plugins/distinfo	Tue Jul 29 14:43:17 2014	(r363333)
@@ -1,2 +1,2 @@
-SHA256 (monitoring-plugins-1.5.99.20140721.tar.gz) = bc82a96d8384ec006d3a8f961e60582af87cc2d0a385d02769e73994af31ea50
-SIZE (monitoring-plugins-1.5.99.20140721.tar.gz) = 2051048
+SHA256 (monitoring-plugins-2.0.tar.gz) = a91b0f68ff00661e0d69f28e3cf577541af98e0f6d09dd014328f132bde6c3fc
+SIZE (monitoring-plugins-2.0.tar.gz) = 2610000

Modified: head/net-mgmt/monitoring-plugins/files/patch-plugins-scripts__check_ircd.pl
==============================================================================
--- head/net-mgmt/monitoring-plugins/files/patch-plugins-scripts__check_ircd.pl	Tue Jul 29 14:37:23 2014	(r363332)
+++ head/net-mgmt/monitoring-plugins/files/patch-plugins-scripts__check_ircd.pl	Tue Jul 29 14:43:17 2014	(r363333)
@@ -1,6 +1,6 @@
---- ./plugins-scripts/check_ircd.pl.orig	2014-04-27 19:59:06.000000000 +0200
-+++ ./plugins-scripts/check_ircd.pl	2014-05-09 18:45:31.000000000 +0200
-@@ -65,6 +65,7 @@
+--- ./plugins-scripts/check_ircd.pl.orig	2014-07-06 19:55:03.000000000 +0200
++++ ./plugins-scripts/check_ircd.pl	2014-07-29 15:15:32.000000000 +0200
+@@ -66,6 +66,7 @@
  $ENV{'PATH'}='@TRUSTED_PATH@';
  $ENV{'BASH_ENV'}=''; 
  $ENV{'ENV'}='';
@@ -8,7 +8,7 @@
  
  # -----------------------------------------------------------------[ Global ]--
  
-@@ -152,7 +153,7 @@
+@@ -153,7 +154,7 @@
  	    print "IRCD UNKNOWN: Could not start socket ($!)\n";
  	    exit $ERRORS{"UNKNOWN"};
  	}

Modified: head/net-mgmt/monitoring-plugins/files/patch-plugins__check_ssh.c
==============================================================================
--- head/net-mgmt/monitoring-plugins/files/patch-plugins__check_ssh.c	Tue Jul 29 14:37:23 2014	(r363332)
+++ head/net-mgmt/monitoring-plugins/files/patch-plugins__check_ssh.c	Tue Jul 29 14:43:17 2014	(r363333)
@@ -1,6 +1,6 @@
---- ./plugins/check_ssh.c.orig	2014-04-27 19:59:06.000000000 +0200
-+++ ./plugins/check_ssh.c	2014-05-09 18:45:31.000000000 +0200
-@@ -250,6 +250,7 @@
+--- ./plugins/check_ssh.c.orig	2014-07-06 12:26:39.000000000 +0200
++++ ./plugins/check_ssh.c	2014-07-29 15:15:33.000000000 +0200
+@@ -255,6 +255,7 @@
  			printf
  				(_("SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n"),
  				 ssh_server, ssh_proto, remote_version);
@@ -8,7 +8,7 @@
  			close(sd);
  			exit (STATE_WARNING);
  		}
-@@ -260,6 +261,7 @@
+@@ -273,6 +274,7 @@
  			(_("SSH OK - %s (protocol %s) | %s\n"),
  			 ssh_server, ssh_proto, fperfdata("time", elapsed_time, "s",
  			 FALSE, 0, FALSE, 0, TRUE, 0, TRUE, (int)socket_timeout));



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