net-libs/nDPI: add 6.0

Required by net-analyzer/ntopng-7.0, which fixes the build with OpenSSL 4.

Bug: https://bugs.gentoo.org/985690
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2026-11-14 22:29:44 +01:00
parent 87bb998094
commit 0341df0ad2
2 changed files with 49 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST nDPI-4.14.tar.gz 48474931 BLAKE2B 611b0e5bd9f17fc56bdd0658e88f7ae1b573c4d255c29bdea2f9a68007d9a9a8c1d3bc90bf00e803823b393ad6890b90413646a9539b58d61fc916ac09423666 SHA512 f7e24289aa04e19bc357c29ba00ca7d27aefcd2faf51ddf2f526b4c4d4fefd0ded33dd8e60245c0d8772b3a870304d3dda2c40f3d5ee4382342889741f122146
DIST nDPI-4.8.tar.gz 39479237 BLAKE2B b2b30490a8688082cf41f364d4eeb24ccaaaf8e84e13963ad9fff2346888387b732bcd0c6485d7daba7ae131ea7ad58904f65d85ca7844da7d22bd120411ada0 SHA512 f76eb99a83262a6d148509c7ce457b9af35dce3657c8191405ba15999b25c323ee0bee2907b0a7e6ba6f12a63182fde839e0098a4e8e0f63999e600526f3036b
DIST nDPI-6.0.tar.gz 48649618 BLAKE2B 4c8e398ac7623431709204bbda9314ecc971f42bbce2fff58ce4c35a910243de52d6fe8b791768cff467783c6fbf62d406515fc05a4e40dd66f82df0928ca4d5 SHA512 a404930ecafecd1990f07b01c3b66f7fd5d61df7c7b4e0b5d20fd0ed6ccfeec216438b66a1d3a58df6b16bbad1038a1162023a0e92c30d3b441950e75eb1447a
+48
View File
@@ -0,0 +1,48 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools edo
DESCRIPTION="Open Source Deep Packet Inspection Software Toolkit"
HOMEPAGE="https://www.ntop.org/"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/ntop/${PN}"
inherit git-r3
else
SRC_URI="https://github.com/ntop/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="LGPL-3+"
SLOT="0/$(ver_cut 1)"
DEPEND="dev-libs/json-c:=
dev-libs/libgcrypt:=
dev-libs/libgpg-error
net-libs/libpcap"
RDEPEND="${DEPEND}"
src_prepare() {
default
eautoreconf
}
src_configure() {
# "local" here means "local to the system", and hence means
# system copy, not the bundled one.
econf --with-local-libgcrypt
}
src_test() {
local -x LD_LIBRARY_PATH="${S}/src/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
pushd tests || die
edo ./do.sh
edo ./do-unit.sh
popd || die
}