pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap2-cband Add mod-cband-0.9.7.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70a9c88cca9a
branches:  trunk
changeset: 567190:70a9c88cca9a
user:      sborrill <sborrill%pkgsrc.org@localhost>
date:      Tue Nov 10 10:44:57 2009 +0000

description:
Add mod-cband-0.9.7.5

mod_cband - A per-user, per-virtualhost and per-destination bandwidth
limiter for the Apache HTTP Server Version 2

mod_cband is an Apache 2 module provided to solve the problem of limiting
users' and virtualhosts' bandwidth usage. The current versions can set
virtualhosts' and users' bandwidth quotas, maximal download speed (like in
mod_bandwidth), requests-per-second speed and the maximal number of
simultanous IP connections (like in mod_limitipconn).

diffstat:

 www/ap2-cband/DESCR    |   8 ++++++++
 www/ap2-cband/MESSAGE  |   9 +++++++++
 www/ap2-cband/Makefile |  37 +++++++++++++++++++++++++++++++++++++
 www/ap2-cband/PLIST    |   4 ++++
 www/ap2-cband/distinfo |   5 +++++
 5 files changed, 63 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r 58b0f5006e15 -r 70a9c88cca9a www/ap2-cband/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-cband/DESCR       Tue Nov 10 10:44:57 2009 +0000
@@ -0,0 +1,8 @@
+mod_cband - A per-user, per-virtualhost and per-destination bandwidth
+limiter for the Apache HTTP Server Version 2
+
+mod_cband is an Apache 2 module provided to solve the problem of limiting
+users' and virtualhosts' bandwidth usage. The current versions can set
+virtualhosts' and users' bandwidth quotas, maximal download speed (like in
+mod_bandwidth), requests-per-second speed and the maximal number of
+simultanous IP connections (like in mod_limitipconn).
diff -r 58b0f5006e15 -r 70a9c88cca9a www/ap2-cband/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-cband/MESSAGE     Tue Nov 10 10:44:57 2009 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2009/11/10 10:44:57 sborrill Exp $
+
+In order to use this module in your Apache 2.x installation, you need to
+add the following to your httpd.conf file:
+
+  LoadModule cband_module lib/httpd/mod_cband.so
+
+===========================================================================
diff -r 58b0f5006e15 -r 70a9c88cca9a www/ap2-cband/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-cband/Makefile    Tue Nov 10 10:44:57 2009 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/11/10 10:44:57 sborrill Exp $
+#
+
+DISTNAME=              mod-cband-0.9.7.5
+CATEGORIES=            www
+MASTER_SITES=          http://cband.linux.pl/download/
+EXTRACT_SUFX=          .tgz
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://codee.pl/cband.html
+COMMENT=               Bandwidth and connection limiting module for Apache 2
+LICENSE=               gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+APACHE_MODULE_NAME=    mod_cband
+DOC_DIR=               ${PREFIX}/share/doc/${APACHE_MODULE_NAME}
+
+APACHE_MODULE=         yes
+PKG_APACHE_ACCEPTED=   apache2 apache22
+
+HAS_CONFIGURE=         yes
+BUILD_TARGET=
+
+INSTALLATION_DIRS+=    share/doc/${APACHE_MODULE_NAME}
+
+do-install:
+       cd ${WRKSRC}/src &&                                                     \
+           libexecdir=`${APXS} -q LIBEXECDIR` &&                               \
+           ${APXS} -i -S LIBEXECDIR=${DESTDIR}"$${libexecdir}"                 \
+               -n ${APACHE_MODULE_NAME} -i ${APACHE_MODULE_NAME}.la
+       ${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt                         \
+               ${DESTDIR}${DOC_DIR}/documentation.txt
+       ${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${DESTDIR}${DOC_DIR}/faq.txt
+
+.include "../../mk/apache.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 58b0f5006e15 -r 70a9c88cca9a www/ap2-cband/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-cband/PLIST       Tue Nov 10 10:44:57 2009 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/11/10 10:44:57 sborrill Exp $
+lib/httpd/mod_cband.so
+share/doc/mod_cband/documentation.txt
+share/doc/mod_cband/faq.txt
diff -r 58b0f5006e15 -r 70a9c88cca9a www/ap2-cband/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-cband/distinfo    Tue Nov 10 10:44:57 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/11/10 10:44:57 sborrill Exp $
+
+SHA1 (mod-cband-0.9.7.5.tgz) = 316ba3068fea6b58c0cbd173b1f58df882643728
+RMD160 (mod-cband-0.9.7.5.tgz) = 19ea621a1f46878dd9178dd2186479ce2fb9a922
+Size (mod-cband-0.9.7.5.tgz) = 70713 bytes



Home | Main Index | Thread Index | Old Index