summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2009-08-24 16:14:01 +0000
committerLance Albertson <ramereth@gentoo.org>2009-08-24 16:14:01 +0000
commit1fbad9ab55e9675ed7c2a0891916e5e88a770037 (patch)
tree2cd7c25185f746d8f8f6a46609a71f98b2f0e231 /net-analyzer/cacti-spine
parentamd64 stable, bug 256125 (diff)
downloadgentoo-2-1fbad9ab55e9675ed7c2a0891916e5e88a770037.tar.gz
gentoo-2-1fbad9ab55e9675ed7c2a0891916e5e88a770037.tar.bz2
gentoo-2-1fbad9ab55e9675ed7c2a0891916e5e88a770037.zip
Version bump bug #278924, stablize older ebuilds on x86/amd64
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/cacti-spine')
-rw-r--r--net-analyzer/cacti-spine/ChangeLog8
-rw-r--r--net-analyzer/cacti-spine/cacti-spine-0.8.7a_p4650.ebuild4
-rw-r--r--net-analyzer/cacti-spine/cacti-spine-0.8.7c.ebuild4
-rw-r--r--net-analyzer/cacti-spine/cacti-spine-0.8.7e.ebuild63
4 files changed, 74 insertions, 5 deletions
diff --git a/net-analyzer/cacti-spine/ChangeLog b/net-analyzer/cacti-spine/ChangeLog
index 3bbcaf6c87ad..1c1f0f145ea1 100644
--- a/net-analyzer/cacti-spine/ChangeLog
+++ b/net-analyzer/cacti-spine/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/cacti-spine
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v 1.11 2009/03/08 11:30:16 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v 1.12 2009/08/24 16:14:01 ramereth Exp $
+
+*cacti-spine-0.8.7e (24 Aug 2009)
+
+ 24 Aug 2009; Lance Albertson <ramereth@gentoo.org>
+ 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)
diff --git a/net-analyzer/cacti-spine/cacti-spine-0.8.7a_p4650.ebuild b/net-analyzer/cacti-spine/cacti-spine-0.8.7a_p4650.ebuild
index a03b0c2c35f3..22474b08051f 100644
--- a/net-analyzer/cacti-spine/cacti-spine-0.8.7a_p4650.ebuild
+++ b/net-analyzer/cacti-spine/cacti-spine-0.8.7a_p4650.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 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_p4650.ebuild,v 1.2 2008/08/15 05:56:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/cacti-spine-0.8.7a_p4650.ebuild,v 1.3 2009/08/24 16:14:01 ramereth Exp $
WANT_AUTOCONF="latest"
inherit autotools subversion
diff --git a/net-analyzer/cacti-spine/cacti-spine-0.8.7c.ebuild b/net-analyzer/cacti-spine/cacti-spine-0.8.7c.ebuild
index 7a0aaa8e34f8..f126ef26c8ad 100644
--- a/net-analyzer/cacti-spine/cacti-spine-0.8.7c.ebuild
+++ b/net-analyzer/cacti-spine/cacti-spine-0.8.7c.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 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.7c.ebuild,v 1.1 2009/03/08 11:30:16 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/cacti-spine-0.8.7c.ebuild,v 1.2 2009/08/24 16:14:01 ramereth Exp $
inherit autotools
@@ -18,7 +18,7 @@ HOMEPAGE="http://cacti.net/spine_info.php"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
IUSE=""
DEPEND="net-analyzer/net-snmp
diff --git a/net-analyzer/cacti-spine/cacti-spine-0.8.7e.ebuild b/net-analyzer/cacti-spine/cacti-spine-0.8.7e.ebuild
new file mode 100644
index 000000000000..f34a01256d02
--- /dev/null
+++ b/net-analyzer/cacti-spine/cacti-spine-0.8.7e.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2009 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.ebuild,v 1.1 2009/08/24 16:14:01 ramereth Exp $
+
+inherit autotools
+
+if [[ ${PV} =~ (_p)([0-9]+) ]] ; then
+ inherit subversion
+ SRC_URI=""
+ MTSLPT_REV=${BASH_REMATCH[2]}
+ ESVN_REPO_URI="svn://svn.cacti.net/var/svnroot/cacti/spine/branches/0.8.7/@${MTSLPT_REV}"
+else
+ MY_PV=${PV/_p/-}
+ SRC_URI="http://www.cacti.net/downloads/spine/${PN}-${MY_PV}.tar.gz"
+fi
+DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)"
+HOMEPAGE="http://cacti.net/spine_info.php"
+
+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"
+
+src_unpack() {
+ if [[ "${SRC_URI}" == "" ]] ; then
+ subversion_src_unpack
+ else
+ unpack ${A}
+ fi
+ cd "${S}"
+ sed -i -e 's/^bin_PROGRAMS/sbin_PROGRAMS/' Makefile.am
+ rm configure # configure is not executable, autoconf recreates it...
+ eautoreconf
+}
+
+src_install() {
+ dosbin spine || die
+ insinto /etc/
+ insopts -m0640 -o root
+ newins spine.conf spine.conf || 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
+}