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

Bug 411129

Summary: www-servers/nginx-1.0.14 should support EXTRA_ECONF
Product: Gentoo Linux Reporter: Zhankao WEN <wzk>
Component: [OLD] ServerAssignee: Benedikt Böhm (RETIRED) <hollow>
Status: VERIFIED INVALID    
Severity: normal CC: dev-zero
Priority: Normal    
Version: 10.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Zhankao WEN 2012-04-07 10:10:12 UTC
It will be good if nginx have support for that variable. For example I need compile naxsi to nginx.

EXTRA_ECONF="--add-module=/tmp/naxsi-0.44-1/naxsi_src/" emerge nginx
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-04-08 04:34:53 UTC
FYI: EXTRA_ECONF is only intended for packages that use standard autotools
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2012-04-08 08:47:02 UTC
please use NGINX_ADD_MODULES:

        if [[ -n $NGINX_ADD_MODULES ]]; then
                ewarn "You are building custom modules via \$NGINX_ADD_MODULES!"
                ewarn "This nginx installation is not supported!"
                ewarn "Make sure you can reproduce the bug without those modules"
                ewarn "_before_ reporting bugs."
        fi


...


        for mod in $NGINX_ADD_MODULES; do
                myconf+=" --add-module=${mod}"
        done
Comment 3 Zhankao WEN 2012-04-08 09:49:20 UTC
thank you for you comment