Opened 9 years ago

Last modified 3 years ago

#31122 new enhancement

MPM-ITK support for apache2 port

Reported by: neverpanic (Clemens Lang) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.99
Keywords: haspatch Cc: Schamschula (Marius Schamschula), pixilla (Bradley Giesbrecht)
Port: apache2

Description

Please find attached a patchfile adding support for the (experimental) itk multiprocessing module to the apache2 port.

I couldn't use the standard method to patch the files, because the mpm-itk patch requires patch.args -p1 but the other patches in $(port dir apache2)/files do not and I neither wanted to modify the upstream mpm-itk patch nor the existing patchfiles. Also, the mpm-itk patch needs to be patched to apply correctly (which is what mpmitk-fix-add-mpm-to-build-system.patch does).

MPM-ITK is essentially a fork of the prefork MPM allowing to use different UIDs for different VirtualHosts. In order to do this, Apache needs to be able to setuid() after matching a request to its VirtualHost and will thus have to run as root. The user ID can be specified using the AssignUserID directive and defaults to the value of User if AssignUserID was not given (this means requests will never be served as root!).

For more information about MPM-ITK go to http://mpm-itk.sesse.net/.

This might be an alternative solution for #10511.

Attachments (1)

add-mpmitk.patch (3.2 KB) - added by neverpanic (Clemens Lang) 9 years ago.
Patch against $(port dir apache2)

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by neverpanic (Clemens Lang)

Attachment: add-mpmitk.patch added

Patch against $(port dir apache2)

comment:1 Changed 9 years ago by neverpanic (Clemens Lang)

Version: 2.0.22.0.99

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Cc: Schamschula pixilla added
Note: See TracTickets for help on using tickets.