1 |
flameeyes 12/07/28 00:44:43 |
2 |
|
3 |
Modified: metadata.xml munin-2.0.3.ebuild ChangeLog |
4 |
Log: |
5 |
Remove the .htaccess file; remove plugins for apt and yum; make sure to require at least freeipmi-1 for the freeipmi_ plugin; add an http USe flag to drop libwww-perl harddep. |
6 |
|
7 |
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.12 net-analyzer/munin/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/metadata.xml?rev=1.12&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/metadata.xml?rev=1.12&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/metadata.xml?r1=1.11&r2=1.12 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/munin/metadata.xml,v |
19 |
retrieving revision 1.11 |
20 |
retrieving revision 1.12 |
21 |
diff -u -r1.11 -r1.12 |
22 |
--- metadata.xml 26 Jul 2012 18:21:51 -0000 1.11 |
23 |
+++ metadata.xml 28 Jul 2012 00:44:43 -0000 1.12 |
24 |
@@ -45,6 +45,11 @@ |
25 |
IPMI sensors. Disabling the flag does not remove any plugin |
26 |
file. |
27 |
</flag> |
28 |
+ <flag name="http"> |
29 |
+ Install <pkg>dev-perl/libwww-perl</pkg> required for monitoring |
30 |
+ HTTP-based services such as Apache and nginx. Disabling the flag |
31 |
+ does not remove any plugin file. |
32 |
+ </flag> |
33 |
<flag name="java"> |
34 |
Build the Java-based plugins to monitor JMX-compatible |
35 |
applications. Disabling the flag removes the jmx monitoring |
36 |
|
37 |
|
38 |
|
39 |
1.5 net-analyzer/munin/munin-2.0.3.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/munin-2.0.3.ebuild?rev=1.5&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/munin-2.0.3.ebuild?rev=1.5&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/munin-2.0.3.ebuild?r1=1.4&r2=1.5 |
44 |
|
45 |
Index: munin-2.0.3.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-2.0.3.ebuild,v |
48 |
retrieving revision 1.4 |
49 |
retrieving revision 1.5 |
50 |
diff -u -r1.4 -r1.5 |
51 |
--- munin-2.0.3.ebuild 26 Jul 2012 20:10:10 -0000 1.4 |
52 |
+++ munin-2.0.3.ebuild 28 Jul 2012 00:44:43 -0000 1.5 |
53 |
@@ -1,6 +1,6 @@ |
54 |
# Copyright 1999-2012 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-2.0.3.ebuild,v 1.4 2012/07/26 20:10:10 flameeyes Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-2.0.3.ebuild,v 1.5 2012/07/28 00:44:43 flameeyes Exp $ |
58 |
|
59 |
EAPI=4 |
60 |
|
61 |
@@ -18,7 +18,7 @@ |
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~mips ~x86" |
65 |
-IUSE="asterisk irc java memcached minimal mysql postgres ssl test +cgi ipv6 syslog ipmi" |
66 |
+IUSE="asterisk irc java memcached minimal mysql postgres ssl test +cgi ipv6 syslog ipmi http" |
67 |
REQUIRED_USE="cgi? ( !minimal )" |
68 |
|
69 |
# Upstream's listing of required modules is NOT correct! |
70 |
@@ -41,8 +41,9 @@ |
71 |
syslog? ( virtual/perl-Sys-Syslog ) |
72 |
ipmi? ( |
73 |
sys-apps/ipmitool sys-apps/gawk |
74 |
- sys-libs/freeipmi virtual/awk |
75 |
+ >=sys-libs/freeipmi-1 virtual/awk |
76 |
) |
77 |
+ http? ( dev-perl/libwww-perl ) |
78 |
dev-perl/DBI |
79 |
dev-perl/DateManip |
80 |
dev-perl/File-Copy-Recursive |
81 |
@@ -50,7 +51,6 @@ |
82 |
dev-perl/Net-CIDR |
83 |
dev-perl/Net-Netmask |
84 |
dev-perl/Net-SNMP |
85 |
- dev-perl/libwww-perl |
86 |
dev-perl/net-server[ipv6(-)?] |
87 |
virtual/perl-Digest-MD5 |
88 |
virtual/perl-Getopt-Long |
89 |
@@ -135,6 +135,7 @@ |
90 |
/etc/munin/plugin-conf.d/ |
91 |
/etc/munin/plugins/" |
92 |
keepdir ${dirs} |
93 |
+ fowners munin:munin ${dirs} |
94 |
use minimal || dirs+=" /etc/munin/munin-conf.d/" |
95 |
|
96 |
local install_targets="install-common-prime install-node-prime install-plugins-prime" |
97 |
@@ -144,7 +145,9 @@ |
98 |
# parallel install doesn't work and it's also pointless to have this |
99 |
# run in parallel for now (because it uses internal loops). |
100 |
emake -j1 DESTDIR="${D}" ${install_targets} |
101 |
- fowners munin:munin ${dirs} |
102 |
+ |
103 |
+ # remove the plugins for non-Gentoo package managers |
104 |
+ rm "${D}"/usr/libexec/munin/plugins/{apt{,_all},yum} || die |
105 |
|
106 |
insinto /etc/munin/plugin-conf.d/ |
107 |
newins "${FILESDIR}"/${PN}-1.3.2-plugins.conf munin-node |
108 |
@@ -214,6 +217,9 @@ |
109 |
## Update HTML pages every 15 minutes |
110 |
#@ 15 nice /usr/libexec/munin/munin-html |
111 |
EOF |
112 |
+ |
113 |
+ # remove .htaccess file |
114 |
+ find "${D}" -name .htaccess -delete || die |
115 |
fi |
116 |
} |
117 |
|
118 |
|
119 |
|
120 |
|
121 |
1.85 net-analyzer/munin/ChangeLog |
122 |
|
123 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/ChangeLog?rev=1.85&view=markup |
124 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/ChangeLog?rev=1.85&content-type=text/plain |
125 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/ChangeLog?r1=1.84&r2=1.85 |
126 |
|
127 |
Index: ChangeLog |
128 |
=================================================================== |
129 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v |
130 |
retrieving revision 1.84 |
131 |
retrieving revision 1.85 |
132 |
diff -u -r1.84 -r1.85 |
133 |
--- ChangeLog 26 Jul 2012 20:10:10 -0000 1.84 |
134 |
+++ ChangeLog 28 Jul 2012 00:44:43 -0000 1.85 |
135 |
@@ -1,6 +1,12 @@ |
136 |
# ChangeLog for net-analyzer/munin |
137 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
138 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.84 2012/07/26 20:10:10 flameeyes Exp $ |
139 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.85 2012/07/28 00:44:43 flameeyes Exp $ |
140 |
+ |
141 |
+ 28 Jul 2012; Diego E. Pettenò <flameeyes@g.o> metadata.xml, |
142 |
+ munin-2.0.3.ebuild: |
143 |
+ Remove the .htaccess file; remove plugins for apt and yum; make sure to |
144 |
+ require at least freeipmi-1 for the freeipmi_ plugin; add an http USe flag to |
145 |
+ drop libwww-perl harddep. |
146 |
|
147 |
26 Jul 2012; Diego E. Pettenò <flameeyes@g.o> munin-2.0.3.ebuild: |
148 |
Fix git diff problem. |