summaryrefslogtreecommitdiff
path: root/www/ap-throttle/Makefile
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-02-16 11:19:03 +0000
committergrant <grant@pkgsrc.org>2003-02-16 11:19:03 +0000
commitf61e0ec21f0739be923c9a877eed37de40917958 (patch)
treec745e1a6487d0aec11ef5aed2fbc94d0fc76c7b6 /www/ap-throttle/Makefile
parent6f56abad46b4f3854b110e7529d2e46721e2c640 (diff)
downloadpkgsrc-f61e0ec21f0739be923c9a877eed37de40917958.tar.gz
Initial import of ap-throttle-3.1.2 into The NetBSD packages collection.
mod_throttle allows throttling of connections to the Apache web server. It uses System V shared memory and semaphores to implement the state information. Provided by Eric Schnoebelen in PR pkg/20290, with some changes by me.
Diffstat (limited to 'www/ap-throttle/Makefile')
-rw-r--r--www/ap-throttle/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/www/ap-throttle/Makefile b/www/ap-throttle/Makefile
new file mode 100644
index 00000000000..51fbe36293b
--- /dev/null
+++ b/www/ap-throttle/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/02/16 11:19:03 grant Exp $
+
+DISTNAME= mod_throttle312
+PKGNAME= ap-throttle-3.1.2
+CATEGORIES= www
+MASTER_SITES= http://www.snert.com/Software/mod_throttle/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= eric@cirr.com
+HOMEPAGE= ${MASTER_SITES}
+COMMENT= Apache module for limiting bandwidth usage
+
+WRKSRC= ${WRKDIR}/${PKGNAME:S/ap-/mod_/}
+
+USE_BUILDLINK2= # defined
+APACHE_MODULE= # defined
+
+do-build:
+ cd ${WRKSRC} && ${APXS} -c -o mod_throttle.so mod_throttle.c
+
+do-install:
+ cd ${WRKSRC} && ${APXS} -i mod_throttle.so
+
+.include "../../www/apache/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"