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
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.