aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-05-07 19:58:57 +0800
committerpav <pav@FreeBSD.org>2006-05-07 19:58:57 +0800
commit0ae034a2fa3c9286e8103309299defeaf24f1d8d (patch)
treed40eca606dd06aab92a5d5b7a7cfd9f33cf1436b /net-mgmt
parent8005ba9feddee575e0ef02709a60d6640f750f5e (diff)
downloadfreebsd-ports-gnome-0ae034a2fa3c9286e8103309299defeaf24f1d8d.tar.gz
freebsd-ports-gnome-0ae034a2fa3c9286e8103309299defeaf24f1d8d.tar.zst
freebsd-ports-gnome-0ae034a2fa3c9286e8103309299defeaf24f1d8d.zip
- Update to 0.0.14
PR: ports/96895 Submitted by: Douglas K. Rand <rand@meridian-enviro.com> (maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagcon/Makefile2
-rw-r--r--net-mgmt/nagcon/distinfo6
-rw-r--r--net-mgmt/nagcon/files/patch-nc.cpp25
3 files changed, 21 insertions, 12 deletions
diff --git a/net-mgmt/nagcon/Makefile b/net-mgmt/nagcon/Makefile
index 036d676ddd1d..78647ffa87a9 100644
--- a/net-mgmt/nagcon/Makefile
+++ b/net-mgmt/nagcon/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nagcon
-PORTVERSION= 0.0.13
+PORTVERSION= 0.0.14
CATEGORIES= net-mgmt
MASTER_SITES= http://www.vanheusden.com/nagcon/
EXTRACT_SUFX= .tgz
diff --git a/net-mgmt/nagcon/distinfo b/net-mgmt/nagcon/distinfo
index f6f6b7f472a8..1c64b39cb958 100644
--- a/net-mgmt/nagcon/distinfo
+++ b/net-mgmt/nagcon/distinfo
@@ -1,3 +1,3 @@
-MD5 (nagcon-0.0.13.tgz) = 204a2a397a5c00e14be5ff97f7660658
-SHA256 (nagcon-0.0.13.tgz) = 7a1cdb5b17e71410d2378b2096c59d9b4a773f9c6aa7fbbc66f10114a836231d
-SIZE (nagcon-0.0.13.tgz) = 10667
+MD5 (nagcon-0.0.14.tgz) = 526bc4eb3986b8d5961a3995c449ef91
+SHA256 (nagcon-0.0.14.tgz) = 6bdbf7217868a0a6c393aa74daed8408f6f5c32fa0888d9fcc267f9de1e2e32e
+SIZE (nagcon-0.0.14.tgz) = 13215
diff --git a/net-mgmt/nagcon/files/patch-nc.cpp b/net-mgmt/nagcon/files/patch-nc.cpp
index 2141fd258dfc..05943c4ac88d 100644
--- a/net-mgmt/nagcon/files/patch-nc.cpp
+++ b/net-mgmt/nagcon/files/patch-nc.cpp
@@ -1,20 +1,29 @@
---- ./nc.cpp.orig Tue Mar 28 20:58:16 2006
-+++ ./nc.cpp Wed Mar 29 20:39:15 2006
-@@ -182,7 +182,7 @@
- version();
+--- nc.cpp.orig Tue May 2 09:29:37 2006
++++ nc.cpp Sat May 6 21:42:59 2006
+@@ -258,7 +258,7 @@
printf("-f file what file to monitor (usuallly:\n");
+ printf("-F host:port connect to a host for retrieving the status.log information\n");
- printf(" /usr/local/nagios/var/status.log, look for status_file in\n");
-+ printf(" /var/spool/nagios/status.dat, look for status_file in\n");
++ printf(" /var/spool/nagios/status.log, look for status_file in\n");
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");
-@@ -208,7 +208,7 @@
+@@ -288,7 +288,7 @@
WINDOW *win;
int sw;
-- char *statuslog = "/usr/local/nagios/var/status.log";
-+ char *statuslog = "/var/spool/nagios/status.dat";
+- char *status_log = "/usr/local/nagios/var/status.log";
++ char *status_log = "/var/spool/nagios/status.log";
int interval = 5;
char list_all_problems = 0;
char always_notify = 0;
+@@ -390,7 +390,7 @@
+ wattroff(win, COLOR_PAIR(MY_DRAW));
+
+ if (file_mode == 0) /* file */
+- fd = open64(status_log, O_RDONLY);
++ fd = open(status_log, O_RDONLY);
+ else
+ fd = connect_to(status_log);
+