93db167ac1
ModSecurity is an embeddable web application firewall. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring and real-time analysis with no changes to existing infrastructure. It is also an open source project that aims to make the web application firewall technology available to everyone. WWW: http://www.modsecurity.org/ This port will only work with Apache 2.x, this is why it is a new port, and not an upgrade of the existing www/mod_security. PR: ports/105339 Submitted By: Dominic Mitchell <dom@happygiraffe.net> Approved By: flz (mentor)
39 lines
932 B
Makefile
39 lines
932 B
Makefile
# New ports collection makefile for: mod_security2
|
|
# Date created: 9 November 2006
|
|
# Whom: Dominic Mitchell <dom@happygiraffe.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_security
|
|
PORTVERSION= 2.0.3
|
|
CATEGORIES= www security
|
|
MASTER_SITES= http://www.modsecurity.org/download/
|
|
DISTNAME= ${PORTNAME:S/_//}-apache_${PORTVERSION}
|
|
|
|
MAINTAINER= dom@happygiraffe.net
|
|
COMMENT= An intrusion detection and prevention engine
|
|
|
|
USE_APACHE= 2.0+
|
|
AP_FAST_BUILD= yes
|
|
AP_GENPLIST= yes
|
|
WRKSRCTOP= ${WRKDIR}/${DISTNAME}
|
|
WRKSRC= ${WRKSRCTOP}/apache2
|
|
SRC_FILE= *.c
|
|
PORTDOCS= *
|
|
DOCS= CHANGES LICENSE README.TXT modsecurity.conf-minimal doc
|
|
|
|
.if defined(WITH_LIBXML2)
|
|
AP_EXTRAS+= -DWITH_LIBXML2
|
|
AP_INC= ${LOCALBASE}/include/libxml2
|
|
AP_LIB= ${LOCALBASE}/lib
|
|
USE_GNOME= libxml2
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@(cd ${WRKSRCTOP} && ${TAR} cf - ${DOCS}) | (cd ${DOCSDIR} && ${TAR} xpof -)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|