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
inherit apache-module
-DESCRIPTION="Allows administrators to limit the number of simultaneous downloads permitted"
+DESCRIPTION="Limit the number of simultaneous apache connections"
HOMEPAGE="http://dominia.org/djao/limitipconn2.html"
SRC_URI="http://dominia.org/djao/limit/${P}.tar.bz2"
IUSE=""
DEPEND=""
-RDEPEND=""
+RDEPEND="=www-servers/apache-2*[apache2_modules_status]"
+need_apache2
RESTRICT="test"
APACHE2_MOD_CONF="27_${PN}"
-APACHE2_MOD_DEFINE="LIMITIPCONN INFO"
+APACHE2_MOD_DEFINE="LIMITIPCONN STATUS"
DOCFILES="ChangeLog README"
-
-need_apache2