Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66252

Summary: [NEW FEATURE] use pre-set MPM even when "threads" is set
Product: Gentoo Linux Reporter: Perolo Silantico <per.sil>
Component: [OLD] ServerAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: VERIFIED LATER    
Severity: enhancement Keywords: Inclusion
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: apache2-2.0.51-r1.ebuild.MPM_threads.2004-09-03.diff

Description Perolo Silantico 2004-10-03 14:27:56 UTC
When the USE flag "threads" is set, then the apache2 is always compiled with "worker" as MPM. "threads" influences various packages including perl, so some might want to use a compiled version of perl but "prefork" as MPM with apache2. It would be great, if the ebuild always respects the environment variable "MPM", if it is set. Then you may set "MPM" in /etc/make.conf and be sure that "prefork" is used.

To achive this behavious, I have added a small patch. Please apply it to the ebuild of apache2.
Thanks.
  Perolo


Reproducible: Always
Steps to Reproduce:
USE="threads apache2"
emerge apache
Comment 1 Perolo Silantico 2004-10-03 14:31:56 UTC
Created attachment 41018 [details, diff]
apache2-2.0.51-r1.ebuild.MPM_threads.2004-09-03.diff

A patch to make the apache2 ebuild always use the environment variable "MPM" if
it  is set.
Comment 2 Paul Querna 2004-10-04 20:58:18 UTC
This is fixed in the Apache Herd's External Overlay.

We added local use flags for each MPM.
Comment 3 Michael Tindal (RETIRED) gentoo-dev 2004-10-04 22:38:43 UTC
Marking this as LATER since it will be fixed when the overlay is merged.
Comment 4 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 20:28:14 UTC
Long since finxed, closing.