svn commit: r496565 - in head/net-mgmt: . cnagios4
Dan Langille
dvl at FreeBSD.org
Fri Mar 22 13:22:42 UTC 2019
Author: dvl
Date: Fri Mar 22 13:22:40 2019
New Revision: 496565
URL: https://svnweb.freebsd.org/changeset/ports/496565
Log:
Add cnagios4, based on net-mgmt/cnagios but uses Nagios 4
Why not create options on net-mgmt/cnagios for Nagios 3 or 4?
Because one can use both Nagios 3 and Nagios 4 and therefore
you need different packages in your repo.
PR: 236245
Added:
head/net-mgmt/cnagios4/
- copied from r496561, head/net-mgmt/cnagios/
Modified:
head/net-mgmt/Makefile
head/net-mgmt/cnagios4/Makefile
head/net-mgmt/cnagios4/pkg-descr
Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile Fri Mar 22 13:19:10 2019 (r496564)
+++ head/net-mgmt/Makefile Fri Mar 22 13:22:40 2019 (r496565)
@@ -50,6 +50,7 @@
SUBDIR += ciscoconf
SUBDIR += clog
SUBDIR += cnagios
+ SUBDIR += cnagios4
SUBDIR += collectd5
SUBDIR += confregdecode
SUBDIR += coovachilli
Modified: head/net-mgmt/cnagios4/Makefile
==============================================================================
--- head/net-mgmt/cnagios/Makefile Fri Mar 22 12:29:37 2019 (r496561)
+++ head/net-mgmt/cnagios4/Makefile Fri Mar 22 13:22:40 2019 (r496565)
@@ -1,17 +1,22 @@
-# Created by: Alexander Y. Grigoryev <alexander.4mail at gmail.com>
+# Created by: Dan Langille <dvl at FreeBSD.org>
# $FreeBSD$
PORTNAME= cnagios
PORTVERSION= 0.32
CATEGORIES= net-mgmt
+PKGNAMESUFFIX= 4
-MAINTAINER= danny at dannywarren.com
+MAINTAINER= dvl at FreeBSD.org
COMMENT= Curses-based interface for nagios
LICENSE= ISCL
-RUN_DEPENDS= nagios>=3.0:net-mgmt/nagios
+RUN_DEPENDS= nagios4>=3.0:net-mgmt/nagios4
+USES= ncurses perl5
+
+CONFLICTS_INSTALL= cnagios
+
USE_GITHUB= yes
GH_ACCOUNT= dannywarren
@@ -22,7 +27,6 @@ CONFIGURE_ARGS= --with-etc-dir="${ETCDIR}" \
--with-var-dir="${NAGIOSDIR}" \
--with-status-file="${NAGIOSDIR}/status.dat" \
--with-nagios-data=3
-USES= ncurses perl5
MAKE_ARGS= LIBS="-lncurses"
ALL_TARGET= cnagios
Modified: head/net-mgmt/cnagios4/pkg-descr
==============================================================================
--- head/net-mgmt/cnagios/pkg-descr Fri Mar 22 12:29:37 2019 (r496561)
+++ head/net-mgmt/cnagios4/pkg-descr Fri Mar 22 13:22:40 2019 (r496565)
@@ -1 +1,8 @@
-Curses-based interface for nagios.
+Cnagios is a full-screen terminal interface for viewing Nagios HOST
+and SERVICE objects, and the durations of their current states. It's
+lightning fast because it's written in C using the curses library.
+And it's super flexible because it uses the perl C library to shorten
+and alter host, service and plugin output and filter the displayed
+HOSTs or SERVICEs.
+
+WWW: https://github.com/dannywarren/cnagios
More information about the svn-ports-all
mailing list