mod-limitipconn, as from wip/ap2-limitipconn by Todd Vierling, but

modified for user-destdir, brought forward to version 0.23, and
with the added contributed LocalIP patch from the author's web page.
This commit is contained in:
is 2011-11-08 14:45:14 +00:00
parent 121c840192
commit acdfc79843
4 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,3 @@
Apache 2.0 C module to limit the maximum number of simultaneous
connections per IP address. Allows inclusion and exclusion of files
based on MIME type.

View file

@ -0,0 +1,37 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/11/08 14:45:14 is Exp $
#
DISTNAME= mod_limitipconn-0.23
EXTRACT_SUFX= .tar.bz2
PKGNAME= ${DISTNAME:S/mod_/ap22-/}
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://dominia.org/djao/limit/
LICENSE= apache-2.0
PATCH_SITES= http://dominia.org/djao/limit/contrib/dg/
PATCHFILES= mod_limitipconn_local_IP_patch_2.diff
MAINTAINER= is@NetBSD.org
HOMEPAGE= http://dominia.org/djao/limitipconn2.html
COMMENT= Limits per-IP connections to an Apache 2 server
APACHE_MODULE= yes
MAKE_FLAGS+= APXS=${APXS:Q}
USE_LIBTOOL= yes
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS+= lib/httpd
do-install:
${BUILDLINK_PREFIX.apache}/share/httpd/build/instdso.sh \
SH_LIBTOOL=${BUILDLINK_PREFIX.apache}/share/httpd/build/libtool \
${WRKSRC}/mod_limitipconn.la \
${DESTDIR}${PREFIX}/lib/httpd
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mod_limitipconn
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/mod_limitipconn/
.include "../../www/apache22/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/11/08 14:45:14 is Exp $
lib/httpd/mod_limitipconn.so
share/doc/mod_limitipconn/README

View file

@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.1.1.1 2011/11/08 14:45:14 is Exp $
SHA1 (mod_limitipconn-0.23.tar.bz2) = 8a7d2d991328fa67fffa617942436049799bfa02
RMD160 (mod_limitipconn-0.23.tar.bz2) = 13b4d8ce48965e337fabaed224c00db41fbecdaf
Size (mod_limitipconn-0.23.tar.bz2) = 9851 bytes
SHA1 (mod_limitipconn_local_IP_patch_2.diff) = 925b15a3bdc33653deda286d504664bdfaff7c2a
RMD160 (mod_limitipconn_local_IP_patch_2.diff) = f8b5e18697139343a5801f8fd94edad890797481
Size (mod_limitipconn_local_IP_patch_2.diff) = 4080 bytes