Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208108 - APACHE2_MODULES should not replace defaults
Summary: APACHE2_MODULES should not replace defaults
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-29 22:08 UTC by Trenton D. Adams
Modified: 2009-04-07 08:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trenton D. Adams 2008-01-29 22:08:00 UTC
APACHE2_MODULES should not replace defaults in base/make.defaults


Reproducible: Always

Steps to Reproduce:
1.add "proxy proxy_ajp proxy_balancer proxy_connect proxy_http" to APACHE2_MODULES in make.conf
2.
3.

Actual Results:  
Removes all the defaults specified in base/make.defaults
[15:13 root@reuben etc] # emerge -uDNp apache

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] www-servers/apache-2.2.6-r7  USE="doc*" APACHE2_MODULES="proxy* proxy_ajp* proxy_balancer* proxy_connect* proxy_http* -actions* -alias* -auth_basic* -authn_alias* -authn_anon* -authn_dbm* -authn_default* -authn_file* -authz_dbm* -authz_default* -authz_groupfile* -authz_host* -authz_owner* -authz_user* -autoindex* -cache* -dav* -dav_fs* -dav_lock* -deflate* -dir* -disk_cache* -env* -expires* -ext_filter* -file_cache* -filter* -headers* -include* -info* -log_config* -logio* -mem_cache* -mime* -mime_magic* -negotiation* -rewrite* -setenvif* -speling* -status* -unique_id* -userdir* -usertrack* -vhost_alias*"


Expected Results:  
Should just add "proxy proxy_ajp proxy_balancer proxy_connect proxy_http" to the list of supported modules, not remove the defaults.

[15:14 root@reuben etc] # emerge -uDNp apache

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] www-servers/apache-2.2.6-r7  USE="doc*" APACHE2_MODULES="proxy* proxy_ajp* proxy_balancer* proxy_connect* proxy_http*"
Comment 1 Trenton D. Adams 2008-01-29 22:22:29 UTC
Oh, forgot to mention that I'm using version www-servers/apache-2.2.6-r7
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2008-01-29 23:44:18 UTC
this is how portage works...
Comment 3 yasen 2008-02-14 16:15:24 UTC
Why don't you try APACHE2_MODULES+="modules that you want to include" in /etc/make.conf?
Comment 4 David 2008-10-06 08:32:09 UTC
I experienced this same annoyance myself, trying to add the proxy modules to apache.  Finally I figured out that instead of enabling them with APACHE2_MODULES in make.conf (which required me to add back in all the default modules), I added them to /etc/portage/package.use and prefixed each with apache2_modules_

So, in my package.use, I have this:

www-servers/apache ssl apache2_modules_proxy apache2_modules_proxy_http  (etc)

This way, the list of default modules is preserved.
Comment 5 Michael 2009-04-07 08:53:37 UTC
this works:

APACHE2_MODULES="${APACHE2_MODULES} extra_module1 extra_module2"