diff options
author | sergei <sergei@FreeBSD.org> | 2003-12-14 06:47:09 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2003-12-14 06:47:09 +0800 |
commit | 98e79e1544c94c85c0c08431a6a877b2441807b7 (patch) | |
tree | 456177252bd12732e98880bf6b91a9f762bfe7a9 /net | |
parent | 98b92f23424c47408ca6cfbc46bd1ea76b03c396 (diff) | |
download | freebsd-ports-gnome-98e79e1544c94c85c0c08431a6a877b2441807b7.tar.gz freebsd-ports-gnome-98e79e1544c94c85c0c08431a6a877b2441807b7.tar.zst freebsd-ports-gnome-98e79e1544c94c85c0c08431a6a877b2441807b7.zip |
Add nsca 2.4, Nagios Service Check Acceptor.
The Nagios Service Check Acceptor (NSCA) is used to send service check
results to a central Nagios server. This consists of the "nsca" daemon
which runs on the main Nagios server and accepts results and the
"check_nsca" plugin which is used to send results to the server.
Author: Ethan Galstad
WWW: http://www.nagios.org/
PR: 59436
Submitted by: Paul Dlug <paul@nerdlabs.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/nsca/Makefile | 40 | ||||
-rw-r--r-- | net/nsca/distinfo | 1 | ||||
-rw-r--r-- | net/nsca/pkg-descr | 7 | ||||
-rw-r--r-- | net/nsca/pkg-plist | 12 |
5 files changed, 61 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 757ec2d06c0f..9ce09075a65d 100644 --- a/net/Makefile +++ b/net/Makefile @@ -388,6 +388,7 @@ SUBDIR += nrpep SUBDIR += ns SUBDIR += nsc + SUBDIR += nsca SUBDIR += nss_ldap SUBDIR += nstreams SUBDIR += ntalk diff --git a/net/nsca/Makefile b/net/nsca/Makefile new file mode 100644 index 000000000000..76d7988fa36d --- /dev/null +++ b/net/nsca/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: nsca +# Date created: 2003-11-18 +# Whom: Paul Dlug <paul@nerdlabs.com> +# +# $FreeBSD$ +# + +PORTNAME= nsca +PORTVERSION= 2.4 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= nagios + +MAINTAINER= paul@nerdlabs.com +COMMENT= Nagios Service Check Acceptor + +BUILD_DEPENDS= ${NAGIOS_DIR}:${PORTSDIR}/net/nagios +RUN_DEPENDS= ${NAGIOS_DIR}:${PORTSDIR}/net/nagios +LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} --localstatedir=/var/spool/nagios + +NAGIOS_DIR= ${LOCALBASE}/libexec/nagios +CONF_DIR= ${LOCALBASE}/etc/nagios + +DOCS= Changelog LEGAL README SECURITY + +# NOTE: this port installs into ${LOCALBASE} instead of ${PREFIX} +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/nsca ${NAGIOS_DIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/send_nsca ${NAGIOS_DIR} + ${INSTALL_DATA} ${WRKSRC}/nsca.cfg ${CONF_DIR}/nsca.cfg.sample + ${INSTALL_DATA} ${WRKSRC}/send_nsca.cfg ${CONF_DIR}/send_nsca.cfg.sample +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/net/nsca/distinfo b/net/nsca/distinfo new file mode 100644 index 000000000000..cbc77145878f --- /dev/null +++ b/net/nsca/distinfo @@ -0,0 +1 @@ +MD5 (nsca-2.4.tar.gz) = ab58553a87940f574ec54189a43a70bc diff --git a/net/nsca/pkg-descr b/net/nsca/pkg-descr new file mode 100644 index 000000000000..bb5b01afa3a4 --- /dev/null +++ b/net/nsca/pkg-descr @@ -0,0 +1,7 @@ +The Nagios Service Check Acceptor (NSCA) is used to send service check +results to a central Nagios server. This consists of the "nsca" daemon +which runs on the main Nagios server and accepts results and the +"check_nsca" plugin which is used to send results to the server. + +Author: Ethan Galstad +WWW: http://www.nagios.org/ diff --git a/net/nsca/pkg-plist b/net/nsca/pkg-plist new file mode 100644 index 000000000000..a74df080477d --- /dev/null +++ b/net/nsca/pkg-plist @@ -0,0 +1,12 @@ +@comment $FreeBSD$ +%%PORTDOCS%%%%DOCSDIR%%/Changelog +%%PORTDOCS%%%%DOCSDIR%%/LEGAL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/SECURITY +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@comment This port installs into LOCALBASE as opposed to PREFIX +@cwd %%LOCALBASE%% +etc/nagios/nsca.cfg.sample +etc/nagios/send_nsca.cfg.sample +libexec/nagios/nsca +libexec/nagios/send_nsca |