Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/cacti-spine: ChangeLog cacti-spine-0.8.7h.ebuild cacti-spine-0.8.7e-r1.ebuild
Date: Sun, 02 Oct 2011 11:54:17
Message-Id: 20111002115404.0D0292004B@flycatcher.gentoo.org
1 pva 11/10/02 11:54:04
2
3 Modified: ChangeLog
4 Added: cacti-spine-0.8.7h.ebuild
5 Removed: cacti-spine-0.8.7e-r1.ebuild
6 Log:
7 Version bump. Drop old.
8
9 (Portage version: 2.1.10.20/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.27 net-analyzer/cacti-spine/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti-spine/ChangeLog?rev=1.27&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti-spine/ChangeLog?rev=1.27&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti-spine/ChangeLog?r1=1.26&r2=1.27
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v
21 retrieving revision 1.26
22 retrieving revision 1.27
23 diff -u -r1.26 -r1.27
24 --- ChangeLog 1 Apr 2011 17:24:06 -0000 1.26
25 +++ ChangeLog 2 Oct 2011 11:54:03 -0000 1.27
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-analyzer/cacti-spine
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v 1.26 2011/04/01 17:24:06 xarthisius Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/ChangeLog,v 1.27 2011/10/02 11:54:03 pva Exp $
31 +
32 +*cacti-spine-0.8.7h (02 Oct 2011)
33 +
34 + 02 Oct 2011; Peter Volkov <pva@g.o> -cacti-spine-0.8.7e-r1.ebuild,
35 + +cacti-spine-0.8.7h.ebuild:
36 + Version bump. Drop old.
37
38 01 Apr 2011; Kacper Kowalik <xarthisius@g.o>
39 cacti-spine-0.8.7g.ebuild:
40
41
42
43 1.1 net-analyzer/cacti-spine/cacti-spine-0.8.7h.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti-spine/cacti-spine-0.8.7h.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti-spine/cacti-spine-0.8.7h.ebuild?rev=1.1&content-type=text/plain
47
48 Index: cacti-spine-0.8.7h.ebuild
49 ===================================================================
50 # Copyright 1999-2011 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.7h.ebuild,v 1.1 2011/10/02 11:54:03 pva Exp $
53
54 EAPI="4"
55 inherit autotools
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 ~sparc ~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.7"
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 if [[ -n ${UPSTREAM_PATCHES} ]]; then
84 for i in ${UPSTREAM_PATCHES} ; do
85 EPATCH_OPTS="-p1 -N" epatch "${DISTDIR}"/${i}.patch
86 done
87 fi
88
89 sed -i -e 's/^bin_PROGRAMS/sbin_PROGRAMS/' Makefile.am
90 AT_M4DIR="config" eautoreconf
91 }
92
93 src_install() {
94 dosbin spine || die
95 insinto /etc/
96 insopts -m0640 -o root
97 newins spine.conf{.dist,} || die
98 dodoc ChangeLog README || die
99 }
100
101 pkg_postinst() {
102 elog "Please see the cacti's site for installation instructions:"
103 elog
104 elog "http://cacti.net/spine_install.php"
105 echo
106 ewarn "/etc/spine.conf should be readable by webserver, thus after you"
107 ewarn "decide on webserver do not forget to run the following command:"
108 ewarn
109 ewarn " # chown root:<wwwgroup> /etc/spine.conf"
110 echo
111 }