Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66252 - [NEW FEATURE] use pre-set MPM even when "threads" is set
Summary: [NEW FEATURE] use pre-set MPM even when "threads" is set
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Apache Team - Bugzilla Reports
Keywords: Inclusion
Depends on:
Reported: 2004-10-03 14:27 UTC by Perolo Silantico
Modified: 2005-04-23 20:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

apache2-2.0.51-r1.ebuild.MPM_threads.2004-09-03.diff (apach2-2.0.51-r1.ebuild.MPM_threads.2004-09-03.diff,376 bytes, patch)
2004-10-03 14:31 UTC, Perolo Silantico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.

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]

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.