summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2005-02-15 20:38:27 +0000
committerBenedikt Boehm <hollow@gentoo.org>2005-02-15 20:38:27 +0000
commiteffbfcda5ad901559d44c249700d61a70311a78a (patch)
treea3cb958cf01fe8761f0c709451de957589230c18 /net-www
parentadded mod_bwshare-0.1.3 (diff)
downloadhistorical-effbfcda5ad901559d44c249700d61a70311a78a.tar.gz
historical-effbfcda5ad901559d44c249700d61a70311a78a.tar.bz2
historical-effbfcda5ad901559d44c249700d61a70311a78a.zip
initial revision
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'net-www')
-rw-r--r--net-www/mod_bwshare/ChangeLog10
-rw-r--r--net-www/mod_bwshare/Manifest15
-rw-r--r--net-www/mod_bwshare/files/13_mod_bwshare.conf21
-rw-r--r--net-www/mod_bwshare/files/digest-mod_bwshare-0.1.31
-rw-r--r--net-www/mod_bwshare/metadata.xml9
-rw-r--r--net-www/mod_bwshare/mod_bwshare-0.1.3.ebuild23
6 files changed, 79 insertions, 0 deletions
diff --git a/net-www/mod_bwshare/ChangeLog b/net-www/mod_bwshare/ChangeLog
new file mode 100644
index 000000000000..3c16e51c93a2
--- /dev/null
+++ b/net-www/mod_bwshare/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-www/mod_bwshare
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_bwshare/ChangeLog,v 1.1 2005/02/15 20:38:27 hollow Exp $
+
+*mod_bwshare-0.1.3 (15 Feb 2005)
+
+ 15 Feb 2005; Benedikt Boehm <hollow@gentoo.org> +metadata.xml,
+ +mod_bwshare-0.1.3.ebuild:
+ initial ebuild revision
+
diff --git a/net-www/mod_bwshare/Manifest b/net-www/mod_bwshare/Manifest
new file mode 100644
index 000000000000..dab7d6e93992
--- /dev/null
+++ b/net-www/mod_bwshare/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 41d6c0ba999d7b4af929e07368693a3f metadata.xml 261
+MD5 a8da08c63db90b63d04dc8ce3d1198ae mod_bwshare-0.1.3.ebuild 648
+MD5 6e348c6225943b654e9381d9b1b565e6 ChangeLog 366
+MD5 248f368d7a7cdfea8b13522fd0e80463 files/digest-mod_bwshare-0.1.3 61
+MD5 e2c5e67d1238ff794d34d9fec8172a98 files/13_mod_bwshare.conf 458
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFCEl4kmPFBzbX68WERAsiZAJ48S2VXIe9KFFSlGDderGZska/n1wCfdY18
+pYTS2LJZyNZQ6tyrnm7irjk=
+=wzN+
+-----END PGP SIGNATURE-----
diff --git a/net-www/mod_bwshare/files/13_mod_bwshare.conf b/net-www/mod_bwshare/files/13_mod_bwshare.conf
new file mode 100644
index 000000000000..620b17a561c2
--- /dev/null
+++ b/net-www/mod_bwshare/files/13_mod_bwshare.conf
@@ -0,0 +1,21 @@
+<IfDefine BWSHARE>
+ <IfModule !mod_bwshare.c>
+ LoadModule bwshare_module modules/mod_bwshare.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_bwshare.c>
+ # Some bandwidth control parameters
+ BW_tx1cred_rate 0.067
+ BW_tx1debt_max 30
+ BW_tx2cred_rate 1000
+ BW_tx2debt_max 1000000
+
+ <Location /bwshare-info>
+ SetHandler bwshare-info
+ </Location>
+
+ <Location /bwshare-trace>
+ SetHandler bwshare-trace
+ </Location>
+</IfModule>
diff --git a/net-www/mod_bwshare/files/digest-mod_bwshare-0.1.3 b/net-www/mod_bwshare/files/digest-mod_bwshare-0.1.3
new file mode 100644
index 000000000000..a5a7825f0190
--- /dev/null
+++ b/net-www/mod_bwshare/files/digest-mod_bwshare-0.1.3
@@ -0,0 +1 @@
+MD5 4ffdd2e9129dd3b5154c6291ddef8e36 bwshare-0.1.3.zip 47584
diff --git a/net-www/mod_bwshare/metadata.xml b/net-www/mod_bwshare/metadata.xml
new file mode 100644
index 000000000000..22bb50eb3661
--- /dev/null
+++ b/net-www/mod_bwshare/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>apache</herd>
+ <maintainer>
+ <email>hollow@gentoo.org</email>
+ <name>Benedikt Boehm</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-www/mod_bwshare/mod_bwshare-0.1.3.ebuild b/net-www/mod_bwshare/mod_bwshare-0.1.3.ebuild
new file mode 100644
index 000000000000..64ca7319fee1
--- /dev/null
+++ b/net-www/mod_bwshare/mod_bwshare-0.1.3.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_bwshare/mod_bwshare-0.1.3.ebuild,v 1.1 2005/02/15 20:38:27 hollow Exp $
+
+inherit eutils apache-module
+
+DESCRIPTION="bandwidth throttling and balancing for Apache 1.3.x and 2.0.44"
+HOMEPAGE="http://www.topology.org/src/bwshare/README.html"
+SRC_URI="http://www.topology.org/src/bwshare/bwshare-${PV}.zip"
+
+KEYWORDS="~x86"
+DEPEND=""
+LICENSE="as-is"
+SLOT="0"
+IUSE=""
+
+S=${WORKDIR}/src/modules/bwshare/
+
+APXS1_ARGS="-c ${PN}.c"
+APACHE1_MOD_CONF="13_${PN}"
+APACHE1_MOD_DEFINE="BWSHARE"
+
+need_apache1