Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651164 - www-servers/nginx - allow EXTRA_ECONF for enabling/disabling extra modules
Summary: www-servers/nginx - allow EXTRA_ECONF for enabling/disabling extra modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Deutschmann (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2018-03-22 15:50 UTC by silence
Modified: 2018-04-03 15:52 UTC (History)
1 user (show)

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


Attachments
nginx-1.13.10.ebuild with EXTRA_ECONF addition (nginx-1.13.10.ebuild,39.90 KB, text/plain)
2018-03-22 15:50 UTC, silence
Details

Note You need to log in before you can comment on or make changes to this bug.
Description silence 2018-03-22 15:50:21 UTC
Created attachment 524868 [details]
nginx-1.13.10.ebuild with EXTRA_ECONF addition

I attached an ebuild that allows additions to ./configure through EXTRA_ECONF (unless there is another way).

Would be fantastic to add this!
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-23 08:02:05 UTC
Comment on attachment 524868 [details]
nginx-1.13.10.ebuild with EXTRA_ECONF addition

$ curl -L https://bugs.gentoo.org/attachment.cgi?id=524868 | dos2unix | diff -u nginx-1.13.10.ebuild -
--- nginx-1.13.10.ebuild        2018-03-21 15:38:16.509310864 +0100
+++ -   2018-03-23 09:00:52.668834981 +0100
@@ -660,6 +660,9 @@
                WITHOUT_IPV6=" -DNGX_HAVE_INET6=0"
        fi

+       # Support user-passed configuration parameters
+       myconf+=( ${EXTRA_ECONF:-} )
+
        ./configure \
                --prefix="${EPREFIX}"/usr \
                --conf-path="${EPREFIX}"/etc/${PN}/${PN}.conf \

Note that it needed mangling with dos2unix.
Comment 2 Larry the Git Cow gentoo-dev 2018-04-03 15:52:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=649e666324f0c6de35e1e3afc7f6c202a70e946c

commit 649e666324f0c6de35e1e3afc7f6c202a70e946c
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-04-03 15:51:16 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-04-03 15:52:05 +0000

    www-servers/nginx: Bump to v1.13.11 mainline
    
    Ebuild changes:
    ===============
    - brotli module updated to commit 6a1174446f5a866d3d13615dd2824177570f0a69.
    
    - nginScript module bumped to v0.2.0.
    
    - Support for EXTRA_ECONF added to allow those who know what they
      are doing to add additional modules for example. [Bug 651164]
    
    Closes: https://bugs.gentoo.org/651164
    Package-Manager: Portage-2.3.26, Repoman-2.3.7

 www-servers/nginx/Manifest             |    3 +
 www-servers/nginx/nginx-1.13.11.ebuild | 1064 ++++++++++++++++++++++++++++++++
 2 files changed, 1067 insertions(+)