Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668106 - net-libs/nDPI-2.8 version bump
Summary: net-libs/nDPI-2.8 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sławek Lis (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2018-10-09 04:39 UTC by Hank Leininger
Modified: 2019-08-26 03:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated nDPI ebuild, 2.4.0+fixes (nDPI-2.4.1_pre20181004.ebuild,1.38 KB, text/plain)
2018-10-09 04:39 UTC, Hank Leininger
Details
Fix the install prefix for libs and includes (nDPI-2.4-fix-install-prefix.patch,305 bytes, patch)
2018-10-09 04:40 UTC, Hank Leininger
Details | Diff
Fix the library symlink (nDPI-2.4-fix-lib-symlink.patch,479 bytes, patch)
2018-10-09 04:41 UTC, Hank Leininger
Details | Diff
Fix the include path in the provided pkg-config file's Cflags (nDPI-2.4-fix-pkgconfig-cflags.patch,293 bytes, patch)
2018-10-09 04:41 UTC, Hank Leininger
Details | Diff
Fix the destination for installing pkg-config .pc file (nDPI-2.4-fix-pkgconfigdir.patch,321 bytes, patch)
2018-10-09 04:42 UTC, Hank Leininger
Details | Diff
Do not randomly switch to clang halfway through configure if it is found (nDPI-2.4-no-forced-clang.patch,288 bytes, patch)
2018-10-09 04:43 UTC, Hank Leininger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hank Leininger 2018-10-09 04:39:17 UTC
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.
Comment 1 Hank Leininger 2018-10-09 04:40:50 UTC
Created attachment 550048 [details, diff]
Fix the install prefix for libs and includes
Comment 2 Hank Leininger 2018-10-09 04:41:13 UTC
Created attachment 550050 [details, diff]
Fix the library symlink
Comment 3 Hank Leininger 2018-10-09 04:41:54 UTC
Created attachment 550052 [details, diff]
Fix the include path in the provided pkg-config file's Cflags
Comment 4 Hank Leininger 2018-10-09 04:42:20 UTC
Created attachment 550054 [details, diff]
Fix the destination for installing pkg-config .pc file
Comment 5 Hank Leininger 2018-10-09 04:43:03 UTC
Created attachment 550056 [details, diff]
Do not randomly switch to clang halfway through configure if it is found
Comment 6 Jack 2019-03-03 21:03:45 UTC
nDPI 2.6 is now available, as is ntop 3.8.
Comment 7 Jack 2019-05-27 18:23:03 UTC
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?
Comment 8 Jack 2019-05-27 21:57:28 UTC
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.
Comment 9 Sławek Lis (RETIRED) gentoo-dev 2019-08-20 05:41:50 UTC
Pushed version 2.8, please verify
Comment 10 Jack 2019-08-24 00:04:51 UTC
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.
Comment 11 Sławek Lis (RETIRED) gentoo-dev 2019-08-26 03:36:21 UTC
Great, I'm closing bug now, and I'll try to update ntopng