Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 335708

Summary: net-analyzer/munin-1.4.5: minimal USE flag has unnecessary deps/make targets
Product: Gentoo Linux Reporter: Brian De Wolf <bldewolf>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: enhancement CC: darkside, netmon
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: A patch to implement these changes to the current ebuild

Description Brian De Wolf 2010-09-02 18:36:52 UTC
The minimal USE flag in the 1.4.5 version of the Munin ebuild could install less without impairing the function of a Munin node.  More specifically, Log4perl is not required by the node but it always listed as a dependency, and the make targets can be modified to not install master-only files.  Both of these are documented in the INSTALL document distributed with Munin.

I have created a patch that implements these changes to the current ebuild.

Reproducible: Always

Steps to Reproduce:
1. USE="minimum" emerge munin

Actual Results:  
Log4perl is still installed, files only used by the master are installed.

Expected Results:  
Only the minimal set of required packages and files should have been installed.
Comment 1 Brian De Wolf 2010-09-02 18:39:54 UTC
Created attachment 245776 [details, diff]
A patch to implement these changes to the current ebuild
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-10-05 13:58:44 UTC
Thanks!

+*munin-1.4.5-r1 (05 Oct 2010)
+
+  05 Oct 2010; Jeremy Olexa <darkside@gentoo.org> -munin-1.4.4.ebuild,
+  +munin-1.4.5-r1.ebuild:
+  Revision bump to improve USE=minimal handling, bug 335708 by Brian De
+  Wolf. Remove intermediate version