diff options
author | 2008-05-22 16:35:01 +0200 | |
---|---|---|
committer | 2008-05-22 16:35:01 +0200 | |
commit | 5f7e859b64a53b045795afdb36b6e44b184b3018 (patch) | |
tree | 9a71f04e6b6450d31be332e42e58960d3b60820a | |
parent | remove mail-client/mutt obsolete Manifest1-style digest files (diff) | |
download | falco-5f7e859b64a53b045795afdb36b6e44b184b3018.tar.gz falco-5f7e859b64a53b045795afdb36b6e44b184b3018.tar.bz2 falco-5f7e859b64a53b045795afdb36b6e44b184b3018.zip |
new package net-analyzer/afterglow: A collection of Perl scripts which facilitate the process of generating graphs from CSV inputs
Signed-off-by: Raphaël Marichez <falco@gentoo.org>
-rw-r--r-- | net-analyzer/afterglow/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/afterglow/Manifest | 5 | ||||
-rw-r--r-- | net-analyzer/afterglow/afterglow-1.5.9.ebuild | 42 | ||||
-rw-r--r-- | net-analyzer/afterglow/files/afterglow-CSV_XS.patch | 28 | ||||
-rw-r--r-- | net-analyzer/afterglow/metadata.xml | 12 |
5 files changed, 94 insertions, 0 deletions
diff --git a/net-analyzer/afterglow/ChangeLog b/net-analyzer/afterglow/ChangeLog new file mode 100644 index 0000000..274a785 --- /dev/null +++ b/net-analyzer/afterglow/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for net-analyzer/afterglow +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 09 Apr 2008; Raphael Marichez <falco@gentoo.org> ChangeLog: + Initial import + diff --git a/net-analyzer/afterglow/Manifest b/net-analyzer/afterglow/Manifest new file mode 100644 index 0000000..620f2d0 --- /dev/null +++ b/net-analyzer/afterglow/Manifest @@ -0,0 +1,5 @@ +AUX afterglow-CSV_XS.patch 1008 RMD160 cf2b4b1c9b6e3c507c0d0c7031f233b71ca67a1c SHA1 6cd1041fc6b046e73c33d6a861783a1ad2a6a1cf SHA256 6b28feab8688f6407353790b4ace256dfb2ff7dd0060940a112cb0dbcc9a14e8 +DIST afterglow-1.5.9.tar.gz 82884 RMD160 bf58f37d7bbca7a438c2d1a8ee35ab9d51acd7ba SHA1 5dd93c4a5956449eaaa19e5da1eda4e73f5a29b8 SHA256 c6393eb2bf770ce326814524a2d7a3f878c4da189aa45014125ad8add2aa5552 +EBUILD afterglow-1.5.9.ebuild 846 RMD160 ac089d95e50cb35cea8d27e6062f89d051608aac SHA1 c3d70478e0f9fe47bbdde9526da64d0c391de8fc SHA256 8eba4413d2560a6995d26e69f8e1085c5a5f0efc1d15cdf83bbf74a94fec3928 +MISC ChangeLog 203 RMD160 12b307f2870f3e0974658e45a779d806aff62da8 SHA1 434516153b3388108eefb54e2abaabb5779da4e5 SHA256 f67e6e1f2c888bc4b0bc86b820ba120146b44629b5075832753e1953854b9c6f +MISC metadata.xml 299 RMD160 7742583cd57952209ebfb5ba5aa2487e5a686872 SHA1 d6afaf7a85a030f124c6bf46885ed4fe088f161e SHA256 8a4003e607ca41484f8f89ba41bf47954e6345c9f67b279bf84b87a02188c43b diff --git a/net-analyzer/afterglow/afterglow-1.5.9.ebuild b/net-analyzer/afterglow/afterglow-1.5.9.ebuild new file mode 100644 index 0000000..c029979 --- /dev/null +++ b/net-analyzer/afterglow/afterglow-1.5.9.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="A collection of Perl scripts which facilitate the process of generating graphs from CSV inputs" +HOMEPAGE="http://afterglow.sourceforge.net/" +SRC_URI="mirror://sourceforge/afterglow/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +S="${WORKDIR}/${PN}" + +DEPEND="" +RDEPEND="dev-lang/perl + dev-perl/Text-CSV_XS + dev-perl/IP-Anonymous" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-CSV_XS.patch" +} + + +src_install() { + exeinto /usr/bin + doexe src/perl/parsers/*.pl + doexe src/perl/graph/*.pl + doexe src/perl/loganalysis/*.pl + + dodir /etc/afterglow + insinto /etc/afterglow + doins src/perl/parsers/color.properties + doins src/perl/parsers/color.sendmail.properties +} + + diff --git a/net-analyzer/afterglow/files/afterglow-CSV_XS.patch b/net-analyzer/afterglow/files/afterglow-CSV_XS.patch new file mode 100644 index 0000000..e67fe53 --- /dev/null +++ b/net-analyzer/afterglow/files/afterglow-CSV_XS.patch @@ -0,0 +1,28 @@ +diff -uNr -r afterglow.orig/src/perl/graph/afterglow.pl afterglow/src/perl/graph/afterglow.pl +--- afterglow.orig/src/perl/graph/afterglow.pl 2007-09-10 03:22:18.000000000 +0200 ++++ afterglow/src/perl/graph/afterglow.pl 2008-04-09 17:58:04.787375487 +0200 +@@ -142,8 +142,8 @@ + # Program version + my $version = "1.5.9"; + +-use Text::CSV; +-my $csvline = Text::CSV->new(); ++use Text::CSV_XS; ++my $csvline = Text::CSV_XS->new(); + + # Whether or not verbose mode is enabled. + # A value of '1' indicates that verbose mode is enabled. +diff -uNr -r afterglow.orig/src/perl/loganalysis/anonymize.pl afterglow/src/perl/loganalysis/anonymize.pl +--- afterglow.orig/src/perl/loganalysis/anonymize.pl 2007-07-26 20:55:43.000000000 +0200 ++++ afterglow/src/perl/loganalysis/anonymize.pl 2008-04-09 17:59:50.945987507 +0200 +@@ -46,8 +46,8 @@ + # Program version + my $version = "1.1"; + +-use Text::CSV; +-my $csvline = Text::CSV->new(); ++use Text::CSV_XS; ++my $csvline = Text::CSV_XS->new(); + + my $prefix = ""; + my $column = 0; diff --git a/net-analyzer/afterglow/metadata.xml b/net-analyzer/afterglow/metadata.xml new file mode 100644 index 0000000..31b6d01 --- /dev/null +++ b/net-analyzer/afterglow/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd></herd> + <maintainer> + <email>falco@gentoo.org</email> + <name>Raphael Marichez</name> + </maintainer> + <longdescription lang="en"> + </longdescription> +</pkgmetadata> + |