blob: e15754b7a802b515e48a3c6bd6e5cefe2ab36436 (
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
|
# Copyright 1999-2005 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.04.ebuild,v 1.1 2005/02/09 15:47:30 hollow Exp $
inherit eutils apache-module
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/limitipconn.html"
KEYWORDS="~x86 ~ppc"
SLOT="1"
LICENSE="as-is"
IUSE=""
APACHE1_MOD_CONF="27_mod_limitipconn"
APACHE1_MOD_DEFINE="LIMITIP"
DOCFILES="ChangeLog README"
need_apache1
src_unpack() {
unpack ${A} || die "unpack failed"
cd ${S} || "could not cd to ${S}"
epatch ${FILESDIR}/${P}-local_ip.patch || "local_ip patch failed"
epatch ${FILESDIR}/${P}-vhost.patch || "vhost patch failed"
}
|