diff options
author | erwin <erwin@FreeBSD.org> | 2003-07-03 15:13:09 +0000 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-07-03 15:13:09 +0000 |
commit | e4a5ca3ca7bdab4bb87f6d4e8ddbfb635303f5e7 (patch) | |
tree | e01531045099f6d99247f74779209d41087e9a03 /www | |
parent | f06cd6754690d8c74cae6d1b4bf1bddd79bf8153 (diff) | |
download | FreeBSD-ports-e4a5ca3ca7bdab4bb87f6d4e8ddbfb635303f5e7.zip FreeBSD-ports-e4a5ca3ca7bdab4bb87f6d4e8ddbfb635303f5e7.tar.gz |
Add mod_bandwidth 2.0.4,
bandwidth management module for the Apache
webserver.
PR: 54044
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_bandwidth/Makefile | 35 | ||||
-rw-r--r-- | www/mod_bandwidth/distinfo | 1 | ||||
-rw-r--r-- | www/mod_bandwidth/pkg-descr | 7 | ||||
-rw-r--r-- | www/mod_bandwidth/pkg-message | 5 | ||||
-rw-r--r-- | www/mod_bandwidth/pkg-plist | 3 |
6 files changed, 52 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index f5f1f96..c85fc14 100644 --- a/www/Makefile +++ b/www/Makefile @@ -189,6 +189,7 @@ SUBDIR += mod_auth_pgsql SUBDIR += mod_auth_pwcheck SUBDIR += mod_backhand + SUBDIR += mod_bandwidth SUBDIR += mod_bf SUBDIR += mod_blosxom SUBDIR += mod_blowchunks diff --git a/www/mod_bandwidth/Makefile b/www/mod_bandwidth/Makefile new file mode 100644 index 0000000..35e0218 --- /dev/null +++ b/www/mod_bandwidth/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: mod_bandwidth +# Date created: 2 July 2003 +# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> +# +# $FreeBSD$ +# + +PORTNAME= mod_bandwidth +PORTVERSION= 2.0.4 +CATEGORIES= www +MASTER_SITES= http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/ +EXTRACT_SUFX= .c + +MAINTAINER= sheepkiller@cultdeadsheep.org +COMMENT= Bandwidth management module for the Apache webserver + +BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 +RUN_DEPENDS= ${BUILD_DEPENDS} + +NO_WRKSUBDIR= YES + +APXS?= ${LOCALBASE}/sbin/apxs + +do-extract: + @${MKDIR} ${WRKDIR} + @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c + +do-build: + @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c) + +do-install: + @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so) + ${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/mod_bandwidth/distinfo b/www/mod_bandwidth/distinfo new file mode 100644 index 0000000..734aa1e --- /dev/null +++ b/www/mod_bandwidth/distinfo @@ -0,0 +1 @@ +MD5 (mod_bandwidth-2.0.4.c) = 00f0905d777f79485beb428b53191ecf diff --git a/www/mod_bandwidth/pkg-descr b/www/mod_bandwidth/pkg-descr new file mode 100644 index 0000000..e97f874 --- /dev/null +++ b/www/mod_bandwidth/pkg-descr @@ -0,0 +1,7 @@ +Bandwidth management module for the Apache webserver. +mod_bandwidth is a module for the Apache webserver that +enable the setting of server-wide or per connection +bandwidth limits, based on the directory, size of files +and remote IP/domain. + +WWW: http://www.cohprog.com/mod_bandwidth.html diff --git a/www/mod_bandwidth/pkg-message b/www/mod_bandwidth/pkg-message new file mode 100644 index 0000000..4666b58 --- /dev/null +++ b/www/mod_bandwidth/pkg-message @@ -0,0 +1,5 @@ +************************************************************ +To configure correctly mod_bandwidth you can find directives +documentation here : +http://www.cohprog.com/v3/bandwidth/doc-en.html +************************************************************ diff --git a/www/mod_bandwidth/pkg-plist b/www/mod_bandwidth/pkg-plist new file mode 100644 index 0000000..82149cd --- /dev/null +++ b/www/mod_bandwidth/pkg-plist @@ -0,0 +1,3 @@ +libexec/apache/mod_bandwidth.so +@exec %D/sbin/apxs -e -A -n mod_bandwidth %D/%F +@unexec echo "===> If you do not plan on reinstalling mod_bandwidth, you must manually remove"; echo "===> references to it in httpd.conf." |