From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 25 13:20:31 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 83BB916A507 for ; Sun, 25 Jun 2006 13:20:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB2B743D5C for ; Sun, 25 Jun 2006 13:20:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5PDKR8P056389 for ; Sun, 25 Jun 2006 13:20:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5PDKR5D056388; Sun, 25 Jun 2006 13:20:27 GMT (envelope-from gnats) Resent-Date: Sun, 25 Jun 2006 13:20:27 GMT Resent-Message-Id: <200606251320.k5PDKR5D056388@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, "Babak Farrokhi" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7656416A400 for ; Sun, 25 Jun 2006 13:15:27 +0000 (UTC) (envelope-from babak@farrokhi.net) Received: from Plesk.datak.net (plesk.datak-telecom.net [81.91.129.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9A8F43D5C for ; Sun, 25 Jun 2006 13:15:24 +0000 (GMT) (envelope-from babak@farrokhi.net) Received: (qmail 86136 invoked from network); 25 Jun 2006 17:45:22 +0430 Received: from unknown (HELO home.farrokhi.net) (85.15.9.11) by webmail.datak-telecom.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Jun 2006 17:45:09 +0430 Message-Id: <1151241310.29348@home.farrokhi.net> Date: Sun, 25 Jun 2006 16:45:10 +0330 From: "Babak Farrokhi" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.7 Cc: Subject: ports/99451: [new port] net-mgmt/ipacco - Web based tool to analyze Cisco IP accounting data X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 13:20:31 -0000 >Number: 99451 >Category: ports >Synopsis: [new port] net-mgmt/ipacco - Web based tool to analyze Cisco IP accounting data >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: Sun Jun 25 13:20:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Babak Farrokhi >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD 6.1-STABLE #1: Fri May 12 21:09:54 IRDT 2006 root@home.farrokhi.net:/usr/obj/usr/src/sys/HOME >Description: Web based tool to analyze Cisco IP accounting data >How-To-Repeat: >Fix: --- ipacco.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: # # ipacco # ipacco/Makefile # ipacco/distinfo # ipacco/pkg-descr # ipacco/pkg-plist # ipacco/files # ipacco/files/pkg-message.in # echo c - ipacco mkdir -p ipacco > /dev/null 2>&1 echo x - ipacco/Makefile sed 's/^X//' >ipacco/Makefile << 'END-of-ipacco/Makefile' X# New ports collection makefile for: ipacco X# Date created: 25 June 2006 X# Whom: Babak Farrokhi X# X# $FreeBSD$ X# X XPORTNAME= ipacco XPORTVERSION= 0.2.0.1 XCATEGORIES= net-mgmt www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ipacco X XMAINTAINER= babak@farrokhi.net XCOMMENT= Web based tool to analyze Cisco IP accounting data X XRUN_DEPENDS= ${TCL_LIBDIR}/mysqltcl:${PORTSDIR}/databases/mysqltcl \ X ${LOCALBASE}/lib/tcllib1.7/pkgIndex.tcl:${PORTSDIR}/devel/tcllib \ X tclx83:${PORTSDIR}/lang/tclX X XNO_BUILD= yes XUSE_PHP= mysql gd XUSE_TCL= yes X XIPACCO?= www/${PORTNAME} XIPACCO_WEB= ${PREFIX}/${IPACCO} XPLIST_SUB+= IPACCO_WEB=${IPACCO} XSUB_LIST+= IPACCO_WEB=${IPACCO} \ X PORTDOCS=${PORTDOCS} \ X PORTNAME=${PORTNAME} X XSUB_FILES= pkg-message X X.if !defined(NOPORTDOCS) XPORTDOCS1= INSTALL.html INSTALL.txt RELNOTES.html RELNOTES.txt XPORTDOCS2= README.html README.txt LICENSE CreateDB.sql X.endif X Xpre-install: X @${FIND} ${WRKSRC} -name '*.bak' -type f -print0 | ${XARGS} -0 ${RM} -f X Xpost-patch: X @${REINPLACE_CMD} -e 's|/usr/bin/tclsh|${TCLSH}|' \ X ${WRKSRC}/datapump/ipacco-datapump.tcl X @${REINPLACE_CMD} -e 's|\ END-of-ipacco/Makefile echo x - ipacco/distinfo sed 's/^X//' >ipacco/distinfo << 'END-of-ipacco/distinfo' XMD5 (ipacco-0.2.0.1.tar.gz) = 4413b19275c3f0357e0d3e3d5cbdac45 XSHA256 (ipacco-0.2.0.1.tar.gz) = 8d91d783ea534f46c928f77d262962ccfb6e3ecd522c02f0262ac348bcc11636 XSIZE (ipacco-0.2.0.1.tar.gz) = 65754 END-of-ipacco/distinfo echo x - ipacco/pkg-descr sed 's/^X//' >ipacco/pkg-descr << 'END-of-ipacco/pkg-descr' XIPAcco is a free software package that helps a network admin Xto collect, visualize and analyze IP accounting data from the XCisco routers. XCisco routers themselves are capable of collecting IP accounting Xinformation . i.e. an unordered set of IP source-destination Xpairs along with a byte and packet counters corresponding to all Xnetwork traffic flows that passed through the router's interfaces. XThese data can be a useful source for various analysis procedures Xand billing systems but by itself, in their raw form they are Xrather difficult to read and understand. In addition, a router Xcannot keep a lot of data . its memory is needed for purposes Xother than remembering what traffic, from what sources and where Xit forwarded two month ago. X XWWW: http://ipacco.sourceforge.net/ X X- Babak Farrokhi Xbabak@farrokhi.net END-of-ipacco/pkg-descr echo x - ipacco/pkg-plist sed 's/^X//' >ipacco/pkg-plist << 'END-of-ipacco/pkg-plist' Xetc/ipacco/ipacco-datapump.cfg Xsbin/ipacco-datapump.tcl X%%PORTDOCS%%%%DOCSDIR%%/CreateDB.sql X%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html X%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt X%%PORTDOCS%%%%DOCSDIR%%/LICENSE X%%PORTDOCS%%%%DOCSDIR%%/README.html X%%PORTDOCS%%%%DOCSDIR%%/README.txt X%%PORTDOCS%%%%DOCSDIR%%/RELNOTES.html X%%PORTDOCS%%%%DOCSDIR%%/RELNOTES.txt X%%IPACCO_WEB%%/AddrCondition.php X%%IPACCO_WEB%%/AddrFilter.php X%%IPACCO_WEB%%/AddrGraph.php X%%IPACCO_WEB%%/BrightnessPicker.php X%%IPACCO_WEB%%/BrightnessSelector.php X%%IPACCO_WEB%%/ByAddress.php X%%IPACCO_WEB%%/ByTime.php X%%IPACCO_WEB%%/ChangeSettings.php X%%IPACCO_WEB%%/ColorBrightnessPicker.php X%%IPACCO_WEB%%/ColorPicker.php X%%IPACCO_WEB%%/ColorSelector.php X%%IPACCO_WEB%%/Colors.php X%%IPACCO_WEB%%/Globals.php X%%IPACCO_WEB%%/Help.php X%%IPACCO_WEB%%/IPAcco.css X%%IPACCO_WEB%%/MainMenu.php X%%IPACCO_WEB%%/PageBottom.php X%%IPACCO_WEB%%/PageHeader.php X%%IPACCO_WEB%%/PageMiddle.php X%%IPACCO_WEB%%/PageTop.php X%%IPACCO_WEB%%/ServerError.php X%%IPACCO_WEB%%/Settings.php X%%IPACCO_WEB%%/SiteDefs.php X%%IPACCO_WEB%%/TimeGraph.php X%%IPACCO_WEB%%/TimeSelector.php X%%IPACCO_WEB%%/Utils.php X%%IPACCO_WEB%%/help/AddressFiltering.html X%%IPACCO_WEB%%/help/AddressGraph.html X%%IPACCO_WEB%%/help/Overview.html X%%IPACCO_WEB%%/help/Settings.html X%%IPACCO_WEB%%/help/StatusPage.html X%%IPACCO_WEB%%/help/TimeGraph.html X%%IPACCO_WEB%%/help/TimeNavigation.html X%%IPACCO_WEB%%/images/ArrowLeftButton.png X%%IPACCO_WEB%%/images/ArrowLeftButtonDisabled.png X%%IPACCO_WEB%%/images/ArrowRightButton.png X%%IPACCO_WEB%%/images/ColorPicker.png X%%IPACCO_WEB%%/images/MinusButton.png X%%IPACCO_WEB%%/images/MinusButtonDisabled.png X%%IPACCO_WEB%%/images/PlusButton.png X%%IPACCO_WEB%%/images/php-power-black.gif X%%IPACCO_WEB%%/images/poweredbymysql-88.png X%%IPACCO_WEB%%/index.html X%%IPACCO_WEB%%/index.php X@dirrm %%IPACCO_WEB%%/images X@dirrm %%IPACCO_WEB%%/help X@dirrmtry %%IPACCO_WEB%% X@dirrm etc/ipacco X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-ipacco/pkg-plist echo c - ipacco/files mkdir -p ipacco/files > /dev/null 2>&1 echo x - ipacco/files/pkg-message.in sed 's/^X//' >ipacco/files/pkg-message.in << 'END-of-ipacco/files/pkg-message.in' X X-------------------------------------------------- X X1- Import database schema to your mysql: X mysql -u root -p < %%DOCSDIR%%%%PORTDOCS%%/CreateDB.sql X X2- Configure mysql parameters in X %%PREFIX%%/etc/%%PORTNAME%%/ipacco-datapump.cfg X and X %%PREFIX%%/%%IPACCO_WEB%%/SiteDefs.php X X3- Read the instructions and configure your cisco routers: X %%DOCSDIR%%/README.txt X X4- Add datapump agent to your /etc/crontab file: X */5 * * * * root %%PREFIX%%/sbin/ipacco-datapump.tcl \ X -c %%PREFIX%%/etc/%%PORTNAME%%/ipacco-datapump.cfg > /dev/null 2>&1 X X-------------------------------------------------- X END-of-ipacco/files/pkg-message.in exit --- ipacco.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: