ports/96339: Three updated files for net-mgmt/ourmon.
Charlie Schluting
charlie at schluting.com
Tue Apr 25 23:30:15 UTC 2006
>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 <manos at cs.pdx.edu>
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 at 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 <bsd.port.mk>
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:
More information about the freebsd-ports-bugs
mailing list