aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagcon
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-05-07 11:58:57 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-05-07 11:58:57 +0000
commitb8392b2dae8c0ffed7a79acd0699ff9a7a98b0f0 (patch)
treebf8ad15fe87a1bb2eb27ebb54e219e411d79829c /net-mgmt/nagcon
parent1a7030209ec66cf1606be39304dde8f82e5709a9 (diff)
downloadports-b8392b2dae8c0ffed7a79acd0699ff9a7a98b0f0.tar.gz
ports-b8392b2dae8c0ffed7a79acd0699ff9a7a98b0f0.zip
Notes
Diffstat (limited to 'net-mgmt/nagcon')
-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);
+