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 /dev-perl/JKFlow
parentInitial import. (diff)
downloadhistorical-9147e18705e7c697958e9e92fa1b779ee50fcc32.tar.gz
historical-9147e18705e7c697958e9e92fa1b779ee50fcc32.tar.bz2
historical-9147e18705e7c697958e9e92fa1b779ee50fcc32.zip
Initial import.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-perl/JKFlow')
-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
5 files changed, 85 insertions, 0 deletions
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>