summaryrefslogtreecommitdiff
path: root/net-mgmt/nagcon
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-01-12 14:47:22 +0000
committerSteve Wills <swills@FreeBSD.org>2018-01-12 14:47:22 +0000
commit0c8d76fca72328cc923c6ec78841a983adf5fb13 (patch)
tree305469f8102205500ecc2b5173ef6b69b2c0934e /net-mgmt/nagcon
parenteditors/with-editor: update to 2.7.1 (diff)
net-mgmt/nagcon: update to 0.0.31
PR: 224650 Submitted by: <rand@iteris.com> (maintainer under different email)
Notes
Notes: svn path=/head/; revision=458851
Diffstat (limited to 'net-mgmt/nagcon')
-rw-r--r--net-mgmt/nagcon/Makefile4
-rw-r--r--net-mgmt/nagcon/distinfo5
-rw-r--r--net-mgmt/nagcon/files/patch-br.cpp6
-rw-r--r--net-mgmt/nagcon/files/patch-br.h6
-rw-r--r--net-mgmt/nagcon/files/patch-nc.cpp10
-rw-r--r--net-mgmt/nagcon/files/patch-utils.cpp6
6 files changed, 19 insertions, 18 deletions
diff --git a/net-mgmt/nagcon/Makefile b/net-mgmt/nagcon/Makefile
index fbda4b45a640..ac6eaa18f040 100644
--- a/net-mgmt/nagcon/Makefile
+++ b/net-mgmt/nagcon/Makefile
@@ -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}
diff --git a/net-mgmt/nagcon/distinfo b/net-mgmt/nagcon/distinfo
index dc8afa929c40..8c1f21548616 100644
--- a/net-mgmt/nagcon/distinfo
+++ b/net-mgmt/nagcon/distinfo
@@ -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
diff --git a/net-mgmt/nagcon/files/patch-br.cpp b/net-mgmt/nagcon/files/patch-br.cpp
index 7d2b4b35e175..a56f8a045a99 100644
--- a/net-mgmt/nagcon/files/patch-br.cpp
+++ b/net-mgmt/nagcon/files/patch-br.cpp
@@ -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>
diff --git a/net-mgmt/nagcon/files/patch-br.h b/net-mgmt/nagcon/files/patch-br.h
index 586c4b720c1e..55976d409430 100644
--- a/net-mgmt/nagcon/files/patch-br.h
+++ b/net-mgmt/nagcon/files/patch-br.h
@@ -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)
diff --git a/net-mgmt/nagcon/files/patch-nc.cpp b/net-mgmt/nagcon/files/patch-nc.cpp
index 05943c4ac88d..7289f18f42ac 100644
--- a/net-mgmt/nagcon/files/patch-nc.cpp
+++ b/net-mgmt/nagcon/files/patch-nc.cpp
@@ -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 */
diff --git a/net-mgmt/nagcon/files/patch-utils.cpp b/net-mgmt/nagcon/files/patch-utils.cpp
index f79864dd06c9..d4be5394379a 100644
--- a/net-mgmt/nagcon/files/patch-utils.cpp
+++ b/net-mgmt/nagcon/files/patch-utils.cpp
@@ -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>