Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/cacti-spine: cacti-spine-0.8.8b.ebuild ChangeLog
Date: Tue, 27 Aug 2013 02:19:24
Message-Id: 20130827021917.C21B42004E@flycatcher.gentoo.org
1 jmbsvicetto 13/08/27 02:19:17
2
3 Modified: ChangeLog
4 Added: cacti-spine-0.8.8b.ebuild
5 Log:
6 Copy cacti-spine from my overlay.
7 Bump cacti-spine to the 0.8.8b release
8
9 (Portage version: 2.2.0_alpha196/cvs/Linux x86_64, signed Manifest commit with key BB0E6E98)
10
11 Revision Changes Path
12 1.38 net-analyzer/cacti-spine/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti-spine/ChangeLog?rev=1.38&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti-spine/ChangeLog?rev=1.38&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti-spine/ChangeLog?r1=1.37&r2=1.38
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v
21 retrieving revision 1.37
22 retrieving revision 1.38
23 diff -u -r1.37 -r1.38
24 --- ChangeLog 27 Apr 2013 15:09:23 -0000 1.37
25 +++ ChangeLog 27 Aug 2013 02:19:17 -0000 1.38
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-analyzer/cacti-spine
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v 1.37 2013/04/27 15:09:23 pva Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v 1.38 2013/08/27 02:19:17 jmbsvicetto Exp $
31 +
32 +*cacti-spine-0.8.8b (27 Aug 2013)
33 +
34 + 27 Aug 2013; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
35 + +cacti-spine-0.8.8b.ebuild, +files/cacti-spine-0.8.8b-fix-ac-macro.patch:
36 + Copy cacti-spine from my overlay. Bump cacti-spine to the 0.8.8b release
37
38 *cacti-spine-0.8.8a (27 Apr 2013)
39
40
41
42
43 1.1 net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild?rev=1.1&content-type=text/plain
47
48 Index: cacti-spine-0.8.8b.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild,v 1.1 2013/08/27 02:19:17 jmbsvicetto Exp $
53
54 EAPI="4"
55 inherit autotools eutils
56
57 UPSTREAM_PATCHES=""
58
59 MY_P=${PN}-${PV/_p/-}
60
61 DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)"
62 HOMEPAGE="http://cacti.net/spine_info.php"
63 SRC_URI="http://www.cacti.net/downloads/spine/${MY_P}.tar.gz"
64
65 LICENSE="LGPL-2.1"
66 SLOT="0"
67 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
68 IUSE=""
69
70 DEPEND="net-analyzer/net-snmp
71 dev-libs/openssl
72 virtual/mysql"
73 RDEPEND="${DEPEND}
74 >net-analyzer/cacti-0.8.8"
75
76 if [[ -n ${UPSTREAM_PATCHES} ]]; then
77 for i in ${UPSTREAM_PATCHES}; do
78 SRC_URI="${SRC_URI} http://www.cacti.net/downloads/spine/patches/${PV}/${i}.patch"
79 done
80 fi
81
82 src_prepare() {
83 # Patch configure.ac to replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS
84 epatch "${FILESDIR}/${P}-fix-ac-macro.patch"
85
86 if [[ -n ${UPSTREAM_PATCHES} ]]; then
87 for i in ${UPSTREAM_PATCHES} ; do
88 EPATCH_OPTS="-p1 -N" epatch "${DISTDIR}"/${i}.patch
89 done
90 fi
91
92 sed -i -e 's/^bin_PROGRAMS/sbin_PROGRAMS/' Makefile.am
93 AT_M4DIR="config" eautoreconf
94 }
95
96 src_install() {
97 dosbin spine || die
98 insinto /etc/
99 insopts -m0640 -o root
100 newins spine.conf{.dist,} || die
101 dodoc ChangeLog README || die
102 }
103
104 pkg_postinst() {
105 elog "Please see the cacti's site for installation instructions:"
106 elog
107 elog "http://cacti.net/spine_install.php"
108 echo
109 ewarn "/etc/spine.conf should be readable by webserver, thus after you"
110 ewarn "decide on webserver do not forget to run the following command:"
111 ewarn
112 ewarn " # chown root:<wwwgroup> /etc/spine.conf"
113 echo
114 }