Created attachment 550046 [details] Updated nDPI ebuild, 2.4.0+fixes I needed to update nDPI before beating my head against ntopng issues (see #657426). Problem is the current nDPI, 2.4, has lots of small issues. I filed upstream issues and PRs, but in the meantime, here is an ebuild and set of patches that works for me.
Created attachment 550048 [details, diff] Fix the install prefix for libs and includes
Created attachment 550050 [details, diff] Fix the library symlink
Created attachment 550052 [details, diff] Fix the include path in the provided pkg-config file's Cflags
Created attachment 550054 [details, diff] Fix the destination for installing pkg-config .pc file
Created attachment 550056 [details, diff] Do not randomly switch to clang halfway through configure if it is found
nDPI 2.6 is now available, as is ntop 3.8.
I'm trying to work with 2.8, but having problems. It looks like the clang patch is no longer needed. For the patches that work on Makefile.in, that file isn't in the tarball, but after running autogen.sh, the Makefiles have already been created. Not sure how to handle this - patch the Makefiles directly? Patch Makefile.in and then run ./configure again?
I've got a successful build of 2.8, although I don't know if it will actually work with ntop. Hopefully I'll get to try that in the next few days. If that's OK, I'll post here what I had to modify, although it wasn't much.
Pushed version 2.8, please verify
Good timing - I'm setting up a new PC and had not yet put nDPI/ntopng on it. Your 2.8 works fine with my ebuild for ntopng 3.8. Thanks.
Great, I'm closing bug now, and I'll try to update ntopng