head	1.5;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.02.40;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.09.22.21.15.50;	author ohauer;	state Exp;
branches;
next	1.3;

1.3
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.2;

1.2
date	2011.08.20.17.27.38;	author ohauer;	state Exp;
branches;
next	1.1;

1.1
date	2009.08.22.20.43.26;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# Created by: Aleksandar Pejic <alex@@vts.su.ac.rs>
# $FreeBSD: head/www/mod_antiloris/Makefile 304723 2012-09-22 21:15:50Z ohauer $

PORTNAME=	mod_antiloris
PORTVERSION=	0.4
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.monshouwer.eu/pub/linux/mod_antiloris/

MAINTAINER=	alex@@vts.su.ac.rs
COMMENT=	Protect Apache 2.x against the Slowloris HTTP DoS attack

MAKE_JOBS_SAFE=	yes

USE_BZIP2=	yes
USE_APACHE=	22
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
AP_EXTRAS+=	-a
MODULENAME=	mod_antiloris
SRC_FILE=	*.c
SUB_FILES+=	mod_antiloris.conf
SUB_LIST+=	APACHEETCDIR="${APACHEETCDIR}"
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

.if !defined(SKIP_RULES)
PLIST_FILES+=	${APACHEETCDIR}/Includes/mod_antiloris.conf
SUB_FILES+=	pkg-message.rules
.endif

post-install:
.if !defined(SKIP_RULES)
	@@${INSTALL_DATA} ${WRKDIR}/mod_antiloris.conf ${PREFIX}/${APACHEETCDIR}/Includes/
	@@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>
@


1.4
log
@SVN rev 304723 on 2012-09-22 21:15:50Z by ohauer

- USE_APACHE= s/22+/22/
- adopt new Makefile header

Port build fails on local exp-run with apache24 with
 error: 'conn_rec' has no member named 'remote_ip'

or various other apache22 specific functions/parameters

with hat apache@@
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.3
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d1 1
a1 4
# New ports collection makefile for:   mod_antiloris
# Date created:		20 August 2009
# Whom:			Aleksandar Pejic <alex@@vts.su.ac.rs>
#
a2 1
#
d16 1
a16 1
USE_APACHE=	22+
@


1.2
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d20 1
a20 1
USE_APACHE=	20+
@


1.1
log
@This module protects Apache 2.x from the Slowloris HTTP DoS attack by
limiting the number of allowed connections.

WWW: http://modules.apache.org/search.php?id=1783

PR:		ports/138001
Submitted by:	Aleksandar Pejic <alex at vts.su.ac.rs>
@
text
@d10 1
@

