diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-01-18 06:46:44 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-01-18 06:46:44 +0000 |
commit | 5eccbb21e0e9b3da9ea547696bbffd90afa95243 (patch) | |
tree | 34e179f168d2678659062cb25d820ee35d3791fd /net-mgmt | |
parent | 6d7f57f1d8eddae60ccd231d35d5bac12e926cc0 (diff) | |
download | ports-5eccbb21e0e9b3da9ea547696bbffd90afa95243.tar.gz ports-5eccbb21e0e9b3da9ea547696bbffd90afa95243.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/flowscan/Makefile | 78 | ||||
-rw-r--r-- | net-mgmt/flowscan/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/flowscan/files/cflowd.sh | 37 | ||||
-rw-r--r-- | net-mgmt/flowscan/files/flowscan.sh | 39 | ||||
-rw-r--r-- | net-mgmt/flowscan/pkg-descr | 9 | ||||
-rw-r--r-- | net-mgmt/flowscan/pkg-message | 35 | ||||
-rw-r--r-- | net-mgmt/flowscan/pkg-plist | 31 |
8 files changed, 0 insertions, 233 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index ee610607d283..107787a7181e 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -68,7 +68,6 @@ SUBDIR += flow-tools SUBDIR += flow-tools-ng SUBDIR += flowd - SUBDIR += flowscan SUBDIR += flowviewer SUBDIR += fprobe SUBDIR += fruity diff --git a/net-mgmt/flowscan/Makefile b/net-mgmt/flowscan/Makefile deleted file mode 100644 index d0c8a940f3cf..000000000000 --- a/net-mgmt/flowscan/Makefile +++ /dev/null @@ -1,78 +0,0 @@ -# New ports collection makefile for: flowscan -# Date created: Di 13 Mär 2001 08:23:55 CET -# Whom: andreas@freebsd.org -# -# $FreeBSD$ -# - -PORTNAME= flowscan -PORTVERSION= 1.006 -PORTREVISION= 9 -CATEGORIES= net-mgmt -MASTER_SITES= http://net.doit.wisc.edu/~plonka/FlowScan/ -DISTFILES= FlowScan-${PORTVERSION}.tar.gz - -MAINTAINER= ports@FreeBSD.org -COMMENT= Processes IP flows recorded in cflowd-format raw flow files - -BUILD_DEPENDS= ksh:${PORTSDIR}/shells/pdksh \ - rrdtool:${PORTSDIR}/databases/rrdtool \ - ${LOCALBASE}/sbin/cflowd:${PORTSDIR}/net-mgmt/cflowd \ - ${SITE_PERL}/Boulder/Stream.pm:${PORTSDIR}/converters/p5-Boulder \ - ${SITE_PERL}/ConfigReader/DirectiveStyle.pm:${PORTSDIR}/devel/p5-ConfigReader \ - ${SITE_PERL}/HTML/Table.pm:${PORTSDIR}/www/p5-HTML-Table \ - ${SITE_PERL}/${PERL_ARCH}/Cflow.pm:${PORTSDIR}/net-mgmt/p5-Cflow \ - ${SITE_PERL}/${PERL_ARCH}/Net/Patricia.pm:${PORTSDIR}/net/p5-Net-Patricia -RUN_DEPENDS= gmake:${PORTSDIR}/devel/gmake - -BROKEN= does not build -DEPRECATED= has been broken for 5 months -EXPIRATION_DATE=2010-01-08 - -CFLOWD_FLOWSCAN_PATCH= yes -HAS_CONFIGURE= yes -CONFIGURE_ARGS+= --prefix=${PREFIX}/var/db/flows -USE_PERL5= yes -WRKSRC= ${WRKDIR}/FlowScan-${PORTVERSION} - -pre-install: - @ ${MKDIR} ${PREFIX}/var/db/flows/bin - @ ${MKDIR} ${PREFIX}/var/db/flows/graphs - -post-install: - # sample startup script - @ ${INSTALL_SCRIPT} ${FILESDIR}/flowscan.sh \ - ${PREFIX}/etc/rc.d/cflowd-flowscan.sh.sample - # overwrite cflowd startup script, since we need some additional - # parameters ! - @ ${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \ - ${PREFIX}/etc/rc.d/cflowd-base.sh.sample - # sample Makefile to generate graphs - @ ${INSTALL_DATA} ${WRKSRC}/graphs.mf \ - ${PREFIX}/var/db/flows/graphs/Makefile.sample - # sample config files -.for i in CampusIO.cf Napster_subnets.boulder SubNetIO.cf flowscan.cf \ - local_nets.boulder our_subnets.boulder - @ ${INSTALL_DATA} ${WRKSRC}/cf/${i} \ - ${PREFIX}/var/db/flows/bin/${i}.sample -.endfor - # important docu files - @ ${MKDIR} ${PREFIX}/share/doc/flowscan - @ ${INSTALL_DATA} ${WRKSRC}/example/crontab \ - ${PREFIX}/share/doc/flowscan/crontab.sample - @ ${INSTALL_DATA} ${WRKSRC}/rc/linux/cflowd \ - ${PREFIX}/share/doc/flowscan/cflowd.sample - @ ${INSTALL_DATA} ${WRKSRC}/rc/linux/flowscan \ - ${PREFIX}/share/doc/flowscan/flowscan.sample - @ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/flowscan - # less important docu files -.if !defined(NOPORTDOCS) - @ ${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" -.for i in README README.html INSTALL.html TODO - @ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/flowscan -.endfor -.endif - # info - @ ${CAT} ${.CURDIR}/pkg-message - -.include <bsd.port.mk> diff --git a/net-mgmt/flowscan/distinfo b/net-mgmt/flowscan/distinfo deleted file mode 100644 index 321d0eae9f1c..000000000000 --- a/net-mgmt/flowscan/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (FlowScan-1.006.tar.gz) = 3c687ae0ffab82dadeb4086f122bcee5 -SHA256 (FlowScan-1.006.tar.gz) = 279562cef77ae0b51f49d115309277f360516d15eae6802cd2182cee17154e44 -SIZE (FlowScan-1.006.tar.gz) = 149514 diff --git a/net-mgmt/flowscan/files/cflowd.sh b/net-mgmt/flowscan/files/cflowd.sh deleted file mode 100644 index ae9b46a6fa54..000000000000 --- a/net-mgmt/flowscan/files/cflowd.sh +++ /dev/null @@ -1,37 +0,0 @@ -#! /bin/sh - -# rc script for cflowd -# modified to use proper commandline options for flowscan -# Andreas Klemm <andreas@FreeBSD.org>, So 25 Mär 2001 12:46:10 CEST -# $FreeBSD$ - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -'start') - [ -x $PREFIX/sbin/cflowdmux -a -s $PREFIX/etc/cflowd.conf ] \ - && $PREFIX/sbin/cflowdmux $PREFIX/etc/cflowd.conf \ - && echo -n " cflowdmux" - sleep 2 - [ -x $PREFIX/sbin/cflowd -a -s $PREFIX/etc/cflowd.conf ] \ - && $PREFIX/sbin/cflowd -s 300 -O 0 -m $PREFIX/etc/cflowd.conf \ - && echo -n " cflowd" - sleep 2 - [ -x $PREFIX/sbin/cfdcollect -a -s $PREFIX/etc/cfdcollect.conf ] \ - && $PREFIX/sbin/cfdcollect $PREFIX/etc/cfdcollect.conf \ - && echo -n " cfdcollect" - ;; - -'stop') - for i in cfdcollect cflowd cflowdmux - do - sleep 2 - killall -15 $i && echo "graceful shutdown of $i" - done - ;; -esac - -exit 0 diff --git a/net-mgmt/flowscan/files/flowscan.sh b/net-mgmt/flowscan/files/flowscan.sh deleted file mode 100644 index 08e88d0a35a8..000000000000 --- a/net-mgmt/flowscan/files/flowscan.sh +++ /dev/null @@ -1,39 +0,0 @@ -#! /bin/sh - -# rc script for flowscan -# Andreas Klemm <andreas@FreeBSD.org>, So 25 Mär 2001 12:46:10 CEST -# $FreeBSD$ - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -awk=/usr/bin/awk -bindir=$PREFIX/var/db/flows/bin -grep=/usr/bin/grep -kill=/bin/kill -logfile=$PREFIX/var/db/flows/flowscan.log -perl=/usr/bin/perl -scandir=$PREFIX/var/db/flows - -case "$1" in -'start') - [ -x $bindir/flowscan ] \ - && ( cd $scandir \ - && $perl $bindir/flowscan \ - >> $logfile 2>&1 </dev/null \ - > /dev/null & ) \ - && echo -n " flowscan" - ;; - -'stop') - pid=`ps -ax | $grep "$perl $bindir/flowscan" | $awk '{ print $1 }'` - if [ -n "$pid" ]; then - echo "killing flowscan" - $kill $pid - fi - ;; -esac - -exit 0 diff --git a/net-mgmt/flowscan/pkg-descr b/net-mgmt/flowscan/pkg-descr deleted file mode 100644 index a45b99b0aff7..000000000000 --- a/net-mgmt/flowscan/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -FlowScan is a tool to monitor and graph flow information from -Cisco, Juniper and Riverstone routers in near real-time. - -Amonst many other things, FlowScan can measure and graph traffic -for applications such as Napster. - -A sample of what FlowScan can do is at: http://wwwstats.net.wisc.edu - -WWW: http://net.doit.wisc.edu/~plonka/FlowScan/ diff --git a/net-mgmt/flowscan/pkg-message b/net-mgmt/flowscan/pkg-message deleted file mode 100644 index f7709b2877c2..000000000000 --- a/net-mgmt/flowscan/pkg-message +++ /dev/null @@ -1,35 +0,0 @@ -This is not an "easy" port. You have to take many things into consideration, -what flow data to collect (disk space, etc), how and when to remove unneeded -flow files. And you have to know, what it is all about. If you don't know -Cisco NetFlow switching and its data export feature, then I recommend you -to deinstall this port. - -Prerequisites: -A) You need to read the installation instructions closely, see: - ${PREFIX}/share/doc/flowscan/INSTALL - -B) You need to configure your Cisco Router, to enable Netflow Switching - and Netflow data export (version 5 flow export format). - -PLEASE NOTE, YOU HAVE TO KNOW EXACTLY, IF YOU REALLY WANT TO ENABLE NETFLOW -SWITCHING ON YOUR CISCO CORE OR DISTRIBUTION ROUTERS, WHAT PERFORMANCE IMPACT -MIGHT BE INVOLVED WHEN DOING THIS, WITH THE GOAL, NOT TO LOOSE YOUR ROUTING/ -SWITCHING PERFORMANCE. BE WARNED !!! - -C) You need to configure SNMP on your Cisco Router. - -Post-installation tasks involve: -a) Configure cflowd properly for your needs, see above mentioned docu ! - Example files reside in ${PREFIX}/etc, files: - cflowd.conf.example and cfdcollect.conf -b) Configure flowscan, see above mentioned docu ! - Example files reside in ${PREFIX}/var/db/flows/bin, files: - "foo".sample ... -c) Customize and install crontab file, example see: - ${PREFIX}/share/doc/flowscan/crontab.sample -d) Activate flowscan startscript by renaming it as usual, see example in: - ${PREFIX}/etc/rc.d/flowscan.sh.sample -e) Create graphs using make by customizing the sample Makefile, see docu ! - ${PREFIX}/var/db/flows/graphs/Makefile.sample - Please note, that the Makefile has to be reconfigured if you add - or remove protocols in ${PREFIX}/var/db/flows/bin/CampusIO.cf ! diff --git a/net-mgmt/flowscan/pkg-plist b/net-mgmt/flowscan/pkg-plist deleted file mode 100644 index e1d25fd5f7e6..000000000000 --- a/net-mgmt/flowscan/pkg-plist +++ /dev/null @@ -1,31 +0,0 @@ -etc/rc.d/cflowd-flowscan.sh.sample -var/db/flows/bin/flowscan -var/db/flows/bin/FlowScan.pm -var/db/flows/bin/CampusIO.pm -var/db/flows/bin/SubNetIO.pm -var/db/flows/bin/locker -var/db/flows/bin/add_ds.pl -var/db/flows/bin/add_txrx -var/db/flows/bin/event2vrule -var/db/flows/bin/ip2hostname -var/db/flows/bin/CampusIO.cf.sample -var/db/flows/bin/Napster_subnets.boulder.sample -var/db/flows/bin/SubNetIO.cf.sample -var/db/flows/bin/flowscan.cf.sample -var/db/flows/bin/local_nets.boulder.sample -var/db/flows/bin/our_subnets.boulder.sample -var/db/flows/graphs/Makefile.sample -%%PORTDOCS%%share/doc/flowscan/README -%%PORTDOCS%%share/doc/flowscan/README.html -%%PORTDOCS%%share/doc/flowscan/INSTALL.html -%%PORTDOCS%%share/doc/flowscan/TODO -share/doc/flowscan/crontab.sample -share/doc/flowscan/cflowd.sample -share/doc/flowscan/flowscan.sample -share/doc/flowscan/INSTALL -@dirrm var/db/flows/graphs -@dirrm var/db/flows/bin -@dirrm var/db/flows -@dirrmtry var/db -@dirrmtry var -@dirrm share/doc/flowscan |