On Tue, Nov 20, 2012 at 5:56 PM, Jiri B <ji...@devio.us> wrote: > On Mon, Nov 19, 2012 at 04:42:57PM -0300, Martín Ferco wrote: >> I can see that some files have been updated by the OpenBSD team, reading >> README.OpenBSD in the source directory. One of those changes seems to have >> been the inclusion of the "-u" flag to chroot nginx (I'm not entirely sure >> about this, but I can't find that switch in a 1.2.5 release for CentOS). > > Good caught! > >> Has it gone through an audit process of some sort by the OpenBSD team? I >> think that was performed for the Apache code, and patches were applied >> because of that. > > Human resources are limited. >
I imagine, though, that some kind of code review had to be done in order to make those modifications. Are those changes (such as the -u flag) documented somewhere, or should I look at the CVS directly to look for them? >> Last, but not least, is there a recommended way to compile/add modules to >> nginx? I had to modify the Makefile.bsd-wrapper to do that, as it looke >> like the only way to add 3rd party modules to it. Is there a suggested way >> to do that? > > /usr/ports/www/nginx But, if I do this, wouldn't I be missing the chroot by default and changes the OpenBSD team has put into nginx? Or perhaps these changes have been made to the port as well (I haven't looked yet). > > jirib