summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-11-01 23:07:04 +0000
committerJeroen Roovers <jer@gentoo.org>2009-11-01 23:07:04 +0000
commit3ad16b137eea1920798596ae0d088d388d0636be (patch)
treefdf40f9eb30db169290757d7b159001d3d360f75 /dev-perl
parentVersion bump, bug #268603. (diff)
downloadgentoo-2-3ad16b137eea1920798596ae0d088d388d0636be.tar.gz
gentoo-2-3ad16b137eea1920798596ae0d088d388d0636be.tar.bz2
gentoo-2-3ad16b137eea1920798596ae0d088d388d0636be.zip
Version bump (bug #281499).
(Portage version: 2.2_rc48/cvs/Linux i686)
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/JKFlow/ChangeLog9
-rw-r--r--dev-perl/JKFlow/JKFlow-3.5.2.ebuild66
2 files changed, 73 insertions, 2 deletions
diff --git a/dev-perl/JKFlow/ChangeLog b/dev-perl/JKFlow/ChangeLog
index b53b19502f6a..666d7b5d770c 100644
--- a/dev-perl/JKFlow/ChangeLog
+++ b/dev-perl/JKFlow/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-perl/JKFlow
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/JKFlow/ChangeLog,v 1.8 2008/08/16 17:43:06 tove Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/JKFlow/ChangeLog,v 1.9 2009/11/01 23:07:04 jer Exp $
+
+*JKFlow-3.5.2 (01 Nov 2009)
+
+ 01 Nov 2009; Jeroen Roovers <jer@gentoo.org> +JKFlow-3.5.2.ebuild:
+ Version bump (bug #281499).
16 Aug 2008; Torsten Veller <tove@gentoo.org> metadata.xml:
Remove strerror from metadata.xml (#89719)
diff --git a/dev-perl/JKFlow/JKFlow-3.5.2.ebuild b/dev-perl/JKFlow/JKFlow-3.5.2.ebuild
new file mode 100644
index 000000000000..72ae8abf7e11
--- /dev/null
+++ b/dev-perl/JKFlow/JKFlow-3.5.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/JKFlow/JKFlow-3.5.2.ebuild,v 1.1 2009/11/01 23:07:04 jer Exp $
+
+inherit depend.apache 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"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ net-analyzer/FlowScan
+ dev-perl/XML-Simple
+ dev-perl/Net-Patricia"
+DEPEND=""
+
+need_apache
+
+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
+ elog
+ elog "You will need to add the following line to flowscan.cf:"
+ elog " ReportClasses JKFlow"
+ elog "You must also comment out any other lines that contain"
+ elog "ReportClasses."
+ elog
+ elog "JKFlows configuration is complex. You should review"
+ elog "the two sample configuration files in /var/lib/flows/bin"
+ elog "and use them as a basis for configuration for your own"
+ elog "network. More information can be found at:"
+ elog "http://users.telenet.be/jurgen.kobierczynski/jkflow/eindwerk.pdf"
+ elog
+}