Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107512 - cacti (all versions) depends on apache
Summary: cacti (all versions) depends on apache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on: 11007
Blocks:
  Show dependency tree
 
Reported: 2005-09-28 07:50 UTC by Allen Parker
Modified: 2006-01-15 19:34 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 Allen Parker 2005-09-28 07:50:13 UTC
All versions of cacti in portage depend on net-www/apache. This is incorrect
behavior because cacti runs just fine on webservers that aren't apache, such as
lighttpd.
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2005-09-28 11:01:43 UTC
I'll take a look at that when I get a chance. Thanks for pointing that out.
Comment 2 Lance Albertson (RETIRED) gentoo-dev 2005-09-28 13:55:09 UTC
Looks like virtual/httpd hasn't been created yet. The only option now that I can
do is use the apache useflag (which I'd rather not do). Try pushing to get
virtual/httpd implemented so we can have a clean way of doing this.
Comment 3 Marcelo Goes (RETIRED) gentoo-dev 2005-09-28 14:13:52 UTC
Yup, I got frustrated when looking for it too.
I vote for waiting for virtual/httpd.
Comment 4 Lance Albertson (RETIRED) gentoo-dev 2005-09-30 06:22:19 UTC
Actually, I forgot that we could use this trick to do a virtual:

RDEPEND="|| ( net-www/apache
              www-servers/lighttpd )"

The problem becomes dealing with webapp after that. I'm not sure how friendly it
is. We'd certainly need to forbid using +vhost if they're using lighttpd. I've
been working on doing something similar to this in a new viewcvs ebuild so I'll
wait and see how feasible it is to do this sort of thing for cacti.

Thoughts on that solution?
Comment 5 Lance Albertson (RETIRED) gentoo-dev 2005-09-30 11:28:08 UTC
I tried it out and it seems to work pretty well. I'll go ahead and try and
update an ebuild with that and see how it goes.
Comment 6 Lance Albertson (RETIRED) gentoo-dev 2005-11-18 05:35:59 UTC
Latest ~arch version now has optional lighttpd support. Let me know if you have
any issues.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-01-15 13:00:38 UTC
*** Bug 119118 has been marked as a duplicate of this bug. ***
Comment 8 Lance Albertson (RETIRED) gentoo-dev 2006-01-15 19:34:25 UTC
Actually, it looks like I accidentally copied the wrong ebuild for the latest ~arch version. I'll see about fixing that soon. Sorry about that.