Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2018 14:47:22 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458851 - in head/net-mgmt/nagcon: . files
Message-ID:  <201801121447.w0CElMa1078633@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Fri Jan 12 14:47:22 2018
New Revision: 458851
URL: https://svnweb.freebsd.org/changeset/ports/458851

Log:
  net-mgmt/nagcon: update to 0.0.31
  
  PR:		224650
  Submitted by:	<rand@iteris.com> (maintainer under different email)

Modified:
  head/net-mgmt/nagcon/Makefile   (contents, props changed)
  head/net-mgmt/nagcon/distinfo   (contents, props changed)
  head/net-mgmt/nagcon/files/patch-br.cpp   (contents, props changed)
  head/net-mgmt/nagcon/files/patch-br.h   (contents, props changed)
  head/net-mgmt/nagcon/files/patch-nc.cpp   (contents, props changed)
  head/net-mgmt/nagcon/files/patch-utils.cpp   (contents, props changed)

Modified: head/net-mgmt/nagcon/Makefile
==============================================================================
--- head/net-mgmt/nagcon/Makefile	Fri Jan 12 14:41:35 2018	(r458850)
+++ head/net-mgmt/nagcon/Makefile	Fri Jan 12 14:47:22 2018	(r458851)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	nagcon
-PORTVERSION=	0.0.30
+PORTVERSION=	0.0.31
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://www.vanheusden.com/nagcon/
 
@@ -18,7 +18,7 @@ CPPFILES=	utils.cpp br.cpp nc.cpp pl.cpp
 
 USES=		ncurses tar:tgz
 CFLAGS+=	-DVERSION=\"${PORTVERSION}\" -I${LOCALBASE}/include
-LDFLAGS+=	-lncurses -lstdc++ -L${LOCALBASE}/lib -lstrfunc
+LDFLAGS+=	-lncurses -lstdc++ -L${LOCALBASE}/lib -lstrfunc -ltinfo
 
 do-build:
 	${CC} ${CFLAGS} -c -o ${WRKSRC}/${CFILES:C/\.c//}.o ${WRKSRC}/${CFILES}

Modified: head/net-mgmt/nagcon/distinfo
==============================================================================
--- head/net-mgmt/nagcon/distinfo	Fri Jan 12 14:41:35 2018	(r458850)
+++ head/net-mgmt/nagcon/distinfo	Fri Jan 12 14:47:22 2018	(r458851)
@@ -1,2 +1,3 @@
-SHA256 (nagcon-0.0.30.tgz) = e115f62fdd315b85dfe3a4d0e52a17e7e10ae064b012caa45f4b5dc50889020e
-SIZE (nagcon-0.0.30.tgz) = 15479
+TIMESTAMP = 1514478086
+SHA256 (nagcon-0.0.31.tgz) = 592a3607fb7ac3e7f530e3560f4027bcac43dfb15977680e797769e7aca22da1
+SIZE (nagcon-0.0.31.tgz) = 15745

Modified: head/net-mgmt/nagcon/files/patch-br.cpp
==============================================================================
--- head/net-mgmt/nagcon/files/patch-br.cpp	Fri Jan 12 14:41:35 2018	(r458850)
+++ head/net-mgmt/nagcon/files/patch-br.cpp	Fri Jan 12 14:47:22 2018	(r458851)
@@ -1,6 +1,6 @@
---- br.cpp.orig	Thu Feb 28 15:12:00 2008
-+++ br.cpp	Thu Feb 28 15:12:12 2008
-@@ -28,6 +28,7 @@
+--- br.cpp.orig	2017-12-27 12:07:16 UTC
++++ br.cpp
+@@ -12,6 +12,7 @@
  #include <sys/mman.h>
  #include <fcntl.h>
  #include <syslog.h>

Modified: head/net-mgmt/nagcon/files/patch-br.h
==============================================================================
--- head/net-mgmt/nagcon/files/patch-br.h	Fri Jan 12 14:41:35 2018	(r458850)
+++ head/net-mgmt/nagcon/files/patch-br.h	Fri Jan 12 14:47:22 2018	(r458851)
@@ -1,6 +1,6 @@
---- ./br.h.orig	Tue Mar 28 20:54:02 2006
-+++ ./br.h	Tue Mar 28 20:56:02 2006
-@@ -8,6 +8,12 @@
+--- br.h.orig	2017-12-27 12:07:16 UTC
++++ br.h
+@@ -10,6 +10,12 @@
  #define likely(x)       __builtin_expect((x),1)
  #define unlikely(x)     __builtin_expect((x),0)
  

Modified: head/net-mgmt/nagcon/files/patch-nc.cpp
==============================================================================
--- head/net-mgmt/nagcon/files/patch-nc.cpp	Fri Jan 12 14:41:35 2018	(r458850)
+++ head/net-mgmt/nagcon/files/patch-nc.cpp	Fri Jan 12 14:47:22 2018	(r458851)
@@ -1,6 +1,6 @@
---- nc.cpp.orig	Tue May  2 09:29:37 2006
-+++ nc.cpp	Sat May  6 21:42:59 2006
-@@ -258,7 +258,7 @@
+--- nc.cpp.orig	2017-12-27 12:07:16 UTC
++++ nc.cpp
+@@ -178,7 +178,7 @@ void help(void)
  
  	printf("-f file   what file to monitor (usuallly:\n");
  	printf("-F host:port   connect to a host for retrieving the status.log information\n");
@@ -9,7 +9,7 @@
  	printf("          the nagios.cfg file\n");
  	printf("-i x      check interval (in seconds)\n");
  	printf("-a        list also the services for hosts that are down\n");
-@@ -288,7 +288,7 @@
+@@ -210,7 +210,7 @@ int main(int argc, char *argv[])
  	WINDOW *win;
  	int sw;
  
@@ -18,7 +18,7 @@
  	int interval = 5;
  	char list_all_problems = 0;
  	char always_notify = 0;
-@@ -390,7 +390,7 @@
+@@ -322,7 +322,7 @@ int main(int argc, char *argv[])
  		wattroff(win, COLOR_PAIR(MY_DRAW));
  
  		if (file_mode == 0)	/* file */

Modified: head/net-mgmt/nagcon/files/patch-utils.cpp
==============================================================================
--- head/net-mgmt/nagcon/files/patch-utils.cpp	Fri Jan 12 14:41:35 2018	(r458850)
+++ head/net-mgmt/nagcon/files/patch-utils.cpp	Fri Jan 12 14:47:22 2018	(r458851)
@@ -1,6 +1,6 @@
---- utils.cpp.orig	Thu Feb 28 14:48:39 2008
-+++ utils.cpp	Thu Feb 28 15:11:48 2008
-@@ -29,6 +29,9 @@
+--- utils.cpp.orig	2017-12-27 12:07:16 UTC
++++ utils.cpp
+@@ -10,6 +10,9 @@
  #include <netdb.h>
  #include <sys/types.h>
  #include <sys/socket.h>



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