From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 28 14:10:49 2004 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 CC33616A4CE for ; Wed, 28 Jan 2004 14:10:49 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4861143D55 for ; Wed, 28 Jan 2004 14:10:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0SMAJFR044667 for ; Wed, 28 Jan 2004 14:10:19 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0SMAJLS044666; Wed, 28 Jan 2004 14:10:19 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 28 Jan 2004 14:10:19 -0800 (PST) Resent-Message-Id: <200401282210.i0SMAJLS044666@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, "Andrea Venturoli" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6F8C16A4CE for ; Wed, 28 Jan 2004 14:03:25 -0800 (PST) Received: from smtp1.libero.it (smtp1.libero.it [193.70.192.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D79D43D1F for ; Wed, 28 Jan 2004 14:03:23 -0800 (PST) (envelope-from a.ventu@flashnet.it) Received: from soth.ventu (151.37.25.178) by smtp1.libero.it (7.0.020-DD01) id 3F6F0E48024EF154 for FreeBSD-gnats-submit@freebsd.org; Wed, 28 Jan 2004 23:03:52 +0100 Received: from xanatar.ventu (xanatar.ventu [10.1.2.6]) by soth.ventu (8.12.6p3/8.12.6) with SMTP id i0SM3LO3031778 for ; Wed, 28 Jan 2004 23:03:21 +0100 (CET) (envelope-from a.ventu@flashnet.it) Message-Id: <200401282203.i0SM3LO3031778@soth.ventu> Date: Wed, 28 Jan 2004 23:03:21 +0100 From: "Andrea Venturoli" To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62046: New port: Add-on module for snort; generates real-time web reports (resending) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrea Venturoli List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 22:10:49 -0000 >Number: 62046 >Category: ports >Synopsis: New port: Add-on module for snort; generates real-time web reports >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: Wed Jan 28 14:10:18 PST 2004 >Closed-Date: >Last-Modified: >Originator: Andrea Venturoli >Release: FreeBSD 4.7-RELEASE-p24 i386 >Organization: NetFence >Environment: System: FreeBSD soth 4.7-RELEASE-p24 FreeBSD 4.7-RELEASE-p24 #2: Sat Nov 29 18:39:51 CET 2003 root@soth:/usr/obj/usr/src/sys/SOTH i386 >Description: Snort Report is an add-on module for the Snort Intrusion Detection System. It generates real-time intrusion detection reports in an easy to read format based on data collected from a MySQL or PostgreSQL database. >How-To-Repeat: >Fix: --- snortreport.shar 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: # # snortreport # snortreport/pkg-message # snortreport/distinfo # snortreport/Makefile # snortreport/pkg-descr # snortreport/pkg-plist # echo c - snortreport mkdir -p snortreport > /dev/null 2>&1 echo x - snortreport/pkg-message sed 's/^X//' >snortreport/pkg-message << 'END-of-snortreport/pkg-message' X**************************************************************** XSnortreport has been installed in %%PREFIX%%/www/snortreport. XChange into this directory and make changes to the config Xfile (srconf.php). XAlso modifyt your web server configuration to let access to this Xdirectory. X**************************************************************** END-of-snortreport/pkg-message echo x - snortreport/distinfo sed 's/^X//' >snortreport/distinfo << 'END-of-snortreport/distinfo' XMD5 (snortreport-1.2.tar.gz) = 856eb311abbc012e705fc8f6694cd814 END-of-snortreport/distinfo echo x - snortreport/Makefile sed 's/^X//' >snortreport/Makefile << 'END-of-snortreport/Makefile' X# New ports collection makefile for: snortreport X# Date created: 18 Jan 2004 X# Whom: Andrea Venturoli X# X# $FreeBSD$ X# X XPORTNAME= snortreport XPORTVERSION= 1.2 XCATEGORIES= security www XMASTER_SITES= http://www.circuitsmaximus.com/snortreport/ X XMAINTAINER= a.ventu@flashnet.it XCOMMENT= Add-on module for snort; generates real-time web reports X XRUN_DEPENDS= ${LOCALBASE}/bin/php-config:${PORTSDIR}/www/mod_php4 X XPKGMESSAGE= ${WRKDIR}/pkg-message XNO_BUILD= yes X Xpre-everything:: X @${ECHO} "" X @${ECHO} "You have to configure PHP either with MySQL or" X @${ECHO} "PostgreSQL support in order to let snortreport" X @${ECHO} "collect its data." X @${ECHO} "Is is also suggested to compile support for GD" X @${ECHO} "in and have Jpgraph installed." X @${ECHO} "" X Xpre-patch: X @${SED} 's|%%PREFIX%%|${PREFIX}|g' \ X ${.CURDIR}/pkg-message > ${PKGMESSAGE} X Xdo-install: X ${MKDIR} ${PREFIX}/www/snortreport X ${CP} -p ${WRKSRC}/*.php ${PREFIX}/www/snortreport X ${CP} -p ${WRKSRC}/*.css ${PREFIX}/www/snortreport X ${CP} -p ${WRKSRC}/*.png ${PREFIX}/www/snortreport X ${CP} -p ${WRKSRC}/*.html ${PREFIX}/www/snortreport X ${CP} -p ${WRKSRC}/*.phps ${PREFIX}/www/snortreport X ${CP} -p ${WRKSRC}/*.js ${PREFIX}/www/snortreport X ${CHOWN} -R www:www ${PREFIX}/www/snortreport X Xpost-install: X.if !defined(NOPORTDOCS) X ${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/Performance.txt ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/create_indexes.sql ${DOCSDIR} X.endif X @${CAT} ${PKGMESSAGE} X X.include END-of-snortreport/Makefile echo x - snortreport/pkg-descr sed 's/^X//' >snortreport/pkg-descr << 'END-of-snortreport/pkg-descr' XSnort Report is an add-on module for the Snort Intrusion Detection System. X XIt generates real-time intrusion detection reports in an easy to read format Xbased on data collected from a MySQL or PostgreSQL database. X XRead the FAQ for full details, changelog, and system requirements. X XWWW: http://www.circuitsmaximus.com/download.html X X- Andrea Venturoli Xa.ventu@flashnet.it END-of-snortreport/pkg-descr echo x - snortreport/pkg-plist sed 's/^X//' >snortreport/pkg-plist << 'END-of-snortreport/pkg-plist' Xwww/snortreport/DB.php Xwww/snortreport/DB_mysql.php Xwww/snortreport/DB_pgsql.php Xwww/snortreport/alertchart.php Xwww/snortreport/alerts.php Xwww/snortreport/functions.php Xwww/snortreport/index.php Xwww/snortreport/info-retrieval.php Xwww/snortreport/ipdetail.php Xwww/snortreport/page_bottom.php Xwww/snortreport/page_top.php Xwww/snortreport/portscan.php Xwww/snortreport/profiling.phps Xwww/snortreport/psdetail.php Xwww/snortreport/sig-by-time-chart.php Xwww/snortreport/sigdetail.php Xwww/snortreport/srconf.php Xwww/snortreport/timespan.php Xwww/snortreport/default.css Xwww/snortreport/go.png Xwww/snortreport/nodata.png Xwww/snortreport/srlogo.png Xwww/snortreport/menu.html Xwww/snortreport/ssm.js Xwww/snortreport/ssmItems.js X%%DOCSDIR%%/INSTALL X%%DOCSDIR%%/LICENSE X%%DOCSDIR%%/Performance.txt X%%DOCSDIR%%/create_indexes.sql X@dirrm www/snortreport X@dirrm %%DOCSDIR%% END-of-snortreport/pkg-plist exit --- snortreport.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: