ports/141715: [PATCH] net-mgmt/nagios-plugins: update to 1.4.14

Martin Matuska mm at FreeBSD.org
Thu Dec 17 15:40:05 UTC 2009


>Number:         141715
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/nagios-plugins: update to 1.4.14
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 17 15:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 8.0-RELEASE-p1 amd64
>Organization:
>Environment:
System: FreeBSD core.vx.sk 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #9: Sun Dec 13 22:47:16 CET 2009
>Description:
- Update to 1.4.14

Removed file(s):
- files/patch-lib__utils_base.c

Port maintainer (jarrod at netleader.com.au) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- nagios-plugins-1.4.14,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net-mgmt/nagios-plugins/Makefile,v
retrieving revision 1.75
diff -u -r1.75 Makefile
--- Makefile	26 Aug 2009 16:38:23 -0000	1.75
+++ Makefile	17 Dec 2009 15:38:50 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	nagios-plugins
-PORTVERSION=	1.4.13
+PORTVERSION=	1.4.14
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/nagiosplug/nagiosplug/${PORTVERSION}
@@ -17,8 +17,8 @@
 USE_SUBMAKE=	yes
 USE_GMAKE=	yes
 USE_PERL5=	yes
-USE_AUTOTOOLS=	aclocal:19 automake:19 autoconf:262
-ACLOCAL_ARGS=	--acdir=${ACLOCAL_DIR} -I m4 -I gl/m4
+USE_AUTOTOOLS=	libtool:22 aclocal:19 autoconf:262 automake:19
+ACLOCAL_ARGS=	-I m4 -I gl/m4
 
 OPTIONS=	QSTAT "Game server query support (check_game)" OFF \
 		FPING "Support for non-flooding fast ping (check_fping)" OFF \
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/net-mgmt/nagios-plugins/distinfo,v
retrieving revision 1.28
diff -u -r1.28 distinfo
--- distinfo	18 Oct 2008 21:38:15 -0000	1.28
+++ distinfo	17 Dec 2009 15:38:50 -0000
@@ -1,3 +1,3 @@
-MD5 (nagios-plugins-1.4.13.tar.gz) = be6cc7699fff3ee29d1fd4d562377386
-SHA256 (nagios-plugins-1.4.13.tar.gz) = 592fe3329777e53f8fb526cb61e625a85ae9a1fd850b4039f78a2c460b1607c5
-SIZE (nagios-plugins-1.4.13.tar.gz) = 2279556
+MD5 (nagios-plugins-1.4.14.tar.gz) = a1835a48a777863ed2583de3c82446a9
+SHA256 (nagios-plugins-1.4.14.tar.gz) = b1f0f2c01bab2a320cc7c041106500acfd6a5262ff811a2c31b62608ac6c3352
+SIZE (nagios-plugins-1.4.14.tar.gz) = 1950729
Index: files/patch-configure.in
===================================================================
RCS file: /home/pcvs/ports/net-mgmt/nagios-plugins/files/patch-configure.in,v
retrieving revision 1.21
diff -u -r1.21 patch-configure.in
--- files/patch-configure.in	11 Aug 2008 22:19:13 -0000	1.21
+++ files/patch-configure.in	17 Dec 2009 15:38:50 -0000
@@ -1,6 +1,6 @@
---- configure.in.orig	2008-05-28 07:31:05.000000000 +0930
-+++ configure.in	2008-08-10 17:08:44.000000000 +0930
-@@ -12,8 +12,6 @@
+--- configure.in.orig	2009-09-16 10:20:34.000000000 +0200
++++ configure.in	2009-12-17 15:42:34.486203026 +0100
+@@ -11,8 +11,6 @@
  RELEASE=1
  AC_SUBST(RELEASE)
  
@@ -9,16 +9,15 @@
  dnl Deprecated configure options
  
  
-@@ -43,7 +41,7 @@
- AC_PROG_CC
+@@ -43,6 +41,7 @@
  gl_EARLY
  AC_PROG_GCC_TRADITIONAL
--AC_PROG_LIBTOOL
+ AC_PROG_LIBTOOL
 +AC_PROG_RANLIB
  
  AM_PROG_CC_C_O
  
-@@ -180,11 +178,12 @@
+@@ -200,11 +199,12 @@
  	ACX_HELP_STRING([--with-pgsql=DIR],
  		[sets path to pgsql installation]),
  	PGSQL=$withval,)
@@ -33,7 +32,7 @@
    fi
    AC_CHECK_LIB(pq,PQsetdbLogin,,,-lcrypt)
    if test "$ac_cv_lib_pq_PQsetdbLogin" = "yes"; then
-@@ -221,37 +220,42 @@
+@@ -241,37 +241,42 @@
    AC_MSG_WARN([Skipping PostgreSQL plugin (check_pgsql)])
    AC_MSG_WARN([install lib crypt and PostgreSQL libs to compile this plugin (see REQUIREMENTS).])
  fi
@@ -89,7 +88,7 @@
    AC_CHECK_FUNCS(ldap_set_option)
    EXTRAS="$EXTRAS check_ldap"
  	AC_CHECK_FUNCS(ldap_init ldap_set_option ldap_get_option ldap_start_tls_s)
-@@ -260,6 +264,7 @@
+@@ -280,6 +285,7 @@
    AC_MSG_WARN([install LDAP libs to compile this plugin (see REQUIREMENTS).])
  fi
  LIBS="$_SAVEDLIBS"
@@ -97,7 +96,7 @@
  
  dnl Check for headers used by check_ide_smart
  AC_CHECK_HEADER(linux/hdreg.h, FOUNDINCLUDE=yes, FOUNDINCLUDE=no)
-@@ -578,22 +583,10 @@
+@@ -597,22 +603,10 @@
  dnl 	ac_cv_ps_cols=8
  dnl 	AC_MSG_RESULT([$ac_cv_ps_command])
  
@@ -123,11 +122,11 @@
  then
  	ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]"
  	ac_cv_ps_command="$PATH_TO_PS -axwo 'stat uid pid ppid vsz rss pcpu comm args'"
-@@ -601,9 +594,8 @@
+@@ -620,9 +614,8 @@
  	ac_cv_ps_cols=9
  	AC_MSG_RESULT([$ac_cv_ps_command])
  
--dnl Some *BSDs have different format for ps. This is mainly to catch FreeBSD 4. 
+-dnl Some *BSDs have different format for ps. This is mainly to catch FreeBSD 4.
 -dnl Limitation: Only first 16 chars returned for ucomm field
 -dnl Must come before ps -weo
 +dnl FreeBSD 4.x
@@ -135,7 +134,7 @@
  elif ps -axwo 'stat uid pid ppid vsz rss pcpu ucomm command' 2>/dev/null | \
  	egrep -i ["^ *STAT +UID +PID +PPID +VSZ +RSS +%CPU +UCOMM +COMMAND"] > /dev/null
  then
-@@ -613,209 +605,6 @@
+@@ -632,209 +625,6 @@
  	ac_cv_ps_cols=9
  	AC_MSG_RESULT([$ac_cv_ps_command])
  
@@ -204,9 +203,9 @@
 -	ac_cv_ps_cols=9
 -	AC_MSG_RESULT([$ac_cv_ps_command])
 -
--dnl Tru64 - needs %*[ +<>] in PS_FORMAT. 
+-dnl Tru64 - needs %*[ +<>] in PS_FORMAT.
 -dnl Has /usr/bin/ps and /sbin/ps - force sbin version
--dnl Can't use vsize and rssize because comes back with text (eg, 1.5M instead 
+-dnl Can't use vsize and rssize because comes back with text (eg, 1.5M instead
 -dnl of 1500). Will need big changes to check_procs to support
 -elif /sbin/ps -eo 'stat uid pid ppid pcpu etime comm args' 2>/dev/null | \
 -	egrep -i ["^ *S +[UID]+ +[PID]+ +[PID]+ +[%CPU]+ +[ELAPSD]+ +[COMMAND]+ +[COMMAND]+"] > /dev/null
@@ -332,7 +331,7 @@
 -	ac_cv_ps_cols=8
 -	AC_MSG_RESULT([$ac_cv_ps_command])
 -
--dnl UnixWare 
+-dnl UnixWare
 -elif ps -Al 2>/dev/null | \
 -	egrep -i ["^ *F +S +UID +PID +PPID +CLS +PRI +NI +C +ADDR +SZ +WCHAN +TTY +TIME +COMD"] >/dev/null
 -then
@@ -345,7 +344,7 @@
  else
  	AC_MSG_WARN([unable to find usable ps syntax - check_procs and check_nagios will not be compiled])
  fi
-@@ -1193,6 +982,8 @@
+@@ -1212,6 +1002,8 @@
  AC_DEFINE_UNQUOTED(WHO_COMMAND,"$ac_cv_path_to_who",
  	[path and arguments for invoking 'who'])
  
@@ -354,7 +353,7 @@
  AC_PATH_PROG(PATH_TO_SNMPGET,snmpget)
  AC_ARG_WITH(snmpget_command,
              ACX_HELP_STRING([--with-snmpget-command=PATH],
-@@ -1223,7 +1014,10 @@
+@@ -1242,7 +1034,10 @@
  else
  	AC_MSG_WARN([Tried $PERL - install Net::SNMP perl module if you want to use the perl snmp plugins])
  fi
@@ -365,7 +364,7 @@
  AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat)
  AC_PATH_PROG(PATH_TO_QSTAT,qstat)
  AC_ARG_WITH(qstat_command,
-@@ -1248,7 +1042,10 @@
+@@ -1267,7 +1062,10 @@
  	AC_DEFINE_UNQUOTED(PATH_TO_QSTAT,"$ac_cv_path_to_qstat",
  		[path to qstat/quakestat])
  fi
@@ -376,7 +375,7 @@
  AC_PATH_PROG(PATH_TO_FPING,fping)
  AC_ARG_WITH(fping_command,
              ACX_HELP_STRING([--with-fping-command=PATH],
-@@ -1260,6 +1057,7 @@
+@@ -1279,6 +1077,7 @@
  else
  	AC_MSG_WARN([Get fping from http://www.fping.com in order to make check_fping plugin])
  fi
@@ -384,7 +383,7 @@
  
  AC_PATH_PROG(PATH_TO_SSH,ssh)
  AC_ARG_WITH(ssh_command,
-@@ -1327,32 +1125,12 @@
+@@ -1346,32 +1145,12 @@
  dnl end if for PATH_TO_SWAP
  fi
  
Index: files/patch-lib__utils_base.c
===================================================================
RCS file: files/patch-lib__utils_base.c
diff -N files/patch-lib__utils_base.c
--- files/patch-lib__utils_base.c	23 Jul 2007 22:30:42 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- lib/utils_base.c.orig	Sat Jul 21 17:42:49 2007
-+++ lib/utils_base.c	Sat Jul 21 17:43:07 2007
-@@ -89,7 +89,7 @@
- {
- 	thresholds *temp_thresholds = NULL;
- 
--	temp_thresholds = malloc(sizeof(temp_thresholds));
-+	temp_thresholds = malloc(sizeof(thresholds));
- 
- 	temp_thresholds->warning = NULL;
- 	temp_thresholds->critical = NULL;
--- nagios-plugins-1.4.14,1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list