ChangeLog

# ChangeLog for net-analyzer/cacti-spine
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v 1.8 2008/05/19 16:52:49 pva Exp $

19 May 2008; Peter Volkov cacti-spine-0.8.7a.ebuild:
Fixed typo in postinstall message, bug #222801, thank Chris Lee for
report.

27 Apr 2008; Markus Meier cacti-spine-0.8.7a.ebuild:
amd64 stable, bug #210840

26 Feb 2008; Raúl Porcel cacti-spine-0.8.7a.ebuild:
sparc stable wrt #210840

24 Feb 2008; Markus Meier cacti-spine-0.8.7a.ebuild:
x86 stable, bug #210840

22 Feb 2008; Brent Baude cacti-spine-0.8.7a.ebuild:
Marking cacti-spine-0.8.7a ppc64 for bug 210840

21 Feb 2008; nixnut cacti-spine-0.8.7a.ebuild:
Stable on ppc wrt bug 210840

26 Jan 2008; cacti-spine-0.8.7a.ebuild:
Moved autotools to src_unpack, bug #207461, thank Diego Pettenò AT gentoo.org> for report.

*cacti-spine-0.8.7a (08 Jan 2008)

08 Jan 2008; +metadata.xml, +cacti-spine-0.8.7a.ebuild:
Initial import. Thank you Nathan Sullivan for
notification and ebuild, bug #204852.

Manifest

DIST cacti-spine-0.8.7a.tar.gz 364746 RMD160 77e0487817e34b286e1fcc2574939b6da92e52d7 SHA1 b4ad837bf2ef777fe739712209b681491d308ead SHA256 8b6b082333fb91872be0da4c1498926fe1da7c9802662433f4ea7304eb4ae6f9
EBUILD cacti-spine-0.8.7a.ebuild 1681 RMD160 dfa7c421c4344b51991d0f8f15e229a1366ec016 SHA1 d9f6dc03803f9eda4ec450d86e97316bc2586b30 SHA256 75bb0746aaec334c504920934d8e6e7b38f78dc6e1e70dcd77f652d99df0e37c
MISC ChangeLog 1298 RMD160 bbd1c804801d9a9deaa54e5f24de5f9dc2f0d994 SHA1 6b9c63a3e6bd18f65d469f1de0d6cc59c5e1c905 SHA256 9e0a7e3b796e057a2f0c8c1e9891862cb4325d58c53a0f56b7f8a6db3b6169da
MISC metadata.xml 795 RMD160 6496692432dfda95180e8d7506af90ebd79b2172 SHA1 2e929eeb09763b10b746c6b0384acd4197051c85 SHA256 a1ee2fa5779e21ff428e18a563360a7d81e383345d867cfa27046614fc18e466

cacti-spine-0.8.7a.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/cacti-spine-0.8.7a.ebuild,v 1.8 2008/05/19 16:52:49 pva Exp $

WANT_AUTOCONF="latest"
inherit autotools

MY_PV=${PV/_p/-}
DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)"
HOMEPAGE="http://cacti.net/spine_info.php"
SRC_URI="http://www.cacti.net/downloads/spine/${PN}-${MY_PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE=""

DEPEND="net-analyzer/net-snmp
virtual/mysql"
RDEPEND="${DEPEND}
>net-analyzer/cacti-0.8.7"

src_unpack() {
unpack ${A} ; cd "${S}"
sed -i -e 's/^bin_PROGRAMS/sbin_PROGRAMS/' Makefile.am
sed -i -e 's/wwwroot\/cacti\/log/var\/log/g' spine.h
eaclocal
eautoconf
}

src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}

src_install() {
exeinto usr/sbin ; doexe "${S}"/spine
insinto etc/ ; insopts -m0640 -o root ; doins "${S}"/spine.conf
dodoc ChangeLog INSTALL README
}

pkg_postinst() {
ewarn "NOTE: If you upgraded from cactid, do not forgive to setup spine"
ewarn "instead of cactid through web interface."
ewarn
elog "Please see cacti's site for installation instructions."
elog "Theres no need to change the crontab for this, just"
elog "read the instructions on how to implement it"
elog
elog "http://cacti.net/spine_install.php"
echo
ewarn "/etc/spine.conf should be readable by webserver, thus after you"
ewarn "decide on webserver/webserver group do not forget to change it's"
ewarn "group with the following command:"
ewarn
ewarn " # chown root:wwwgroup /etc/spine.conf"
echo
}

metadata.xml




netmon

ramereth@gentoo.org
Lance Albertson


pva@gentoo.org
Peter Volkov


Spine (formerly known as 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.