Bug 171490 - www/apache22: WITH_MPM= breaks mod_proxy_*
Summary: www/apache22: WITH_MPM= breaks mod_proxy_*
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Olli Hauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-09 09:50 UTC by Bernard Spil
Modified: 2012-09-11 12:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer freebsd_triage 2012-09-09 09:50:03 UTC
When building www/apache22 Apache 2.2.22_7 (and _8) with 
   WITH_MPM=worker 
and 
   WITH_PROXY=true
   WITH_PROXY_CONNECT=true
   WITH_PROXY_HTTP=true
It will build and install /usr/local/libexec/apache22/mod_proxy.so but not mod_proxy_connect.so and mod_proxy_http.so 
I haven't checked if it built the modules and not installed them or not even built them.

Building www/apache22-worker-mpm is OK, it builds and installs the proxy modules correctly

Fix: 

Replace www/apache22 by www/apache22-worker-mpm and remove WITH_MPM=worker from the configuration
How-To-Repeat: Build www/apache22 with
   WITH_MPM=worker 
   WITH_PROXY=true
   WITH_PROXY_CONNECT=true
   WITH_PROXY_HTTP=true
Check for mod_proxy_http.so and mod_proxy_connect.so in /usr/local/libexec/apache22
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-09 09:50:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Olli Hauer freebsd_committer freebsd_triage 2012-09-09 15:06:12 UTC
State Changed
From-To: open->feedback

The WITH_MPM parameter is valid, but the WITH_PROXY... parameters 
should be ignored by the options NG framework. 

Anyway it is intersting for me to have for both cases the following 
output: 

$> make showmodules | grep -i -e proxy -e mpm 
$> make -V CONFIGURE_ARGS WITH_MPM=worker -DWITH_PROXY -DWITH_PROXY_HTTP -DWITH_PROXY_CONNECT | tr -s ' "' 'n' | grep -v disable | grep -e proxy -e mpm 

If possible please fire up a "make configure" with your parameters  
send me the work/httpd-2.2.22/config.log's for both cases 
(To my  @FreeBSD address not to gnats) 




Comment 3 Olli Hauer freebsd_committer freebsd_triage 2012-09-09 15:06:12 UTC
Responsible Changed
From-To: apache->ohauer
Comment 4 Olli Hauer freebsd_committer freebsd_triage 2012-09-11 12:12:58 UTC
State Changed
From-To: feedback->closed

Issue solved by make rmconfig, and start over