From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 25 23:30:15 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 72E4316A402 for ; Tue, 25 Apr 2006 23:30:15 +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 ABF6B43D45 for ; Tue, 25 Apr 2006 23:30:14 +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 k3PNUEwi091744 for ; Tue, 25 Apr 2006 23:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3PNUElP091743; Tue, 25 Apr 2006 23:30:14 GMT (envelope-from gnats) Resent-Date: Tue, 25 Apr 2006 23:30:14 GMT Resent-Message-Id: <200604252330.k3PNUElP091743@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, Charlie Schluting Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32F6916A401 for ; Tue, 25 Apr 2006 23:28:44 +0000 (UTC) (envelope-from charlie@schluting.com) Received: from mailhost.schluting.com (schluting.com [131.252.214.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD3C243D48 for ; Tue, 25 Apr 2006 23:28:43 +0000 (GMT) (envelope-from charlie@schluting.com) Received: from localhost (localhost.cat.pdx.edu [127.0.0.1]) by mailhost.schluting.com (Postfix) with ESMTP id 43A06264F; Tue, 25 Apr 2006 16:28:43 -0700 (PDT) Received: from mailhost.schluting.com ([127.0.0.1]) by localhost (schluting.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20457-01; Tue, 25 Apr 2006 16:28:37 -0700 (PDT) Received: by mailhost.schluting.com (Postfix, from userid 1001) id 1F6E221B3; Tue, 25 Apr 2006 16:28:37 -0700 (PDT) Message-Id: <20060425232837.1F6E221B3@mailhost.schluting.com> Date: Tue, 25 Apr 2006 16:28:37 -0700 (PDT) From: Charlie Schluting To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: manos@cat.pdx.edu Subject: ports/96339: Three updated files for net-mgmt/ourmon. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Charlie Schluting List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 23:30:15 -0000 >Number: 96339 >Category: ports >Synopsis: Three updated files for net-mgmt/ourmon. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Apr 25 23:30:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Charlie Schluting >Release: >Organization: >Environment: >Description: This is just a version update with minor changes. Thanks! -Charlie # 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: # # ourmon # ourmon/Makefile # ourmon/distinfo # ourmon/pkg-message # echo c - ourmon mkdir -p ourmon > /dev/null 2>&1 echo x - ourmon/Makefile sed 's/^X//' >ourmon/Makefile << 'END-of-ourmon/Makefile' X# New ports collection makefile for: ourmon X# Date created: 01 May 2005 X# Whom: Charlie Schluting X# X# $FreeBSD: ports/net-mgmt/ourmon/Makefile,v 1.2 2005/11/29 03:19:51 linimon Exp $ X XPORTNAME= ourmon XPORTVERSION= 2.62 XCATEGORIES= net-mgmt XMASTER_SITES= http://ourmon.cat.pdx.edu/ourmon/ XDISTNAME= ourmon262 X XMAINTAINER= manos@cs.pdx.edu XCOMMENT= A libpcap-based network monitoring and anomaly detection system X XBUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap XLIB_DEPENDS= gd:$(PORTSDIR)/graphics/gd XLIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre XRUN_DEPENDS= rrdtool:$(PORTSDIR)/net/rrdtool X XIS_INTERACTIVE= yes XWRKSRC= ${WRKDIR}/mrourmon XUSE_PERL5= yes XNO_INSTALL_MANPAGES= yes XNO_PACKAGE= yes XNO_BUILD= yes X X# where to install ourmon and also X# where we build the ourmon runtime-script with configure.pl X# note: we use the work directory simply for unpacking X X# make simply states assumptions, unpacks the system, and puts it in PREFIX Xpre-build: X @${ECHO_MSG} "install dir is PREFIX=\"${PREFIX}/mrourmon\"" X @${ECHO_MSG} "We do not install apache or some other web server for you. X @${ECHO_MSG} "You should know where your apache docs directory is before make install." X @${ECHO_MSG} "You should also know which network interface you want ourmon to use." X @${ECHO_MSG} X @${ECHO_MSG} "Ourmon may be installed on one CPU or two. If you" X @${ECHO_MSG} "are only installing the front-end probe, you do" X @${ECHO_MSG} "not need Apache, hence we do not install it." X @${ECHO_MSG} "If you are installing the back-end graphics engine" X @${ECHO_MSG} "(which needs a web server) do install Apache first, and note" X @${ECHO_MSG} "where the htdocs web directory lives. You will need" X @${ECHO_MSG} "that for ourmon configuration. If you simply" X @${ECHO_MSG} "want to install ourmon with both front-end and back-end" X @${ECHO_MSG} "on one CPU, then install Apache first on that machine." X @${ECHO_MSG} X Xpre-install: X.if exists(${PREFIX}/etc/ourmon.conf) X ${MV} ${PREFIX}/etc/ourmon.conf ${PREFIX}/etc/ourmon.conf.old X.endif X $(CP) -R ${WRKSRC} ${PREFIX} X X# make install compiles and configures the system installing X# all binaries in the local PREFIX/bin as well as asking X# the user if he/she wants to install system start scripts X# and modify /etc/crontab X Xdo-install: X cd ${PREFIX}/mrourmon && ${PERL5} configure.pl ${PREFIX} X Xpost-install: X @${ECHO_MSG} "Ourmon is installed in ${PREFIX}" X @${ECHO_MSG} X @${CAT} ${PKGMESSAGE} X @${ECHO_MSG} X X.include END-of-ourmon/Makefile echo x - ourmon/distinfo sed 's/^X//' >ourmon/distinfo << 'END-of-ourmon/distinfo' XMD5 (ourmon262.tar.gz) = 0290ae98f1fc914edd7d7565d6e896d5 XSHA256 (ourmon262.tar.gz) = 3ca03195eaf71ba863a1418356aa6c730853dd139f8e68c699c44f369a3483ec XSIZE (ourmon262.tar.gz)=334675 END-of-ourmon/distinfo echo x - ourmon/pkg-message sed 's/^X//' >ourmon/pkg-message << 'END-of-ourmon/pkg-message' XFor the FreeBSD port, we assume X X/usr/local/mrourmon X Xis the base directory, although that can be overridden with Xthe port Makefile. X XRead the INSTALL file in the ourmon base directory. X************************************************** X XIf you want to uninstall ourmon, read "uninstall.txt" in Xthe base directory. X XBe sure and inspect and modify the basic config file, Xat /usr/local/mrourmon/etc/ourmon.conf. In particular Xset the notion of topn_syn home IP in the config file X Xtopn_syn_homeip 10.1.0.0/16 X Xto your home subnet and netmask. If you are installing Xourmon to watch a host you can put in a slash 32 Xaddress like 10.1.2.3/32 X XAfter setting the config file up properly, Xin order to start the front-end probe process, Xnamed "ourmon", you must cd to the base directory Xand run the ourmon probe from the start shellscript. X X# cd /usr/local/mrourmon/bin X# ./ourmon.sh start END-of-ourmon/pkg-message exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: