summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-11-27 15:38:26 +0100
committerMarek Szuba <marecki@gentoo.org>2021-11-27 16:01:59 +0100
commit767953cf7c81c5cfcee32751dc838cabb098c6f1 (patch)
tree4d15d14d9fdf7efa258874ebb81b5c4d5f7e1022 /www-apache/mod_limitipconn
parentsys-libs/libunwind: drop 1.6.0_rc2 (diff)
downloadgentoo-767953cf7c81c5cfcee32751dc838cabb098c6f1.tar.gz
gentoo-767953cf7c81c5cfcee32751dc838cabb098c6f1.tar.bz2
gentoo-767953cf7c81c5cfcee32751dc838cabb098c6f1.zip
www-apache/mod_limitipconn: update EAPI 5 -> 7
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'www-apache/mod_limitipconn')
-rw-r--r--www-apache/mod_limitipconn/mod_limitipconn-0.24-r4.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/www-apache/mod_limitipconn/mod_limitipconn-0.24-r4.ebuild b/www-apache/mod_limitipconn/mod_limitipconn-0.24-r4.ebuild
new file mode 100644
index 000000000000..df72cd42b1c4
--- /dev/null
+++ b/www-apache/mod_limitipconn/mod_limitipconn-0.24-r4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit apache-module depend.apache
+
+DESCRIPTION="Limit the number of simultaneous apache connections"
+HOMEPAGE="https://dominia.org/djao/limitipconn2.html"
+SRC_URI="https://dominia.org/djao/limit/${P}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="www-servers/apache[apache2_modules_status]"
+
+need_apache2
+
+RESTRICT="test"
+
+APACHE2_MOD_CONF="27_${PN}"
+APACHE2_MOD_DEFINE="LIMITIPCONN STATUS"
+
+DOCFILES="ChangeLog README"
+
+# Work around Bug #616612
+pkg_setup() {
+ _init_apache2
+ _init_apache2_late
+}