diff options
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/cacti-spine/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/cacti88-spine/Makefile | 40 | ||||
-rw-r--r-- | net-mgmt/cacti88-spine/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/cacti88-spine/pkg-descr | 7 | ||||
-rw-r--r-- | net-mgmt/cacti88-spine/pkg-plist | 2 |
6 files changed, 55 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 88ebb5e2bfeb..1623ee68effa 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -28,6 +28,7 @@ SUBDIR += cacti SUBDIR += cacti-spine SUBDIR += cacti88 + SUBDIR += cacti88-spine SUBDIR += ccnet-client SUBDIR += ccnet-server SUBDIR += cdpd diff --git a/net-mgmt/cacti-spine/Makefile b/net-mgmt/cacti-spine/Makefile index 6a8556fad4f1..ad96d1221033 100644 --- a/net-mgmt/cacti-spine/Makefile +++ b/net-mgmt/cacti-spine/Makefile @@ -22,6 +22,8 @@ CPPFLAGS+= `net-snmp-config --cflags` LDFLAGS+= `net-snmp-config --libs` USES= libtool mysql ssl +CONFLICTS_INSTALL= cacti88 + post-patch: @${REINPLACE_CMD} 's,#define\ *DEFAULT_CONF_FILE .*,#define DEFAULT_CONF_FILE "${PREFIX}/etc/spine.conf",' ${WRKSRC}/spine.h diff --git a/net-mgmt/cacti88-spine/Makefile b/net-mgmt/cacti88-spine/Makefile new file mode 100644 index 000000000000..dae1b054d227 --- /dev/null +++ b/net-mgmt/cacti88-spine/Makefile @@ -0,0 +1,40 @@ +# Created by: clement@FreeBSD.org +# $FreeBSD$ + +PORTNAME= spine +PORTVERSION= 0.8.8h +CATEGORIES= net-mgmt +MASTER_SITES= http://www.cacti.net/downloads/${PORTNAME}/ +PKGNAMEPREFIX= cacti88- +DISTNAME= cacti-${PORTNAME}-${PORTVERSION} + +MAINTAINER= egypcio@googlemail.com +COMMENT= Multithreaded poller for Cacti written in C + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= help2man:misc/help2man +LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ + libpkg.so:ports-mgmt/pkg + +GNU_CONFIGURE= YES +CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE} +CPPFLAGS+= `net-snmp-config --cflags` +LDFLAGS+= `net-snmp-config --libs` +USES= libtool mysql ssl + +CONFLICTS_INSTALL= cacti spine + +PORTSCOUT= limit:^0.* + +post-patch: + @${REINPLACE_CMD} 's,#define\ *DEFAULT_CONF_FILE .*,#define DEFAULT_CONF_FILE "${PREFIX}/etc/spine.conf",' ${WRKSRC}/spine.h + +do-build: + @cd ${WRKSRC}; ${MAKE} + +post-install: + ${MV} ${STAGEDIR}${PREFIX}/etc/spine.conf.dist ${STAGEDIR}${PREFIX}/etc/spine.conf.sample + +.include <bsd.port.mk> diff --git a/net-mgmt/cacti88-spine/distinfo b/net-mgmt/cacti88-spine/distinfo new file mode 100644 index 000000000000..81e346048f46 --- /dev/null +++ b/net-mgmt/cacti88-spine/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1470602099 +SHA256 (cacti-spine-0.8.8h.tar.gz) = a693136839bd7d03cae5b3ff4614a4d21a2153ffb14d09fc061b843ab0b2bb30 +SIZE (cacti-spine-0.8.8h.tar.gz) = 804951 diff --git a/net-mgmt/cacti88-spine/pkg-descr b/net-mgmt/cacti88-spine/pkg-descr new file mode 100644 index 000000000000..161d137cf447 --- /dev/null +++ b/net-mgmt/cacti88-spine/pkg-descr @@ -0,0 +1,7 @@ +Spine, formerly 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. Spine is a replacement for the default cmd.php poller so you +must decide if using Spine makes sense for your installation. + +WWW: http://cacti.net/spine_info.php diff --git a/net-mgmt/cacti88-spine/pkg-plist b/net-mgmt/cacti88-spine/pkg-plist new file mode 100644 index 000000000000..152c17fb2b6a --- /dev/null +++ b/net-mgmt/cacti88-spine/pkg-plist @@ -0,0 +1,2 @@ +bin/spine +@sample etc/spine.conf.sample |