summaryrefslogtreecommitdiff
path: root/net-mgmt/cacti-spine
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-02-26 21:16:23 +0000
committerClement Laforet <clement@FreeBSD.org>2005-02-26 21:16:23 +0000
commitded858b341cc272a01e4d56700a407d2a916b6c6 (patch)
treed0dd0c8d22b1a22233012c4d8107cc7df2fc4670 /net-mgmt/cacti-spine
parentUpgrade to 050225. (diff)
- 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
Notes
Notes: svn path=/head/; revision=129856
Diffstat (limited to 'net-mgmt/cacti-spine')
-rw-r--r--net-mgmt/cacti-spine/Makefile34
-rw-r--r--net-mgmt/cacti-spine/distinfo2
-rw-r--r--net-mgmt/cacti-spine/pkg-descr8
-rw-r--r--net-mgmt/cacti-spine/pkg-plist14
4 files changed, 58 insertions, 0 deletions
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 <bsd.port.mk>
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%%