diff options
author | sborrill <sborrill@pkgsrc.org> | 2009-11-10 10:44:57 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2009-11-10 10:44:57 +0000 |
commit | ed35e0ea7437cc4bca0c7e85c62f86d437408bd7 (patch) | |
tree | 4785e8d29aa43409828ef1d222c957f081c2f494 /www/ap2-cband | |
parent | 6984b3f8f83da35294023a7e75141dd2cac032dc (diff) | |
download | pkgsrc-ed35e0ea7437cc4bca0c7e85c62f86d437408bd7.tar.gz |
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 (limited to 'www/ap2-cband')
-rw-r--r-- | www/ap2-cband/DESCR | 8 | ||||
-rw-r--r-- | www/ap2-cband/MESSAGE | 9 | ||||
-rw-r--r-- | www/ap2-cband/Makefile | 37 | ||||
-rw-r--r-- | www/ap2-cband/PLIST | 4 | ||||
-rw-r--r-- | www/ap2-cband/distinfo | 5 |
5 files changed, 63 insertions, 0 deletions
diff --git a/www/ap2-cband/DESCR b/www/ap2-cband/DESCR new file mode 100644 index 00000000000..f3fff82fcf2 --- /dev/null +++ b/www/ap2-cband/DESCR @@ -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 --git a/www/ap2-cband/MESSAGE b/www/ap2-cband/MESSAGE new file mode 100644 index 00000000000..3a794bf7b55 --- /dev/null +++ b/www/ap2-cband/MESSAGE @@ -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 --git a/www/ap2-cband/Makefile b/www/ap2-cband/Makefile new file mode 100644 index 00000000000..2ba6f4302d4 --- /dev/null +++ b/www/ap2-cband/Makefile @@ -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 +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 --git a/www/ap2-cband/PLIST b/www/ap2-cband/PLIST new file mode 100644 index 00000000000..3d0608b3a3d --- /dev/null +++ b/www/ap2-cband/PLIST @@ -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 --git a/www/ap2-cband/distinfo b/www/ap2-cband/distinfo new file mode 100644 index 00000000000..6579f0eb23f --- /dev/null +++ b/www/ap2-cband/distinfo @@ -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 |