Date: Wed, 4 Jun 2003 16:25:34 +0200 (CEST) From: Alex Dupre <sysadmin@alexdupre.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52937: [New Port] www/mod_security Message-ID: <200306041425.h54EPY0b060687@vaio.alexdupre.com> Resent-Message-ID: <200306041430.h54EUJ45098326@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52937 >Category: ports >Synopsis: [New Port] www/mod_security >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 04 07:30:19 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 4.8-ALEXDUPRE i386 >Organization: >Environment: System: FreeBSD 4.8-ALEXDUPRE i386 >Description: ModSecurity is an open source intrustion detection and prevention engine for web applications. It operates embedded into the web server, acting as a powerful umbrella - shielding web applications from attacks. WWW: http://www.modsecurity.org/ It supports both Apache 1.3 and Apache 2.0. >How-To-Repeat: >Fix: --- mod_security.sh begins here --- # 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_security # mod_security/Makefile # mod_security/distinfo # mod_security/pkg-descr # mod_security/pkg-plist # echo c - mod_security mkdir -p mod_security > /dev/null 2>&1 echo x - mod_security/Makefile sed 's/^X//' >mod_security/Makefile << 'END-of-mod_security/Makefile' X# New ports collection makefile for: mod_security X# Date created: 4 June 2003 X# Whom: Alex Dupre <sysadmin@alexdupre.com> X# X# $FreeBSD$ X# X XPORTNAME= mod_security XPORTVERSION= 1.5 XCATEGORIES= www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= mod-security XDISTNAME= ${PORTNAME}_${PORTVERSION} X XMAINTAINER= sysadmin@alexdupre.com XCOMMENT= An intrusion detection and prevention engine X X.include <bsd.port.pre.mk> X X.if exists(${LOCALBASE}/include/apache2/apr.h) XWITH_APACHE2= yes X.endif X XAPXS?= ${LOCALBASE}/sbin/apxs X.if defined(WITH_APACHE2) XAPACHE_PORT?= ${PORTSDIR}/www/apache2 XAPWRKSRC?= ${WRKSRC}/apache2 XPLIST_SUB= APACHE=apache2 X.else XAPACHE_PORT?= ${PORTSDIR}/www/apache13 XAPWRKSRC?= ${WRKSRC}/apache1 XPLIST_SUB= APACHE=apache X.endif X XBUILD_DEPENDS+= ${APXS}:${APACHE_PORT} XRUN_DEPENDS+= ${APXS}:${APACHE_PORT} X XDOCS= CHANGES INSTALL LICENSE README modsecurity-manual-v1.5.pdf X Xdo-build: X @cd ${APWRKSRC} && ${APXS} -c mod_security.c X Xdo-install: X ${APXS} -i -a -n security ${APWRKSRC}/mod_security.la X @${MKDIR} ${EXAMPLESDIR} X @${INSTALL_DATA} ${WRKSRC}/httpd.conf.example-* ${EXAMPLESDIR} X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for f in ${DOCS} X @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.post.mk> END-of-mod_security/Makefile echo x - mod_security/distinfo sed 's/^X//' >mod_security/distinfo << 'END-of-mod_security/distinfo' XMD5 (mod_security_1.5.tar.gz) = fc08325ed088c147d093ffb0a73eb44e END-of-mod_security/distinfo echo x - mod_security/pkg-descr sed 's/^X//' >mod_security/pkg-descr << 'END-of-mod_security/pkg-descr' XModSecurity is an open source intrustion detection and Xprevention engine for web applications. It operates embedded Xinto the web server, acting as a powerful umbrella - shielding Xweb applications from attacks. X XWWW: http://www.modsecurity.org/ X X- Alex Dupre Xsysadmin@alexdupre.com END-of-mod_security/pkg-descr echo x - mod_security/pkg-plist sed 's/^X//' >mod_security/pkg-plist << 'END-of-mod_security/pkg-plist' Xlibexec/%%APACHE%%/mod_security.so X@exec %D/sbin/apxs -e -a -n security %D/%F X@unexec %D/sbin/apxs -e -A -n security %D/%F X%%PORTDOCS%%share/doc/mod_security/CHANGES X%%PORTDOCS%%share/doc/mod_security/INSTALL X%%PORTDOCS%%share/doc/mod_security/LICENSE X%%PORTDOCS%%share/doc/mod_security/README X%%PORTDOCS%%share/doc/mod_security/modsecurity-manual-v1.5.pdf Xshare/examples/mod_security/httpd.conf.example-full Xshare/examples/mod_security/httpd.conf.example-minimal X%%PORTDOCS%%@dirrm share/doc/mod_security X@dirrm share/examples/mod_security END-of-mod_security/pkg-plist exit --- mod_security.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306041425.h54EPY0b060687>