www-apache/mod_limitipconn: new revision to fix the postinst instructions.
authorMichael Orlitzky <mjo@gentoo.org>
Tue, 2 Aug 2016 00:08:21 +0000 (20:08 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Tue, 2 Aug 2016 00:09:13 +0000 (20:09 -0400)
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

www-apache/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild [moved from www-apache/mod_limitipconn/mod_limitipconn-0.24-r1.ebuild with 71% similarity]

similarity index 71%
rename from www-apache/mod_limitipconn/mod_limitipconn-0.24-r1.ebuild
rename to www-apache/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild
index 856408fff5844cf6201e56a5ec1ff05df4cffba2..6f82f6190f7f1ad306a2bc71860b2ab080df582a 100644 (file)
@@ -6,7 +6,7 @@ EAPI=6
 
 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"
 
@@ -16,13 +16,12 @@ KEYWORDS="~amd64 ~ppc ~x86"
 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