From 480aad86c7cdd7633755830ae501a1477400b4bb Mon Sep 17 00:00:00 2001 From: Michael Stewart Date: Fri, 7 Jan 2005 19:39:38 +0000 Subject: [PATCH] Apache herd package refresh --- net-www/mod_throttle/Manifest | 15 +++----- .../mod_throttle/files/10_mod_throttle.conf | 28 +++++++++++++++ .../files/digest-mod_throttle-3.1.2-r2 | 1 + .../mod_throttle/mod_throttle-3.1.2-r2.ebuild | 35 +++++++++++++++++++ 4 files changed, 68 insertions(+), 11 deletions(-) create mode 100644 net-www/mod_throttle/files/10_mod_throttle.conf create mode 100644 net-www/mod_throttle/files/digest-mod_throttle-3.1.2-r2 create mode 100644 net-www/mod_throttle/mod_throttle-3.1.2-r2.ebuild diff --git a/net-www/mod_throttle/Manifest b/net-www/mod_throttle/Manifest index a03b73f45d80..ca366a8a295c 100644 --- a/net-www/mod_throttle/Manifest +++ b/net-www/mod_throttle/Manifest @@ -1,15 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 37851a802f831271cbb0b721934f6341 mod_throttle-3.1.2-r1.ebuild 1295 MD5 6cc62b1c23c97c72cf80c4e3d766a5f8 ChangeLog 1294 MD5 4b562dac77e8dcbc4aaea4b9bf4dbac2 metadata.xml 264 +MD5 37851a802f831271cbb0b721934f6341 mod_throttle-3.1.2-r1.ebuild 1295 +MD5 28fcb1cb8bfd097c19dc48984bd0dfb9 mod_throttle-3.1.2-r2.ebuild 800 MD5 758dec7efa2b34d6c0b42a8b911ae163 files/digest-mod_throttle-3.1.2-r1 63 MD5 d4ffd33a5f0149ab2dfae75270f26d94 files/mod_throttle.conf 528 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFB2un7Z/iYVBmujdURAvSBAKCEUaoko+XHFEAXpHledChuwpG82gCgiVXb -Uau0ymJ8TUEZanNWWRZLEIc= -=FPmH ------END PGP SIGNATURE----- +MD5 758dec7efa2b34d6c0b42a8b911ae163 files/digest-mod_throttle-3.1.2-r2 63 +MD5 43ab7b458532778476d9f2bc9121933c files/10_mod_throttle.conf 513 diff --git a/net-www/mod_throttle/files/10_mod_throttle.conf b/net-www/mod_throttle/files/10_mod_throttle.conf new file mode 100644 index 000000000000..0552fe52c296 --- /dev/null +++ b/net-www/mod_throttle/files/10_mod_throttle.conf @@ -0,0 +1,28 @@ + + + LoadModule throttle_module modules/mod_throttle.so + + + + + ThrottlePolicy none + + + SetHandler throttle-status + Order deny,allow + Allow from localhost + + + + SetHandler throttle-me + Order deny,allow + Allow from localhost + + + + SetHandler throttle-me + Order deny,allow + Allow from localhost + + + diff --git a/net-www/mod_throttle/files/digest-mod_throttle-3.1.2-r2 b/net-www/mod_throttle/files/digest-mod_throttle-3.1.2-r2 new file mode 100644 index 000000000000..df3d69409322 --- /dev/null +++ b/net-www/mod_throttle/files/digest-mod_throttle-3.1.2-r2 @@ -0,0 +1 @@ +MD5 6edc45c3ea8a0855d4b0b14cf0f76404 mod_throttle312.tgz 41397 diff --git a/net-www/mod_throttle/mod_throttle-3.1.2-r2.ebuild b/net-www/mod_throttle/mod_throttle-3.1.2-r2.ebuild new file mode 100644 index 000000000000..70ea3a3e2e0e --- /dev/null +++ b/net-www/mod_throttle/mod_throttle-3.1.2-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_throttle/mod_throttle-3.1.2-r2.ebuild,v 1.1 2005/01/07 19:39:38 vericgar Exp $ + +inherit apache-module + +# test target in Makefile isn't sane +RESTRICT="maketest" + +MY_PV=${PV//./} + +DESCRIPTION="Bandwidth and request throttling for Apache" +HOMEPAGE="http://www.snert.com/Software/mod_throttle/" + +KEYWORDS="~x86 ~sparc ~ppc" +SRC_URI="http://www.snert.com/Software/${PN}/${PN}${MY_PV}.tgz" +DEPEND="" +LICENSE="as-is" +SLOT="0" +IUSE="" + +APACHE1_MOD_CONF="10_${PN}" +APACHE1_MOD_DEFINE="THROTTLE" + +need_apache1 + +src_install() { + + apache1_src_install + + sed 's/Img\///g' < index.shtml > index.html + dodoc CHANGES.txt LICENSE.txt + dohtml -r index.html Img/ + +} -- 2.26.2