Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149465 - spawn-fcgi vs lighttpd - duplication issue
Summary: spawn-fcgi vs lighttpd - duplication issue
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.lighttpd.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 17:31 UTC by James Le Cuirot
Modified: 2009-09-28 09:45 UTC (History)
0 users

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 James Le Cuirot gentoo-dev 2006-09-28 17:31:29 UTC
Firstly, I do not understand why we have a spawn-fcgi package when spawn-fcgi is also installed with lighttpd. Both provide init scripts. Is this duplication intentional? The lighttpd ebuild mentions that it now includes spawn-fcgi so I'm guessing that the intention was to eventually get rid of the spawn-fcgi package. However, I think that packaging spawn-fcgi separately makes sense if it can be used with Apache as well. I haven't tried that but I think it can, right? If so, it should not be installed with lighttpd.

Secondly, if it is to be packaged separately, it should not depend on PHP in any way at all. spawn-fcgi is capable of launching any FastCGI application, not just PHP-based ones. I also use it to run Rails applications and Trac.

I have a new init script but I'll file a separate bug for that.
Comment 1 James Le Cuirot gentoo-dev 2006-09-28 17:49:13 UTC
New init script at bug #149467.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-29 01:01:35 UTC
Well really not everyone wants to install lighttpd to get spawn-fcgi :)
Comment 3 James Le Cuirot gentoo-dev 2006-09-29 01:11:05 UTC
Hey hey, wait a minute. That's what I'm saying, it *should* be packaged separately so it should *not* be provided by both packages. You should address the PHP dependency issue at least.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-29 01:36:11 UTC
Uhm? It already is packaged separately for people that don't use lighttpd. lighttpd upstream uses its own bundled one and the ebuild blocks net-www/spawn-fcgi, I really don't see what's your issue here.
Comment 5 James Le Cuirot gentoo-dev 2006-09-29 01:47:08 UTC
I dunno, I just doesn't seem very Gentoo-like to duplicate something like this unnecessarily. =P If it were me, I'd just have lighttpd depend on spawn-fcgi through the fastcgi USE flag. It's up to you, of course, but if my new init script is used, please ensure it is added to both packages.
Comment 6 Bartłomiej Syryjczyk 2009-09-28 09:45:09 UTC
http://www.lighttpd.net/2009/6/19/1-4-23-leaving-the-nest