1 |
darkside 10/02/03 15:17:54 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: munin-1.4.3.ebuild |
5 |
Removed: munin-1.3.3.ebuild munin-1.3.3-r1.ebuild |
6 |
munin-1.3.3-r2.ebuild munin-1.3.4-r1.ebuild |
7 |
munin-1.3.4.ebuild |
8 |
Log: |
9 |
Version bump to 1.4.3, many thanks to all the contributors on bug 300171. Include ping6 fix from bug 294722. Include QA fix for perl site-dir, bug 298528. Remove old versions and unused patches |
10 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.32 net-analyzer/munin/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/munin/ChangeLog?rev=1.32&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/munin/ChangeLog?rev=1.32&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/munin/ChangeLog?r1=1.31&r2=1.32 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v |
22 |
retrieving revision 1.31 |
23 |
retrieving revision 1.32 |
24 |
diff -u -r1.31 -r1.32 |
25 |
--- ChangeLog 11 Jan 2010 07:41:55 -0000 1.31 |
26 |
+++ ChangeLog 3 Feb 2010 15:17:53 -0000 1.32 |
27 |
@@ -1,6 +1,22 @@ |
28 |
# ChangeLog for net-analyzer/munin |
29 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.31 2010/01/11 07:41:55 hollow Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.32 2010/02/03 15:17:53 darkside Exp $ |
32 |
+ |
33 |
+*munin-1.4.3 (03 Feb 2010) |
34 |
+ |
35 |
+ 03 Feb 2010; Jeremy Olexa <darkside@g.o> |
36 |
+ -files/munin-1.3.2-plugin-cleanup.patch, |
37 |
+ -files/munin-1.3.2-rrdtool-comments.patch, -munin-1.3.3.ebuild, |
38 |
+ -munin-1.3.3-r1.ebuild, -munin-1.3.3-r2.ebuild, |
39 |
+ -files/munin-1.3.3-Makefile.patch, -munin-1.3.4.ebuild, |
40 |
+ -munin-1.3.4-r1.ebuild, +munin-1.4.3.ebuild, |
41 |
+ +files/munin-1.4.3-Makefile.patch, |
42 |
+ +files/munin-1.4.3-fw_conntrack_plugins.patch, |
43 |
+ +files/munin-1.4.3-ping6_fix.patch, |
44 |
+ +files/munin-1.4.3-plugin-cleanup.patch, metadata.xml: |
45 |
+ Version bump to 1.4.3, many thanks to all the contributors on bug 300171. |
46 |
+ Include ping6 fix from bug 294722. Include QA fix for perl site-dir, bug |
47 |
+ 298528. Remove old versions and unused patches |
48 |
|
49 |
11 Jan 2010; Benedikt Böhm <hollow@g.o> munin-1.3.4-r2.ebuild: |
50 |
add Net-CIDR dependency wrt #287718 |
51 |
|
52 |
|
53 |
|
54 |
1.3 net-analyzer/munin/metadata.xml |
55 |
|
56 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/munin/metadata.xml?rev=1.3&view=markup |
57 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/munin/metadata.xml?rev=1.3&content-type=text/plain |
58 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/munin/metadata.xml?r1=1.2&r2=1.3 |
59 |
|
60 |
Index: metadata.xml |
61 |
=================================================================== |
62 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/munin/metadata.xml,v |
63 |
retrieving revision 1.2 |
64 |
retrieving revision 1.3 |
65 |
diff -u -r1.2 -r1.3 |
66 |
--- metadata.xml 4 Aug 2008 19:34:32 -0000 1.2 |
67 |
+++ metadata.xml 3 Feb 2010 15:17:53 -0000 1.3 |
68 |
@@ -18,10 +18,5 @@ |
69 |
</longdescription> |
70 |
<use> |
71 |
<flag name='irc'>installs deps for monitoring IRC</flag> |
72 |
- <flag name='munin-apache'>installs deps for monitoring apache</flag> |
73 |
- <flag name='munin-dhcp'>installs deps for monitoring DHCP</flag> |
74 |
- <flag name='munin-irc'>installs deps for monitoring IRC</flag> |
75 |
- <flag name='munin-squid'>installs deps for monitoring squid</flag> |
76 |
- <flag name='munin-surfboard'>installs deps for monitoring a Motoro Surfboard Cable modem</flag> |
77 |
</use> |
78 |
</pkgmetadata> |
79 |
|
80 |
|
81 |
|
82 |
1.1 net-analyzer/munin/munin-1.4.3.ebuild |
83 |
|
84 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/munin/munin-1.4.3.ebuild?rev=1.1&view=markup |
85 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/munin/munin-1.4.3.ebuild?rev=1.1&content-type=text/plain |
86 |
|
87 |
Index: munin-1.4.3.ebuild |
88 |
=================================================================== |
89 |
# Copyright 1999-2010 Gentoo Foundation |
90 |
# Distributed under the terms of the GNU General Public License v2 |
91 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-1.4.3.ebuild,v 1.1 2010/02/03 15:17:53 darkside Exp $ |
92 |
|
93 |
EAPI="2" |
94 |
|
95 |
inherit eutils |
96 |
|
97 |
DESCRIPTION="Munin Server Monitoring Tool" |
98 |
HOMEPAGE="http://munin.projects.linpro.no/" |
99 |
SRC_URI="mirror://sourceforge/munin/${P}.tar.gz" |
100 |
|
101 |
LICENSE="GPL-2" |
102 |
SLOT="0" |
103 |
KEYWORDS="~amd64 ~mips ~sparc ~x86" |
104 |
IUSE="doc minimal irc mysql postgres ssl" |
105 |
|
106 |
# Upstream's listing of required modules is NOT correct! |
107 |
# Some of the postgres plugins use DBD::Pg, while others call psql directly. |
108 |
# The mysql plugins use mysqladmin directly. |
109 |
DEPEND_COM="dev-lang/perl |
110 |
sys-process/procps |
111 |
ssl? ( dev-perl/Net-SSLeay ) |
112 |
mysql? ( virtual/mysql ) |
113 |
postgres? ( dev-perl/DBD-Pg virtual/postgresql-base ) |
114 |
irc? ( dev-perl/Net-IRC ) |
115 |
dev-perl/DateManip |
116 |
dev-perl/Log-Log4perl |
117 |
dev-perl/Net-CIDR |
118 |
dev-perl/Net-Netmask |
119 |
dev-perl/Net-SNMP |
120 |
dev-perl/libwww-perl |
121 |
dev-perl/net-server |
122 |
virtual/perl-Digest-MD5 |
123 |
virtual/perl-Getopt-Long |
124 |
virtual/perl-MIME-Base64 |
125 |
virtual/perl-Storable |
126 |
virtual/perl-Text-Balanced |
127 |
virtual/perl-Time-HiRes |
128 |
!minimal? ( dev-perl/HTML-Template |
129 |
net-analyzer/rrdtool[perl] )" |
130 |
# Sybase isn't supported in Gentoo |
131 |
#munin-sybase? ( dev-perl/DBD-Sybase ) |
132 |
|
133 |
# Keep this seperate, as previous versions have had other deps here |
134 |
DEPEND="${DEPEND_COM}" |
135 |
RDEPEND="${DEPEND_COM} |
136 |
!minimal? ( virtual/cron )" |
137 |
|
138 |
pkg_setup() { |
139 |
enewgroup munin |
140 |
enewuser munin 177 -1 /var/lib/munin munin |
141 |
} |
142 |
|
143 |
src_prepare() { |
144 |
# upstream needs a lot of DESTDIR loving |
145 |
# and Gentoo location support |
146 |
epatch "${FILESDIR}"/${PN}-1.4.3-Makefile.patch |
147 |
# Fix noise in the plugins |
148 |
epatch "${FILESDIR}"/${PN}-1.4.3-plugin-cleanup.patch |
149 |
|
150 |
# Bug #195964, fix up conntrack |
151 |
# Patch modified as it has only been partially taken up by upstream |
152 |
epatch "${FILESDIR}"/${PN}-1.4.3-fw_conntrack_plugins.patch |
153 |
|
154 |
epatch "${FILESDIR}"/${P}-ping6_fix.patch |
155 |
} |
156 |
|
157 |
src_compile() { |
158 |
emake -j 1 build build-man || die "build/build-man failed" |
159 |
if use doc; then |
160 |
emake -j 1 build-doc || die "build-doc failed" |
161 |
fi |
162 |
|
163 |
#Ensure TLS is disabled if built without SSL |
164 |
if ! use ssl; then |
165 |
echo "tls disabled" >> ${S}/build/node/munin-node.conf \ |
166 |
|| die "Fixing munin-node.conf Failed!" |
167 |
echo "tls disabled" >> ${S}/build/server/munin.conf \ |
168 |
|| die "Fixing munin.conf Failed!" |
169 |
fi |
170 |
|
171 |
} |
172 |
|
173 |
src_install() { |
174 |
local dirs |
175 |
dirs="/var/log/munin/ /var/lib/munin/" |
176 |
dirs="${dirs} /var/lib/munin/plugin-state/" |
177 |
dirs="${dirs} /var/run/munin/plugin-state/" |
178 |
dirs="${dirs} /var/run/munin/spool/" |
179 |
dirs="${dirs} /etc/munin/plugin-conf.d/" |
180 |
dirs="${dirs} /etc/munin/munin-conf.d/" |
181 |
dirs="${dirs} /etc/munin/plugins/" |
182 |
keepdir ${dirs} |
183 |
|
184 |
emake -j 1 DESTDIR="${D}" install || die "install failed" |
185 |
fowners munin:munin ${dirs} || die |
186 |
|
187 |
insinto /etc/munin/plugin-conf.d/ |
188 |
newins "${FILESDIR}"/${PN}-1.3.2-plugins.conf munin-node || die |
189 |
|
190 |
# make sure we've got everything in the correct directory |
191 |
insinto /var/lib/munin |
192 |
newins "${FILESDIR}"/${PN}-1.3.3-crontab crontab || die |
193 |
newinitd "${FILESDIR}"/munin-node_init.d_1.3.3-r1 munin-node || die |
194 |
newconfd "${FILESDIR}"/munin-node_conf.d_1.3.3-r1 munin-node || die |
195 |
dodoc README ChangeLog INSTALL logo.eps logo.svg build/resources/apache* \ |
196 |
|| die |
197 |
|
198 |
# bug 254968 |
199 |
insinto /etc/logrotate.d/ |
200 |
newins "${FILESDIR}"/logrotate.d-munin munin || die |
201 |
} |
202 |
|
203 |
pkg_config() { |
204 |
einfo "Press enter to install the default crontab for the munin master" |
205 |
einfo "installation from /var/lib/munin/crontab" |
206 |
einfo "If you have a large site, you may wish to customize it." |
207 |
read |
208 |
# dcron is very fussy about syntax |
209 |
# the following is the only form that works in BOTH dcron and vixie-cron |
210 |
crontab - -u munin </var/lib/munin/crontab |
211 |
} |
212 |
|
213 |
pkg_postinst() { |
214 |
elog "Please follow the munin documentation to set up the plugins you" |
215 |
elog "need, afterwards start munin-node via /etc/init.d/munin-node." |
216 |
elog "To have munin's cronjob automatically configured for you if this is" |
217 |
elog "your munin master installation, please:" |
218 |
elog "emerge --config net-analyzer/munin" |
219 |
elog "" |
220 |
elog "Please note that the crontab has undergone some modifications" |
221 |
elog "since 1.3.2, and you should update to it!" |
222 |
} |