Portage is a package management system used by Gentoo Linux
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/CUFlow/CUFlow-1.5.ebuild,v 1.7 2008/02/02 15:18:40 hollow Exp $
inherit depend.apache 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"
DEPEND=""
need_apache
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 README.txt
}
pkg_postinst() {
chown flows:flows /var/lib/flows/bin/CUFlow.pm
chown flows:flows /var/lib/flows/bin/CUFlow.cf
elog
elog "Edit /var/lib/flows/bin/CUFlow.cf for your site"
elog "You will need to add the following line to flowscan.cf:"
elog " ReportClasses CUFlow"
elog "You must also comment out any other lines that contain"
elog "ReportClasses."
elog
}
# ChangeLog for dev-perl/CUFlow
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/CUFlow/ChangeLog,v 1.7 2008/02/02 15:18:40 hollow Exp $
02 Feb 2008; Benedikt Böhm
use depend.apache eclass wrt #208033
29 Jul 2007; Christian Heim
Fixing the DEPEND/RDEPEND for the move of net-www/apache to
www-servers/apache (#78622).
02 Jun 2007; Markus Ullmann
Stable on x86
03 Mar 2007; Marius Mauch
Replacing einfo with elog
20 Feb 2007; Markus Ullmann
Redigest for Manifest2
25 Feb 2006; Markus Ullmann
Removing COPYING from docdir as it is already in standard license dir
*CUFlow-1.5 (22 Jun 2005)
22 Jun 2005; Benjamin Smee
+metadata.xml, +CUFlow-1.5.ebuild:
Initial import.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX CUFlow.cf 2027 RMD160 6a12dba5226969e4d653c849849625d74986a2d8 SHA1 1eeb2b9c65e3fb84eeabccf5ee52d75127207371 SHA256 2b0491d10c1acfeadc7729f5c83eb91a20f8cf78da6ff64c4ca0c7d04cdebe78
DIST CUFlow-1.5.tgz 28223 RMD160 56a34a06e24227a5e7b97f62e6a92a87f7940c20 SHA1 713d194985da724be5eea2787bbdbc65f97cca3e SHA256 37ea562f09f1e9b668e71bbef81825575c13132a7cf79bea13a9e80c4a0cd9af
EBUILD CUFlow-1.5.ebuild 1483 RMD160 10f72672ead3e69cfd94d2cc240abdc9e53f0f31 SHA1 beef7ff164bc6c7d330e390a73b7cb4d0a691cfc SHA256 046913275d0c436a85086252de811e064d70ec50b26b34a98b038c868d6bb3f3
MISC ChangeLog 1027 RMD160 5f4cb289b4fabd5ddafb27d91a01d34b0e00305d SHA1 ec215511bfb6a29e15f7eef541d1bee6a9cbf51c SHA256 dcf8b1384a2b8c8d54593c4effdebf3493d3dd9b605aec584ba0f4fc83dc4cfe
MISC metadata.xml 223 RMD160 4875e4f86bc0fd0f10a781b478c70fd21adb7eaa SHA1 fcb6d281952f130ccaf46c52a595f8ef3f25b15f SHA256 4d78d21a58ebede4bfdbced61656070166d1d88eacc4becc023287e6de8b5f9b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (GNU/Linux)
iEYEARECAAYFAkekidUACgkQmPFBzbX68WFFQgCdFif5gT/Q0V1Y1vSOkk3SUMZt
TeQAoIBcnSHnaFkB8WA/Vs+1RZIl1fyK
=M0bW
-----END PGP SIGNATURE-----