ports/105339: new port: www/mod_security2
Dominic Mitchell
dom at happygiraffe.net
Thu Nov 9 14:50:30 UTC 2006
>Number: 105339
>Category: ports
>Synopsis: new port: www/mod_security2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 09 14:50:28 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dominic Mitchell
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD gimli.happygiraffe.net 6.1-STABLE FreeBSD 6.1-STABLE #5: Tue May 9 08:45:02 BST 2006 root at gimli.happygiraffe.net:/usr/obj/usr/src/sys/GIMLI i386
Apache 2.2.3
>Description:
This is a new port for the latest version of mod_security. I've
added it as a new port since it no longer works with Apache 1.3.
>How-To-Repeat:
n/a
>Fix:
Here's the shar file.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# mod_security2
# mod_security2/Makefile
# mod_security2/distinfo
# mod_security2/pkg-descr
#
echo c - mod_security2
mkdir -p mod_security2 > /dev/null 2>&1
echo x - mod_security2/Makefile
sed 's/^X//' >mod_security2/Makefile << 'END-of-mod_security2/Makefile'
X# New ports collection makefile for: mod_security2
X# Date created: 9 November 2006
X# Whom: Dominic Mitchell <dom at happygiraffe.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= mod_security
XPORTVERSION= 2.0.3
XCATEGORIES= www security
XMASTER_SITES= http://www.modsecurity.org/download/
XDISTNAME= ${PORTNAME:S/_//}-apache_${PORTVERSION}
X
XMAINTAINER= dom at happygiraffe.net
XCOMMENT= An intrusion detection and prevention engine
X
XUSE_APACHE= 2.0+
XAP_FAST_BUILD= yes
XAP_GENPLIST= yes
XWRKSRCTOP= ${WRKDIR}/${DISTNAME}
XWRKSRC= ${WRKSRCTOP}/apache2
XSRC_FILE= *.c
XPORTDOCS= *
XDOCS= CHANGES LICENSE README.TXT modsecurity.conf-minimal doc
X
X.if defined(WITH_LIBXML2)
XAP_EXTRAS+= -DWITH_LIBXML2
XAP_INC= ${LOCALBASE}/include/libxml2
XAP_LIB= ${LOCALBASE}/lib
XUSE_GNOME= libxml2
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X @(cd ${WRKSRCTOP} && ${TAR} cf - ${DOCS}) | (cd ${DOCSDIR} && ${TAR} xpof -)
X.endif
X
X.include <bsd.port.mk>
END-of-mod_security2/Makefile
echo x - mod_security2/distinfo
sed 's/^X//' >mod_security2/distinfo << 'END-of-mod_security2/distinfo'
XMD5 (modsecurity-apache_2.0.3.tar.gz) = 7993fd01121c6562cc4e3829ba343f94
XSHA256 (modsecurity-apache_2.0.3.tar.gz) = dcf0c70ab6fc0326e03666acb006f92b59434787881f7c220e30e7519dbb417f
XSIZE (modsecurity-apache_2.0.3.tar.gz) = 302451
END-of-mod_security2/distinfo
echo x - mod_security2/pkg-descr
sed 's/^X//' >mod_security2/pkg-descr << 'END-of-mod_security2/pkg-descr'
XModSecurity is an embeddable web application firewall. It provides
Xprotection from a range of attacks against web applications and allows
Xfor HTTP traffic monitoring and real-time analysis with no changes to
Xexisting infrastructure.
X
XIt is also an open source project that aims to make the web application
Xfirewall technology available to everyone.
X
XWWW: http://www.modsecurity.org/
END-of-mod_security2/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list