View | Details | Raw Unified | Return to bug 224650
Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	nagcon
4
PORTNAME=	nagcon
5
PORTVERSION=	0.0.30
5
PORTVERSION=	0.0.31
6
CATEGORIES=	net-mgmt
6
CATEGORIES=	net-mgmt
7
MASTER_SITES=	http://www.vanheusden.com/nagcon/
7
MASTER_SITES=	http://www.vanheusden.com/nagcon/
8
8
Lines 18-24 Link Here
18
18
19
USES=		ncurses tar:tgz
19
USES=		ncurses tar:tgz
20
CFLAGS+=	-DVERSION=\"${PORTVERSION}\" -I${LOCALBASE}/include
20
CFLAGS+=	-DVERSION=\"${PORTVERSION}\" -I${LOCALBASE}/include
21
LDFLAGS+=	-lncurses -lstdc++ -L${LOCALBASE}/lib -lstrfunc
21
LDFLAGS+=	-lncurses -lstdc++ -L${LOCALBASE}/lib -lstrfunc -ltinfo
22
22
23
do-build:
23
do-build:
24
	${CC} ${CFLAGS} -c -o ${WRKSRC}/${CFILES:C/\.c//}.o ${WRKSRC}/${CFILES}
24
	${CC} ${CFLAGS} -c -o ${WRKSRC}/${CFILES:C/\.c//}.o ${WRKSRC}/${CFILES}
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (nagcon-0.0.30.tgz) = e115f62fdd315b85dfe3a4d0e52a17e7e10ae064b012caa45f4b5dc50889020e
1
TIMESTAMP = 1514478086
2
SIZE (nagcon-0.0.30.tgz) = 15479
2
SHA256 (nagcon-0.0.31.tgz) = 592a3607fb7ac3e7f530e3560f4027bcac43dfb15977680e797769e7aca22da1
3
SIZE (nagcon-0.0.31.tgz) = 15745
(-)files/patch-br.cpp (-3 / +3 lines)
Lines 1-6 Link Here
1
--- br.cpp.orig	Thu Feb 28 15:12:00 2008
1
--- br.cpp.orig	2017-12-27 12:07:16 UTC
2
+++ br.cpp	Thu Feb 28 15:12:12 2008
2
+++ br.cpp
3
@@ -28,6 +28,7 @@
3
@@ -12,6 +12,7 @@
4
 #include <sys/mman.h>
4
 #include <sys/mman.h>
5
 #include <fcntl.h>
5
 #include <fcntl.h>
6
 #include <syslog.h>
6
 #include <syslog.h>
(-)files/patch-br.h (-3 / +3 lines)
Lines 1-6 Link Here
1
--- ./br.h.orig	Tue Mar 28 20:54:02 2006
1
--- br.h.orig	2017-12-27 12:07:16 UTC
2
+++ ./br.h	Tue Mar 28 20:56:02 2006
2
+++ br.h
3
@@ -8,6 +8,12 @@
3
@@ -10,6 +10,12 @@
4
 #define likely(x)       __builtin_expect((x),1)
4
 #define likely(x)       __builtin_expect((x),1)
5
 #define unlikely(x)     __builtin_expect((x),0)
5
 #define unlikely(x)     __builtin_expect((x),0)
6
 
6
 
(-)files/patch-nc.cpp (-5 / +5 lines)
Lines 1-6 Link Here
1
--- nc.cpp.orig	Tue May  2 09:29:37 2006
1
--- nc.cpp.orig	2017-12-27 12:07:16 UTC
2
+++ nc.cpp	Sat May  6 21:42:59 2006
2
+++ nc.cpp
3
@@ -258,7 +258,7 @@
3
@@ -178,7 +178,7 @@ void help(void)
4
 
4
 
5
 	printf("-f file   what file to monitor (usuallly:\n");
5
 	printf("-f file   what file to monitor (usuallly:\n");
6
 	printf("-F host:port   connect to a host for retrieving the status.log information\n");
6
 	printf("-F host:port   connect to a host for retrieving the status.log information\n");
Lines 9-15 Link Here
9
 	printf("          the nagios.cfg file\n");
9
 	printf("          the nagios.cfg file\n");
10
 	printf("-i x      check interval (in seconds)\n");
10
 	printf("-i x      check interval (in seconds)\n");
11
 	printf("-a        list also the services for hosts that are down\n");
11
 	printf("-a        list also the services for hosts that are down\n");
12
@@ -288,7 +288,7 @@
12
@@ -210,7 +210,7 @@ int main(int argc, char *argv[])
13
 	WINDOW *win;
13
 	WINDOW *win;
14
 	int sw;
14
 	int sw;
15
 
15
 
Lines 18-24 Link Here
18
 	int interval = 5;
18
 	int interval = 5;
19
 	char list_all_problems = 0;
19
 	char list_all_problems = 0;
20
 	char always_notify = 0;
20
 	char always_notify = 0;
21
@@ -390,7 +390,7 @@
21
@@ -322,7 +322,7 @@ int main(int argc, char *argv[])
22
 		wattroff(win, COLOR_PAIR(MY_DRAW));
22
 		wattroff(win, COLOR_PAIR(MY_DRAW));
23
 
23
 
24
 		if (file_mode == 0)	/* file */
24
 		if (file_mode == 0)	/* file */
(-)files/patch-utils.cpp (-3 / +3 lines)
Lines 1-6 Link Here
1
--- utils.cpp.orig	Thu Feb 28 14:48:39 2008
1
--- utils.cpp.orig	2017-12-27 12:07:16 UTC
2
+++ utils.cpp	Thu Feb 28 15:11:48 2008
2
+++ utils.cpp
3
@@ -29,6 +29,9 @@
3
@@ -10,6 +10,9 @@
4
 #include <netdb.h>
4
 #include <netdb.h>
5
 #include <sys/types.h>
5
 #include <sys/types.h>
6
 #include <sys/socket.h>
6
 #include <sys/socket.h>

Return to bug 224650