summaryrefslogtreecommitdiff
blob: ef86bdaf3744502d392bf79c066f163d450373a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/mod_limitipconn/mod_limitipconn-0.22-r1.ebuild,v 1.6 2006/09/30 15:18:08 chtekk Exp $

inherit eutils apache-module
RESTRICT="test"

DESCRIPTION="Allows administrators to limit the number of simultaneous downloads permitted."
SRC_URI="http://dominia.org/djao/limit/${P}.tar.gz"
HOMEPAGE="http://dominia.org/djao/limitipconn2.html"

KEYWORDS="~amd64 ppc x86"
SLOT="0"
LICENSE="as-is"
IUSE=""

APACHE2_MOD_CONF="27_${PN}"
APACHE2_MOD_DEFINE="LIMITIPCONN"

DOCFILES="ChangeLog INSTALL README"

need_apache2

pkg_postinst() {
	apache-module_pkg_postinst
	einfo
	elog "${PN} also needs mod_status enabled in Apache2."
	elog "To do this, simply add '-D INFO' to /etc/conf.d/apache2's"
	elog "APACHE2_OPTS variable."
	einfo
}