svn commit: r442733 - in head/net-mgmt: . cacti-spine cacti88-spine
Danilo G. Baio
dbaio at FreeBSD.org
Tue Jun 6 01:10:35 UTC 2017
Author: dbaio
Date: Tue Jun 6 01:10:34 2017
New Revision: 442733
URL: https://svnweb.freebsd.org/changeset/ports/442733
Log:
Repocopy from net-mgmt/cacti-spine (r419786) -> net-mgmt/cacti88-spine
Multithreaded poller for Cacti written in C
New releases of Cacti are still unable to work with useful plugins like
"GPS Map" and "Network Weathermap".
PR: 219686
Submitted by: Vinicius Zavam <egypcio at googlemail.com>
Approved by: garga (mentor)
Differential Revision: https://reviews.freebsd.org/D11024
Added:
head/net-mgmt/cacti88-spine/
- copied from r419786, head/net-mgmt/cacti-spine/
Modified:
head/net-mgmt/Makefile
head/net-mgmt/cacti-spine/Makefile
head/net-mgmt/cacti88-spine/Makefile
head/net-mgmt/cacti88-spine/pkg-descr
Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile Tue Jun 6 00:56:57 2017 (r442732)
+++ head/net-mgmt/Makefile Tue Jun 6 01:10:34 2017 (r442733)
@@ -28,6 +28,7 @@
SUBDIR += cacti
SUBDIR += cacti-spine
SUBDIR += cacti88
+ SUBDIR += cacti88-spine
SUBDIR += ccnet-client
SUBDIR += ccnet-server
SUBDIR += cdpd
Modified: head/net-mgmt/cacti-spine/Makefile
==============================================================================
--- head/net-mgmt/cacti-spine/Makefile Tue Jun 6 00:56:57 2017 (r442732)
+++ head/net-mgmt/cacti-spine/Makefile Tue Jun 6 01:10:34 2017 (r442733)
@@ -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
Modified: head/net-mgmt/cacti88-spine/Makefile
==============================================================================
--- head/net-mgmt/cacti-spine/Makefile Sun Aug 7 20:52:34 2016 (r419786)
+++ head/net-mgmt/cacti88-spine/Makefile Tue Jun 6 01:10:34 2017 (r442733)
@@ -5,21 +5,28 @@ PORTNAME= spine
PORTVERSION= 0.8.8h
CATEGORIES= net-mgmt
MASTER_SITES= http://www.cacti.net/downloads/${PORTNAME}/
+PKGNAMEPREFIX= cacti88-
DISTNAME= cacti-${PORTNAME}-${PORTVERSION}
-MAINTAINER= skreuzer at FreeBSD.org
+MAINTAINER= egypcio at googlemail.com
COMMENT= Multithreaded poller for Cacti written in C
-LICENSE= GPLv2
+LICENSE= LGPL21+
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= help2man:misc/help2man
-LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
+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
Modified: head/net-mgmt/cacti88-spine/pkg-descr
==============================================================================
--- head/net-mgmt/cacti-spine/pkg-descr Sun Aug 7 20:52:34 2016 (r419786)
+++ head/net-mgmt/cacti88-spine/pkg-descr Tue Jun 6 01:10:34 2017 (r442733)
@@ -1,8 +1,7 @@
-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.
+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://www.cacti.net/cactid_info.php
+WWW: http://cacti.net/spine_info.php
More information about the svn-ports-all
mailing list