From 8a1c2060e30d57224af92e77bdba997f69f0b1c9 Mon Sep 17 00:00:00 2001 From: Clement Laforet Date: Wed, 7 Sep 2005 19:52:27 +0000 Subject: [PATCH] - add mod_cband 0.9 mod_cband is an Apache 2 module provided to solve the problem of limiting virtualhosts bandwidth usage. When the configured virtualhost's transfer limit is exceeded, mod_cband will redirect all further requests to a location specified in the configuration file. WWW: http://dembol.nasa.pl/mod_cband --- www/Makefile | 1 + www/mod_cband/Makefile | 25 +++++++++++++++++++++++++ www/mod_cband/distinfo | 2 ++ www/mod_cband/pkg-descr | 7 +++++++ 4 files changed, 35 insertions(+) create mode 100644 www/mod_cband/Makefile create mode 100644 www/mod_cband/distinfo create mode 100644 www/mod_cband/pkg-descr diff --git a/www/Makefile b/www/Makefile index 2cbc6aa1ac36..b781d5914891 100644 --- a/www/Makefile +++ b/www/Makefile @@ -272,6 +272,7 @@ SUBDIR += mod_blosxom SUBDIR += mod_blowchunks SUBDIR += mod_bunzip2 + SUBDIR += mod_cband SUBDIR += mod_cfg_ldap SUBDIR += mod_cgi_debug SUBDIR += mod_chroot diff --git a/www/mod_cband/Makefile b/www/mod_cband/Makefile new file mode 100644 index 000000000000..3bf29c2cd0a6 --- /dev/null +++ b/www/mod_cband/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: mod_cband +# Date created: Sep 7 2005 +# Whom: Clement Laforet +# +# $FreeBSD$ +# + +PORTNAME= mod_cband +PORTVERSION= 0.9 +CATEGORIES= www +MASTER_SITES= http://dembol.nasa.pl/download/ +EXTRACT_SUFX= .tgz +DIST_SUBDIR= apache2 + +MAINTAINER= apache@FreeBSD.org +COMMENT= A per-virtualhost bandwidth limiter module for Apache 2 + +WRKSRC= ${WRKDIR}/${PORTNAME} +WANT_APACHE= 2 +AP_FAST_BUILD= YES +AP_GENPLIST= YES + +.include +.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd" +.include diff --git a/www/mod_cband/distinfo b/www/mod_cband/distinfo new file mode 100644 index 000000000000..7974a91c7ca4 --- /dev/null +++ b/www/mod_cband/distinfo @@ -0,0 +1,2 @@ +MD5 (apache2/mod_cband-0.9.tgz) = 57414e91443f975abc0ec153dec197b3 +SIZE (apache2/mod_cband-0.9.tgz) = 2379 diff --git a/www/mod_cband/pkg-descr b/www/mod_cband/pkg-descr new file mode 100644 index 000000000000..3affa605b5b3 --- /dev/null +++ b/www/mod_cband/pkg-descr @@ -0,0 +1,7 @@ +mod_cband is an Apache 2 module provided to solve the problem of +limiting virtualhosts bandwidth usage. When the configured +virtualhost's transfer limit is exceeded, mod_cband will redirect all +further requests to a location specified in the configuration file. + + +WWW: http://dembol.nasa.pl/mod_cband