diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/ap2-bw/DESCR | 5 | ||||
-rw-r--r-- | www/ap2-bw/Makefile | 25 | ||||
-rw-r--r-- | www/ap2-bw/PLIST | 3 | ||||
-rw-r--r-- | www/ap2-bw/distinfo | 5 |
4 files changed, 38 insertions, 0 deletions
diff --git a/www/ap2-bw/DESCR b/www/ap2-bw/DESCR new file mode 100644 index 00000000000..e586e2cf135 --- /dev/null +++ b/www/ap2-bw/DESCR @@ -0,0 +1,5 @@ +bw_mod is an Apache 2 module to limit bandwidth consumed by browsers, +based in concept on the widely used Apache 1 "mod_bandwidth". + +[The package maintainer has elected to use the Apache 2.0 license for +binary distributions of this package, as allowed by the software author.] diff --git a/www/ap2-bw/Makefile b/www/ap2-bw/Makefile new file mode 100644 index 00000000000..0b86c786680 --- /dev/null +++ b/www/ap2-bw/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/05/10 17:00:39 tv Exp $ +# + +DISTNAME= bw_mod-0.6 +PKGNAME= ${DISTNAME:S/bw_mod/ap2-bw/} +CATEGORIES= www +MASTER_SITES= http://ivn.cl/apache/ +EXTRACT_SUFX= .tgz + +MAINTAINER= tv@duh.org +HOMEPAGE= http://ivn.cl/apache/ +COMMENT= Class-based bandwidth limiting module for Apache 2 + +APACHE_MODULE= # defined + +do-build: + @${ECHO} '#include "${DISTNAME}.c"' >${WRKSRC}/mod_bw.c + cd ${WRKSRC} && ${APXS} -c mod_bw.c + +do-install: + cd ${WRKSRC} && ${APXS} -n bw_module -i mod_bw.la + ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.txt ${PREFIX}/share/doc/apache_mod_bw.txt + +.include "../../www/apache2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/ap2-bw/PLIST b/www/ap2-bw/PLIST new file mode 100644 index 00000000000..2d894415715 --- /dev/null +++ b/www/ap2-bw/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/05/10 17:00:39 tv Exp $ +lib/httpd/mod_bw.so +share/doc/apache_mod_bw.txt diff --git a/www/ap2-bw/distinfo b/www/ap2-bw/distinfo new file mode 100644 index 00000000000..69f753047f0 --- /dev/null +++ b/www/ap2-bw/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/05/10 17:00:39 tv Exp $ + +SHA1 (bw_mod-0.6.tgz) = 97827dc13daa2f04d3d28e267463a3f36e1acdbd +RMD160 (bw_mod-0.6.tgz) = bda6bad38850cf36c942adc041ed209617fe3922 +Size (bw_mod-0.6.tgz) = 50298 bytes |