nginx-0.7.65 ebuild which makes use of the new useflag expansions added to portage for the development version nginx-0.8.34-r1. This retains the pcre useflag as it is used by more than just the rewrite module, and people might want to be able to turn it off. Also uses a more modular configuration file setup to allow for more flexibility in creating a default install that works, and allow virtual hosting to be configured with less messing around. (Note the current 01_default file is setup for my own purposes, so will not work out of the box for some, but it could easily be "fixed" to be universal) Reproducible: Always Steps to Reproduce:
Created attachment 222687 [details] ebuild with useflag expansion
Created attachment 222689 [details] tarball with supporting files for the ebuild
Created attachment 222691 [details] ebuild with useflag expansion
can you please make your changes to the 0.8.34-r1 ebuild? i do not plan to change the old 0.7 ebuilds
The reason for me making an nginx-0.7.65 ebuild is that it is the current upstream stable version, which is what I currently have deployed. There is not much difference between this ebuild and the one you currently have in portage for 0.8.34. I will however try dumping and testing version of this for the "lastest" development version when I get the time. However it would be nice to see an updated 0.7.x version as passenger is currently shipped to run with the stable releases of nginx (0.7.x at the moment) for example the official 2.2.11 installer uses 0.7.64, so making the only available versions of a "passenger enabled" nginx in portage the 0.8.x version means its unlikely we will get a "stable" version of nginx-passenger.
i have backported the use-expanded ebuild to 0.7.65-r1, but i did not (yet) incorporate your config changes. please rediff your changes against CVS
please reopen if you have a diff ready for 0.7.*