summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2005-02-14 17:22:30 +0000
committerBenedikt Boehm <hollow@gentoo.org>2005-02-14 17:22:30 +0000
commit30411ec94428b1cd61166f9f2acc0adc9ec79196 (patch)
tree2d88e4de263b7a05d2fdc5807c9c2789e103e870 /net-www/mod_bandwidth
parent~amd64 (diff)
downloadgentoo-2-30411ec94428b1cd61166f9f2acc0adc9ec79196.tar.gz
gentoo-2-30411ec94428b1cd61166f9f2acc0adc9ec79196.tar.bz2
gentoo-2-30411ec94428b1cd61166f9f2acc0adc9ec79196.zip
cleaning out 0.1 in favor of mod_bw
(Portage version: 2.0.51.16)
Diffstat (limited to 'net-www/mod_bandwidth')
-rw-r--r--net-www/mod_bandwidth/ChangeLog7
-rw-r--r--net-www/mod_bandwidth/files/11_mod_bandwidth.conf30
-rw-r--r--net-www/mod_bandwidth/files/digest-mod_bandwidth-0.11
-rw-r--r--net-www/mod_bandwidth/files/mod_bandwidth-0.1-register.patch19
-rw-r--r--net-www/mod_bandwidth/mod_bandwidth-0.1.ebuild34
5 files changed, 6 insertions, 85 deletions
diff --git a/net-www/mod_bandwidth/ChangeLog b/net-www/mod_bandwidth/ChangeLog
index fb37114185bb..e44ab941e891 100644
--- a/net-www/mod_bandwidth/ChangeLog
+++ b/net-www/mod_bandwidth/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-www/mod_bandwidth
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_bandwidth/ChangeLog,v 1.9 2005/01/08 21:06:39 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_bandwidth/ChangeLog,v 1.10 2005/02/14 17:22:30 hollow Exp $
+
+ 14 Feb 2005; Benedikt Boehm <hollow@gentoo.org>
+ -files/11_mod_bandwidth.conf, -files/mod_bandwidth-0.1-register.patch,
+ -mod_bandwidth-0.1.ebuild:
+ cleaning out 0.1 in favor of mod_bw
*mod_bandwidth-2.0.5-r1 (08 Jan 2005)
diff --git a/net-www/mod_bandwidth/files/11_mod_bandwidth.conf b/net-www/mod_bandwidth/files/11_mod_bandwidth.conf
deleted file mode 100644
index 62a8d55cef9a..000000000000
--- a/net-www/mod_bandwidth/files/11_mod_bandwidth.conf
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_bandwidth/files/11_mod_bandwidth.conf,v 1.1 2005/01/08 21:06:39 hollow Exp $
-
-<IfDefine BANDWIDTH>
- <IfModule !mod_bandwidth.c>
- LoadModule bw_module modules/mod_bandwidth.so
- </IfModule>
-</IfDefine>
-
-#
-# Syntax can be found at http://www.cohprog.com/v3/bandwidth/doc-en.html
-#
-<IfModule mod_bandwidth.c>
- BandWidthDataDir /var/cache/mod_bandwidth
-
- # 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
-
- # Everyone else shares 50KB/sec
- #
- # Bandwidth all 50000
-</IfModule>
diff --git a/net-www/mod_bandwidth/files/digest-mod_bandwidth-0.1 b/net-www/mod_bandwidth/files/digest-mod_bandwidth-0.1
deleted file mode 100644
index b9e30608dd4f..000000000000
--- a/net-www/mod_bandwidth/files/digest-mod_bandwidth-0.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8a2efaee819f97e33aa352f630448b93 mod_bandwidth-0.1.tgz 11073
diff --git a/net-www/mod_bandwidth/files/mod_bandwidth-0.1-register.patch b/net-www/mod_bandwidth/files/mod_bandwidth-0.1-register.patch
deleted file mode 100644
index 7da7391ec9d9..000000000000
--- a/net-www/mod_bandwidth/files/mod_bandwidth-0.1-register.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Nur mod_bandwidth-0.1/mod_bandwidth-0.1.c mod_bandwidth-0.1-register/mod_bandwidth-0.1.c
---- mod_bandwidth-0.1/mod_bandwidth-0.1.c 2004-11-05 23:18:31.000000000 +0100
-+++ mod_bandwidth-0.1-register/mod_bandwidth-0.1.c 2004-11-17 10:59:05.199819784 +0100
-@@ -340,6 +340,7 @@
-
-
- #define VERSION 0.1
-+#define VERSION_S "0.1"
- #define CORE_PRIVATE
-
- #include <time.h>
-@@ -1010,6 +1011,7 @@
-
- ap_mpm_query(AP_MPMQ_HARD_LIMIT_THREADS, &thread_limit);
- ap_mpm_query(AP_MPMQ_HARD_LIMIT_DAEMONS, &server_limit);
-+ ap_add_version_component(p, "mod_bandwidth/"VERSION_S);
- return OK;
- }
-
diff --git a/net-www/mod_bandwidth/mod_bandwidth-0.1.ebuild b/net-www/mod_bandwidth/mod_bandwidth-0.1.ebuild
deleted file mode 100644
index 79459375225a..000000000000
--- a/net-www/mod_bandwidth/mod_bandwidth-0.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_bandwidth/mod_bandwidth-0.1.ebuild,v 1.1 2005/01/08 21:06:39 hollow Exp $
-
-inherit eutils apache-module
-
-DESCRIPTION="Bandwidth Management Module for Apache 2.0"
-HOMEPAGE="http://www.ivn.cl/apache/"
-SRC_URI="http://www.ivn.cl/apache/mod_bandwidth-0.1.tgz"
-
-KEYWORDS="~x86"
-DEPEND=""
-LICENSE="Apache-1.1"
-SLOT="1"
-IUSE=""
-
-APXS2_ARGS="-c ${PN}.c"
-APACHE2_MOD_CONF="11_${PN}"
-APACHE2_MOD_DEFINE="BANDWIDTH"
-
-need_apache2
-
-src_unpack() {
- unpack ${A} || die
- cd ${S} || die
- epatch ${FILESDIR}/mod_bandwidth-0.1-register.patch || die
- mv ${S}/{mod_bandwidth-0.1.c,mod_bandwidth.c}
-}
-
-pkg_postinst() {
- # empty dirs
- install -m0755 -o apache -g apache -d ${ROOT}/var/cache/mod_bandwidth/{link,master}
- apache2_pkg_postinst
-}