Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447960 - net-analyzer/munin: Rename 'apache' USE flag to 'apache2' for consistency
Summary: net-analyzer/munin: Rename 'apache' USE flag to 'apache2' for consistency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Sysadmin Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-20 15:42 UTC by Joe Breuer
Modified: 2017-07-22 08:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Breuer 2012-12-20 15:42:08 UTC
In net-analyzer/munin, the USE flag 'apache' is taken to mean "install the apache configuration template".

For other ebuilds that come to my mind (php, subversion), this is accomplished with the 'apache2' global USE flag.


So to adhere to the "principle of least surprise", I propose to rename the 'apache' USE flag in net-analyzer/munin to 'apache2'.


I'm willing to provide a patch, can anyone give me a hint / working example in another ebuild for code that Does The Right Thing (TM) WRT notifying the user about the change?
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-20 15:46:15 UTC
We could equally well argue that the "apache2" USE flag should be renamed "apache".
Comment 2 Joe Breuer 2012-12-20 15:56:04 UTC
(In reply to comment #1)
> We could equally well argue that the "apache2" USE flag should be renamed
> "apache".

I certainly won't dispute THAT motion ;-)

Since at least 2005 I felt the appended version number to be somewhat artificial.


... and there's only 28 ebuilds in the tree that use 'apache2' now. I would have thought that to be a *lot* more; therefore I didn't even consider that alternative.

Besides munin, there is one other package (dev-lang/v8cgi) that uses 'apache', and it's used to enable apache integration as well. So no conflict there.

Is there an established procedure to rename a global USE flag?
Comment 3 Sergiy Borodych 2013-06-05 05:49:19 UTC
bump, vote for rename
Comment 4 Hans de Graaff gentoo-dev Security 2017-07-22 08:49:40 UTC
The USE flag has been changed to apache2 in munin 2.0.33-r1.