summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-08-01 20:08:21 -0400
committerMichael Orlitzky <mjo@gentoo.org>2016-08-01 20:09:13 -0400
commit0bd7235f345592e2710d5975bc734086d1a197c4 (patch)
treed38f211947e6aa8970b01dfc98dad6e6d2b8749e /www-apache
parentsys-kernel/hardened-sources: remove older unstable versions (diff)
downloadgentoo-0bd7235f345592e2710d5975bc734086d1a197c4.tar.gz
gentoo-0bd7235f345592e2710d5975bc734086d1a197c4.tar.bz2
gentoo-0bd7235f345592e2710d5975bc734086d1a197c4.zip
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
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild (renamed from www-apache/mod_limitipconn/mod_limitipconn-0.24-r1.ebuild)9
1 files changed, 4 insertions, 5 deletions
diff --git a/www-apache/mod_limitipconn/mod_limitipconn-0.24-r1.ebuild b/www-apache/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild
index 856408fff584..6f82f6190f7f 100644
--- a/www-apache/mod_limitipconn/mod_limitipconn-0.24-r1.ebuild
+++ b/www-apache/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild
@@ -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