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 packages | Assignee: | 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
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
Thanks for submitting your ebuild enhancements! Assigning to nfdump maintainers. Option "--enable-ftconv" would also be useful. I see no reason to not include it and other options by default. Sorry, forget that ftconv need flow-tools. So there is a reason of USE-flag for it. 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 :)
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.
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.
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. |