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*"
Oh, forgot to mention that I'm using version www-servers/apache-2.2.6-r7
this is how portage works...
Why don't you try APACHE2_MODULES+="modules that you want to include" in /etc/make.conf?
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.
this works: APACHE2_MODULES="${APACHE2_MODULES} extra_module1 extra_module2"