From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 4 07:30:20 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADECC37B401 for ; Wed, 4 Jun 2003 07:30:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BF2843FD7 for ; Wed, 4 Jun 2003 07:30:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h54EUJUp098327 for ; Wed, 4 Jun 2003 07:30:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h54EUJ45098326; Wed, 4 Jun 2003 07:30:19 -0700 (PDT) Resent-Date: Wed, 4 Jun 2003 07:30:19 -0700 (PDT) Resent-Message-Id: <200306041430.h54EUJ45098326@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Dupre Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAF5E37B401 for ; Wed, 4 Jun 2003 07:25:38 -0700 (PDT) Received: from vaio.alexdupre.com (212-41-211-209.adsl.galactica.it [212.41.211.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CE2943F93 for ; Wed, 4 Jun 2003 07:25:37 -0700 (PDT) (envelope-from alex@vaio.alexdupre.com) Received: from vaio.alexdupre.com (localhost [127.0.0.1]) by vaio.alexdupre.com (8.12.9/8.12.9) with ESMTP id h54EPZLo060688 for ; Wed, 4 Jun 2003 16:25:35 +0200 (CEST) (envelope-from alex@vaio.alexdupre.com) Received: (from alex@localhost) by vaio.alexdupre.com (8.12.9/8.12.9/Submit) id h54EPY0b060687; Wed, 4 Jun 2003 16:25:34 +0200 (CEST) Message-Id: <200306041425.h54EPY0b060687@vaio.alexdupre.com> Date: Wed, 4 Jun 2003 16:25:34 +0200 (CEST) From: Alex Dupre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/52937: [New Port] www/mod_security X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex Dupre List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 14:30:21 -0000 >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 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 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 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: