Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 830403

Summary: net-libs/nDPI-4.0: Version bump (incl. Patch)
Product: Gentoo Linux Reporter: Larry Sexton <sexton.larry048>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 799782    
Attachments: patch nDPI ebuild
patch for nDPI 4.0 SOURCES
patch ntopng ebuild to 5.0

Description Larry Sexton 2022-01-01 14:34:36 UTC
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.
Comment 1 Larry Sexton 2022-01-01 14:37:37 UTC
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.
Comment 2 Larry Sexton 2022-01-01 14:39:29 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2022-01-03 11:23:00 UTC
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(+)