[csw-maintainers] nginx + passenger

Dagobert Michelsen dam at opencsw.org
Tue Aug 16 10:49:27 CEST 2011


Hi,

Am 16.08.2011 um 10:38 schrieb Jesse Reynolds:
> 2011/8/16 Maciej Bliziński <maciej at opencsw.org>
> 2011/8/16 Jesse Reynolds <jesse at opencsw.org>:
> > It has no plugin architecture - you have to recompile nginx to add in it's
> > modules. Andy already includes a bunch of modules with configure lines like
> >  --with-http_dav_module and so on.
> 
> If that's the case, you could (as you said) see if you can recompile
> nginx with passenger support, and separate out the files responsible
> for handling that support, if that's possible. You would just need to
> make sure that nging would still work with these files missing (i.e.
> the nginx-passenger package not installed).
> 
> 
> Yeah, as we discussed on irc just now, that won't work because when you compile modules into nginx they are literally compiled into the one monolithic binary executable. It doesn't link to a shared object or anything like that. So I think it's a case of either:
> a) creating an nginx_passenger package, which incompatables the existing nginx package or
> b) adding passenger support to the existing nginx package, with a soft dependency on ruby and the passenger gem (ie you can use passenger configs with passenger if you've also installed ruby and the passenger gem)
> 
> In any case, I'll try to create a package for the passenger gem as this will be required for either option. 

I suggest adding alternatives with nginx as base package and nginx_passenger as
add-on which takes precedence on the binary and depends on ruby etc.


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list