From 91650415dfc8020954eea85ca49efa39c0007180 Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Mon, 15 Nov 2010 15:30:05 +0000 Subject: net-analyzer/cacti-spine: Version bump svn path=/; revision=468 --- net-analyzer/cacti-spine/ChangeLog | 85 ++++++++++++++++++++++ net-analyzer/cacti-spine/Manifest | 5 ++ net-analyzer/cacti-spine/cacti-spine-0.8.7g.ebuild | 65 +++++++++++++++++ net-analyzer/cacti-spine/metadata.xml | 22 ++++++ 4 files changed, 177 insertions(+) create mode 100644 net-analyzer/cacti-spine/ChangeLog create mode 100644 net-analyzer/cacti-spine/Manifest create mode 100644 net-analyzer/cacti-spine/cacti-spine-0.8.7g.ebuild create mode 100644 net-analyzer/cacti-spine/metadata.xml diff --git a/net-analyzer/cacti-spine/ChangeLog b/net-analyzer/cacti-spine/ChangeLog new file mode 100644 index 0000000..684463f --- /dev/null +++ b/net-analyzer/cacti-spine/ChangeLog @@ -0,0 +1,85 @@ +# ChangeLog for net-analyzer/cacti-spine +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v 1.20 2010/01/11 22:11:35 pva Exp $ + + 11 Jan 2010; Peter Volkov -cacti-spine-0.8.7a.ebuild, + -cacti-spine-0.8.7c.ebuild, -cacti-spine-0.8.7e.ebuild: + Drop old. + + 06 Jan 2010; Brent Baude cacti-spine-0.8.7e-r1.ebuild: + Marking cacti-spine-0.8.7e-r1 ppc64 for bug 293268 + + 30 Dec 2009; Raúl Porcel + cacti-spine-0.8.7e-r1.ebuild: + sparc stable wrt #293268 + + 21 Nov 2009; nixnut cacti-spine-0.8.7e-r1.ebuild: + ppc stable #293268 + + 19 Nov 2009; Markus Meier + cacti-spine-0.8.7e-r1.ebuild: + amd64/x86 stable, bug #293268 + +*cacti-spine-0.8.7e-r1 (06 Oct 2009) + + 06 Oct 2009; Peter Volkov +cacti-spine-0.8.7e-r1.ebuild: + Added upstream patches. + + 06 Oct 2009; Peter Volkov + -cacti-spine-0.8.7a_p4650.ebuild: + Stop using SCM for non living package, bug #282499. + + 24 Sep 2009; Lance Albertson + cacti-spine-0.8.7e.ebuild: + Stable 0.8.7e on amd64/x86 + +*cacti-spine-0.8.7e (24 Aug 2009) + + 24 Aug 2009; Lance Albertson + cacti-spine-0.8.7c.ebuild, +cacti-spine-0.8.7e.ebuild: + Version bump bug #278924, stablize older ebuilds on x86/amd64 + +*cacti-spine-0.8.7c (08 Mar 2009) + + 08 Mar 2009; Peter Volkov +cacti-spine-0.8.7c.ebuild: + Version bump. + + 20 Aug 2008; Peter Volkov Manifest: + Fix digest, bug #235206, thank GES for report. + +*cacti-spine-0.8.7a_p4650 (14 Aug 2008) + + 14 Aug 2008; Peter Volkov + +cacti-spine-0.8.7a_p4650.ebuild: + Bump to the recent SVN snapshot, should fix bug #234749, thank Chris + Gianelloni for report. + + 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ò 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. + diff --git a/net-analyzer/cacti-spine/Manifest b/net-analyzer/cacti-spine/Manifest new file mode 100644 index 0000000..4c51058 --- /dev/null +++ b/net-analyzer/cacti-spine/Manifest @@ -0,0 +1,5 @@ +DIST cacti-spine-0.8.7g.tar.gz 592801 RMD160 5945f909f4a01d106ec06edce82efde704588c8d SHA1 6f08f2f7734527a08afa5fc071dfaa5b1dbb0a57 SHA256 2735fbc1fc38d31651009d0a8d6ea121b29403d6020b13ba245ab4f3e0f6d561 +DIST unified_issues.patch 11583 RMD160 53e035a878974a956280b09c25e9744ed09d3a7a SHA1 40400fee9bed6db1b40327019694d244010f3d0a SHA256 5bfc4fe3eeedbab4d32620b6e141b0b6cfe674e76a938c19e13fb1b70e80fa0b +EBUILD cacti-spine-0.8.7g.ebuild 1731 RMD160 4746aa627878f99bd0f551083914aa3a2c44737f SHA1 8dd20b24b0784c1a4821267e2b876227b8bb4bd8 SHA256 cdf047aaf1b75e58ccabe52685c19ee33c503960a6c5fc460d7458111a6537d7 +MISC ChangeLog 2938 RMD160 e44d841d64bd6cfa063edfebd9c7186c4df6922e SHA1 a8277540008093fdbf5d75f4382762a1754eb129 SHA256 dd8755265d9b24149f298d689ba00c2db733d2db8b183414b5841cc04091475a +MISC metadata.xml 795 RMD160 6496692432dfda95180e8d7506af90ebd79b2172 SHA1 2e929eeb09763b10b746c6b0384acd4197051c85 SHA256 a1ee2fa5779e21ff428e18a563360a7d81e383345d867cfa27046614fc18e466 diff --git a/net-analyzer/cacti-spine/cacti-spine-0.8.7g.ebuild b/net-analyzer/cacti-spine/cacti-spine-0.8.7g.ebuild new file mode 100644 index 0000000..474116b --- /dev/null +++ b/net-analyzer/cacti-spine/cacti-spine-0.8.7g.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2010 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.7e-r1.ebuild,v 1.5 2010/01/06 20:21:07 ranger Exp $ + +EAPI="2" +inherit autotools + +UPSTREAM_PATCHES="unified_issues" + +MY_P=${PN}-${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/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="net-analyzer/net-snmp + dev-libs/openssl + virtual/mysql" +RDEPEND="${DEPEND} + >net-analyzer/cacti-0.8.7" + +if [[ -n ${UPSTREAM_PATCHES} ]]; then + for i in ${UPSTREAM_PATCHES}; do + SRC_URI="${SRC_URI} http://www.cacti.net/downloads/spine/patches/${PV}/${i}.patch" + done +fi + +src_prepare() { + if [[ -n ${UPSTREAM_PATCHES} ]]; then + for i in ${UPSTREAM_PATCHES} ; do + EPATCH_OPTS="-p1 -N" epatch "${DISTDIR}"/${i}.patch + done + fi + + sed -i -e 's/^bin_PROGRAMS/sbin_PROGRAMS/' Makefile.am + AT_M4DIR="config" eautoreconf +} + +src_install() { + dosbin spine || die + insinto /etc/ + insopts -m0640 -o root + newins spine.conf{.dist,} || die + dodoc ChangeLog README || die +} + +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 the cacti's site for installation instructions:" + 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 do not forget to run the following command:" + ewarn + ewarn " # chown root:wwwgroup /etc/spine.conf" + echo +} diff --git a/net-analyzer/cacti-spine/metadata.xml b/net-analyzer/cacti-spine/metadata.xml new file mode 100644 index 0000000..1714524 --- /dev/null +++ b/net-analyzer/cacti-spine/metadata.xml @@ -0,0 +1,22 @@ + + + + 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. + + + -- cgit v1.2.3-65-gdbad