[MacPorts] #31122: MPM-ITK support for apache2 port
MacPorts
noreply at macports.org
Mon Sep 5 06:14:58 PDT 2011
#31122: MPM-ITK support for apache2 port
------------------------------+---------------------------------------------
Reporter: cal@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.2
Keywords: haspatch | Port: apache2
------------------------------+---------------------------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/31122>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list