Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 279455

Summary: net-analyzer/nfdump-1.5.8 - enhanced ebuild (with use flags for sflow and nfprofile (required by nfsen)
Product: Gentoo Linux Reporter: Ronny Boesger <ronny+bugsgentoo>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: enhancement CC: thejman85, zubkov318
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: enhanced ebuild for nfdump1.5.8 with use flags sflow and nfprofile
Addition of ftconv USE/DEPEND
nfdump-ftpath.patch
Fixes for ftconv, rrdtool dependency.

Description Ronny Boesger 2009-07-28 09:24:26 UTC
I have enhanced the ebuild of nfdump 1.5.8 for using use flags, as there is no sflow nor nfprofile support. nfprofile support ist a mandatory feature of nfsen.


Reproducible: Always
Comment 1 Ronny Boesger 2009-07-28 09:25:51 UTC
Created attachment 199425 [details]
enhanced ebuild for nfdump1.5.8 with use flags sflow and nfprofile

enhanced ebuild for nfdump1.5.8 with use flags sflow and nfprofile
Comment 2 Wormo (RETIRED) gentoo-dev 2009-07-29 00:52:31 UTC
Thanks for submitting your ebuild enhancements! Assigning to nfdump maintainers.
Comment 3 Alexander Zubkov 2009-11-27 13:32:16 UTC
Option "--enable-ftconv" would also be useful. I see no reason to not include it and other options by default.
Comment 4 Alexander Zubkov 2009-11-27 13:34:23 UTC
Sorry, forget that ftconv need flow-tools. So there is a reason of USE-flag for it.
Comment 5 Jeremy Wood 2010-01-15 17:22:57 UTC
Created attachment 216617 [details]
Addition of ftconv USE/DEPEND

Just a 2 line change to add the ftconv USE Flag and the DEPEND for flow-tools. Thanks for the original submit :)
Comment 6 Alexander Zubkov 2010-03-23 22:47:46 UTC
Created attachment 224969 [details, diff]
nfdump-ftpath.patch

Compilation will fail with ftconv USE-flag, because of specific check of flow-tools sources. This patch fixes configure of nfdump.
Comment 7 Alexander Zubkov 2010-03-23 22:55:36 UTC
Created attachment 224979 [details]
Fixes for ftconv, rrdtool dependency.

I have made this changes to -r2 ebuild:
- add missing "\" in econf
- with nfprofile it depends rrdtool
- add patch with ftconv and generate one file
- remove emake from src_configure
This version works successfully on my amd64 with all USE-flags.
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2010-05-06 09:10:41 UTC
This should be fixed in nfdump-1.6.1. Please, try it and report if something went wrong. Also if somebody has free time, it's good idea to add init script (like in flow-tools) ;).

Thanks.