Opened 3 months ago

Last modified 3 months ago

#60313 assigned enhancement

nginx: each module should be in a separate port

Reported by: ryandesign (Ryan Schmidt) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Schamschula (Marius Schamschula)
Port: nginx

Description

The nginx port has many variants for installing modules. These should all be moved to subports. We've discussed this years ago (e.g. #52103). I believe nginx has support for building modules standalone now but you were waiting for all the modules to adopt this. If this hasn't happened by now, maybe it's time to cut those ancient modules loose.

Change History (2)

comment:1 Changed 3 months ago by Schamschula (Marius Schamschula)

In the nginx documentation I do not see a way of building modules separately from nginx.

However, we currently use static modules, and could convert to building dynamic modules.

See: https://www.nginx.com/resources/wiki/extending/converting/#compiling-dynamic

comment:2 Changed 3 months ago by ryandesign (Ryan Schmidt)

Ok, dynamic then. Whatever it's called. It should (I say this from a MacPorts standpoint, with no knowledge of the nginx build system) be possible to build nginx and then later build and use a module. See for example how we handle php modules in MacPorts.

Note: See TracTickets for help on using tickets.