You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
644 B
32 lines
644 B
# 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
|
|
}
|