Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 455826 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-analyzer/munin/munin-2.0.11.ebuild (-4 / +4 lines)
Lines 26-32 Link Here
26
# Some of the mysql plugins use DBD::mysql, while others call mysqladmin directly.
26
# Some of the mysql plugins use DBD::mysql, while others call mysqladmin directly.
27
# We replace the original ipmi plugins with the freeipmi_ plugin which at least works.
27
# We replace the original ipmi plugins with the freeipmi_ plugin which at least works.
28
DEPEND_COM="dev-lang/perl[berkdb]
28
DEPEND_COM="dev-lang/perl[berkdb]
29
			sys-process/procps
29
			userland_GNU? ( sys-process/procps )
30
			doc? ( dev-python/sphinx )
30
			doc? ( dev-python/sphinx )
31
			asterisk? ( dev-perl/Net-Telnet )
31
			asterisk? ( dev-perl/Net-Telnet )
32
			irc? ( dev-perl/Net-IRC )
32
			irc? ( dev-perl/Net-IRC )
Lines 179-185 Link Here
179
	rm -rf "${D}"/run
179
	rm -rf "${D}"/run
180
180
181
	# remove the plugins for non-Gentoo package managers
181
	# remove the plugins for non-Gentoo package managers
182
	rm "${D}"/usr/libexec/munin/plugins/{apt{,_all},yum} || die
182
	rm -f "${D}"/usr/libexec/munin/plugins/{apt{,_all},yum} || die
183
183
184
	insinto /etc/munin/plugin-conf.d/
184
	insinto /etc/munin/plugin-conf.d/
185
	newins "${FILESDIR}"/${PN}-1.3.2-plugins.conf munin-node
185
	newins "${FILESDIR}"/${PN}-1.3.2-plugins.conf munin-node
Lines 227-233 Link Here
227
	if use minimal; then
227
	if use minimal; then
228
		# This requires the presence of munin-update, which is part of
228
		# This requires the presence of munin-update, which is part of
229
		# the non-minimal install...
229
		# the non-minimal install...
230
		rm "${D}"/usr/libexec/munin/plugins/munin_stats
230
		rm -f "${D}"/usr/libexec/munin/plugins/munin_stats
231
	else
231
	else
232
		dodir /usr/lib/tmpfiles.d
232
		dodir /usr/lib/tmpfiles.d
233
		cat - > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<EOF
233
		cat - > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<EOF
Lines 235-241 Link Here
235
EOF
235
EOF
236
236
237
		# remove font files so that we don't have to keep them around
237
		# remove font files so that we don't have to keep them around
238
		rm "${D}"/usr/libexec/${PN}/*.ttf || die
238
		rm -f "${D}"/usr/libexec/${PN}/*.ttf || die
239
239
240
		if use cgi; then
240
		if use cgi; then
241
			sed -i -e '/#graph_strategy cgi/s:^#::' "${D}"/etc/munin/munin.conf || die
241
			sed -i -e '/#graph_strategy cgi/s:^#::' "${D}"/etc/munin/munin.conf || die

Return to bug 455826