Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479360 - www-apache/mod_limitipconn - pkg_postinst() message should advise enabling '-D LIMITIPCONN -D STATUS'
Summary: www-apache/mod_limitipconn - pkg_postinst() message should advise enabling '-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-01 08:17 UTC by A. Person
Modified: 2016-08-02 00:14 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 A. Person 2013-08-01 08:17:24 UTC
The mod_limitipconn ebuild says:

add '-D LIMITIPCONN -D INFO' to APACHE2_OPTS.

but I think that should be instead:

add '-D LIMITIPCONN -D STATUS' to APACHE2_OPTS.

The following document states that "ExtendedStatus On" is required which is associated with "-D STATUS" as opposed to "-D INFO":

http://dominia.org/djao/limitipconn2-README
Comment 1 Pacho Ramos gentoo-dev 2016-05-21 13:21:29 UTC
Hence:
APACHE2_MOD_DEFINE="LIMITIPCONN INFO"

in ebuild should be changed to LIMITIPCONN STATUS

Does it work for you?
Comment 2 Michael Orlitzky gentoo-dev 2016-08-02 00:14:29 UTC
That's what was needed.. I also added a runtime dependency on the status module.

commit 0bd7235f345592e2710d5975bc734086d1a197c4
Author: Michael Orlitzky <mjo@gentoo.org>
Date:   Mon Aug 1 20:08:21 2016 -0400

    www-apache/mod_limitipconn: new revision to fix the postinst instructions.

    The pkg_postinst() for this module used to suggest setting,

      APACHE2_OPTS="... -D LIMITIPCONN -D INFO"

    in your apache2 conf file. The "INFO" was a mistake; it should have
    been "STATUS" (to enable ExtendedStatus, as needed by mod_limitipconn).
    This commit fixes the postinst message, and adds a runtime dependency
    on mod_status for apache2 (previously missing).

    Gentoo-Bug: 479360

    Package-Manager: portage-2.2.28

 ...limitipconn-0.24-r1.ebuild => mod_limitipconn-0.24-r2.ebuild} | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)