mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
net-mgmt/nagcon: update to 0.0.31
PR: 224650 Submitted by: <rand@iteris.com> (maintainer under different email)
This commit is contained in:
parent
a7168dee60
commit
0c8d76fca7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458851
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user