From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1C82015817D for ; Sun, 9 Jun 2024 15:55:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69592E2A48; Sun, 9 Jun 2024 15:55:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46747E2A47 for ; Sun, 9 Jun 2024 15:55:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 474DF341B27 for ; Sun, 9 Jun 2024 15:55:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC2811264 for ; Sun, 9 Jun 2024 15:55:44 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1717948519.000ec6f45221f09506a44722d98b7d015acda89a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nDPI/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/nDPI/Manifest net-libs/nDPI/nDPI-4.8.ebuild X-VCS-Directories: net-libs/nDPI/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 000ec6f45221f09506a44722d98b7d015acda89a X-VCS-Branch: master Date: Sun, 9 Jun 2024 15:55:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ffb57fc7-26b1-4f40-8a30-5bb69bdbcb0f X-Archives-Hash: 9055aba6ae7c8a877877731541fd97b8 commit: 000ec6f45221f09506a44722d98b7d015acda89a Author: Denis Pronin yandex ru> AuthorDate: Sat Jun 8 08:44:27 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 9 15:55:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000ec6f4 net-libs/nDPI: add a new version 4.8 Closes: https://bugs.gentoo.org/933818 Signed-off-by: Denis Pronin yandex.ru> Signed-off-by: Sam James gentoo.org> net-libs/nDPI/Manifest | 1 + net-libs/nDPI/nDPI-4.8.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/net-libs/nDPI/Manifest b/net-libs/nDPI/Manifest index cc2200b5f302..7c4fb21e62ba 100644 --- a/net-libs/nDPI/Manifest +++ b/net-libs/nDPI/Manifest @@ -1,3 +1,4 @@ DIST nDPI-4.2.tar.gz 126559327 BLAKE2B 079267939083e788ce8b13e89b194504031e4c3e628df335ece7aab72cc80b8d8538badd45dac9fdaeeed8cd5dd19a81fece9c1157cba9a91dfa130abef61473 SHA512 c58b228b7de2b5fa111234bb065f9be259cd0282d0058f5985180aab6567c9a18e3453ce9062bd3c057a096ec3dfdc21b7c9680e0148e34af10f707530d853b8 DIST nDPI-4.4.tar.gz 151062073 BLAKE2B fca968c0d0abcf18a6895dc6066b754925a2aa3cb3f395383f9add25066adf14bb95444a30950e13f7f22223ff203b16e7373c875841f33d8c885be83ed0bb6d SHA512 c5e3d38f7b6533bd4b9f96520c1d965bf0a8e3ec7e2d514bc42683bdb73d8331e28ed695f5d3972ace9e35f1af23359f5a25c0f5a20f7a8cc7a6b5446d592468 DIST nDPI-4.6.tar.gz 29705235 BLAKE2B 65efdfee7af83093b08897fb726a07cf804a3ff901e7373cdc4b3d4564bbfba6ce9b498ab90172f437568c8275685dc51617e991216e38d515b3b5341760b964 SHA512 12dd50eeaae0aa5c2e3c89cb53cdb9989036759bd900312d3875eaba296646c2e42be31dc2b003cbc2401ccef8fbf8d2e460b9a604d7bece360f17f937d60cad +DIST nDPI-4.8.tar.gz 39479237 BLAKE2B b2b30490a8688082cf41f364d4eeb24ccaaaf8e84e13963ad9fff2346888387b732bcd0c6485d7daba7ae131ea7ad58904f65d85ca7844da7d22bd120411ada0 SHA512 f76eb99a83262a6d148509c7ce457b9af35dce3657c8191405ba15999b25c323ee0bee2907b0a7e6ba6f12a63182fde839e0098a4e8e0f63999e600526f3036b diff --git a/net-libs/nDPI/nDPI-4.8.ebuild b/net-libs/nDPI/nDPI-4.8.ebuild new file mode 100644 index 000000000000..cca0c5c9ea00 --- /dev/null +++ b/net-libs/nDPI/nDPI-4.8.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 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() { + pushd tests || die + + edo ./do.sh + edo ./do-unit.sh + + popd || die +} + +src_install() { + default + + # Makefile logic is broken in 4.8, let's wait a bit given history and + # go with hack for now. + mv "${ED}"/usr/$(get_libdir)/pkgconfig "${ED}"/usr/usr/$(get_libdir)/pkgconfig || die + mv "${ED}"/usr/usr/* "${ED}"/usr || die + rm "${ED}/usr/$(get_libdir)"/lib${PN,,}.a || die + rm -rf "${ED}"/usr/usr || die +}