diff options
-rw-r--r-- | www/ap-bandwidth/DESCR | 3 | ||||
-rw-r--r-- | www/ap-bandwidth/MESSAGE | 9 | ||||
-rw-r--r-- | www/ap-bandwidth/Makefile | 26 | ||||
-rw-r--r-- | www/ap-bandwidth/PLIST | 2 | ||||
-rw-r--r-- | www/ap-bandwidth/distinfo | 4 |
5 files changed, 44 insertions, 0 deletions
diff --git a/www/ap-bandwidth/DESCR b/www/ap-bandwidth/DESCR new file mode 100644 index 00000000000..9e7d1018f07 --- /dev/null +++ b/www/ap-bandwidth/DESCR @@ -0,0 +1,3 @@ +mod_bandwidth is an Apache module to provide bandwidth usage limitation +either on the whole server or one a per connection basis based on the +size of files, directory location or remote domain/IP. diff --git a/www/ap-bandwidth/MESSAGE b/www/ap-bandwidth/MESSAGE new file mode 100644 index 00000000000..4e5de576f46 --- /dev/null +++ b/www/ap-bandwidth/MESSAGE @@ -0,0 +1,9 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2003/02/17 23:32:33 grant Exp $ + +In order to use this module in your Apache installation, you need to +add the following to your httpd.conf file: + + LoadModule bandwidth_module lib/httpd/mod_bandwidth.so + +=========================================================================== diff --git a/www/ap-bandwidth/Makefile b/www/ap-bandwidth/Makefile new file mode 100644 index 00000000000..963b65089a0 --- /dev/null +++ b/www/ap-bandwidth/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/02/17 23:32:34 grant Exp $ +# + +DISTNAME= mod_bandwidth.c +PKGNAME= ap-bandwidth-2.0.5 +CATEGORIES= www +MASTER_SITES= ftp://ftp.cohprog.com/pub/apache/module/ +EXTRACT_SUFX= # empty + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://cohprog.com/v3/bandwidth/intro-en.html +COMMENT= Apache module for bandwidth management + +USE_BUILDLINK2= YES + +WRKSRC= ${WRKDIR} + +APACHE_MODULE_NAME= mod_bandwidth.so + +DIST_SUBDIR= ${PKGNAME} + +do-extract: + @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC} + +.include "../../www/apache/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/ap-bandwidth/PLIST b/www/ap-bandwidth/PLIST new file mode 100644 index 00000000000..1c14cdecb8b --- /dev/null +++ b/www/ap-bandwidth/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/17 23:32:34 grant Exp $ +lib/httpd/mod_bandwidth.so diff --git a/www/ap-bandwidth/distinfo b/www/ap-bandwidth/distinfo new file mode 100644 index 00000000000..70f204301de --- /dev/null +++ b/www/ap-bandwidth/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/02/17 23:32:34 grant Exp $ + +SHA1 (ap-bandwidth-2.0.5/mod_bandwidth.c) = 8578412656c630d87d36df28a5ce858201ea435c +Size (ap-bandwidth-2.0.5/mod_bandwidth.c) = 43630 bytes |