Apache herd package refresh
authorMichael Stewart <vericgar@gentoo.org>
Fri, 7 Jan 2005 19:39:38 +0000 (19:39 +0000)
committerMichael Stewart <vericgar@gentoo.org>
Fri, 7 Jan 2005 19:39:38 +0000 (19:39 +0000)
net-www/mod_throttle/Manifest
net-www/mod_throttle/files/10_mod_throttle.conf [new file with mode: 0644]
net-www/mod_throttle/files/digest-mod_throttle-3.1.2-r2 [new file with mode: 0644]
net-www/mod_throttle/mod_throttle-3.1.2-r2.ebuild [new file with mode: 0644]

index a03b73f45d80844dacfaedde95ddc838a971588a..ca366a8a295ce6d8a1c26d423ac869926bb1c9cd 100644 (file)
@@ -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 (file)
index 0000000..0552fe5
--- /dev/null
@@ -0,0 +1,28 @@
+<IfDefine THROTTLE>
+  <IfModule !mod_throttle.c>
+    LoadModule throttle_module  modules/mod_throttle.so
+  </IfModule>
+</IfDefine>
+
+<IfModule mod_throttle.c>
+       ThrottlePolicy none
+
+       <Location /throttle-status>
+       SetHandler throttle-status
+       Order deny,allow
+       Allow from localhost
+       </Location>
+
+       <Location /throttle-me>
+       SetHandler throttle-me
+       Order deny,allow
+       Allow from localhost
+       </Location>
+
+       <Location /~*/throttle-me>
+       SetHandler throttle-me
+       Order deny,allow
+       Allow from localhost
+       </Location>
+
+</IfModule> 
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 (file)
index 0000000..df3d694
--- /dev/null
@@ -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 (file)
index 0000000..70ea3a3
--- /dev/null
@@ -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/
+
+}