View | Details | Raw Unified | Return to bug 219686
Collapse All | Expand All

(-)net-mgmt/cacti88-spine/Makefile (+34 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	spine
4
PORTVERSION=	0.8.8h
5
CATEGORIES=	net-mgmt
6
MASTER_SITES=	http://www.cacti.net/downloads/spine/
7
DISTNAME=	cacti-spine-${PORTVERSION}
8
9
MAINTAINER=	egypcio@googlemail.com
10
COMMENT=	Unofficial/experimental version of net-mgmt/cacti-spine
11
12
LICENSE=	GPLv2
13
14
BUILD_DEPENDS=	help2man:misc/help2man
15
LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp
16
17
GNU_CONFIGURE=	YES
18
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE}
19
CPPFLAGS+=	`net-snmp-config --cflags`
20
LDFLAGS+=	`net-snmp-config --libs`
21
USES=		libtool mysql ssl
22
23
CONFLICTS=	spine-[1-9]*
24
25
post-patch:
26
	@${REINPLACE_CMD} 's,#define\ *DEFAULT_CONF_FILE .*,#define DEFAULT_CONF_FILE "${PREFIX}/etc/spine.conf",' ${WRKSRC}/spine.h
27
28
do-build:
29
	@cd ${WRKSRC}; ${MAKE}
30
31
post-install:
32
	${MV} ${STAGEDIR}${PREFIX}/etc/spine.conf.dist ${STAGEDIR}${PREFIX}/etc/spine.conf.sample
33
34
.include <bsd.port.mk>
(-)net-mgmt/cacti88-spine/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1493819113
2
SHA256 (cacti-spine-0.8.8h.tar.gz) = a693136839bd7d03cae5b3ff4614a4d21a2153ffb14d09fc061b843ab0b2bb30
3
SIZE (cacti-spine-0.8.8h.tar.gz) = 804951
(-)net-mgmt/cacti88-spine/pkg-descr (+9 lines)
Line 0 Link Here
1
Spine is a poller for Cacti that primarily strives to be as fast as
2
possible. For this reason it is written in native C, makes use of POSIX
3
threads, and is linked directly against the net-snmp library for
4
minimal SNMP polling overhead.
5
6
It's a replacement for the default 'poller.php' script, so you must 
7
decide if using Spine makes sense for your installation.
8
9
WWW: http://cacti.net/spine_info.php
(-)net-mgmt/cacti88-spine/pkg-plist (+2 lines)
Line 0 Link Here
1
@sample etc/spine.conf.sample
2
bin/spine

Return to bug 219686