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/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild
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/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild')
-rw-r--r--www-apache/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/www-apache/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild b/www-apache/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild
new file mode 100644
index 000000000000..6f82f6190f7f
--- /dev/null
+++ b/www-apache/mod_limitipconn/mod_limitipconn-0.24-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit apache-module
+
+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"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="=www-servers/apache-2*[apache2_modules_status]"
+need_apache2
+
+RESTRICT="test"
+
+APACHE2_MOD_CONF="27_${PN}"
+APACHE2_MOD_DEFINE="LIMITIPCONN STATUS"
+
+DOCFILES="ChangeLog README"