diff options
author | laszlof <laszlof@FreeBSD.org> | 2006-11-10 22:15:44 +0800 |
---|---|---|
committer | laszlof <laszlof@FreeBSD.org> | 2006-11-10 22:15:44 +0800 |
commit | 9e4805a76278d92351f3198f6cd8598b4e95f76e (patch) | |
tree | fd6320a69fbdb902dab62bb0503ca4c0fc8eb803 | |
parent | 336f6ea1c479fecedfe909257d4ea69858f3d8f2 (diff) | |
download | freebsd-ports-gnome-9e4805a76278d92351f3198f6cd8598b4e95f76e.tar.gz freebsd-ports-gnome-9e4805a76278d92351f3198f6cd8598b4e95f76e.tar.zst freebsd-ports-gnome-9e4805a76278d92351f3198f6cd8598b4e95f76e.zip |
New Port: www/mod_security2
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)
-rw-r--r-- | CVSROOT/modules | 1 | ||||
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_security2/Makefile | 39 | ||||
-rw-r--r-- | www/mod_security2/distinfo | 3 | ||||
-rw-r--r-- | www/mod_security2/pkg-descr | 9 | ||||
-rw-r--r-- | www/mod_security21/Makefile | 39 | ||||
-rw-r--r-- | www/mod_security21/distinfo | 3 | ||||
-rw-r--r-- | www/mod_security21/pkg-descr | 9 |
8 files changed, 104 insertions, 0 deletions
diff --git a/CVSROOT/modules b/CVSROOT/modules index 1e8ff5ddf08a..aa5cbda21b23 100644 --- a/CVSROOT/modules +++ b/CVSROOT/modules @@ -7181,6 +7181,7 @@ mod_rpaf2 ports/www/mod_rpaf2 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 diff --git a/www/Makefile b/www/Makefile index b20040d32cff..0b5a73bfa909 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/mod_security2/Makefile b/www/mod_security2/Makefile new file mode 100644 index 000000000000..a94d3c8cf9a6 --- /dev/null +++ b/www/mod_security2/Makefile @@ -0,0 +1,39 @@ +# 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> diff --git a/www/mod_security2/distinfo b/www/mod_security2/distinfo new file mode 100644 index 000000000000..23504709f521 --- /dev/null +++ b/www/mod_security2/distinfo @@ -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 diff --git a/www/mod_security2/pkg-descr b/www/mod_security2/pkg-descr new file mode 100644 index 000000000000..91757c63af8d --- /dev/null +++ b/www/mod_security2/pkg-descr @@ -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/ diff --git a/www/mod_security21/Makefile b/www/mod_security21/Makefile new file mode 100644 index 000000000000..a94d3c8cf9a6 --- /dev/null +++ b/www/mod_security21/Makefile @@ -0,0 +1,39 @@ +# 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> diff --git a/www/mod_security21/distinfo b/www/mod_security21/distinfo new file mode 100644 index 000000000000..23504709f521 --- /dev/null +++ b/www/mod_security21/distinfo @@ -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 diff --git a/www/mod_security21/pkg-descr b/www/mod_security21/pkg-descr new file mode 100644 index 000000000000..91757c63af8d --- /dev/null +++ b/www/mod_security21/pkg-descr @@ -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/ |