summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/FlowScan')
-rw-r--r--net-analyzer/FlowScan/ChangeLog8
-rw-r--r--net-analyzer/FlowScan/FlowScan-1.006-r1.ebuild66
-rw-r--r--net-analyzer/FlowScan/Manifest18
-rw-r--r--net-analyzer/FlowScan/files/digest-FlowScan-1.006-r11
4 files changed, 79 insertions, 14 deletions
diff --git a/net-analyzer/FlowScan/ChangeLog b/net-analyzer/FlowScan/ChangeLog
index 7efbf92c5543..307f2b23da4b 100644
--- a/net-analyzer/FlowScan/ChangeLog
+++ b/net-analyzer/FlowScan/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/FlowScan
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/FlowScan/ChangeLog,v 1.1 2005/06/22 14:56:17 strerror Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/FlowScan/ChangeLog,v 1.2 2005/06/22 18:57:09 strerror Exp $
+
+*FlowScan-1.006-r1 (22 Jun 2005)
+
+ 22 Jun 2005; Benjamin Smee <strerror@gentoo.org>
+ +FlowScan-1.006-r1.ebuild:
+ Fixed RDEPEND and DEPEND
*FlowScan-1.006 (22 Jun 2005)
diff --git a/net-analyzer/FlowScan/FlowScan-1.006-r1.ebuild b/net-analyzer/FlowScan/FlowScan-1.006-r1.ebuild
new file mode 100644
index 000000000000..e92201e8ae4a
--- /dev/null
+++ b/net-analyzer/FlowScan/FlowScan-1.006-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="Program to report and analyze flow files"
+HOMEPAGE="http://net.doit.wisc.edu/~plonka/FlowScan/"
+SRC_URI="http://net.doit.wisc.edu/~plonka/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="|| ( app-shells/pdksh app-shells/ksh )
+ dev-lang/perl
+ !=net-analyzer/rrdtool-1.2*
+ dev-perl/ConfigReader
+ dev-perl/Boulder
+ dev-perl/HTML-Table
+ dev-perl/Net-Patricia
+ dev-perl/Cflow"
+
+DEPEND=""
+
+pkg_setup() {
+ enewgroup flows
+ enewuser flows -1 /bin/false /var/lib/flows flows
+}
+
+src_compile() {
+ ./configure --prefix=${D}/var/lib/flows --bindir=/var/lib/flows/bin || die "configure failed"
+}
+
+src_install() {
+ make install || die "install failed"
+
+ newinitd ${FILESDIR}/flowscan.init flowscan
+
+ dodoc COPYING Changes INSTALL *README* TODO
+
+ keepdir /var/lib/flows/ft
+ keepdir /var/lib/flows/rrds
+ keepdir /var/lib/flows/scoreboard
+
+ sed -i 's|FlowFileGlob flows.*:*\[0-9\]|FlowFileGlob /var/lib/flows/ft-v05.*|' ${S}/cf/flowscan.cf \
+ || die "sed failed"
+
+ exeinto /var/lib/flows/bin
+ newexe ${FILESDIR}/FlowScan.pm FlowScan.pm
+ insinto /var/lib/flows/bin
+ doins cf/flowscan.cf cf/CampusIO.cf
+}
+
+pkg_postinst() {
+ chown flows:flows /var/lib/flows/{ft,rrds,scoreboard}
+ chown flows:flows /var/lib/flows/bin/flowscan.cf
+ chown flows:flows /var/lib/flows/bin/FlowScan.pm
+ einfo
+ einfo "Please note that while you can use the reporting modules that come"
+ einfo "with FlowScan, it is recommended that you install either JKFlow or"
+ einfo "for more simple implementations CUFlow. Both are available in"
+ einfo "Portage."
+ einfo
+}
diff --git a/net-analyzer/FlowScan/Manifest b/net-analyzer/FlowScan/Manifest
index 2d208fc88063..853739856e96 100644
--- a/net-analyzer/FlowScan/Manifest
+++ b/net-analyzer/FlowScan/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 bb1ef299de535341c866479c75b7bce9 ChangeLog 401
+MD5 b89076fc64e7f3cdd59b95959edf07b4 FlowScan-1.006-r1.ebuild 1695
MD5 234794e3138a297c8af42a4520c3d742 FlowScan-1.006.ebuild 1803
+MD5 2fac8e5a77c19bfb0df60bc8ad5530dc ChangeLog 543
+MD5 5355b4f79a0130d075711f0a54840239 metadata.xml 223
+MD5 aae73bd9ba06b4ce266f50b27f8e82e2 files/flowscan.init 458
MD5 18bb7b00290cbd79007468e897d000d9 files/FlowScan.pm 8696
+MD5 962655f4603e49185eef6293d27a8314 files/digest-FlowScan-1.006-r1 66
MD5 962655f4603e49185eef6293d27a8314 files/digest-FlowScan-1.006 66
-MD5 aae73bd9ba06b4ce266f50b27f8e82e2 files/flowscan.init 458
-MD5 5355b4f79a0130d075711f0a54840239 metadata.xml 223
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCuZLzI1lqEGTUzyQRAmgPAJ0RjYTZgfHHVD1x8JM0+DTMInGwygCgpGQG
-jZGlbGYbzc6ZE4UmHnQu8Ts=
-=T+uX
------END PGP SIGNATURE-----
diff --git a/net-analyzer/FlowScan/files/digest-FlowScan-1.006-r1 b/net-analyzer/FlowScan/files/digest-FlowScan-1.006-r1
new file mode 100644
index 000000000000..f816ce64a3af
--- /dev/null
+++ b/net-analyzer/FlowScan/files/digest-FlowScan-1.006-r1
@@ -0,0 +1 @@
+MD5 3c687ae0ffab82dadeb4086f122bcee5 FlowScan-1.006.tar.gz 149514