summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-01-31 17:19:01 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-01-31 17:19:01 +0000
commit5b45980cca92f87125d14ae800f7630771cc37e5 (patch)
tree64571362390bb1dfea4a3006eb0d16f00a3bd824 /www-apache/mod_bw
parentStable on ppc wrt bug 208148 (diff)
downloadgentoo-2-5b45980cca92f87125d14ae800f7630771cc37e5.tar.gz
gentoo-2-5b45980cca92f87125d14ae800f7630771cc37e5.tar.bz2
gentoo-2-5b45980cca92f87125d14ae800f7630771cc37e5.zip
update metadata; cleanup
(Portage version: 2.1.4)
Diffstat (limited to 'www-apache/mod_bw')
-rw-r--r--www-apache/mod_bw/ChangeLog8
-rw-r--r--www-apache/mod_bw/files/11_mod_bw.conf29
-rw-r--r--www-apache/mod_bw/metadata.xml5
3 files changed, 19 insertions, 23 deletions
diff --git a/www-apache/mod_bw/ChangeLog b/www-apache/mod_bw/ChangeLog
index 2de21abd2e9b..83d0ecda61bc 100644
--- a/www-apache/mod_bw/ChangeLog
+++ b/www-apache/mod_bw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apache/mod_bw
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_bw/ChangeLog,v 1.2 2007/08/04 17:17:05 swegener Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_bw/ChangeLog,v 1.3 2008/01/31 17:19:01 hollow Exp $
+
+ 31 Jan 2008; Benedikt Böhm <hollow@gentoo.org> files/11_mod_bw.conf,
+ metadata.xml:
+ update metadata; cleanup
29 Jul 2007; Christian Heim <phreak@gentoo.org> +files/11_mod_bw.conf,
+metadata.xml, +mod_bw-0.7.ebuild, +mod_bw-0.8.ebuild:
diff --git a/www-apache/mod_bw/files/11_mod_bw.conf b/www-apache/mod_bw/files/11_mod_bw.conf
index 24d91ed4396a..1d990612bdc5 100644
--- a/www-apache/mod_bw/files/11_mod_bw.conf
+++ b/www-apache/mod_bw/files/11_mod_bw.conf
@@ -1,21 +1,16 @@
<IfDefine BW>
- <IfModule !mod_bw.c>
- LoadModule bw_module modules/mod_bw.so
- </IfModule>
-</IfDefine>
+LoadModule bw_module modules/mod_bw.so
+
+# This must be turned on for mod_bandwidth to actually do anything
+# These directives can go inside a VirtualHost or Directory, etc...
+#BandWidthModule On
-<IfModule mod_bw.c>
- # This must be turned on for mod_bandwidth to actually do anything
- # These directives can go inside a VirtualHost or Directory, etc...
- #
- # BandWidthModule On
+# Limit 196.168.0.0/24 to 80KB/sec, with a minimum of 60KB/sec
+#BandWidth 196.168.0 80000
+#BandWidth 196.168.0 60000
- # Limit 196.168.0.0/24 to 80KB/sec, with a minimum of 60KB/sec
- #
- # BandWidth 196.168.0 80000
- # BandWidth 196.168.0 60000
+# Everyone else shares 50KB/sec
+#Bandwidth all 50000
+</IfDefine>
- # Everyone else shares 50KB/sec
- #
- # Bandwidth all 50000
-</IfModule>
+# vim: ts=4 filetype=apache
diff --git a/www-apache/mod_bw/metadata.xml b/www-apache/mod_bw/metadata.xml
index ff5b6490402e..64a719ea1bfd 100644
--- a/www-apache/mod_bw/metadata.xml
+++ b/www-apache/mod_bw/metadata.xml
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>apache</herd>
-<maintainer>
- <email>apache-bugs@gentoo.org</email>
-</maintainer>
+ <herd>apache</herd>
</pkgmetadata>