Created attachment 761025 [details, diff] patch nDPI ebuild In formum topic 1146543, the OP requested a more recent version of ntopng. Was able to get this working by applying the following changes: 1. Uplevel net-libs/nDPI to 4.0 2. Patch nDPI 4.0 with commit 46ebd7128fd38f3eac5289ba281f3f25bad1d899 3. Uplevel net-analyzer/ntopng to 5.0 Moderator Hu suggested I post changes. The nDPI build was included static-libs, as that is how ntopng links by default, which is also in the 9999 ebuild. Also several existing patches no longer worked. Commented them out. This is my first bug report.
Created attachment 761026 [details, diff] patch for nDPI 4.0 SOURCES nDPI commit 46ebd7128fd38f3eac5289ba281f3f25bad1d899, which is post 4.0. Necessary to build nDPI 4.0 with ntopng 5.0.
Created attachment 761027 [details, diff] patch ntopng ebuild to 5.0 Ebuild for ntopng 5.0. Software builds and runs, but links nDPI using static-libs.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa4c91dd460e1604ec58cc6b3531e8170812da3f commit fa4c91dd460e1604ec58cc6b3531e8170812da3f Author: Sam James <sam@gentoo.org> AuthorDate: 2022-01-03 10:50:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-03 11:21:20 +0000 net-libs/nDPI: add 4.0 Includes a patch which adds an API to allow ntopong to work too. (Working on ar/other build system patches upstream.) Bug: https://bugs.gentoo.org/799782 Bug: https://bugs.gentoo.org/625730 Closes: https://bugs.gentoo.org/830403 Thanks-to: Larry Sexton <sexton.larry048@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> net-libs/nDPI/Manifest | 2 ++ net-libs/nDPI/nDPI-4.0.ebuild | 59 ++++++++++++++++++++++++++++++++++++ net-libs/nDPI/nDPI-9999.ebuild | 68 ++++++++++++++++++++---------------------- 3 files changed, 93 insertions(+), 36 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39868efcc6779ea5e5272c3434e4a59f0bae9aa1 commit 39868efcc6779ea5e5272c3434e4a59f0bae9aa1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-01-03 11:20:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-03 11:21:21 +0000 net-analyzer/ntopng: add 5.0 As with nDPI, aware of the ar-directly and other similar bugs, but am trying to address this first upstream & go from there. Bug: https://bugs.gentoo.org/799782 Bug: https://bugs.gentoo.org/830403 Signed-off-by: Sam James <sam@gentoo.org> net-analyzer/ntopng/Manifest | 1 + net-analyzer/ntopng/ntopng-5.0.ebuild | 92 +++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+)