From ded858b341cc272a01e4d56700a407d2a916b6c6 Mon Sep 17 00:00:00 2001 From: Clement Laforet Date: Sat, 26 Feb 2005 21:16:23 +0000 Subject: - Add cactid 0.8.6d Cactid is a poller for Cacti that primarily strives to be as fast as possible. For this reason it is written in native C, makes use of POSIX threads, and is linked directly against the net-snmp library for minmumal SNMP polling overhead. Cactid is a replacement for the default cmd.php poller so you must decide if using Cactid makes sense for your installation. WWW: http://www.cacti.net/cactid_info.php --- net-mgmt/cacti-spine/Makefile | 34 ++++++++++++++++++++++++++++++++++ net-mgmt/cacti-spine/distinfo | 2 ++ net-mgmt/cacti-spine/pkg-descr | 8 ++++++++ net-mgmt/cacti-spine/pkg-plist | 14 ++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 net-mgmt/cacti-spine/Makefile create mode 100644 net-mgmt/cacti-spine/distinfo create mode 100644 net-mgmt/cacti-spine/pkg-descr create mode 100644 net-mgmt/cacti-spine/pkg-plist (limited to 'net-mgmt/cacti-spine') diff --git a/net-mgmt/cacti-spine/Makefile b/net-mgmt/cacti-spine/Makefile new file mode 100644 index 000000000000..00e4525a509e --- /dev/null +++ b/net-mgmt/cacti-spine/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: cactid +# Date created: Feb 26 2005 +# Whom: clement@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= cactid +PORTVERSION= 0.8.6.d +CATEGORIES= net +MASTER_SITES= http://www.cacti.net/downloads/cactid/ +DISTNAME= cacti-${PORTNAME}-0.8.6d + +MAINTAINER= ports@FreeBSD.org +COMMENT= A multithreaded poller for Cacti written in C + +LIB_DEPENDS= netsnmp.7:${PORTSDIR}/net-mgmt/net-snmp + +GNU_CONFIGURE= YES +USE_MYSQL= YES +USE_OPENSSL= YES +USE_REINPLACE= YES + +post-patch: + @${REINPLACE_CMD} 's,%%PREFIX%%,${PREFIX},' \ + ${WRKSRC}/cactid.h + +post-install: + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/cactid.conf ${EXAMPLESDIR} + @[ -e ${PREFIX}/etc/cactid.conf ] || \ + ${INSTALL_DATA} ${EXAMPLESDIR}/cactid.conf ${PREFIX}/etc/ + +.include diff --git a/net-mgmt/cacti-spine/distinfo b/net-mgmt/cacti-spine/distinfo new file mode 100644 index 000000000000..7c4d486b6094 --- /dev/null +++ b/net-mgmt/cacti-spine/distinfo @@ -0,0 +1,2 @@ +MD5 (cacti-cactid-0.8.6d.tar.gz) = 8fbd96cbe73af9cd3a7dc2e5de1f0a92 +SIZE (cacti-cactid-0.8.6d.tar.gz) = 115333 diff --git a/net-mgmt/cacti-spine/pkg-descr b/net-mgmt/cacti-spine/pkg-descr new file mode 100644 index 000000000000..bf46eb143990 --- /dev/null +++ b/net-mgmt/cacti-spine/pkg-descr @@ -0,0 +1,8 @@ +Cactid is a poller for Cacti that primarily strives to be as fast as +possible. For this reason it is written in native C, makes use of POSIX +threads, and is linked directly against the net-snmp library for +minmumal SNMP polling overhead. Cactid is a replacement for the default +cmd.php poller so you must decide if using Cactid makes sense for your +installation. + +WWW: http://www.cacti.net/cactid_info.php diff --git a/net-mgmt/cacti-spine/pkg-plist b/net-mgmt/cacti-spine/pkg-plist new file mode 100644 index 000000000000..79c4f4cfe306 --- /dev/null +++ b/net-mgmt/cacti-spine/pkg-plist @@ -0,0 +1,14 @@ +bin/cactid +@unexec if cmp -s %D/etc/cactid.conf %D/%%EXAMPLESDIR%%/cactid.conf; then rm -f %D/etc/cactid.conf; fi +%%EXAMPLESDIR%%/cactid.conf +@exec [ -f %D/etc/cactid.conf ] || cp %D/%%EXAMPLESDIR%%/httpd-std.conf %D/etc/cactid.conf +include/cactid.h +include/common.h +include/locks.h +include/nft_popen.h +include/php.h +include/poller.h +include/snmp.h +include/sql.h +include/util.h +@dirrm %%EXAMPLESDIR%% -- cgit v1.2.3