Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170696 - dev-perl/Cflow - flowdumper doesn`t parse flow-files
Summary: dev-perl/Cflow - flowdumper doesn`t parse flow-files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Benjamin Smee (strerror) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-13 03:27 UTC by Ilya Kashirin
Modified: 2007-03-26 19:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
New ebuild with patch for Cflow-1.051 (Cflow-1.051.ebuild,1.11 KB, text/plain)
2007-03-13 03:37 UTC, Ilya Kashirin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Kashirin 2007-03-13 03:27:48 UTC
flowdumper (emerge dev-perl/Cflow) don`t parse files with netflow data created by flow-capture (emerge flow-tools)

Reproducible: Always

Steps to Reproduce:
1. emerge flow-tools
2. energe dev-perl/Cflow
3. i have installed "softlowd" from overlay
4. softflowd -i em0 -n 172.16.13.5:8818
5. /usr/local/bin/flow-capture -p /var/run/flow-capture.pid -n 287 -N 0 -w /var/log/netflows/ -S 5 0/0/8818
6. flowdumper -s /var/log/netflows/ft-v05.2007-03-13.044501+0300



Actual Results:  
flowdumper show nothing.


this bug can fixed by replace 

"if (-f '../../lib/libft.a') {" 
with 
"if (-f '/usr/lib/libft.a') {"

in Makefile.PL of Cflow sources

or add 

sed -i "s:../../lib/libft.a:/usr/lib/libft.a:" ${WORKDIR}/flow-tools-${FLOW_TOOLS_VERSION}/contrib/${P}/Makefile.PL

in Cflow-1.051.ebuild in section src_unpack()
Comment 1 Ilya Kashirin 2007-03-13 03:37:19 UTC
Created attachment 113139 [details]
New ebuild with patch for Cflow-1.051

This new ebuild allow flowdumper correctly parse files with netflow-data
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2007-03-21 16:34:31 UTC
not perl herd's, reassigning
Comment 3 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2007-03-23 09:28:25 UTC
in cvs, thanks for the ebuild and reporting. Quick note, in future diffs are prefered, thanks
Comment 4 Ilya Kashirin 2007-03-26 19:02:50 UTC
Big thanks for work!!!
Comment 5 Ilya Kashirin 2007-03-26 19:03:12 UTC
Big thanks for work.