Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411129 - www-servers/nginx-1.0.14 should support EXTRA_ECONF
Summary: www-servers/nginx-1.0.14 should support EXTRA_ECONF
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-07 10:10 UTC by Zhankao WEN
Modified: 2012-04-08 09:55 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 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