aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagcon
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-02 01:04:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-02 01:04:36 +0000
commit642d243a1b8ff6db53dbb30de3152c6495527226 (patch)
treeb41bd43ee00442f75e74b68bd1133728ca8ec19d /net-mgmt/nagcon
parent6d8cb2fed2f7c171967079e7b0071a8a770a7fe9 (diff)
downloadports-642d243a1b8ff6db53dbb30de3152c6495527226.tar.gz
ports-642d243a1b8ff6db53dbb30de3152c6495527226.zip
Notes
Diffstat (limited to 'net-mgmt/nagcon')
-rw-r--r--net-mgmt/nagcon/Makefile20
-rw-r--r--net-mgmt/nagcon/distinfo3
-rw-r--r--net-mgmt/nagcon/files/patch-br.h15
-rw-r--r--net-mgmt/nagcon/files/patch-nc.cpp20
-rw-r--r--net-mgmt/nagcon/pkg-descr4
5 files changed, 62 insertions, 0 deletions
diff --git a/net-mgmt/nagcon/Makefile b/net-mgmt/nagcon/Makefile
new file mode 100644
index 000000000000..036d676ddd1d
--- /dev/null
+++ b/net-mgmt/nagcon/Makefile
@@ -0,0 +1,20 @@
+# ports collection makefile for: nagcon
+# Date created: Wed Mar 29 20:41:02 CST 2006
+# Whom: Douglas K. Rand <rand@meridian-enviro.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nagcon
+PORTVERSION= 0.0.13
+CATEGORIES= net-mgmt
+MASTER_SITES= http://www.vanheusden.com/nagcon/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= rand@meridian-enviro.com
+COMMENT= Nagios 2.0 console monitor
+
+USE_GMAKE= YES
+PLIST_FILES= bin/nagcon
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/nagcon/distinfo b/net-mgmt/nagcon/distinfo
new file mode 100644
index 000000000000..f6f6b7f472a8
--- /dev/null
+++ b/net-mgmt/nagcon/distinfo
@@ -0,0 +1,3 @@
+MD5 (nagcon-0.0.13.tgz) = 204a2a397a5c00e14be5ff97f7660658
+SHA256 (nagcon-0.0.13.tgz) = 7a1cdb5b17e71410d2378b2096c59d9b4a773f9c6aa7fbbc66f10114a836231d
+SIZE (nagcon-0.0.13.tgz) = 10667
diff --git a/net-mgmt/nagcon/files/patch-br.h b/net-mgmt/nagcon/files/patch-br.h
new file mode 100644
index 000000000000..586c4b720c1e
--- /dev/null
+++ b/net-mgmt/nagcon/files/patch-br.h
@@ -0,0 +1,15 @@
+--- ./br.h.orig Tue Mar 28 20:54:02 2006
++++ ./br.h Tue Mar 28 20:56:02 2006
+@@ -8,6 +8,12 @@
+ #define likely(x) __builtin_expect((x),1)
+ #define unlikely(x) __builtin_expect((x),0)
+
++/* FreeBSD uses open/stat/lseek/off_t rather than open64/stat64/lseek64/off64_t */
++#define stat64 stat
++#define lseek64 lseek
++#define open64 open
++#define off64_t off_t
++
+ class buffered_reader
+ {
+ private:
diff --git a/net-mgmt/nagcon/files/patch-nc.cpp b/net-mgmt/nagcon/files/patch-nc.cpp
new file mode 100644
index 000000000000..2141fd258dfc
--- /dev/null
+++ b/net-mgmt/nagcon/files/patch-nc.cpp
@@ -0,0 +1,20 @@
+--- ./nc.cpp.orig Tue Mar 28 20:58:16 2006
++++ ./nc.cpp Wed Mar 29 20:39:15 2006
+@@ -182,7 +182,7 @@
+ version();
+
+ printf("-f file what file to monitor (usuallly:\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(" 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 @@
+ WINDOW *win;
+ int sw;
+
+- char *statuslog = "/usr/local/nagios/var/status.log";
++ char *statuslog = "/var/spool/nagios/status.dat";
+ int interval = 5;
+ char list_all_problems = 0;
+ char always_notify = 0;
diff --git a/net-mgmt/nagcon/pkg-descr b/net-mgmt/nagcon/pkg-descr
new file mode 100644
index 000000000000..6b5ebf5e55e7
--- /dev/null
+++ b/net-mgmt/nagcon/pkg-descr
@@ -0,0 +1,4 @@
+Nagcon is a console application interfacing to Nagios 2.0 which gives
+you an overview of all services with troubled services.
+
+WWW: http://www.vanheusden.com/nagcon