head	1.17;
access;
symbols
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.9
	RELEASE_6_1_0:1.7
	RELEASE_5_5_0:1.7
	RELEASE_6_0_0:1.7
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.6
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2;
locks; strict;
comment	@# @;


1.17
date	2012.01.01.19.30.46;	author ohauer;	state dead;
branches;
next	1.16;

1.16
date	2011.11.02.03.43.36;	author pgollucci;	state Exp;
branches;
next	1.15;

1.15
date	2011.09.07.03.00.42;	author pgollucci;	state Exp;
branches;
next	1.14;

1.14
date	2011.08.27.09.54.34;	author ohauer;	state Exp;
branches;
next	1.13;

1.13
date	2011.08.20.19.00.09;	author ohauer;	state Exp;
branches;
next	1.12;

1.12
date	2010.05.25.20.17.32;	author pgollucci;	state Exp;
branches;
next	1.11;

1.11
date	2009.05.21.20.45.30;	author pgollucci;	state Exp;
branches;
next	1.10;

1.10
date	2009.04.12.07.57.59;	author pgollucci;	state Exp;
branches;
next	1.9;

1.9
date	2006.05.10.14.48.24;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	2006.05.10.14.21.10;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	2005.01.24.05.19.02;	author leeym;	state Exp;
branches;
next	1.6;

1.6
date	2004.05.11.21.39.57;	author vanilla;	state Exp;
branches;
next	1.5;

1.5
date	2004.05.11.01.37.22;	author eik;	state Exp;
branches;
next	1.4;

1.4
date	2004.02.06.13.12.42;	author trevor;	state Exp;
branches;
next	1.3;

1.3
date	2003.11.07.09.12.54;	author marcus;	state Exp;
branches;
next	1.2;

1.2
date	2003.04.20.08.12.03;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.17.16.27.41;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.17
log
@- remove apache13 and ports depending on apache13 from portstree
  ( EXPIRATION_DATE=2012-01-01 )

with hat apache@@
@
text
@# New ports collection makefile for:	mod_limitipconn
# Date created:				18 April 2003
# Whom:					Gea-Suan Lin <gslin@@ccca.nctu.edu.tw>
#
# $FreeBSD: ports/www/mod_limitipconn/Makefile,v 1.16 2011/11/02 03:43:36 pgollucci Exp $
#

PORTNAME=	mod_limitipconn
PORTVERSION=	0.04
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://dominia.org/djao/limit/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	ychsiao@@ychsiao.org
COMMENT=	Limit the number of simultaneous connections from a single IP address

DEPRECATED=	apache13 is deprecated, migrate to 2.2.x+ now
EXPIRATION_DATE=	2012-01-01

MAKE_JOBS_SAFE=  yes

USE_APACHE=	13
PLIST_FILES=	${APACHEMODDIR}/mod_limitipconn.so

OPTIONS=	FIXCOUNT "Patch dangling browser connections counting" Off

.include <bsd.port.pre.mk>

.if defined(WITH_FIXCOUNT)
EXTRA_PATCHES+=	${PATCHDIR}/fixcounting.patch
.endif

post-patch:
	${REINPLACE_CMD} -e 's,^APXS = .*,APXS = ${APXS},' ${WRKSRC}/Makefile

.include <bsd.port.post.mk>
@


1.16
log
@- sync apache13 related EXPIRATION_DATE

With Hat:	apache@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.15
log
@- Set EXPIRATION_DATE to an actual date (9.0 is behind, so guess 2 months from now).
- This can be changed later as needed, if at all, either way we won't remove them
  until after 9.0 is released.

With Hat:   apache@@
Reported by:    dvl via freshports
@
text
@d19 1
a19 1
EXPIRATION_DATE=	2011-11-01
@


1.14
log
@- set EXPIRATION_DATE to "one week after FreeBSD 9.0-RELEASE-p0"

with hat apache@@
@
text
@d19 1
a19 1
EXPIRATION_DATE=	one week after FreeBSD 9.0-RELEASE-p0
@


1.13
log
@- USE_APACHE=  /1.3/13/  /2.0/20/ /2.2/22/
@
text
@d18 3
@


1.12
log
@Mk/bsd.apache.mk can not sufficiently alter things before Mk/bsd.options.mk
in Mk/bsd.ports.mk due to ordering in Mk/bsd.port.mk.  This causes OPTIONSFILE
to be incorrectly set during some make phases as a result of the recent
PKGNAMEPREFIX for apache ports.

'Revert' some of the PKGNAMEPREFIX changes for apXX-.
   - Must be manually requested in tbe port Makefile either by
     a) AP_FAST_BUILD=yes
     b) PKGNAMEPREFIX=${APACHE_PKGNAMEPREFIX}
   - Going forward, we will only do this for ports where WITH_APACHE
       is NOT optional, but required.  mod_* ports are a good fit.

141 ports are mod_ ports
  80 of those use AP_FAST_BUILD and thus are auto hooked by this patch [a].
  61 remaining are then patched to mirror the other $lang frameworks [b].

PR:             ports/146956
Reported by:    Hans F. Nordhaug <Hans.F.Nordhaug@@hiMolde.no>, several
Discussed with: pav, itectu on #bsdports
Tested by:      P6 TB run
Approved by:    portmgr (pav)
@
text
@d20 1
a20 1
USE_APACHE=	1.3
@


1.11
log
@- Mark remaining mod_* ports MAKE_JOBS_SAFE=yes

PR:             ports/134611
Approved by:    pav (#bsdports)
@
text
@d13 1
@


1.10
log
@- USE_APACH=yes is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST

PR:             ports/133632
Approved by:    maintainer
@
text
@d17 2
@


1.9
log
@Maintainer's fix variant for dangling browser connections counting

PR:             96917
Submitted by:   Yuan-Chung Hsiao <ychsiao@@ychsiao.org>
@
text
@d15 1
a15 1
COMMENT=	Limit the number of simultaneous connections from a single client IP address
d17 2
a18 4
PLIST_FILES=	libexec/apache/mod_limitipconn.so
USE_APACHE=	yes
APACHEMODDIR=	libexec/apache
PLIST_SUB+=	APACHEMODDIR="${APACHEMODDIR}"
@


1.8
log
@Use non-default WITH_CONNECTION_COUNT_FIX option which fix following
bug using Scott's Barta contributed version from official site:

In standard version _all_ connections with the same IP counted through
scoreboard, despite file type. So, if you set limit 3 to, say, video/avi
type and open 3 connections to unlimited .html or .jpeg, next 1 connection
to video/avi will be rejected (since all, even unlimited connections are
counted through scoreboard)

Approved by: >2 weeks maintainer timeout
@
text
@a12 6
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
.if defined(WITH_CONNECTION_COUNT_FIX)
LMODOVERWRITE=	contrib/sbarta/mod_limitipconn.c
DISTFILES+=	${LMODOVERWRITE}
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
.endif
d19 6
a24 1
USE_REINPLACE=	yes
d26 2
a27 3
.if defined(WITH_CONNECTION_COUNT_FIX)
pre-patch:
	${CP} ${DISTDIR}/${LMODOVERWRITE} ${WRKSRC}
d33 1
a33 1
.include <bsd.port.mk>
@


1.7
log
@- update maintainer's email address

PR:		76601
Submitted by:	maintainer
@
text
@d13 6
d27 5
@


1.6
log
@Pass maintainership to submitter.
PR:		ports/66532
Submitted by:	Yuan-Chung Hsiao <ychsiao_at_ychsiao dot idv dot tw>
@
text
@d14 1
a14 1
MAINTAINER=	ychsiao@@ychsiao.idv.tw
@


1.5
log
@Drop maintainership.

PR:		66502
Submitted by:	Gea-Suan Lin <gslin@@netnews.NCTU.edu.tw> (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.4
log
@Use PLIST_FILES (bento-tested, marcus-reviewed).
@
text
@d14 1
a14 1
MAINTAINER=	gslin@@ccca.nctu.edu.tw
@


1.3
log
@Use the new Apache bits from bsd.port.mk.

Submitted by:	dinoex
@
text
@d17 1
@


1.2
log
@* Fix building problem when PATH doesn't contain /usr/local/sbin.
* Use tarball's Makefile to install.
* Bump PORTREVISION.

PR:		51176
Submitted by:	maintainer
@
text
@d17 1
a17 5
BUILD_DEPENDS?=	${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS?=	${BUILD_DEPENDS}

APXS?=		${LOCALBASE}/sbin/apxs

@


1.1
log
@add mod_limitipconn 0.04
Limit the number of simultaneous connections from a single client IP address

PR:		51095
Submitted by:	Gea-Suan Lin <gslin@@netnews.NCTU.edu.tw>
@
text
@d10 1
d18 1
a18 1
RUN_DEPENDS?=	${APXS}:${PORTSDIR}/www/apache13
d22 4
a25 2
do-install:
	${APXS} -i -A -n limitipconn ${WRKSRC}/mod_limitipconn.so
@

