look bellow next attachments: 1) ebuild script 2) fix patch (remarks debug strings) 3) "rc-script" and two(2) "cond.d" files
Created attachment 31327 [details] net-analyzer/flow-tools/flow-tools-0.67.ebuild
Created attachment 31328 [details, diff] net-analyzer/flow-tools/files/0.67/remove-debug.patch
Created attachment 31329 [details] net-analyzer/flow-tools/files/0.67/flow-tools.rc -- rc-script rc-file
Created attachment 31330 [details] net-analyzer/flow-tools/files/0.67/flow-tools -- main config main config file
Created attachment 31331 [details] net-analyzer/flow-tools/files/0.67/flow-tools.example -- collector config
Comment on attachment 31329 [details] net-analyzer/flow-tools/files/0.67/flow-tools.rc -- rc-script inserted into /etc/init.d/
Flow-tools patch for exporting in PostgreSQL format Description This a patch for flow-tools.67 for exporting flows to a PostgreSQL database 7.x. http://netflow.pregi.net/downloads/patch.flow
above patch description is here: http://netflow.pregi.net/flowtools-patch.html
Created attachment 31749 [details] flow-tools/files/0.67/patch-memoryleak-format5.patch result of called function PQexec() not free!
Could you update your ebuild to include the PostgreSQL and memory leak patches? Also, you do not need to define ${S} since Portage defaults to ${WORKDIR}/${P}. See http://www.gentoo.org/doc/en/gentoo-howto.xml. I see that the 0.66 ebuild has ${S} defined, but there is no reason to keep it IMHO.
Created attachment 46594 [details, diff] 0.67-gentoo.diff This patch is a combination of the remove debug patch, the postgresql patch and the memory leak patch.
Created attachment 46595 [details] flow-tools-0.67.ebuild 0.67 ebuild that uses the joint patch
Commited, but: - does not use the PostgreSQL database patch. - does not use the init stuff. Both may be added in a later time. Thanks for your submission.