summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-01-08 20:08:08 +0000
committerPeter Volkov <pva@gentoo.org>2008-01-08 20:08:08 +0000
commitb6b07d99d871ef3479f52e476b09c125a3397eeb (patch)
tree372df0ee84997ac2dd0c6c4cb0af813f8387a513 /net-analyzer
parentadd new version (diff)
downloadgentoo-2-b6b07d99d871ef3479f52e476b09c125a3397eeb.tar.gz
gentoo-2-b6b07d99d871ef3479f52e476b09c125a3397eeb.tar.bz2
gentoo-2-b6b07d99d871ef3479f52e476b09c125a3397eeb.zip
Initial import. Thank you Nathan Sullivan <nathan AT nightsys.net> for notification and ebuild, bug #204852.
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/cacti-spine/ChangeLog10
-rw-r--r--net-analyzer/cacti-spine/Manifest16
-rw-r--r--net-analyzer/cacti-spine/cacti-spine-0.8.7a.ebuild58
-rw-r--r--net-analyzer/cacti-spine/files/digest-cacti-spine-0.8.7a3
-rw-r--r--net-analyzer/cacti-spine/metadata.xml22
5 files changed, 109 insertions, 0 deletions
diff --git a/net-analyzer/cacti-spine/ChangeLog b/net-analyzer/cacti-spine/ChangeLog
new file mode 100644
index 000000000000..be8d358e870e
--- /dev/null
+++ b/net-analyzer/cacti-spine/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2008/01/08 20:08:07 pva Exp $
+
+*cacti-spine-0.8.7a (08 Jan 2008)
+
+ 08 Jan 2008; <pva@gentoo.org> +metadata.xml, +cacti-spine-0.8.7a.ebuild:
+ Initial import. Thank you Nathan Sullivan <nathan AT nightsys.net> for
+ notification and ebuild, bug #204852.
+
diff --git a/net-analyzer/cacti-spine/Manifest b/net-analyzer/cacti-spine/Manifest
new file mode 100644
index 000000000000..adbce1477588
--- /dev/null
+++ b/net-analyzer/cacti-spine/Manifest
@@ -0,0 +1,16 @@
+DIST cacti-spine-0.8.7a.tar.gz 364746 RMD160 77e0487817e34b286e1fcc2574939b6da92e52d7 SHA1 b4ad837bf2ef777fe739712209b681491d308ead SHA256 8b6b082333fb91872be0da4c1498926fe1da7c9802662433f4ea7304eb4ae6f9
+EBUILD cacti-spine-0.8.7a.ebuild 1578 RMD160 fd147f1198671bc70c782b731ce1e7a78d6b2166 SHA1 95148b87ac675d974ab5a77fd674fe608bcac0ad SHA256 c8225cae904e1a867f1d88bf80e2feb627ba3310f6957a193e9633019e570fdc
+MD5 8abd377f83416f6acb51144319154dc0 cacti-spine-0.8.7a.ebuild 1578
+RMD160 fd147f1198671bc70c782b731ce1e7a78d6b2166 cacti-spine-0.8.7a.ebuild 1578
+SHA256 c8225cae904e1a867f1d88bf80e2feb627ba3310f6957a193e9633019e570fdc cacti-spine-0.8.7a.ebuild 1578
+MISC ChangeLog 349 RMD160 4f9043c5ee316616145bc4921766355c47bc2c0d SHA1 a0ffc52e3c7be431879cafb90d08c15f8b178bda SHA256 3e7b6673e7780831ee8cf9b875d1ed7969eaf0487bc5dc70534a4c2353ca8d6a
+MD5 d62951825b742742cce88b03fee8b051 ChangeLog 349
+RMD160 4f9043c5ee316616145bc4921766355c47bc2c0d ChangeLog 349
+SHA256 3e7b6673e7780831ee8cf9b875d1ed7969eaf0487bc5dc70534a4c2353ca8d6a ChangeLog 349
+MISC metadata.xml 795 RMD160 6496692432dfda95180e8d7506af90ebd79b2172 SHA1 2e929eeb09763b10b746c6b0384acd4197051c85 SHA256 a1ee2fa5779e21ff428e18a563360a7d81e383345d867cfa27046614fc18e466
+MD5 d12600433a2d1ee5a6548e21587d1439 metadata.xml 795
+RMD160 6496692432dfda95180e8d7506af90ebd79b2172 metadata.xml 795
+SHA256 a1ee2fa5779e21ff428e18a563360a7d81e383345d867cfa27046614fc18e466 metadata.xml 795
+MD5 f9727d40367bebe77054090382faba02 files/digest-cacti-spine-0.8.7a 256
+RMD160 c096d30b2e3b00fe5b23a6d1c9afd82df703c7c6 files/digest-cacti-spine-0.8.7a 256
+SHA256 4d4b1bf9f3cc254ea425e46d57ae6e9d5195b0a39795319cb526e0832192956c files/digest-cacti-spine-0.8.7a 256
diff --git a/net-analyzer/cacti-spine/cacti-spine-0.8.7a.ebuild b/net-analyzer/cacti-spine/cacti-spine-0.8.7a.ebuild
new file mode 100644
index 000000000000..ad812062d26f
--- /dev/null
+++ b/net-analyzer/cacti-spine/cacti-spine-0.8.7a.ebuild
@@ -0,0 +1,58 @@
+# 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.1 2008/01/08 20:08:07 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
+}
+
+src_compile() {
+ eaclocal
+ eautoconf
+ 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 forgive to change it's"
+ ewarn "group with the following command:"
+ ewarn
+ ewarn " # chown root:wwwgroup /etc/spine.conf"
+ echo
+}
diff --git a/net-analyzer/cacti-spine/files/digest-cacti-spine-0.8.7a b/net-analyzer/cacti-spine/files/digest-cacti-spine-0.8.7a
new file mode 100644
index 000000000000..b2d3d4389178
--- /dev/null
+++ b/net-analyzer/cacti-spine/files/digest-cacti-spine-0.8.7a
@@ -0,0 +1,3 @@
+MD5 85a32d256c056a3a4adb8bf3dff5e2dc cacti-spine-0.8.7a.tar.gz 364746
+RMD160 77e0487817e34b286e1fcc2574939b6da92e52d7 cacti-spine-0.8.7a.tar.gz 364746
+SHA256 8b6b082333fb91872be0da4c1498926fe1da7c9802662433f4ea7304eb4ae6f9 cacti-spine-0.8.7a.tar.gz 364746
diff --git a/net-analyzer/cacti-spine/metadata.xml b/net-analyzer/cacti-spine/metadata.xml
new file mode 100644
index 000000000000..171452470699
--- /dev/null
+++ b/net-analyzer/cacti-spine/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>netmon</herd>
+ <maintainer>
+ <email>ramereth@gentoo.org</email>
+ <name>Lance Albertson</name>
+ </maintainer>
+ <maintainer>
+ <email>pva@gentoo.org</email>
+ <name>Peter Volkov</name>
+ </maintainer>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+</pkgmetadata>
+