1 |
jsbronder 11/05/06 23:26:49 |
2 |
|
3 |
Modified: ChangeLog ganglia-3.1.7-r2.ebuild |
4 |
Log: |
5 |
Disable modpython by default, add python module directory (#358359). Remove unnecessary postrm cleanup. |
6 |
|
7 |
(Portage version: 2.1.9.46/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.40 sys-cluster/ganglia/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ganglia/ChangeLog?rev=1.40&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ganglia/ChangeLog?rev=1.40&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ganglia/ChangeLog?r1=1.39&r2=1.40 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v |
19 |
retrieving revision 1.39 |
20 |
retrieving revision 1.40 |
21 |
diff -u -r1.39 -r1.40 |
22 |
--- ChangeLog 25 Aug 2010 01:53:52 -0000 1.39 |
23 |
+++ ChangeLog 6 May 2011 23:26:49 -0000 1.40 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for sys-cluster/ganglia |
26 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.39 2010/08/25 01:53:52 jsbronder Exp $ |
28 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.40 2011/05/06 23:26:49 jsbronder Exp $ |
30 |
+ |
31 |
+ 06 May 2011; Justin Bronder <jsbronder@g.o> ganglia-3.1.7-r2.ebuild: |
32 |
+ Disable modpython by default, add python module directory (#358359). Remove |
33 |
+ unnecessary postrm cleanup. |
34 |
|
35 |
*ganglia-3.1.7-r2 (25 Aug 2010) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.2 sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild?rev=1.2&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild?rev=1.2&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild?r1=1.1&r2=1.2 |
45 |
|
46 |
Index: ganglia-3.1.7-r2.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild,v |
49 |
retrieving revision 1.1 |
50 |
retrieving revision 1.2 |
51 |
diff -u -r1.1 -r1.2 |
52 |
--- ganglia-3.1.7-r2.ebuild 25 Aug 2010 01:53:52 -0000 1.1 |
53 |
+++ ganglia-3.1.7-r2.ebuild 6 May 2011 23:26:49 -0000 1.2 |
54 |
@@ -1,6 +1,6 @@ |
55 |
-# Copyright 1999-2010 Gentoo Foundation |
56 |
+# Copyright 1999-2011 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild,v 1.1 2010/08/25 01:53:52 jsbronder Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild,v 1.2 2011/05/06 23:26:49 jsbronder Exp $ |
60 |
|
61 |
EAPI="3" |
62 |
WEBAPP_OPTIONAL="yes" |
63 |
@@ -46,6 +46,10 @@ |
64 |
# This patch just gives a group to the disk statistics. |
65 |
# I.E. it's just cosmetics |
66 |
epatch "${FILESDIR}"/${PN}-3.1.1-multidisk-group.patch |
67 |
+ |
68 |
+ # Disable modpython by default (#358359) |
69 |
+ sed -i '/ *params/N;s,\( *\)\(params = "[^"]*"\),\1\2\n\1enabled = no,' \ |
70 |
+ gmond/modules/conf.d/modpython.conf.in || die |
71 |
} |
72 |
|
73 |
src_configure() { |
74 |
@@ -66,6 +70,7 @@ |
75 |
dodoc AUTHORS ChangeLog INSTALL NEWS README || die |
76 |
|
77 |
dodir /etc/ganglia/conf.d |
78 |
+ use python && dodir /usr/$(get_libdir)/ganglia/python_modules |
79 |
gmond/gmond -t > "${ED}"/etc/ganglia/gmond.conf |
80 |
|
81 |
if use examples; then |
82 |
@@ -110,8 +115,3 @@ |
83 |
pkg_prerm() { |
84 |
use minimal || webapp_pkg_prerm |
85 |
} |
86 |
- |
87 |
-pkg_postrm() { |
88 |
- [ -d "${ROOT}"/usr/$(get_libdir)/ganglia ] && \ |
89 |
- rmdir "${ROOT}"/usr/$(get_libdir)/ganglia 2>/dev/null |
90 |
-} |