* [gentoo-commits] dev/jmbsvicetto:master commit in: net-analyzer/cacti-spine/files/, net-analyzer/cacti-spine/
@ 2013-05-11 2:46 Jorge Manuel B. S. Vicetto
0 siblings, 0 replies; 2+ messages in thread
From: Jorge Manuel B. S. Vicetto @ 2013-05-11 2:46 UTC (permalink / raw
To: gentoo-commits
commit: 83f39d3adc3d4463e8f9afdbc6db550013b0ff1a
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 02:44:56 2013 +0000
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Sat May 11 02:44:56 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/jmbsvicetto.git;a=commit;h=83f39d3a
[net-analyzer/cacti-spine] Add cacti-spine to the overlay and apply a patch to fix replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS to fix
the build of the package.
---
net-analyzer/cacti-spine/ChangeLog | 151 ++++++++++++++++++++
net-analyzer/cacti-spine/Manifest | 1 +
net-analyzer/cacti-spine/cacti-spine-0.8.8a.ebuild | 65 +++++++++
.../files/cacti-spine-0.8.8a-fix-ac-macro.patch | 12 ++
net-analyzer/cacti-spine/metadata.xml | 18 +++
5 files changed, 247 insertions(+), 0 deletions(-)
diff --git a/net-analyzer/cacti-spine/ChangeLog b/net-analyzer/cacti-spine/ChangeLog
new file mode 100644
index 0000000..7ffc2bd
--- /dev/null
+++ b/net-analyzer/cacti-spine/ChangeLog
@@ -0,0 +1,151 @@
+# ChangeLog for net-analyzer/cacti-spine
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v 1.37 2013/04/27 15:09:23 pva Exp $
+
+*cacti-spine-0.8.8a (27 Apr 2013)
+
+ 27 Apr 2013; Peter Volkov <pva@gentoo.org> +cacti-spine-0.8.8a.ebuild,
+ -cacti-spine-0.8.7g.ebuild, -cacti-spine-0.8.7h.ebuild:
+ Version bump. Drop old.
+
+ 16 Feb 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
+ Cleanup due bug #96436
+
+ 21 May 2012; Kacper Kowalik <xarthisius@gentoo.org> cacti-spine-0.8.7g.ebuild,
+ cacti-spine-0.8.7h.ebuild, cacti-spine-0.8.7i.ebuild:
+ Add missing inheritance of eutils.eclass
+
+ 05 Apr 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ cacti-spine-0.8.7i.ebuild:
+ x86 stable wrt bug #404807
+
+ 01 Apr 2012; Raúl Porcel <armin76@gentoo.org> cacti-spine-0.8.7g.ebuild,
+ cacti-spine-0.8.7h.ebuild, cacti-spine-0.8.7i.ebuild:
+ Drop sparc keywords
+
+ 28 Mar 2012; Agostino Sarubbo <ago@gentoo.org> cacti-spine-0.8.7i.ebuild:
+ Stable for amd64, wrt bug #404807
+
+ 23 Dec 2011; Mark Loeser <halcy0n@gentoo.org> cacti-spine-0.8.7g.ebuild:
+ Drop stable ppc/ppc64
+
+*cacti-spine-0.8.7i (12 Dec 2011)
+
+ 12 Dec 2011; Peter Volkov <pva@gentoo.org> +cacti-spine-0.8.7i.ebuild:
+ Version bump.
+
+ 13 Nov 2011; Markus Meier <maekke@gentoo.org> cacti-spine-0.8.7h.ebuild:
+ x86 stable, bug #387661
+
+ 20 Oct 2011; Tony Vroon <chainsaw@gentoo.org> cacti-spine-0.8.7h.ebuild:
+ Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian
+ "idella4" Delaney in bug #387661.
+
+*cacti-spine-0.8.7h (02 Oct 2011)
+
+ 02 Oct 2011; Peter Volkov <pva@gentoo.org> -cacti-spine-0.8.7e-r1.ebuild,
+ +cacti-spine-0.8.7h.ebuild:
+ Version bump. Drop old.
+
+ 01 Apr 2011; Kacper Kowalik <xarthisius@gentoo.org>
+ cacti-spine-0.8.7g.ebuild:
+ ppc64 stable wrt #324031, #361617
+
+ 20 Nov 2010; Raúl Porcel <armin76@gentoo.org> cacti-spine-0.8.7g.ebuild:
+ sparc stable wrt #324031
+
+ 19 Nov 2010; Jeroen Roovers <jer@gentoo.org> cacti-spine-0.8.7g.ebuild:
+ Stable for PPC (bug #324031).
+
+ 17 Nov 2010; Markos Chandras <hwoarang@gentoo.org>
+ cacti-spine-0.8.7g.ebuild:
+ Stable on amd64 wrt bug #324031
+
+ 16 Nov 2010; Thomas Kahle <tomka@gentoo.org> cacti-spine-0.8.7g.ebuild:
+ x86 stable per bug 324031
+
+*cacti-spine-0.8.7g (15 Nov 2010)
+
+ 15 Nov 2010; Peter Volkov <pva@gentoo.org> +cacti-spine-0.8.7g.ebuild:
+ Version bump, bug #324457, thank Jens Ott.
+
+ 11 Jan 2010; Peter Volkov <pva@gentoo.org> -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 <ranger@gentoo.org> cacti-spine-0.8.7e-r1.ebuild:
+ Marking cacti-spine-0.8.7e-r1 ppc64 for bug 293268
+
+ 30 Dec 2009; Raúl Porcel <armin76@gentoo.org>
+ cacti-spine-0.8.7e-r1.ebuild:
+ sparc stable wrt #293268
+
+ 21 Nov 2009; nixnut <nixnut@gentoo.org> cacti-spine-0.8.7e-r1.ebuild:
+ ppc stable #293268
+
+ 19 Nov 2009; Markus Meier <maekke@gentoo.org>
+ 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 <pva@gentoo.org> +cacti-spine-0.8.7e-r1.ebuild:
+ Added upstream patches.
+
+ 06 Oct 2009; Peter Volkov <pva@gentoo.org>
+ -cacti-spine-0.8.7a_p4650.ebuild:
+ Stop using SCM for non living package, bug #282499.
+
+ 24 Sep 2009; Lance Albertson <ramereth@gentoo.org>
+ 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 <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)
+
+ 08 Mar 2009; Peter Volkov <pva@gentoo.org> +cacti-spine-0.8.7c.ebuild:
+ Version bump.
+
+ 20 Aug 2008; Peter Volkov <pva@gentoo.org> Manifest:
+ Fix digest, bug #235206, thank GES for report.
+
+*cacti-spine-0.8.7a_p4650 (14 Aug 2008)
+
+ 14 Aug 2008; Peter Volkov <pva@gentoo.org>
+ +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 <pva@gentoo.org> cacti-spine-0.8.7a.ebuild:
+ Fixed typo in postinstall message, bug #222801, thank Chris Lee for
+ report.
+
+ 27 Apr 2008; Markus Meier <maekke@gentoo.org> cacti-spine-0.8.7a.ebuild:
+ amd64 stable, bug #210840
+
+ 26 Feb 2008; Raúl Porcel <armin76@gentoo.org> cacti-spine-0.8.7a.ebuild:
+ sparc stable wrt #210840
+
+ 24 Feb 2008; Markus Meier <maekke@gentoo.org> cacti-spine-0.8.7a.ebuild:
+ x86 stable, bug #210840
+
+ 22 Feb 2008; Brent Baude <ranger@gentoo.org> cacti-spine-0.8.7a.ebuild:
+ Marking cacti-spine-0.8.7a ppc64 for bug 210840
+
+ 21 Feb 2008; nixnut <nixnut@gentoo.org> cacti-spine-0.8.7a.ebuild:
+ Stable on ppc wrt bug 210840
+
+ 26 Jan 2008; <pva@gentoo.org> cacti-spine-0.8.7a.ebuild:
+ Moved autotools to src_unpack, bug #207461, thank Diego Pettenò <flameeyes
+ AT gentoo.org> for report.
+
+*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 0000000..53d6666
--- /dev/null
+++ b/net-analyzer/cacti-spine/Manifest
@@ -0,0 +1 @@
+DIST cacti-spine-0.8.8a.tar.gz 623853 SHA256 2226070cd386a4955063a87e99df2fa861988a604a95f39bb8db2a301774b3ee SHA512 c6eb9492869488a5114cbfa2d372b1acb4bd1b0cecda2297f4b06cb1fe2fb95879b532923c230c72c9b50fbcfbf8f1d655c42075902c9f3a3ac4ee02d2e1913c WHIRLPOOL 080653346b698acff442c7d311ac805e6de410754a33dae698f6bd9328d3843734754fcf2eb417a870b1ac3d1effa5e830bec0d512b5f180da83b7c46ec2a74f
diff --git a/net-analyzer/cacti-spine/cacti-spine-0.8.8a.ebuild b/net-analyzer/cacti-spine/cacti-spine-0.8.8a.ebuild
new file mode 100644
index 0000000..e626be8
--- /dev/null
+++ b/net-analyzer/cacti-spine/cacti-spine-0.8.8a.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2013 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.8a.ebuild,v 1.1 2013/04/27 15:09:23 pva Exp $
+
+EAPI="4"
+inherit autotools eutils
+
+UPSTREAM_PATCHES=""
+
+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 ~x86"
+IUSE=""
+
+DEPEND="net-analyzer/net-snmp
+ dev-libs/openssl
+ virtual/mysql"
+RDEPEND="${DEPEND}
+ >net-analyzer/cacti-0.8.8"
+
+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() {
+ # Patch configure.ac to replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS
+ epatch "${FILESDIR}/${P}-fix-ac-macro.patch"
+
+ 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() {
+ 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/files/cacti-spine-0.8.8a-fix-ac-macro.patch b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8a-fix-ac-macro.patch
new file mode 100644
index 0000000..0c020c9
--- /dev/null
+++ b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8a-fix-ac-macro.patch
@@ -0,0 +1,12 @@
+diff -ur cacti-spine-0.8.8a-orig/configure.ac cacti-spine-0.8.8a/configure.ac
+--- cacti-spine-0.8.8a-orig/configure.ac 2013-05-11 02:39:57.594994676 +0000
++++ cacti-spine-0.8.8a/configure.ac 2013-05-11 02:42:03.124501751 +0000
+@@ -10,7 +10,7 @@
+ AC_LANG(C)
+
+ AM_INIT_AUTOMAKE(spine, 0.8.8a)
+-AM_CONFIG_HEADER(config/config.h)
++AC_CONFIG_HEADERS(config/config.h)
+
+ # static libraries
+ AC_ARG_WITH(static,
diff --git a/net-analyzer/cacti-spine/metadata.xml b/net-analyzer/cacti-spine/metadata.xml
new file mode 100644
index 0000000..f63f41b
--- /dev/null
+++ b/net-analyzer/cacti-spine/metadata.xml
@@ -0,0 +1,18 @@
+<?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>
+ <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>
+
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] dev/jmbsvicetto:master commit in: net-analyzer/cacti-spine/files/, net-analyzer/cacti-spine/
@ 2013-08-27 2:08 Jorge Manuel B. S. Vicetto
0 siblings, 0 replies; 2+ messages in thread
From: Jorge Manuel B. S. Vicetto @ 2013-08-27 2:08 UTC (permalink / raw
To: gentoo-commits
commit: 22f46fe622caf5664a5615e3ede9bcaebd79955f
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 27 01:52:21 2013 +0000
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Tue Aug 27 01:52:21 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/jmbsvicetto.git;a=commit;h=22f46fe6
Bump cacti-spine to the 0.8.8b release.
---
net-analyzer/cacti-spine/Manifest | 1 +
net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild | 65 ++++++++++++++++++++++
.../files/cacti-spine-0.8.8b-fix-ac-macro.patch | 12 ++++
3 files changed, 78 insertions(+)
diff --git a/net-analyzer/cacti-spine/Manifest b/net-analyzer/cacti-spine/Manifest
index 53d6666..b9595c5 100644
--- a/net-analyzer/cacti-spine/Manifest
+++ b/net-analyzer/cacti-spine/Manifest
@@ -1 +1,2 @@
DIST cacti-spine-0.8.8a.tar.gz 623853 SHA256 2226070cd386a4955063a87e99df2fa861988a604a95f39bb8db2a301774b3ee SHA512 c6eb9492869488a5114cbfa2d372b1acb4bd1b0cecda2297f4b06cb1fe2fb95879b532923c230c72c9b50fbcfbf8f1d655c42075902c9f3a3ac4ee02d2e1913c WHIRLPOOL 080653346b698acff442c7d311ac805e6de410754a33dae698f6bd9328d3843734754fcf2eb417a870b1ac3d1effa5e830bec0d512b5f180da83b7c46ec2a74f
+DIST cacti-spine-0.8.8b.tar.gz 631603 SHA256 fc5d512c1de46db2b48422856e8c6a5816d110083d0bbbf7f9d660f0829912a6 SHA512 22be23012fbe165ea7d7097bbca1dda472bbe521f126e28e03f2faf394e67e050d95d88a878688b615dcdca2ec2b2166fdd48567503f1564f093797634a1809a WHIRLPOOL 86c065989fc58e926f4e76ec842dcaa276f4a8fc65ddbb0a7b2752cb6a52778464520b80a48fb612cece56600f03b5512ca5f01b97e9b58eb7f12cc6c62f49bb
diff --git a/net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild b/net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild
new file mode 100644
index 0000000..e626be8
--- /dev/null
+++ b/net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2013 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.8a.ebuild,v 1.1 2013/04/27 15:09:23 pva Exp $
+
+EAPI="4"
+inherit autotools eutils
+
+UPSTREAM_PATCHES=""
+
+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 ~x86"
+IUSE=""
+
+DEPEND="net-analyzer/net-snmp
+ dev-libs/openssl
+ virtual/mysql"
+RDEPEND="${DEPEND}
+ >net-analyzer/cacti-0.8.8"
+
+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() {
+ # Patch configure.ac to replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS
+ epatch "${FILESDIR}/${P}-fix-ac-macro.patch"
+
+ 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() {
+ 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/files/cacti-spine-0.8.8b-fix-ac-macro.patch b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8b-fix-ac-macro.patch
new file mode 100644
index 0000000..81fb6db
--- /dev/null
+++ b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8b-fix-ac-macro.patch
@@ -0,0 +1,12 @@
+diff -ur cacti-spine-0.8.8b-orig/configure.ac cacti-spine-0.8.8b/configure.ac
+--- cacti-spine-0.8.8b-orig/configure.ac 2013-08-27 01:45:32.400120526 +0000
++++ cacti-spine-0.8.8b/configure.ac 2013-08-27 01:45:42.350084943 +0000
+@@ -10,7 +10,7 @@
+ AC_LANG(C)
+
+ AM_INIT_AUTOMAKE(spine, 0.8.8b)
+-AM_CONFIG_HEADER(config/config.h)
++AC_CONFIG_HEADERS(config/config.h)
+
+ # static libraries
+ AC_ARG_WITH(static,
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-27 2:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-27 2:08 [gentoo-commits] dev/jmbsvicetto:master commit in: net-analyzer/cacti-spine/files/, net-analyzer/cacti-spine/ Jorge Manuel B. S. Vicetto
-- strict thread matches above, loose matches on Subject: below --
2013-05-11 2:46 Jorge Manuel B. S. Vicetto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox