summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Smee <strerror@gentoo.org>2005-06-22 15:01:00 +0000
committerBenjamin Smee <strerror@gentoo.org>2005-06-22 15:01:00 +0000
commit9147e18705e7c697958e9e92fa1b779ee50fcc32 (patch)
treefad41f4b55810150d818de47f4d2d871bdb6fba3
parentInitial import. (diff)
downloadhistorical-9147e18705e7c697958e9e92fa1b779ee50fcc32.tar.gz
historical-9147e18705e7c697958e9e92fa1b779ee50fcc32.tar.bz2
historical-9147e18705e7c697958e9e92fa1b779ee50fcc32.zip
Initial import.
Package-Manager: portage-2.0.51.19
-rw-r--r--dev-perl/CUFlow/CUFlow-1.5.ebuild53
-rw-r--r--dev-perl/CUFlow/ChangeLog10
-rw-r--r--dev-perl/CUFlow/Manifest3
-rw-r--r--dev-perl/CUFlow/files/CUFlow.cf76
-rw-r--r--dev-perl/CUFlow/files/digest-CUFlow-1.51
-rw-r--r--dev-perl/CUFlow/metadata.xml8
-rw-r--r--dev-perl/Cflow/Cflow-1.051.ebuild38
-rw-r--r--dev-perl/Cflow/ChangeLog10
-rw-r--r--dev-perl/Cflow/Manifest2
-rw-r--r--dev-perl/Cflow/files/digest-Cflow-1.0512
-rw-r--r--dev-perl/Cflow/metadata.xml8
-rw-r--r--dev-perl/JKFlow/ChangeLog10
-rw-r--r--dev-perl/JKFlow/JKFlow-3.4.ebuild64
-rw-r--r--dev-perl/JKFlow/Manifest2
-rw-r--r--dev-perl/JKFlow/files/digest-JKFlow-3.41
-rw-r--r--dev-perl/JKFlow/metadata.xml8
16 files changed, 296 insertions, 0 deletions
diff --git a/dev-perl/CUFlow/CUFlow-1.5.ebuild b/dev-perl/CUFlow/CUFlow-1.5.ebuild
new file mode 100644
index 000000000000..9571626f4a22
--- /dev/null
+++ b/dev-perl/CUFlow/CUFlow-1.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+
+DESCRIPTION="Provides an API for reading and analysing raw flow files"
+HOMEPAGE="http://www.columbia.edu/acis/networks/advanced/CUFlow/CUFlow.html"
+SRC_URI="http://www.columbia.edu/acis/networks/advanced/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ net-analyzer/FlowScan
+ net-www/apache"
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i "s%my \$rrddir = \"/cflow/reports/rrds\";%my \$rrddir = \"/var/lib/flows/rrds\";%" CUGrapher.pl \
+ || die "sed failed"
+}
+
+src_install() {
+ insinto /var/lib/flows/bin
+ doins ${FILESDIR}/CUFlow.cf
+ exeinto /var/lib/flows/bin
+ doexe CUFlow.pm
+ exeinto /var/www/localhost/cgi-bin
+ doexe CUGrapher.pl
+ ewarn "CUGrapher.pl has been placed in /var/www/localhost/cgi-bin"
+ ewarn "If this is not where your cgi-bin directory is then you must"
+ ewarn "move it manually"
+ dodoc COPYING README.txt
+
+}
+
+pkg_postinst() {
+ chown flows:flows /var/lib/flows/bin/CUFlow.pm
+ chown flows:flows /var/lib/flows/bin/CUFlow.cf
+ einfo
+ einfo "Edit /var/lib/flows/bin/CUFlow.cf for your site"
+ einfo "You will need to add the following line to flowscan.cf:"
+ einfo " ReportClasses CUFlow"
+ einfo "You must also comment out any other lines that contain"
+ einfo "ReportClasses."
+ einfo
+}
diff --git a/dev-perl/CUFlow/ChangeLog b/dev-perl/CUFlow/ChangeLog
new file mode 100644
index 000000000000..44755488cf29
--- /dev/null
+++ b/dev-perl/CUFlow/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-perl/CUFlow
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/CUFlow/ChangeLog,v 1.1 2005/06/22 14:58:57 strerror Exp $
+
+*CUFlow-1.5 (22 Jun 2005)
+
+ 22 Jun 2005; Benjamin Smee <strerror@gentoo.org> +files/CUFlow.cf,
+ +metadata.xml, +CUFlow-1.5.ebuild:
+ Initial import.
+
diff --git a/dev-perl/CUFlow/Manifest b/dev-perl/CUFlow/Manifest
new file mode 100644
index 000000000000..865d1ea7ad07
--- /dev/null
+++ b/dev-perl/CUFlow/Manifest
@@ -0,0 +1,3 @@
+MD5 0be914001c1a692e95b8c4d0aafad5a0 CUFlow-1.5.ebuild 1391
+MD5 29cdd8662081c464bceea70d5e65cf0c files/digest-CUFlow-1.5 58
+MD5 14fe134067dc677df00b57d0ecb558fe files/CUFlow.cf 2027
diff --git a/dev-perl/CUFlow/files/CUFlow.cf b/dev-perl/CUFlow/files/CUFlow.cf
new file mode 100644
index 000000000000..8ea0a52ee4f2
--- /dev/null
+++ b/dev-perl/CUFlow/files/CUFlow.cf
@@ -0,0 +1,76 @@
+# Sample CUFlow.cf file
+
+# These are the subnets in our network
+# These are used only to determine whether a packet is inbound our
+# outbound
+Subnet 10.0.0.0/16
+
+# These are networks we are particularly interested in, and want to
+# get separate rrd's for their aggregate traffic
+Network 10.0.1.0/24 special
+
+# Where to put the rrd's
+# Make sure this is the same as $rrddir in CUGrapher.pl
+OutputDir /var/lib/flows/rrds
+
+# Track multicast traffic
+Multicast
+
+# Keep top N lists
+# Show the top ten talkers, storing reports in /cflow/flows/reports
+# and keeping the current report in /etc/httpd/data/reports/topten.html
+#Scoreboard 10 /cflow/reports/scoreboard /var/www/html/topten.html
+Scoreboard 25 /var/lib/flows/scoreboard /var/lib/flows/scoreboard/toptalkers.html
+
+# Same, but build an over-time average top N list
+#AggregateScore 10 /cflow/reports/scoreboard/agg.dat /var/www/html/overall.html
+AggregateScore 25 /var/lib/flows/rrds/agg.dat /var/lib/flows/scoreboard/overall.html
+
+# Our two netflow exporters. Produce service and protocol reports for the
+# total, and each of these.
+Router 10.0.1.2 router2
+
+# Services we are interested in
+Service 20-21/tcp ftp
+Service 22/tcp ssh
+Service 23/tcp telnet
+Service 25/tcp smtp
+Service 53/udp,53/tcp dns
+Service 80/tcp http
+Service 110/tcp pop3
+Service 123/udp ntp
+Service 143/tcp imap
+Service 161/udp snmp
+#Service 412/tcp,412/udp dc
+Service 389/tcp ldap
+Service 443/tcp https
+Service 636/tcp ldaps
+#Service 1214/tcp kazaa
+#Service 4661-4662/tcp,4665/udp edonkey
+#Service 6346-6347/tcp gnutella
+Service 993/tcp imaps
+Service 994/tcp irc
+Service 995/tcp pop3s
+Service 5223/tcp jabbers
+#Service 54320/tcp bo2k
+Service 7070/tcp,554/tcp,6970-7170/udp real
+
+# protocols we are interested in
+Protocol 1 icmp
+Protocol 4 ipinip
+Protocol 6 tcp
+Protocol 17 udp
+Protocol 47 gre
+Protocol 50 esp
+Protocol 51 ah
+Protocol 57 skip
+Protocol 88 eigrp
+Protocol 169
+Protocol 255
+
+# ToS bit percentages to graph
+TOS 0 normal
+TOS 1-255 other
+
+# Interested in traffic to/from AS 1
+#ASNumber 1 Genuity
diff --git a/dev-perl/CUFlow/files/digest-CUFlow-1.5 b/dev-perl/CUFlow/files/digest-CUFlow-1.5
new file mode 100644
index 000000000000..f5e3db20f821
--- /dev/null
+++ b/dev-perl/CUFlow/files/digest-CUFlow-1.5
@@ -0,0 +1 @@
+MD5 23a65d1bdaefa4d187151d96e0bfef30 CUFlow-1.5.tgz 28223
diff --git a/dev-perl/CUFlow/metadata.xml b/dev-perl/CUFlow/metadata.xml
new file mode 100644
index 000000000000..49f20b1c1d96
--- /dev/null
+++ b/dev-perl/CUFlow/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+<maintainer>
+ <email>strerror@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-perl/Cflow/Cflow-1.051.ebuild b/dev-perl/Cflow/Cflow-1.051.ebuild
new file mode 100644
index 000000000000..88df9b54fc43
--- /dev/null
+++ b/dev-perl/Cflow/Cflow-1.051.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+FLOW_TOOLS_VERSION="0.68"
+
+DESCRIPTION="Provides an API for reading and analysing raw flow files"
+HOMEPAGE="http://net.doit.wisc.edu/~plonka/Cflow/"
+SRC_URI="http://net.doit.wisc.edu/~plonka/${PN}/${P}.tar.gz
+ ftp://ftp.eng.oar.net/pub/flow-tools/flow-tools-${FLOW_TOOLS_VERSION}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="dev-lang/perl"
+
+PDEPEND="=net-analyzer/flow-tools-${FLOW_TOOLS_VERSION}-r1"
+RDEPEND=""
+
+src_unpack() {
+ unpack flow-tools-${FLOW_TOOLS_VERSION}.tar.gz
+ cd flow-tools-${FLOW_TOOLS_VERSION}
+ ./configure
+ make
+ cd contrib
+ unpack ${P}.tar.gz
+}
+
+src_install() {
+ cd ${WORKDIR}/flow-tools-${FLOW_TOOLS_VERSION}/contrib/${P}
+ perl Makefile.PL
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc Changes COPYING README
+}
diff --git a/dev-perl/Cflow/ChangeLog b/dev-perl/Cflow/ChangeLog
new file mode 100644
index 000000000000..ae754f0abfeb
--- /dev/null
+++ b/dev-perl/Cflow/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-perl/Cflow
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Cflow/ChangeLog,v 1.1 2005/06/22 14:55:48 strerror Exp $
+
+*Cflow-1.051 (22 Jun 2005)
+
+ 22 Jun 2005; Benjamin Smee <strerror@gentoo.org> +metadata.xml,
+ +Cflow-1.051.ebuild:
+ Initial import.
+
diff --git a/dev-perl/Cflow/Manifest b/dev-perl/Cflow/Manifest
new file mode 100644
index 000000000000..29c351d6c3ce
--- /dev/null
+++ b/dev-perl/Cflow/Manifest
@@ -0,0 +1,2 @@
+MD5 cbf0a86bdfc1b4ef7be98e958f02ecc5 Cflow-1.051.ebuild 910
+MD5 01fc010505513950115778a9529bd83f files/digest-Cflow-1.051 129
diff --git a/dev-perl/Cflow/files/digest-Cflow-1.051 b/dev-perl/Cflow/files/digest-Cflow-1.051
new file mode 100644
index 000000000000..05f04fb71502
--- /dev/null
+++ b/dev-perl/Cflow/files/digest-Cflow-1.051
@@ -0,0 +1,2 @@
+MD5 1c4d7034ccc361bf3fe1a8ac58de638b Cflow-1.051.tar.gz 41123
+MD5 c9e0a8b53c79611b6bffcb9d510a5a38 flow-tools-0.68.tar.gz 987151
diff --git a/dev-perl/Cflow/metadata.xml b/dev-perl/Cflow/metadata.xml
new file mode 100644
index 000000000000..49f20b1c1d96
--- /dev/null
+++ b/dev-perl/Cflow/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+<maintainer>
+ <email>strerror@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-perl/JKFlow/ChangeLog b/dev-perl/JKFlow/ChangeLog
new file mode 100644
index 000000000000..eddcd093d30c
--- /dev/null
+++ b/dev-perl/JKFlow/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-perl/JKFlow
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/JKFlow/ChangeLog,v 1.1 2005/06/22 15:01:00 strerror Exp $
+
+*JKFlow-3.4 (22 Jun 2005)
+
+ 22 Jun 2005; Benjamin Smee <strerror@gentoo.org> +metadata.xml,
+ +JKFlow-3.4.ebuild:
+ Initial import.
+
diff --git a/dev-perl/JKFlow/JKFlow-3.4.ebuild b/dev-perl/JKFlow/JKFlow-3.4.ebuild
new file mode 100644
index 000000000000..444d91254ee2
--- /dev/null
+++ b/dev-perl/JKFlow/JKFlow-3.4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+MY_PN="${PN/JKF/jkf}"
+MY_P="${MY_PN}-v${PV}"
+
+DESCRIPTION="XML configurable FlowScan module for processing flows"
+HOMEPAGE="http://users.telenet.be/jurgen.kobierczynski/jkflow/JKFlow.html"
+SRC_URI="http://users.telenet.be/jurgen.kobierczynski/${MY_PN}/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND="dev-lang/perl
+ net-analyzer/FlowScan
+ dev-perl/XML-Simple
+ dev-perl/Net-Patricia
+ net-www/apache"
+DEPEND=""
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ sed -i "s%my \$rrddir = \"/var/flows/reports/rrds/\";%my \$rrddir = \"/var/lib/flows/rrds/\";%" JKGrapher.pl \
+ || die "sed failed"
+}
+
+src_install() {
+ exeinto /var/lib/flows/bin
+ doexe JKFlow.pm
+ insinto /var/lib/flows/bin
+ doins JKFlow_example_routers.xml JKFlow_example_sites.xml
+ exeinto /var/www/localhost/cgi-bin
+ doexe JKGrapher.pl
+ ewarn "JKGrapher.pl has been placed in /var/www/localhost/cgi-bin"
+ ewarn "If this is not where your cgi-bin directory is then you must"
+ ewarn "move it manually"
+
+}
+
+pkg_postinst() {
+ chown flows:flows /var/lib/flows/bin/JKFlow.pm
+ chown flows:flows /var/lib/flows/bin/JKFlow_example_routers.xml
+ chown flows:flows /var/lib/flows/bin/JKFlow_example_sites.xml
+ einfo
+ einfo "You will need to add the following line to flowscan.cf:"
+ einfo " ReportClasses JKFlow"
+ einfo "You must also comment out any other lines that contain"
+ einfo "ReportClasses."
+ einfo
+ einfo "JKFlows configuration is complex. You should review"
+ einfo "the two sample configuration files in /var/lib/flows/bin"
+ einfo "and use them as a basis for configuration for your own"
+ einfo "network. More information can be found at:"
+ einfo "http://users.telenet.be/jurgen.kobierczynski/jkflow/eindwerk.pdf"
+ einfo
+}
diff --git a/dev-perl/JKFlow/Manifest b/dev-perl/JKFlow/Manifest
new file mode 100644
index 000000000000..122ee55d5aac
--- /dev/null
+++ b/dev-perl/JKFlow/Manifest
@@ -0,0 +1,2 @@
+MD5 17f75928b6cfd152bb0ebd751a0248a6 JKFlow-3.4.ebuild 1860
+MD5 7e58b15d67710866fc3e267538da3646 files/digest-JKFlow-3.4 59
diff --git a/dev-perl/JKFlow/files/digest-JKFlow-3.4 b/dev-perl/JKFlow/files/digest-JKFlow-3.4
new file mode 100644
index 000000000000..4b02f7bd5ca7
--- /dev/null
+++ b/dev-perl/JKFlow/files/digest-JKFlow-3.4
@@ -0,0 +1 @@
+MD5 e589c32e3a5a930dde8ef327d3d88d6a jkflow-v3.4.tgz 20019
diff --git a/dev-perl/JKFlow/metadata.xml b/dev-perl/JKFlow/metadata.xml
new file mode 100644
index 000000000000..49f20b1c1d96
--- /dev/null
+++ b/dev-perl/JKFlow/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+<maintainer>
+ <email>strerror@gentoo.org</email>
+</maintainer>
+</pkgmetadata>