Index: CVSROOT/modules =================================================================== RCS file: /home/pcvs/CVSROOT/modules,v retrieving revision 1.16587 diff -u -r1.16587 modules --- CVSROOT/modules 10 Nov 2006 00:48:55 -0000 1.16587 +++ CVSROOT/modules 10 Nov 2006 01:22:31 -0000 @@ -7181,6 +7181,7 @@ mod_ruby ports/www/mod_ruby mod_scgi ports/www/mod_scgi mod_security ports/www/mod_security +mod_security2 ports/www/mod_security2 mod_sed ports/www/mod_sed mod_sequester ports/www/mod_sequester mod_shapvh ports/www/mod_shapvh Index: ports/www/Makefile =================================================================== RCS file: /home/pcvs/ports/www/Makefile,v retrieving revision 1.1598 diff -u -r1.1598 Makefile --- ports/www/Makefile 9 Nov 2006 09:17:37 -0000 1.1598 +++ ports/www/Makefile 10 Nov 2006 01:22:31 -0000 @@ -380,6 +380,7 @@ SUBDIR += mod_ruby SUBDIR += mod_scgi SUBDIR += mod_security + SUBDIR += mod_security2 SUBDIR += mod_sed SUBDIR += mod_sequester SUBDIR += mod_shapvh Index: ports/www/mod_security2/Makefile =================================================================== RCS file: ports/www/mod_security2/Makefile diff -N ports/www/mod_security2/Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ ports/www/mod_security2/Makefile 10 Nov 2006 01:22:31 -0000 @@ -0,0 +1,39 @@ +# New ports collection makefile for: mod_security2 +# Date created: 9 November 2006 +# Whom: Dominic Mitchell +# +# $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 Index: ports/www/mod_security2/distinfo =================================================================== RCS file: ports/www/mod_security2/distinfo diff -N ports/www/mod_security2/distinfo --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ ports/www/mod_security2/distinfo 10 Nov 2006 01:22:31 -0000 @@ -0,0 +1,3 @@ +MD5 (modsecurity-apache_2.0.3.tar.gz) = 7993fd01121c6562cc4e3829ba343f94 +SHA256 (modsecurity-apache_2.0.3.tar.gz) = dcf0c70ab6fc0326e03666acb006f92b59434787881f7c220e30e7519dbb417f +SIZE (modsecurity-apache_2.0.3.tar.gz) = 302451 Index: ports/www/mod_security2/pkg-descr =================================================================== RCS file: ports/www/mod_security2/pkg-descr diff -N ports/www/mod_security2/pkg-descr --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ ports/www/mod_security2/pkg-descr 10 Nov 2006 01:22:31 -0000 @@ -0,0 +1,9 @@ +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/